Difference between revisions of "Development:Network:process login deathmatch"

From Ghoulwiki
Jump to: navigation, search
 
 
Line 1: Line 1:
STUB article
+
#REDIRECT [[Development:Network:process login]]
 
 
some incomplete notes:
 
 
 
<pre>
 
(C: sent from client, S: sent from server)
 
 
 
C: CMD_CONNECT (ser=CLIENT_NETVERSION,empty)
 
S: CMD_CONNECT (ser=0,serial:netversion,str:clientip)
 
C: CMD_LOGIN (ser=0,str:callsign,str:passwd)
 
S: CMD_CHOOSESHIP (ser=0,short:#shipnames,str:shipnames[1],str:shipnames[2],...)
 
C: CMD_CHOOSESHIP (ser=0,short:shipidx,str:shipname)
 
S: LOGIN_ACCEPT (ser=X,str:stardate,str:savegame[0],str:savegame[1],str:systemname.system,short:crypto-hash-size,data:crypto-hash,short:zoneid,..) -- big data, 9k in sample
 
S: CMD_TXTMESSAGE (ser=0,data:??"...Welcome, asd...")
 
C: CMD_DOWNLOAD (ser=0,data:??..Crucible/Cephid_17.system)
 
S: CMD_DOWNLOAD (ser=0,data:??..Crucible/Cephid_17.system)
 
... several CMD_DOWNLOAD ...
 
C:CMD_SERVERTIME  several times... ping?
 
 
 
C:CMD_ADDCLIENT -- undock or sth like that ?  or final ingame confirm
 
S:CMD_ADDEDYOU
 
S:CMD_ENTERCLIENT
 
S:CMD_SNAPCARGO
 
S:CMD_CREDITS
 
S:CMD_SNAPCARGO huge data, planet contents atlantis ?? 37kb
 
S:CMD_DOCK
 
S:CMD_SAVEDATA dozens of times.. total about 30kb...  mission texts etc ?
 
S:CMD_CARGOUPGRADE a few times, ships ?
 
 
 
C:CMD_CUSTOM ...campaign_readsave!
 
S:CMD_CARGOUPGRADE a few times, ships ?
 
C:CMD_CUSTOM ...mission_lib!...CreateFixerMissions!.
 
S:CMD_CUSTOM ...mission_lib!...AddNewMission
 
S:CMD_CUSTOM a few times, missions ?
 
 
 
</pre>
 

Latest revision as of 21:00, 17 June 2012