Difference between revisions of "PlanetTravelPointListResponse"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Struct)
Line 7: Line 7:
 
----
 
----
  
{| class="wikitable"
+
<pre>
|-
+
SHORT: Operand_Count
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
INT: OpCode
|-
+
A_STRING: Query Planet String
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''OpCode'''
+
INT: Count (number of shuttle/starports on planet)
|-
+
{
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Query Planet String'''
+
A_STRING: Planet String
|-
+
|
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Count (number of shuttle/starports on planet)'''
+
INT: Count (number of shuttle/starports on planet)
|-
+
{
|}
+
INT: Pos X
:{| class="wikitable"
+
INT: Pos Z
|-
+
INT: Pos Y
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Planet String'''
+
}
|-
+
INT: Count (number of shuttle/starports on planet)
|}
+
{
{| class="wikitable"
+
INT: Ticket Price (Difference - Could be TAX)
|-
+
}
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Count (number of shuttle/starports on planet)'''
+
INT: Count (number of shuttle/starports on planet)
|-
+
BYTE: Reachable? (1=true, 0=false)
|}
+
</pre>
:{| class="wikitable"
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Pos X'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Pos Z'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Pos Y'''
+
|-
+
|}
+
{| class="wikitable"
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Count (number of shuttle/starports on planet)'''
+
|-
+
|}
+
:{| class="wikitable"
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Ticket Price (Difference - Could be TAX)'''
+
|-
+
|}
+
{| class="wikitable"
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Count (number of shuttle/starports on planet)'''
+
|-
+
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''Reachable? (1=true, 0=false)'''
+
|-
+
|}
+
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 19:23, 16 January 2007


Struct


SHORT:			Operand_Count
INT:			OpCode
A_STRING:		Query Planet String
INT:			Count (number of shuttle/starports on planet)
{
	A_STRING:	Planet String
|
INT:			Count (number of shuttle/starports on planet)
{
	INT:		Pos X
	INT:		Pos Z
	INT:		Pos Y
}
INT:			Count (number of shuttle/starports on planet)
{
	INT:		Ticket Price (Difference - Could be TAX)
}
INT:			Count (number of shuttle/starports on planet)
BYTE:			Reachable? (1=true, 0=false)

Variable Descriptions


Operand_Count = 9

Opcode = 4D32541F


  • Additional Descriptions go here...
  • --
  • ---
  • ----

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

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