Difference between revisions of "SHIP01"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Sample Packet)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageHeader|Baselines|SHIP01}}
+
{{PageHeader|Baseline|SHIP01}}
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
Line 182: Line 182:
 
</pre>
 
</pre>
  
===Sample Packet===
 
----
 
<pre>
 
05 00 0C 5F A7 68 04 5A  .......<..._.h.Z
 
D1 D6 13 00 00 00 50 49 48 53 01 25 02 00 00 29  ......PIHS.%...)
 
00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 00 80 3F 00 01 00 00 00 00  .........?......
 
00 80 3F 00 02 00 00 00 00 00 80 3F 00 04 00 00  ..?........?....
 
00 00 00 80 3F 00 05 00 00 00 00 00 80 3F 00 06  ....?........?..
 
00 00 00 00 00 80 3F 00 07 00 00 00 00 00 80 3F  ......?........?
 
07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80  ................
 
3F 00 01 00 00 00 00 00 80 3F 00 02 00 00 00 00  ?........?......
 
00 80 3F 00 04 00 00 00 00 00 80 3F 00 05 00 00  ..?........?....
 
00 00 00 80 3F 00 06 00 00 00 00 00 80 3F 00 07  ....?........?..
 
00 00 00 00 00 80 3F 07 00 00 00 00 00 00 00 00  ......?.........
 
00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00  ................
 
00 00 02 00 00 00 00 00 00 00 00 04 00 00 00 00  ................
 
00 00 00 00 05 00 00 00 00 00 00 00 00 06 00 00  ................
 
00 00 00 00 00 00 07 00 00 00 00 00 00 00 07 00  ................
 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
01 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00  ................
 
00 00 04 00 00 00 00 00 00 00 00 05 00 00 00 00  ................
 
00 00 00 00 06 00 00 00 00 00 00 00 00 07 00 00  ................
 
00 00 00 00 00 07 00 00 00 00 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00  ................
 
02 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00  ................
 
00 00 05 00 00 00 00 00 00 00 00 06 00 00 00 00  ................
 
00 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 00 00 00 00 00 00 50 C3 47  .............P.G
 
00 00 A0 40 00 00 00 44 66 66 00 42 00 01 12 17  [email protected]....
 
 
 
Packet : 577
 
199.108.198.52:44463 -> 24.1.10.254:1304 (Server->Client)
 
Zone Server: Fragmented: Enc: T: Comp: T
 
 
00 0D 00 CA 00 A0 40 00 00 A0 40 F3 66 5F 3F F3  ......@[email protected]_?.
 
66 5F 3F 36 8D 27 3F 94 30 37 3F 66 A8 BB 3E 94  f_?6.'?.07?f..>.
 
30 37 3F 00 00 38 42 28 6B 6E 4E 00 00 C8 42 00  07?..8B(knN...B.
 
00 A0 40 00 00 20 41 00 00 A0 41 00 00 70 41 00  ..@.. A...A..pA.
 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 
00 00 00 00 00 00 00 00 00 00 00 01 E0 DD        ..............
 
 
</pre>
 
 
|valign=top|
 
|valign=top|
  
Line 246: Line 198:
 
:* The max speed displayed here is the value that is shown in the SWG ship menus. This is not the actual max speed value. Actual value is in SHIP6.
 
:* The max speed displayed here is the value that is shown in the SWG ship menus. This is not the actual max speed value. Actual value is in SHIP6.
  
The last 12 ints are probably list headers (need to confirm).
+
:* The last 12 ints are probably list headers (need to confirm).
  
 
'''ToDo''':
 
'''ToDo''':
Line 267: Line 219:
 
|}
 
|}
  
 +
===Sample Packet===
 
----
 
----
 +
<pre>
 +
05 00 // Op Count
 +
0C 5F A7 68 // Baseline Message
 +
04 5A D1 D6 13 00 00 00 // SHIP id
 +
50 49 48 53 // PIHS
 +
01
 +
25 02 00 00
 +
29 00 00 00
 +
00 00 00 00
 +
00 00
 +
07 00 00 00
 +
