Valhalla Legends Forums Archive | BnetDocs Research and Discussion | W3GS_LEAVEREQ 0x21 - Player ID???

AuthorMessageTime
Glorfindel(RW)
OK, so I didn't find anything about this on bnetdocs.org, but this still seems like the most relevant forum...

[code]
#define W3GS_LEAVEREQ 0x21 // client requests leave
struct sW3GS_LEAVEREQ {
BYTE  playerNum;
BYTE  zero[3];
};
[/code]

Source:  https://davnit.net/bnet/vL/index.php?topic=14970.0
Source2: http://desc.se/blackbook/forum/viewtopic.php?id=13

So these sources both say, however, I'm finding different results.

f7 21  08 00 07 00 00 00        @qa....! ......

Every single time I try sniffing out this packet, the "playerNum" byte is 0x07 for every player.


My program needs to know either the user name or the player ID of the person who disconnected...  does anyone know how I might find this?  I've sniffed around, but I'm not finding any way to identify which person it was who left aside from the IP who sent W3GS_LEAVEREQ, and I'm afraid that using that might cause issues with people playing on the same IP.

Thanks,
Glorfindel
February 13, 2009, 2:29 AM

Search