Client Logout Sequence

From SWGANH Wiki
Revision as of 12:52, 31 December 2007 by Rouse (Talk | contribs) (New page: {{PageHeader|Client|Logout Sequence}} {| border="0" width="90%" cellpadding=6 |- |valign=top| Upon the client typing logout, it sends these packets to the server to start the logout proces...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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.