this is what LS sends to world (ServerOP_LSClientAuth opode) :
Code:
struct ServerLSClientAuth {
int32 lsaccount_id; // ID# in login server's db
char name[30]; // username in login server's db
char key[30]; // the Key the client will present
int8 lsadmin; // login server admin level
sint16 worldadmin; // login's suggested worldadmin level setting for this user, up to the world if they want to obey it
uint32 ip;
};
As for what the server expects from client ... you should find it in the code, somewhere between common/servertalk.h and world/client.cpp, but, oh well it does not matter on LS design, so i didn't really care :(
alos, PCing is a must, unfortunatly :(