Difference between revisions of "SHIP06"

From SWGANH Wiki
Jump to: navigation, search
(BaseLine Struct)
(Variable Descriptions)
Line 90: Line 90:
 
----
 
----
  
 +
===Notes===
 +
----
 +
(Ramsey's Break)
 +
 +
This packet sets ShipObject components and attaches them to the chasis. It also makes the ship energy display.
 +
The components of the ship object are presented in the list, if the chasis isnt provided a debug warning will throw
 +
but not crash the client, saying that it needs to be attached.
 +
Ship components include a reactor, the reactors status (damaged, pristine etc) are also listed in this packet.
  
 
===Tags===
 
===Tags===

Revision as of 16:37, 5 January 2008


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

BaseLine Struct


INT:         ??
INT:         ??
INT:         ??
SHORT:       ??
FLOAT:       ??
FLOAT:       Min Speed
FLOAT:       ??
FLOAT:       ??

//Orientation floats: (see notes below)
FLOAT:       ??
FLOAT:       ??
FLOAT:       ??
//

FLOAT:       ??
FLOAT:       Max Speed (see notes)
LONG:        Ship Object ID

INT:         ?? [1]
INT:         ??

INT:         ?? [2]

INT:         ?? [1]
INT:         ??

Component CRC List:
INT:    List size
INT:    List Update Counter
{
    BYTE:    ??
    INT:     Component Index
    INT:     Component CRC
}

SHORT:       ?? [3]
SHORT:       ??
SHORT:       ??
SHORT:       ??

FLOAT:       Current Frontshield
FLOAT:       Current Backshield
INT:         ??

Deltas Struct



Sample Packet


05 00 0C 5F A7 68 04 5A D1 D6 13 00   ......._.h.Z....
00 00 50 49 48 53 06 B6 00 00 00 17 00 6E 00 00   ..PIHS.......n..
00 0F 00 73 74 72 69 6E 67 5F 69 64 5F 74 61 62   ...string_id_tab
6C 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00   le..............
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 73 00 00 00 04 00 00 00 1F 00   ......s.........
00 00 07 00 00 00 07 00 00 00 15 00 00 00 00 00   ................
00 00 00 04 FC 2E D7 00 01 00 00 00 3E 98 D3 79   ............>..y
00 02 00 00 00 CD E8 36 A4 00 04 00 00 00 FD 53   .......6.......S
08 B0 00 05 00 00 00 FD 53 08 B0 00 06 00 00 00   ........S.......
8F 6A A4 4C 00 07 00 00 00 91 D4 AB 5A 00 00 00   .j.L........Z...
00 00 00 00 00 00 00 75 44 00 00 75 44 00 00 00   .......uD..uD...
00 01 0A EA      

Variable Descriptions


Obj_OperandCount = ??


Notes


(Ramsey's Break)

This packet sets ShipObject components and attaches them to the chasis. It also makes the ship energy display. The components of the ship object are presented in the list, if the chasis isnt provided a debug warning will throw but not crash the client, saying that it needs to be attached. Ship components include a reactor, the reactors status (damaged, pristine etc) are also listed in this packet.

Tags


0% This packet has not been reversed.