-
Enthusiast
[vsro] SMC accounts connected to server packet
i wanted to know what accounts where connected to my server in my admin panel.
so i try figure out how smc get this information and this the information i found so far.
First you need to send an request packet
just send an packet with opcode: 0x7200
After that you receive the packet 0xb200
The structure is as followed:
01 01 49 51 CF D0 45 00 00 00 04 05 00 61 64 6D
69 6E 16 40 00 DD 07 05 00 02 00 15 00 08 00 19
00 2B 00 5A 03 00
byte - error flag
byte - new user flag
byte - ip1
byte - ip2
byte - ip3
byte - ip4
uint32 - userID
uint16 - username_strlen
stringASCII - username
byte - local
uint16 - serverID
uint32 - something with an time i didn't figure 100% out what this is.
now there will be 12 unknown bytes
byte - if there will be an new user or not.
This how far i parsed it and it works really fine maybe someone of you can help me figure out the unknown 12 bytes and with the time.
-