00 00 00 00
 +
00
 +
00 00 00 00
 +
00 00 80 3F
 +
00
 +
01 00 00 00
 +
00 00 80 3F
 +
00
 +
02 00 00 00
 +
00 00 80 3F
 +
00
 +
04 00 00 00
 +
00 00 80 3F
 +
00
 +
05 00 00 00
 +
00 00 80 3F
 +
00
 +
06 00 00 00
 +
00 00 80 3F
 +
00
 +
07 00 00 00
 +
00 00 80 3F
 +
07 00 00 00
 +
00 00 00 00
 +
00 00 00 00
 +
00
 +
00 00 80 3F
 +
00
 +
01 00 00 00
 +
00 00 80 3F
 +
00
 +
02 00 00 00
 +
00 00 80 3F
 +
00
 +
04 00 00 00
 +
00 00 80 3F
 +
00
 +
05 00 00 00
 +
00 00 80 3F
 +
00
 +
06 00 00 00
 +
00 00 80 3F
 +
00
 +
07 00 00 00
 +
00 00 80 3F
 +
07 00 00 00
 +
00 00 00 00
 +
00 00 00 00
 +
00 00 00 00
 +
00 00
 +
01 00 00 00
 +
00 00 00
 +
00 00
 +
02 00 00 00 00 00 00 00 00 04 00 00 00 00  ................
 +
00 00 00 00 05 00 00 00 00 00 00 00 00 06 00 00  ................
 +
00 00 00 00 00 00 07 00 00 00 00 00 00 00 07 00  ................
 +
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 +
01 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00  ................
 +
00 00 04 00 00 00 00 00 00 00 00 05 00 00 00 00  ................
 +
00 00 00 00 06 00 00 00 00 00 00 00 00 07 00 00  ................
 +
00 00 00 00 00 07 00 00 00 00 00 00 00 00 00 00  ................
 +
00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00  ................
 +
02 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00  ................
 +
00 00 05 00 00 00 00 00 00 00 00 06 00 00 00 00  ................
 +
00 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00  ................
 +
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 +
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 +
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 +
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 +
00 00 00 00 00 00 00 00 00 00 00 00 00 50 C3 47  .............P.G
 +
00 00 A0 40 00 00 00 44 66 66 00 42 00 01 12 17  [email protected]....
 +
 +
 +
Packet : 577
 +
199.108.198.52:44463 -> 24.1.10.254:1304 (Server->Client)
 +
Zone Server: Fragmented: Enc: T: Comp: T
 +
 +
00 0D 00 CA 00 A0 40 00 00 A0 40 F3 66 5F 3F F3  ......@[email protected]_?.
 +
66 5F 3F 36 8D 27 3F 94 30 37 3F 66 A8 BB 3E 94  f_?6.'?.07?f..>.
 +
30 37 3F 00 00 38 42 28 6B 6E 4E 00 00 C8 42 00  07?..8B(knN...B.
 +
00 A0 40 00 00 20 41 00 00 A0 41 00 00 70 41 00  ..@.. A...A..pA.
 +
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 +
00 00 00 00 00 00 00 00 00 00 00 01 E0 DD        ..............
 +
 +
</pre>

Latest revision as of 12:50, 8 January 2008

Baseline - SHIP01

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

SHIP Packet Type QuickNav
SHIP01 - SHIP03 - SHIP04 - SHIP06 - SHIP08 - SHIP09

BaseLine Struct


INT:       ?? 
INT:       ??

Unknown List1:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Unknown List2:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Energy Drain List:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Energy Drain for corresponding component
}

Mass List:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Mass for corresponding component
}

Unknown List3:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

INT:       ?? 
INT:       ??

//The following lists are weapon related w/ unk purpose:
Unknown List3:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Unknown List4:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Unknown List5:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Unknown List6:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Unknown List7:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Weapon List:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Weapon Refire Rate
}

Unknown List8:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Unknown List9:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

Unknown List10:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Value
}

FLOAT:       Total Mass
FLOAT:       Shield Recharge Rate
FLOAT:       Weapon Recharge Rate? (need confirm)
FLOAT:       ??
FLOAT:       ??

