Difference between revisions of "GetMapLocationsResponseMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Variable Descriptions)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|GetMapLocationsResponseMessage (9F80464C)}}
{|
+
|- align="center"
+
||{{PacketGuide}}
+
|-
+
|}
+
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 11: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
<pre>
{| class="wikitable"
+
SHORT: Opperand_Count
|-
+
INT: Opcode
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
A_STRING:       Planet
|-
+
INT:           List
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
{
|-
+
LONG:         id
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
U_STRING:     Name
|-
+
FLOAT:        X
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
FLOAT:         Y
|-
+
BYTE:         isCategory
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
BYTE:          isSubCategory
|-
+
BYTE:         isActive
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
}
|-
+
INT:           List
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
{
|-
+
LONG:         id
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
U_STRING:     Name
|-
+
FLOAT:        X
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
FLOAT:         Y
|-
+
BYTE:         isCategory
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
BYTE:          isSubCategory
|-
+
BYTE:         isActive
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
}
|-
+
INT:           List
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
{
|-
+
LONG:         id
|}
+
U_STRING:     Name
 +
FLOAT:        X
 +
FLOAT:         Y
 +
BYTE:         isCategory
 +
BYTE:          isSubCategory
 +
BYTE:         isActive
 +
}
 +
INT:           Unknown
 +
INT:           Unknown
 +
INT:          Unknown
 +
</pre>
  
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
  
Opperand_Count     = '''9'''
+
Opperand_Count     = '''28'''
  
Opcode     = '''FFFFFFFF'''
+
Opcode     = '''9F80464C'''
 
----
 
----
  
 
* Additional Descriptions go here...
 
* Additional Descriptions go here...
* --
+
 
* ---
+
If this object is a Category, then the index goes in the first byte.
* ----
+
If this object is a SubCategory, then the index goes in the second byte.
 +
If this object is Active, as in a player has registered that they are using the station, then either the index or 1 goes in this byte (TBD).
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 60: Line 66:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{75%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==

Latest revision as of 08:47, 29 April 2011

Server Packet - GetMapLocationsResponseMessage (9F80464C)

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
A_STRING:       Planet
INT:            List
{
 LONG:          id
 U_STRING:      Name
 FLOAT:         X
 FLOAT:         Y
 BYTE:          isCategory
 BYTE:          isSubCategory
 BYTE:          isActive
}
INT:            List
{
 LONG:          id
 U_STRING:      Name
 FLOAT:         X
 FLOAT:         Y
 BYTE:          isCategory
 BYTE:          isSubCategory
 BYTE:          isActive
}
INT:            List
{
 LONG:          id
 U_STRING:      Name
 FLOAT:         X
 FLOAT:         Y
 BYTE:          isCategory
 BYTE:          isSubCategory
 BYTE:          isActive
}
INT:           Unknown
INT:           Unknown
INT:           Unknown

Variable Descriptions


Opperand_Count = 28

Opcode = 9F80464C


  • Additional Descriptions go here...

If this object is a Category, then the index goes in the first byte. If this object is a SubCategory, then the index goes in the second byte. If this object is Active, as in a player has registered that they are using the station, then either the index or 1 goes in this byte (TBD).

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.

Sample Packet

00 09 1D BA 
08 00       // opcount
4C 46 80 9F // GetMapLocationsResponseMessage
03 00              // string count
6C 6F 6B 00        // lok
00 00 00 00 
00 00 00 00 
00 00 00 72 
02 00 00 E4      
04 00 00 01 
00 00 
00 2F 2D // comp+crc