Difference between revisions of "ServerWeatherMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
 
(One intermediate revision by one other user not shown)
Line 62: Line 62:
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
03 00
 +
EA 56 63 48
 +
01 00 00 00
 +
17 5E FC 3F
 +
00 00 00 00
 +
3B 12 9D 3F
 +
32
 +
===================================================
 +
03 00
 +
EA 56 63 48
 +
01 00 00 00
 +
B0 CB EA 3F
 +
00 00 00 00
 +
D6 8D 92 3F
 +
1C
 
</pre>
 
</pre>

Latest revision as of 17:23, 11 September 2011





Server Packet - ServerWeatherMessage (486356EA)

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
INT Weather_ID
FLOAT CloudVector_X-Coordinate
FLOAT CloudVector_Z-Coordinate
FLOAT CloudVector_Y-Coordinate

Variable Descriptions


Opperand_Count = 3

Opcode = 486356EA


  • Weather_ID:
The ID number for the weather effect to use.

Normal range is:

0 - no rain
1 - cloudy
2 - light rain
3 - medium rain
4 - heavy rain
  • Cloud_Vector:

This is a vector of the direction of cloud movement. Only X and Y need to be applied (clouds dont move up and down). Vector seems to be normalized first, Cloud speed seems to be constant. It may possibly be adjusted by the "wind" speed in the client.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

03 00 
EA 56 63 48 
01 00 00 00 
17 5E FC 3F 
00 00 00 00 
3B 12 9D 3F 
32 
===================================================
03 00
EA 56 63 48 
01 00 00 00 
B0 CB EA 3F
00 00 00 00
D6 8D 92 3F 
1C