Difference between revisions of "SurveyMessage"

From SWGANH Wiki
Jump to: navigation, search
 
m (Protected "SurveyMessage": Page is complete. [edit=sysop:move=sysop])
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|SurveyMessage (877F79AC)}}
{|
+
|- align="center"
+
||{{PacketGuide}}
+
|-
+
|}
+
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 11: Line 6:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{short}}||'''Op Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
|{{int}}||'''Points'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|{{float}}||'''X Coord'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|{{float}}||'''Y Coord'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{float}}||'''Z Coord'''
|-
+
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|-
+
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|-
+
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|-
+
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|-
+
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|-
+
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
 
|-
 
|-
 +
|{{float}}||'''% Ratio'''
 +
|}
 
|}
 
|}
  
Line 43: Line 30:
 
----
 
----
  
Opperand_Count     = '''9'''
+
Opperand_Count     = '''2'''
  
Opcode     = '''FFFFFFFF'''
+
Opcode     = '''877F79AC'''
 
----
 
----
  
* Additional Descriptions go here...
+
* '''Points'''
* --
+
:the number of results following due to
* ---
+
:size surveyed ie 32m 64m 96m and so on
* ----
+
* '''Coords'''
 +
:coords of the ratios
 +
:Y coord is not used always 0
 +
* '''% Ratio'''
 +
:The % of the resource located
 +
 
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 60: Line 53:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
----
+
==Sample Packet==
 
+
==Sample Code==
+
----
+
  
 
<pre>
 
<pre>
Insert Code Snippet Here...
+
02 00 // Op Count
</pre>
+
AC 79 7F 87 // SurveyMessage
 +
09 00 00 00 // points
 +
(Point 1)
 +
35 EC 3F C3 // x
 +
00 00 00 00 // y
 +
A6 FD 99 C5 // z
 +
D9 AA 4A 3E // ratio
 +
(Point 2)
 +
35 EC 3F C3 // x
 +
00 00 00 00 // y
 +
A6 FD 98 C5 // z
 +
52 DD 50 3E // ratio
 +
(Point 3)
 +
35 EC 3F C3 // x
 +
00 00 00 00 // y
 +
A6 FD 97 C5 // z
 +
F2 CD 57 3E // ratio
 +
(Point 4)
 +
35 EC 1F C3 // x
 +
00 00 00 00 // y
 +
A6 FD 99 C5 // z
 +
10 DC 46 3E // ratio
 +
(Point 5)
 +
35 EC 1F C3 // x
 +
00 00 00 00 // y
 +
A6 FD 98 C5 // z
 +
FB B4 4D 3E // ratio
 +
(Point 6)
 +
35 EC 1F C3 // x
 +
00 00 00 00 // y
 +
A6 FD 97 C5 // z
 +
6B 61 55 3E // ratio
 +
(Point 7)
 +
6A D8 FF C2 // x
 +
00 00 00 00 // y
 +
A6 FD 99 C5 // z
 +
62 09 3F 3E // ratio
 +
(Point 8)
 +
6A D8 FF C2 // x
 +
00 00 00 00 // y
 +
A6 FD 98 C5 // z
 +
05 47 46 3E // ratio
 +
(Point 9)
 +
6A D8 FF C2 // x
 +
00 00 00 00 // y
 +
A6 FD 97 C5 // z
 +
84 66 4E 3E // ratio
  
==Sample Packet==
 
 
<pre>
 
Insert Sample Packet Here...
 
 
</pre>
 
</pre>

Latest revision as of 19:42, 9 January 2008

Server Packet - SurveyMessage (877F79AC)

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 Op Count
INT Opcode
INT Points
FLOAT X Coord
FLOAT Y Coord
FLOAT Z Coord
FLOAT % Ratio

Variable Descriptions


Opperand_Count = 2

Opcode = 877F79AC


  • Points
the number of results following due to
size surveyed ie 32m 64m 96m and so on
  • Coords
coords of the ratios
Y coord is not used always 0
  • % Ratio
The % of the resource located


Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

02 00 // Op Count
AC 79 7F 87 // SurveyMessage
09 00 00 00 // points
(Point 1)
35 EC 3F C3 // x
00 00 00 00 // y
A6 FD 99 C5 // z
D9 AA 4A 3E // ratio
(Point 2) 
35 EC 3F C3 // x
00 00 00 00 // y
A6 FD 98 C5 // z
52 DD 50 3E // ratio
(Point 3) 
35 EC 3F C3 // x
00 00 00 00 // y
A6 FD 97 C5 // z
F2 CD 57 3E // ratio
(Point 4) 
35 EC 1F C3 // x
00 00 00 00 // y
A6 FD 99 C5 // z
10 DC 46 3E // ratio
(Point 5) 
35 EC 1F C3 // x
00 00 00 00 // y
A6 FD 98 C5 // z
FB B4 4D 3E // ratio
(Point 6) 
35 EC 1F C3 // x
00 00 00 00 // y
A6 FD 97 C5 // z
6B 61 55 3E // ratio
(Point 7) 
6A D8 FF C2 // x
00 00 00 00 // y
A6 FD 99 C5 // z
62 09 3F 3E // ratio
(Point 8) 
6A D8 FF C2 // x
00 00 00 00 // y
A6 FD 98 C5 // z
05 47 46 3E // ratio
(Point 9) 
6A D8 FF C2 // x
00 00 00 00 // y
A6 FD 97 C5 // z
84 66 4E 3E // ratio