Difference between revisions of "ServerWeatherMessage"

From SWGANH Wiki
Jump to: navigation, search
 
(Sample Packet)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{MissingPacket}}
 +
{{PageHeader|Server Packet|ServerWeatherMessage (486356EA)}}
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 6: Line 7:
 
===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'''
+
|{{int}}||'''Weather_ID'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Weather_ID'''
+
|{{float}}||'''CloudVector_X-Coordinate'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''CloudVector_X-Coordinate'''
+
|{{float}}||'''CloudVector_Z-Coordinate'''
|-
+
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''CloudVector_Z-Coordinate'''
+
|-
+
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''CloudVector_Y-Coordinate'''
+
 
|-
 
|-
 +
|{{float}}||'''CloudVector_Y-Coordinate'''
 +
|}
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 57: Line 58:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
 
 
==Sample Packet==
 
==Sample Packet==
  
 
<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