Difference between revisions of "GetMapLocationsMessage"

From SWGANH Wiki
Jump to: navigation, search
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Client Packet|GetMapLocationsMessage (1A7AB839)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Opperand_Count'''
+
|{{short}}||'''Opperand_Count'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{a_string}}||'''Planet_String'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color="red">??</font>'''
+
|{{float}}|'''X cord'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color="red">??</font>'''
+
|{{float}}|'''Z cord'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''<font color="red">??</font>'''
+
|{{byte}}|'''Category'''
 
|-
 
|-
 +
|{{byte}}|'''SubCategory'''
 +
|-
 +
|{{byte}}|'''Icon'''
 +
|-
 +
|}
 
|}
 
|}
  
Line 26: Line 32:
 
----
 
----
  
Opperand_Count     = '''6'''
+
Opperand_Count     = '''05'''
  
 
Opcode     = '''1A7AB839'''
 
Opcode     = '''1A7AB839'''
Line 40: Line 46:
 
||{{ClientPacket}}
 
||{{ClientPacket}}
 
|-
 
|-
||{{50%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
Line 47: Line 53:
  
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
05 00 // Op Count
 +
39 B8 7A 1A // GetMapLocationsMessage
 +
05 00 // sting count
 +
65 6E 64 6F 72 // endor
 +
17 00 00 00
 +
01 00 00 00
 +
01
 +
00
 +
00
 +
------------------------------------------
 +
05 00 // Op Count
 +
39 B8 7A 1A // GetMapLocationsMessage
 +
08 00 // string count
 +
64 75 6E 67 65 6F 6E 31 // dungeon1
 +
00 00 00 00
 +
00 00 00 00
 +
00
 +
00
 +
00
 
</pre>
 
</pre>

Latest revision as of 04:31, 1 January 2008

Client Packet - GetMapLocationsMessage (1A7AB839)

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_String
FLOAT X cord
FLOAT Z cord
BYTE Category
BYTE SubCategory
BYTE Icon

Variable Descriptions


Opperand_Count = 05

Opcode = 1A7AB839


  • Planet_String:

Name of the Planet to request data for.

Tags


C→S This packet originates on the client.

100% This packet has been completely reversed.


Sample Packet

05 00 // Op Count
39 B8 7A 1A // GetMapLocationsMessage
05 00 // sting count
65 6E 64 6F 72 // endor
17 00 00 00 
01 00 00 00 
01 
00 
00 
------------------------------------------
05 00 // Op Count
39 B8 7A 1A // GetMapLocationsMessage
08 00 // string count
64 75 6E 67 65 6F 6E 31 // dungeon1
00 00 00 00 
00 00 00 00 
00 
00 
00