Difference between revisions of "ClientInactivityMessage"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
 
(11 intermediate revisions by 3 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"
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Opperand_Count'''
+
|{{short}}||'''Opperand_Count'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''AFK_Flag <font color="red">??</font>'''
+
|{{bool}}||'''AFK_Flag'''
 
|-
 
|-
 
|}
 
|}
 
+
|}
 
===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 1, the server marks the client AFK
 
If this packet is sent with a flag of 0, the server marks the client active.
 
 
|valign=top|
 
|valign=top|
  
Line 37: 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 12: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