(this is just the last post i made in the topic on xentales)
How should i format the raw packet??? iv tried 2 different ways.
- Code: Select all
char packet[] = { 0x00, ect, ect, ect };
or
char packet[] = { "00, ect, ect, ect" };
also, CommView displays the raw packet in 2 different formats....like here is the packet to turn the warlock into a fireball.
- Code: Select all
0x0000 00 20 E0 7E 12 31 00 0E-9B 28 D6 16 08 00 45 00 . à~.1..›(Ö...E.
0x0010 00 25 3A 7D 00 00 80 11-36 6A C0 A8 00 04 40 22 .%:}..€.6jÀ¨..@"
0x0020 C9 12 06 09 13 BA 00 11-5A 00 46 41 98 3B D3 AB É....º..Z.FA˜;Ó«
0x0030 B8 FE 57 ¸þW
and then when i tell it to send it displays it like this
- Code: Select all
0x0000 00 20 E0 7E 12 31 00 0E 9B 28 D6 16 08 00 45 00 . à~.1..›(Ö...E.
0x0010 00 25 3A 7D 00 00 80 11 36 6A C0 A8 00 04 40 22 .%:}..€.6jÀ¨..@"
0x0020 C9 12 06 09 13 BA 00 11 5A 00 46 41 98 3B D3 AB É....º..Z.FA˜;Ó«
0x0030 B8 FE 57 ¸þW
the first one has the "0E-9B" and the second one uses "0E 9B"....
what one should i be using. I think this could be the cause of my problems in why its not working for me lol