Live Update Gold By Packet

10/25/2020 22:58 thaidu0ngpr0#1
I have read [Only registered and activated users can see links. Click Here To Register...], but here he only handles when using item, is there any way to send packet to live update gold
I tried sending the packet just like when I used the item in HB's post but nothing happened

Quote:
Packet update = new Packet(0x704C, true);
update.WriteUInt8((byte)13); //<= This is slot in your inventory. (example 13 = first slot)
update.WriteUInt8(0xED);
update.WriteUInt8(0xC6);//
m_RemoteSecurity.Send(update);
Send(false);
Quote:
[S -> C][B04C]
02 ................ //Result (1 = Success | 2 = Fail)
92 18 ................ //ErrorCode
10/26/2020 21:40 #HB#2
Doesn't make sense, that error code is for character skin changer scroll.

Why are you doing this anyways?
Code:
update.WriteUInt8(0xED);
update.WriteUInt8(0xC6);
TID is in fact a ushort, just write it straight
Code:
update.WriteUInt16(0xC6ED);
10/27/2020 19:38 thaidu0ngpr0#3
Quote:
Originally Posted by #HB View Post
Doesn't make sense, that error code is for character skin changer scroll.

Why are you doing this anyways?
Code:
update.WriteUInt8(0xED);
update.WriteUInt8(0xC6);
TID is in fact a ushort, just write it straight
Code:
update.WriteUInt16(0xC6ED);

Thank you my idol
it worked. and must have gold scrolls in the inventory.
Is there a way to live give gold without scrolling?
10/28/2020 00:32 #HB#4
I suggest you to have a look at the game server code.
10/28/2020 07:31 thaidu0ngpr0#5
[Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by #HB View Post
I suggest you to have a look at the game server code.

I tried to use chathandling to give gold but when I do it the client is disconnected, while live drop and live give item still work normally.
10/28/2020 10:32 #HB#6
You need to confirm PC pointer is not null before doing such functions for safety, also debug the targetcharname variable and ensure its correct.