Difference between revisions of "ClientInactivityMessage"

From SWGANH Wiki
Jump to: navigation, search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Client Packet|ClientInactivityMessage (0F5D5325)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 16: Line 17:
 
|-
 
|-
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 26: Line 27:
  
 
* '''AFK_Flag''':
 
* '''AFK_Flag''':
 +
:If this packet is sent with a flag of 0,
 +
:the server marks the client active.
 +
:If this packet is sent with a flag of 1,
 +
:the server marks the client AFK.
  
If this packet is sent with a flag of 0, the server marks the client active.
 
If this packet is sent with a flag of 1, the server marks the client AFK.
 
<font color="red">Need to check if the bool is a byte and can handle different values (maybe flags for LFG, ...).</font>
 
 
|valign=top|
 
|valign=top|
  
Line 38: Line 40:
 
||{{ClientPacket}}
 
||{{ClientPacket}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
02 00 // Op Count
 +
25 53 5D 0F // ClientInactivityMessage
 +
00 // afk flag
 
</pre>
 
</pre>

Latest revision as of 13:54, 24 January 2008

Client Packet - ClientInactivityMessage (0F5D5325)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


SHORT Opperand_Count
INT Opcode
BOOL AFK_Flag

Variable Descriptions


Opperand_Count = 2

Opcode = 0F5D5325


  • AFK_Flag:
If this packet is sent with a flag of 0,
the server marks the client active.
If this packet is sent with a flag of 1,
the server marks the client AFK.

Tags


C→S This packet originates on the client.

100% This packet has been completely reversed.

Sample Packet

02 00 // Op Count
25 53 5D 0F // ClientInactivityMessage
00 // afk flag