case 35015:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello there mate. I am here to add to your item a very precious element that will make your item more powerful and also more expensive. Each bless point ( - ) gives you 1% less damage. For -1 you need five Super tortoise gems(STG) or you can gain in through first reborn. For -3 you need one STGs, for -5 you need three STGs and for -7 you five STGs. Do you want to go on?");
dialog.Option("Okay let's roll.", 1);
dialog.Option("It's too expensive.", 255);
dialog.Send();
break;
}
#region Bless NPc]
case 1:
{
Network.GamePackets.Data Data = new Network.GamePackets.Data(true);
Data.UID = client.Entity.UID;
Data.ID = 126;
Data.dwParam = 426;
Data.wParam1 = client.Entity.X;
Data.wParam2 = client.Entity.Y;
client.Send(Data);
break;
}
When you click compose the client should send the server a packet which you then have to handle. Sounds like you didn't write the system so they may already be technically handling the packet, just not doing it correctly.
I'd suggest looking at another source that has a working composition system and see how it handles the returned packets to look up the items being input and how it then handles everything.
[For high net speed]Need Client v5517.rar 08/05/2012 - CO2 Private Server - 12 Replies Hello, fang put a 5517 client on his page, thanks very much, that was really helping.
But for some reasons i can't run the .exe (don't ask cuz it's very complicated)
Can some1 with a high net speed download the client, instatll it, compress it , and upload it using anyway possible.
you might ask "why don't you do that by yourself?"
Answer: with a 25ko/s downloading --- 10ko/s uploading speed, that's gonna be a bit hard ^^
PresarioCo || New Quest || New Events || 24/7 || v5517 03/22/2012 - CO2 PServer Archive - 9 Replies Hello,
I would like to release PresarioCo.
Family owned game.
Friendly staff.
24/7 tech support.
Version: 5517
Website: Welcome to PresarioCo- Home
Feature's:
Arena