Well I don't know if this would count as a release but here it goes.
This is really easy,
I coded this in all of but 5 minutes.
Go to Client.cs and search for
Right above that insert this code.
[Only registered and activated users can see links. Click Here To Register...]
After that instead of your npc's being built like this:
They will be built like this:
Hope this helps some of you.
Any questions post here.
This is really easy,
I coded this in all of but 5 minutes.
Go to Client.cs and search for
Code:
public void SendPacket(byte[] Dat)
Code:
public void Say(string text)
{
SendPacket(General.MyPackets.NPCSay(text));
}
public void Link(string text, byte option)
{
SendPacket(General.MyPackets.NPCLink(text, option));
}
public void Done(string text)
{
SendPacket(General.MyPackets.NPCLink(text, 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
After that instead of your npc's being built like this:
Code:
if (CurrentNPC == 123)
{
SendPacket(General.MyPackets.Say("NPC dialog"));
SendPacket(General.MyPackets.NPCLink("Option", 1));
SendPacket(General.MyPackets.NPCLink("Exit option", 255));
SendPacket(General.MyPackets.SetFace(30));
SendPacket(General.MyPackets.Finish());
}
Code:
if (CurrentNPC == 123)
{
Say("NPC Dialog"));
Link("Option", 1));
Done("Exit Option");
}
Any questions post here.