Valhalla Legends Forums Archive | Battle.net Bot Development | in game packet 0x06

AuthorMessageTime
Laff
anyone got information on this packet?  instead of starting with 0xFF, it starts with 0xF7.  i've got it to parse all names out, but i can't put a reason to the order OR figure out who is on what team.  any info on this packet would be greatly appreciated.
October 6, 2004, 7:43 AM
Laff
!

i took data from packets and lined them up with how the people show on the screen and came up with this data

i-rae-i-elite orc team1 1 8 114 235 41  0  2
design_is_kinky      ud team1 3 8 96  58  94  0  8
zul orc team1 5 8 186 76  3  0  2
da_farmer ne team1 7 8 166 14  218 0  4

hawk_25                 ne team2 2 8 175 51  129 0  4
fuzzy_ferret ud team2 4 8 4  165 21  0  8
alsumabinlaggin      ra team2 6 8 125 27  160 37 32

the numbers preceding are as follows:
the first byte is the team number.  odd numbers are team1, evens are team 2.  furthermore the number shows position in the load screen.

dunno what the numbers after that mean UNTIL the last one which i'm assuming is race and goes like this:
0x01 = human
0x02 = orc
0x04 = ne
0x08 = ud
0x10 = random

any insights to what the other numbers mean?
October 7, 2004, 1:45 AM
UserLoser.
Show a hexdump of the packet
October 7, 2004, 1:50 AM
Laff
np, i will when i get time.
October 7, 2004, 3:04 PM
Laff
here is one packet

[tt]
45 00 00 62 30 1c 00 00 74 06 c2 0a 3f f1 53 d4    E..b0...t...?.S.
c0 a8 00 02 17 e0 07 79 2c 3f 14 b3 83 53 74 eb    .......y,?...St.
50 18 ff c6 7a f7 00 00 f7 06 3a 00 00 00 00 00    P...z.....:.....
04 49 4b 6e 6f 77 49 54 00 08 73 47 d7 00 04 00    .IKnowIT..sG....
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
00 00[/tt]
October 7, 2004, 3:56 PM
UserLoser.
Should supply a log with more than one user, it's tough to figure out what all the trailing bytes after the first string (username) could mean with only one example.  Also, more info would help.  Is this received from the host, sent to host, sent to another player in the game?  First packet after connecting to host, ect?
October 7, 2004, 6:03 PM
bethra
how exactly is your bot doing this? did it join the game? create the game? or is it just sitting in chat and picking up packets and stuff?
October 7, 2004, 7:57 PM
Laff
-_-

sry i don't explain very well.

this bot does not log on to battle.net in any way, shape, or form.  it's using winpcap to sniff the packets.

@userloser: if i was at home i would put more packets up, but i'm not.  this is a packet sent from battle.net to my machine (which is currently joining a game).

what i already know:

the 0x04 coming in on the start of line 4 is to what team they are on.  if this number is even, they are on team2.  if it's odd, they are team1.  simple % will make this one easy.

the 0x04 at the end of the packet (before all the nulls) is race.  i've clarified these definitions above.
October 7, 2004, 9:04 PM
Myndfyr
[quote author=Laff link=topic=9028.msg83606#msg83606 date=1097183052]
the 0x04 coming in on the start of line 4 is to what team they are on.  if this number is even, they are on team2.  if it's odd, they are team1.  simple % will make this one easy.
[/quote]

Why modulo 2, though?  Warcraft III supports up to 12 teams IIRC.
October 8, 2004, 12:04 AM
Laff
ha i guess i didn't think of that, i haven't tried customs yet so meh...
October 8, 2004, 12:49 AM
The-FooL
It seems to me it might be player number, and the teams might just be an added effect.  Should try with customs/FFAs and see.
October 8, 2004, 1:31 AM

Search