Client Logout Sequence

From SWGANH Wiki
Revision as of 12:34, 1 January 2008 by Rouse (Talk | contribs)

Jump to: navigation, search

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 1

05 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 2

05 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 3

05 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

Incomplete- I havent figured out the posture change message yet still working on it and when the server sends it.

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

ChatSystemMessage

04 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

LogoutMessage

01 00 // Op Count
DD 19 FD 42 // LogoutMessage
Client then disconnects from the server.