Difference between revisions of "BaselinesMessage"

From SWGANH Wiki
Jump to: navigation, search
(Parsing Types)
(Struct)
Line 8: Line 8:
  
 
{| 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'''
+
|{{long}}||'''ObjectID'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''ObjectID'''
+
|{{int}}||'''Object_TYPE'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Object_TYPE'''
+
|{{byte}}||'''TYPE_#'''
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''TYPE_#'''
+
|{{int}}||'''Object_Data_Size'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Object_Data_Size'''
+
|-
+
|align="center" style="background:#CCFFFF; color:white;"|'''...'''||'''Data'''
+
 
|-
 
|-
 +
|{{uncertain}}||'''Data'''
 
|}
 
|}
  

Revision as of 08:01, 10 April 2007


Struct


SHORT Operand_Count
INT Opcode
LONG ObjectID
INT Object_TYPE
BYTE TYPE_#
INT Object_Data_Size
? Data

Variable Descriptions


Operand_Count = 5

Opcode = 68A75F0C


  • Object_ID:

A 64bit ID number assigned uniquely to objects.

  • Object_TYPE:
A 4 byte integer made of characters used to identify the object type. for a list of object types see below.

Note: This is just a string used in the debugging message. Parsing methods are set on object creation.

  • TYPE_#:
This is a single byte integer used to identify what type of update is being done to the object based on the objects type.
Example:
TYPE = CREO
TYPE_#: 1, 3, 4, 6, 7, 8, 9...
Each value contains a different part or data to be updated to the object. Some aren't used at all.
The available ones will be listed.
  • Object_Data_Size:
Size of DATA below
  • DATA:
The rest of the packet is just initialization data for the object. This gets parsed uniquely depending on the Object_TYPE and TYPE_#. See the corresponding list for separate structs of these Objects.

ObjectTemplate Types


  • Known Packet Types
SharedCellObjectTemplate
SharedBuildingObjectTemplate
SharedFactoryObjectTemplate
SharedGroupObjectTemplate
SharedGuildObjectTemplate
SharedInstallationObjectTemplate
SharedMissionObjectTemplate
SharedPlayerObjectTemplate
SharedResourceContainerObjectTemplate
SharedStaticObjectTemplate
SharedWaypointObjectTemplate
SharedManufactureSchematicObjectTemplate
SharedIntangibleObjectTemplate
SharedTangibleObjectTemplate
SharedShipObjectTemplate
SharedCreatureObjectTemplate
SharedWeaponObjectTemplate
  • Unused/Inherited Types
SharedVehicleObjectTemplate
SharedBattlefieldMarkerObjectTemplate
SharedTerrainSurfaceObjectTemplate
SharedConstructionContractObjectTemplate
SharedUniverseObjectTemplate
SharedObjectTemplate
SharedDraftSchematicObjectTemplate

Tags


S→C This packet originates on the server.

50% This packet has been partially reversed.


Parsing Types

NAME Name Type 01 Type 02 Type 03 Type 04 Type 05 Type 06 Type 07 Type 08 Type 09
GILD Guild Object GILD01 GILD03 GILD06
CREO Create Object CREO01 CREO03 CREO04 CREO06
SHIP Ship Object SHIP01 SHIP03 SHIP04 SHIP06
INTO Intangible Object INTO01 INTO03 INTO06
TANO Tangible Object TANO01 TANO03 TANO06 TANO07
MISO Mission Object MISO01 MISO03 MISO06
PLAY Player Object PLAY01 PLAY03 PLAY06 PLAY08 PLAY09
HINO Installation Object HINO01 HINO03 HINO06 HINO07
RCNO Resource Container Object RCNO1 RCNO03 RCNO06 RCNO08
MSCO Manufacture Schematic Object MSCO01 MSCO03 MSCO06 MSCO07
STAO Static Object STAO01 STAO03 STAO06
GRUP Group Object GRUP01 GRUP03 GRUP06
WAYP Waypoint Object WAYP01 WAYP03 WAYP06
WEAO Wearable Object WEAO03 WEAO06 WEAO08 WEAO09
BUIO Building Object BUIO03 BUIO06
SCLT Cell Object SCLT03 SCLT06 SCLT09
FCTY Factory Object FCTY01