Pet dies and I get dc when trying to buy/sell trading goods in hotan[Solved, my bad]

06/27/2019 02:20 Lianthe#1
This is my packet to buy. What is the reason for this? I can buy/sell in donwhang
Code:
Packet p = new Packet(0x7034);
p.WriteByte(13);
p.WriteUInt(0);
p.WriteByte(0);
p.WriteUShort(40);
p.WriteUInt(1315);
Edit:
My bad, I changed it like this and it is working now:
Code:
Packet p = new Packet(0x7034);
p.WriteByte(19);
p.WriteUInt(0);
p.WriteByte(0);
p.WriteByte(3);
p.WriteUShort(40);
p.WriteUInt(1315);
You can close the thread, thanks :)
06/27/2019 06:45 oksn123#2
Code:
Packet packete = new Packet(0x7034);
packete.WriteByte(0x13);
packete.WriteUInt(0x00000000);
packete.WriteByte(tab);
packete.WriteByte(slot);
packete.WriteUShort((short)count);
packete.WriteUInt(id);
Proxy.SendPacket(packete);
06/28/2019 23:44 Lianthe#3
Quote:
Originally Posted by oksn123 View Post
Code:
Packet packete = new Packet(0x7034);
packete.WriteByte(0x13);
packete.WriteUInt(0x00000000);
packete.WriteByte(tab);
packete.WriteByte(slot);
packete.WriteUShort((short)count);
packete.WriteUInt(id);
Proxy.SendPacket(packete);
Thanks for detailed packet description