EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   General::General Discussion (https://www.eqemulator.org/forums/forumdisplay.php?f=586)
-   -   LoginServer a little bit sloppy (https://www.eqemulator.org/forums/showthread.php?t=33365)

Naes 04-19-2011 06:14 PM

LoginServer a little bit sloppy
 
http://img849.imageshack.us/img849/3866/sloppy.jpg

Anyway we could fix this? :?

image 04-19-2011 06:35 PM

I know last I worked on the login server I noticed this problem... For titanium I know that I had to update the structure and fixed the problem. For the new clients I am not so sure.

The server list response is being sent wrong. The server list header should be 20 bytes (plus the uchar* array for the server data).

The headers first byte should be 0x04, byte #5 should be 0x01, byte #9 should be 0x01, byte #11 should be 0x01.

ServerName + 1 byte
IPAddress + 1 byte
Server Tail Information (18 bytes)

The tail should be noted as this:

int8 greenname;
int8 unknown1;
int8 unknown2;
int8 unknown3;
int32 worldid;
int8 unknown1;
int8 unknown2;
int8 unknown3; // server status (up / down / locked )
int8 unknown4;
int16 usercount; // set to 0x01
int32 realusercount; // actual user count #

The last 4 bytes at the end of each server is the real user count. The 2 bytes just before that is 0x01 - I think this was to make sure I got the user count it has been a while. Then 2 bytes before that is the server status (locked, down, etc.)

Naes 04-19-2011 07:30 PM

welp The message you have entered is too short. Please lengthen your message to at least 10 characters.


All times are GMT -4. The time now is 09:16 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.