//Orientation floats:
FLOAT:       ??
FLOAT:       ??
FLOAT:       ??
//

FLOAT:       ??
FLOAT:       ??
FLOAT:       ??
FLOAT:       Max Speed
FLOAT:       Total Energy

INT:       ?? 
INT:       ??
INT:       ?? 
INT:       ??
INT:       ?? 
INT:       ??
INT:       ?? 
INT:       ??
INT:       ?? 
INT:       ??
INT:       ?? 
INT:       ??

Deltas Struct



Variable Descriptions


Obj_OperandCount = 29


Weapon List:

  • This list has only been seen to update the weapon component with its refire rate.

Orientation Floats - have something to do with pitch/yaw/roll

  • The first 2 floats have been seen to be the same. The last float has been seen as 1/2 of the first 2 floats.

Max Speed:

  • The max speed displayed here is the value that is shown in the SWG ship menus. This is not the actual max speed value. Actual value is in SHIP6.
  • The last 12 ints are probably list headers (need to confirm).

ToDo:

  • Research the majority of this packet - this is the most incomplete ship baseline.

Notes


(Ramsey's Break)

SHIP1 has contain specific data that is only useful to the operator of the ship. There are a lot of lists in this packet that need research as to what their effect is.

Tags


50% This packet has been partially reversed.

Sample Packet


05 00 // Op Count
0C 5F A7 68 // Baseline Message
04 5A D1 D6 13 00 00 00 // SHIP id
50 49 48 53 // PIHS
01 
25 02 00 00 
29 00 00 00 
00 00 00 00 
00 00 
07 00 00 00 
00 00 00 00 
00 
00 00 00 00 
00 00 80 3F 
00 
01 00 00 00 
00 00 80 3F 
00 
02 00 00 00 
00 00 80 3F 
00 
04 00 00 00 
00 00 80 3F 
00 
05 00 00 00 
00 00 80 3F 
00 
06 00 00 00 
00 00 80 3F 
00 
07 00 00 00 
00 00 80 3F 
07 00 00 00 
00 00 00 00 
00 00 00 00 
00 
00 00 80 3F 
00 
01 00 00 00 
00 00 80 3F 
00 
02 00 00 00 
00 00 80 3F 
00 
04 00 00 00 
00 00 80 3F 
00 
05 00 00 00 
00 00 80 3F 
00 
06 00 00 00 
00 00 80 3F 
00 
07 00 00 00 
00 00 80 3F 
07 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 
01 00 00 00 
00 00 00 
00 00 
02 00 00 00 00 00 00 00 00 04 00 00 00 00   ................
00 00 00 00 05 00 00 00 00 00 00 00 00 06 00 00   ................
00 00 00 00 00 00 07 00 00 00 00 00 00 00 07 00   ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
01 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00   ................
00 00 04 00 00 00 00 00 00 00 00 05 00 00 00 00   ................
00 00 00 00 06 00 00 00 00 00 00 00 00 07 00 00   ................
00 00 00 00 00 07 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00   ................
02 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00   ................
00 00 05 00 00 00 00 00 00 00 00 06 00 00 00 00   ................
00 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00 00 00 00 00 00 50 C3 47   .............P.G
00 00 A0 40 00 00 00 44 66 66 00 42 00 01 12 17   [email protected]....


Packet : 577
199.108.198.52:44463 -> 24.1.10.254:1304 (Server->Client)
Zone Server: Fragmented: Enc: T: Comp: T 

00 0D 00 CA 00 A0 40 00 00 A0 40 F3 66 5F 3F F3   ......@[email protected]_?.
66 5F 3F 36 8D 27 3F 94 30 37 3F 66 A8 BB 3E 94   f_?6.'?.07?f..>.
30 37 3F 00 00 38 42 28 6B 6E 4E 00 00 C8 42 00   07?..8B(knN...B.
00 A0 40 00 00 20 41 00 00 A0 41 00 00 70 41 00   ..@.. A...A..pA.
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 00 00 00 00 00 01 E0 DD         ..............