Difference between revisions of "ServerTimeMessage"

From SWGANH Wiki
Jump to: navigation, search
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|ServerTimeMessage (2EBC3BD9)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''Galactic_Time'''
+
 
|-
 
|-
 +
|{{long}}||'''Galactic_Time'''
 +
|}
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 26: Line 25:
  
 
* '''Galactic_Time''':
 
* '''Galactic_Time''':
See Galactic_Time in CmdStartScene for basic information.
+
See Galactic_Time in [[CmdStartScene]] for basic information.
 
The purpose of this packet is to update and keep the times  
 
The purpose of this packet is to update and keep the times  
 
synced on the client with the server. It seems to be sent  
 
synced on the client with the server. It seems to be sent  
Line 34: Line 33:
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 43: Line 43:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
 
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
02 00                    //World Update
 +
D9 3B BC 2E              //ServerTimeMessage
 +
4E 9F 71 DE 46 00 00 00  //Time in ms
 
</pre>
 
</pre>

Latest revision as of 22:44, 8 January 2008

Server Packet - ServerTimeMessage (2EBC3BD9)

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 Operand_Count
INT Opcode
LONG Galactic_Time

Variable Descriptions


Opperand_Count = 2

Opcode = 2EBC3BD9


  • Galactic_Time:

See Galactic_Time in CmdStartScene for basic information. The purpose of this packet is to update and keep the times synced on the client with the server. It seems to be sent every second, however the resend time can be adjusted. It can also be used to change the "time of day" on a planet, however various planets have various timing conversions.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

 02 00                    //World Update
 D9 3B BC 2E              //ServerTimeMessage
 4E 9F 71 DE 46 00 00 00  //Time in ms