it's my second work in my chinese hellmounth source!!
I'm random to get the GemCompose GUI
Hope you like it ...
it's a bad code ... hope some one can Optimization
OK... let me code it ....
Open PacketHandler.cs and find case 2031
PHP Code:
Client.DialogNPC = BitConverter.ToUInt32(Data, 4);
switch (Client.DialogNPC)
{
case [you can write your opensoc npc id here]:
Client.Send(Packets.GeneralData(Client.UID, 422, Client.X, Client.Y, 126));
break;
}
and add case in case 1009:
PHP Code:
Client.RemoveItems(Ident,15);
Client.AddItem(Ident+1);
Client.Send(Packets.GeneralData(Client.UID, 1, Client.X, Client.Y, 126));
Client.Send(Packets.GeneralData(Client.UID, 422, Client.X, Client.Y, 126));
break;