• Welcome to Valhalla Legends Archive.
 

in game packet 0x06

Started by Laff, October 06, 2004, 02:43 AM

Previous topic - Next topic

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.

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?

UserLoser.

Show a hexdump of the packet

Laff

np, i will when i get time.

Laff

here is one packet


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

UserLoser.

#5
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?

Sorc.Polgara

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?

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.

MyndFyre

Quote from: Laff on October 07, 2004, 04:04 PM
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.

Why modulo 2, though?  Warcraft III supports up to 12 teams IIRC.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Laff

ha i guess i didn't think of that, i haven't tried customs yet so meh...

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.