Difference between revisions of "PlanetTravelPointListResponse"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Struct)
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|PlanetTravelPointListResponse (4D32541F)}}
{|
+
|- 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"
 +
|{{short}}|'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}|'''OpCode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''OpCode'''
+
|{{a_string}}|'''Query Planet String'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Planet String'''
+
|{{int}}|'''PlanetsCount (number of planets)'''
 +
|}
 +
{{beginlist|planets|PlanetsCount}}
 +
:{| class="wikitable"
 +
|{{a_string}}|'''Starport/Shuttleport Name'''
 +
|}
 +
{{endlist|planets}}
 +
{| class="wikitable"
 +
|{{int}}|'''TransportsCount (number of shuttle/starports on planet)'''
 +
|}
 +
{{beginlist|transports|TransportsCount}}
 +
:{| class="wikitable"
 +
|{{float}}|'''Pos X'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{float}}|'''Pos Y'''
|-
+
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|-
+
|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}}|'''Pos Z'''
 +
|}
 +
{{endlist|transports}}
 +
{| class="wikitable"
 +
|{{int}}|'''TicketsCount (number of shuttle/starports on planet)'''
 +
|}
 +
{{beginlist|tickets|TicketsCount}}
 +
:{| class="wikitable"
 +
|{{int}}|'''Ticket Price (Difference - Could be TAX)'''
 +
|}
 +
{{endlist|tickets}}
 +
{| class="wikitable"
 +
|{{int}}|'''RangesCount (number of shuttle/starports on planet)'''
 +
|}
 +
{{beginlist|ranges|RangesCount}}
 +
:{| class="wikitable"
 +
|{{bool}}|'''Reachable? (1=true, 0=false)'''
 +
|}
 +
{{endlist|ranges}}
 
|}
 
|}
  
Line 46: Line 59:
  
 
Opcode     = '''4D32541F'''
 
Opcode     = '''4D32541F'''
----
 
 
* Additional Descriptions go here...
 
* --
 
* ---
 
* ----
 
  
 
|valign=top|
 
|valign=top|
Line 61: Line 68:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
 
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
06 00                                          operand count
 +
1F 54 32 4D                 crc
 +
dathomir respective planet string
 +
32 02 00 00 00 counter of starports / shuttleports
 +
Dathomir.Outpost name 1
 +
Science.Outpost name 2
 +
02 00 00 00 counter of starports / shuttleports
 +
20 B9 1A 44 x 1
 +
78 44 C1 40 z
 +
3A 40 41 45 y
 +
73 16 44 C2 x 2
 +
00 00 90 41 z
 +
4A 17 C6 C4 y
 +
02 00 00 00 counter of starports / shuttleports
 +
2C 01 00 00 add to tocket price 1
 +
2C 01 00 00 add to ticket price 2
 +
02 00 00 00 counter of starports / shuttleports
 +
01 reachable ? 1 = true 0 = false
 +
01
 
</pre>
 
</pre>

Latest revision as of 09:13, 2 May 2011

Server Packet - PlanetTravelPointListResponse (4D32541F)

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
A_STRING Query Planet String
INT PlanetsCount (number of planets)

<planets count=PlanetsCount>

A_STRING Starport/Shuttleport Name

<planets/>

INT TransportsCount (number of shuttle/starports on planet)

<transports count=TransportsCount>

FLOAT Pos X
FLOAT Pos Y
FLOAT Pos Z

<transports/>

INT TicketsCount (number of shuttle/starports on planet)

<tickets count=TicketsCount>

INT Ticket Price (Difference - Could be TAX)

<tickets/>

INT RangesCount (number of shuttle/starports on planet)

<ranges count=RangesCount>

BOOL Reachable? (1=true, 0=false)

<ranges/>

Variable Descriptions


Operand_Count = 9

Opcode = 4D32541F

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

06 00                                           operand count
1F 54 32 4D			                crc
dathomir					respective planet string
32 02 00 00 00 					counter of starports / shuttleports
Dathomir.Outpost				name 1
Science.Outpost					name 2
02 00 00 00 					counter of starports / shuttleports
20 B9 1A 44 					x 1
78 44 C1 40 					z
3A 40 41 45 					y
73 16 44 C2 					x 2
00 00 90 41 					z
4A 17 C6 C4 					y
02 00 00 00 					counter of starports / shuttleports
2C 01 00 00 					add to tocket price 1
2C 01 00 00 					add to ticket price 2
02 00 00 00 					counter of starports / shuttleports
01 						reachable ? 1 = true 0 = false
01