Thread: Auth Workflow
View Single Post
Old 19.08.2006, 10:51   #1
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default Auth Workflow

1.) Auth starts, loads and start listening to a tcp port
2.) Client connects to Auth port
3.) Auth puts up client into a hashtable/list and prepare it iocp queue
4.) Auth sends revision number packet to client
5.) Client checks revision number and make sure it is ok to login
6.) Client sends login packet (contains id, pw together) to Auth
7.) Auth receives login packet, verifies it against the database (MSSQL)
8.) Auth sends loginok packet back to client
9.) Client receives loginok packet and proceed to enter the
lobby/gameserver selection and sends loginok packet back
10.) Auth receives loginok packet and sends lobby/worldserver packet to
client
11.) Client selects worldserver and sends selectworld packet to server
12.) Auth receives selectworld packet and transfer the Client info to
worldserver and sends Client selectworldok packet
13.) Client receives selectworldok packet and proceed to enter
worldserver

that's a mini guide of how it should work
so i'll update it if we have some news...
Met45 is offline