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
Code:
public void SendPacket(byte[] Dat)
Right above that insert this code.
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:
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
Code:
public void SendPacket(byte[] Dat)
Right above that insert this code.
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:
#region MightyTao
case 35500:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("I am the mighty tao who teaches skills to those worthy reborn characters. So do you want to learn anything?"));
GC.AddSend(Packets.NPCLink("Teach me Summon Guard.", 1));
GC.AddSend(Packets.NPCLink("Nah. I'll just leave.", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (GC.MyChar.Reborn)
GC.MyChar.NewSkill(new Game.Skill() { ID = 4000, Lvl = 0 });
}
break;
}
#endregion
I'm not downloading the entire source just so I can help one person.
If you upload the *.cs with all the npc stuff in it i'll be sure to take a look at it.
I'm not downloading the entire source just so I can help one person.
If you upload the *.cs with all the npc stuff in it i'll be sure to take a look at it.
[Req]New upgrade system LOTF 08/07/2009 - CO2 Private Server - 3 Replies I need help to add new upgrade system on global (minor major progres)
for guide to add horse (LOTF)
[HELP]GW system in lotf- which changes the anme of the pole etc. 07/06/2009 - CO2 Private Server - 0 Replies can anyone like give me the link to a working gw system that name of the pole changes and it has the points of the guilds at the top right of the screen or can you etach me ho wto do it?please tell me its like the only thing that does not work for my server..T_T..i would b really glad if anyone could help..^^
[RELEASE] Possible Hacker System LOTF 07/01/2009 - CO2 PServer Guides & Releases - 7 Replies This is my possible hacker system.
What does this Possible Hacker System do?
When someone logs out of the game and if they have more than 15k cps or more than 350m it writes their ...
Name :
CPs :
[LOTF]NPC Talk System 05/19/2009 - CO2 Private Server - 14 Replies Creat NPCDialog.cs
and paste this code:
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace COServer_Project