hi epvp ,
i want to know how i can type an encrypted string as Ascii when i send packets.
for example :
Packet packet = new Packet(0x70B1, true);
packet.WriteUInt16(0x0A);
packet.WriteAscii("[Ramy]'s Stall"); <------- i mean this string
Agent.Send(packet);
Original opcode is :
[C -> S][70B1]
0A 00 ................
52 61 6D 79 20 53 61 69 65 64 [Ramy]'s.Stall......
Screen shot :
http://www7.0zz0.com/2015/06/04/15/304679232.jpg
#Fixed
Here is the solution :
Packet packet = new Packet(0x70B1, true);
packet.WriteUInt16(0x0A); <------- remove this line .. this means Text Length.
packet.WriteAscii("[Ramy]'s Stall");
Agent.Send(packet);
#Close