Valhalla Legends Forums Archive | Battle.net Bot Development | W3XP - Join Custom Game [Question]

AuthorMessageTime
Tuck
Second response when sent join game to host:
Can't find info for split 1 and 3 :/

[code]            //Received Packet Length: 143 (Splits to 3 packets)

                //0000  f7 06 33 00 01 00 00 00 01 47 48 4c 2d 42 6f 74  ÷.3......GHL-Bot
                //0010  00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
                //0020  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
                //0030  00 00 00                                        ...           
                //Unknown #?!

                //              f7 3d 3d 00 01 00 00 00 4d 61 70 73 5c    ÷==.....Maps\
                //0040  28 32 29 42 6f 6f 74 79 42 61 79 2e 77 33 6d 00  (2)BootyBay.w3m.
                //0050  d1 e7 01 00 00 5a ef d8 13 8f e7 6e 76 e3 3a 25  Ñç...ZïØ..çnvã:%
                //0060  fc 80 5c 43 76 38 53 93 41 d0 72 ac cb 3f 77 20  ü.\Cv8S.AÐr¬Ë?w
                //(BYTE)  f7      |W3GS Signature
                //(BYTE)  3d      |Packet Signature
                //(WORD)  2d00    |Packet Size
                //(DWORD)  01000000 |Always 0x00000001?
                //(char[]) 4d6170735c28322948696c6c734f66476c6f72792e77336d00
                //                  |Map path (null terminated)
                //(DWORD)  36750100 |File size
                //(DWORD)  49caebd1 |Unknow DWORD
                //(DWORD)  2792eb36 |Map file CRC32           

                //0070  f7 09 1f 00 19 00 02 01 64 02 00 00 00 60 01 64  ÷.......d....`.d
                //0080  02 ff 02 00 01 01 60 01 64 ab df 53 01 00 02    .ÿ....`.d«ßS...
                //Unknown #?![/code]
January 31, 2010, 1:54 AM
DefNotACop
packet 0x06

33 00 01 00 some sockaddr_in info
00 player id from slot info
00 01 47 48 4c 2d 42 6f 74 00 null-terminated string, player name, max 16bytes
01 number of extra bytes following (in lan this is always 1)
00 since your packet is from lan this is that extra byte^
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 some sockaddr_in info
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 also something about  sockaddr_in

Try on bnet and ull get a bit different packet...

packet 0x09:

this is almost the same packet as 0x04 which is sent to client who join game and contains slot info, random seed, team and race info, etc.., just it doesnt contain slot id which will joining player take and his address seen from host. Tell me if u dont know structure of 0x04 packet

btw what r u planing to do with this ?

cheers
February 27, 2010, 10:07 AM
Tuck
Actually i just played around with these packets (still learning) but i got help from a friend :)
February 27, 2010, 10:09 AM

Search