Difference between revisions of "Client Logout Sequence"
From SWGANH Wiki
(→Packet 3) |
(→LogoutMessage) |
||
Line 123: | Line 123: | ||
Client then disconnects from the server. | Client then disconnects from the server. | ||
+ | |||
+ | The server then removes the Toon from the world. |
Revision as of 12:15, 1 January 2008
Client - Logout Sequence
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Upon the client typing logout, it sends these packets to the server to start the logout process. Packet 105 00 // Op Count 46 5E CE 80 // ObjectControllerMessage 23 00 00 00 16 01 00 00 // CommandQueueEnqueue 71 E2 DB D9 00 00 00 00 // Object ID 00 00 00 00 00 00 00 00 50 59 B6 03 // logout 00 00 00 00 00 00 00 00 00 00 00 00 Packet 205 00 // Op Count 46 5E CE 80 // ObjectControllerMessage 23 00 00 00 16 01 00 00 // CommandQueueEnqueue 71 E2 DB D9 00 00 00 00 // Object ID 00 00 00 00 00 00 00 00 26 FA 19 B7 // sitserver 00 00 00 00 00 00 00 00 00 00 00 00 Packet 305 00 // Op Count 46 5E CE 80 // ObjectControllerMessage 23 00 00 00 16 01 00 00 // CommandQueueEnqueue 71 E2 DB D9 00 00 00 00 // Object ID 00 00 00 00 00 00 00 00 59 3B C4 CB // logoutserver 00 00 00 00 00 00 00 00 00 00 00 00 The server then responds with ACK packet then sends the client a multipacket with a CREO3 update and ObjectControllerMessage with posture updates. MultiPacket ACK CREO3 ObjController00 09 00 5C 00 19 06 01 00 AF F9 6C A1 1C 05 00 53 21 86 12 // Delta Message E9 68 04 00 02 00 00 00 // Object ID 4F 45 52 43 03 // OERC 3 05 00 00 00 01 00 0B 00 08 1C 05 00 46 5E CE 80 1B 00 00 00 31 01 00 00 // Posture Update E9 68 04 00 02 00 00 00 // Object ID 00 00 00 00 08 // Posture 01 FD F0 4C The server then starts a 30 secs timer untill complete logout, sending the client a system message every 5 secs untill logout complete example 30, 25, 20, 15, 10, 5 disconnect at 0
ChatSystemMessage04 00 // op count 13 64 2A 6D // ChatSystemMessage 00 00 00 00 00 32 00 00 00 01 00 01 FF FF FF FF 06 00 6C 6F 67 6F 75 74 // logout 00 00 00 00 09 00 74 69 6D 65 5F 6C 65 66 74 // time_left 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1E // timeleft on logout 00 00 00 00 00 00 00 00 Upon 0 the server sends a disconnect messsage to the client LogoutMessage01 00 // Op Count DD 19 FD 42 // LogoutMessage Client then disconnects from the server. The server then removes the Toon from the world. |