Difference between revisions of "DeltasMessage"

From SWGANH Wiki
Jump to: navigation, search
(Parsing Types)
m (Protected "DeltasMessage": Page is complete. [edit=sysop:move=sysop])
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|DeltasMessage (12862153)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===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'''
+
|{{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:black;"|'''...'''||'''Data'''
+
 
|-
 
|-
 +
|{{uncertain}}||'''Data'''
 +
|}
 
|}
 
|}
  
Line 34: Line 34:
  
 
* '''Object_ID''':
 
* '''Object_ID''':
A 64bit ID number assigned uniquely to objects.
+
:A 64bit ID number assigned uniquely to objects.
 
+
 
+
 
* '''Object_TYPE''':
 
* '''Object_TYPE''':
 
:A 4 byte integer made of characters used to identify the object type. For a list of object types see below.
 
: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.
'''Note''': This is just a string used in the debugging message.
+
 
:Parsing methods are set on object creation.
 
:Parsing methods are set on object creation.
 
 
 
* '''TYPE_#''':
 
* '''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.
 
:This is a single byte integer used to identify what type of update is being done to the object based on the objects type.
Line 53: Line 48:
 
Some aren't used at all. The available ones will be listed.
 
Some aren't used at all. The available ones will be listed.
 
</pre>
 
</pre>
 
 
* '''Object_Data_Size''':
 
* '''Object_Data_Size''':
 
:Size of DATA below
 
:Size of DATA below
 
 
* '''DATA''':
 
* '''DATA''':
 
:The rest of the packet is used to update/change specific variables of the object.
 
:The rest of the packet is used to update/change specific variables of the object.
Line 64: Line 57:
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 70: Line 64:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{50%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
Line 77: Line 71:
  
 
----
 
----
 
==Sample Code==
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
Line 91: Line 79:
  
 
==Parsing Types==
 
==Parsing Types==
{| class="wikitable"
+
 
|- align="center"
+
===Baselines===
|'''NAME'''||width="200px"|'''Name'''||'''Type 01'''||'''Type 02'''||'''Type 03'''||'''Type 04'''||'''Type 05'''||'''Type 06'''||'''Type 07'''||'''Type 08'''||'''Type 09'''
+
{{PacketBaselines}}
|- align="center"
+
 
|align="center"|'''[[Guild Object|GILD]]'''||align="left"|'''[[Guild Object]]'''||'''[[GILD01]]'''||''' '''||'''[[GILD03]]'''||''' '''||''' '''||'''[[GILD06]]'''||''' '''||''' '''||''' '''
+
===Deltas===
|- align="center"
+
{{PacketDeltas}}
|align="center"|'''[[Create Object|CREO]]'''||align="left"|'''[[Create Object]]'''||'''[[CREO01]]'''||''' '''||'''[[CREO03]]'''||'''[[CREO04]]'''||''' '''||'''[[CREO06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Ship Object|SHIP]]'''||align="left"|'''[[Ship Object]]'''||'''[[SHIP01]]'''||''' '''||'''[[SHIP03]]'''||'''[[SHIP04]]'''||''' '''||'''[[SHIP06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Intangible Object|INTO]]'''||align="left"|'''[[Intangible Object]]'''||'''[[INTO01]]'''||''' '''||'''[[INTO03]]'''||''' '''||''' '''||'''[[INTO06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Tangible Object|TANO]]'''||align="left"|'''[[Tangible Object]]'''||'''[[TANO01]]'''||''' '''||'''[[TANO03]]'''||''' '''||''' '''||'''[[TANO06]]'''||'''[[TANO07]]'''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Mission Object|MISO]]'''||align="left"|'''[[Mission Object]]'''||'''[[MISO01]]'''||''' '''||'''[[MISO03]]'''||''' '''||''' '''||'''[[MISO06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Player Object|PLAY]]'''||align="left"|'''[[Player Object]]'''||'''[[PLAY01]]'''||''' '''||'''[[PLAY03]]'''||''' '''||''' '''||'''[[PLAY06]]'''||''' '''||'''[[PLAY08]]'''||'''[[PLAY09]]'''
+
|- align="center"
+
|align="center"|'''[[Installation Object|HINO]]'''||align="left"|'''[[Installation Object]]'''||'''[[HINO01]]'''||''' '''||'''[[HINO03]]'''||''' '''||''' '''||'''[[HINO06]]'''||'''[[HINO07]]'''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Resource Container Object|RCNO]]'''||align="left"|'''[[Resource Container Object]]'''||''' '''||''' '''||'''[[RCNO03]]'''||''' '''||''' '''||'''[[RCNO06]]'''||''' '''||'''[[RCNO08]]'''||'''[[RCNO09]]'''
+
|- align="center"
+
|align="center"|'''[[Manufacture Schematic Object|MSCO]]'''||align="left"|'''[[Manufacture Schematic Object]]'''||'''[[MSCO01]]'''||''' '''||'''[[MSCO03]]'''||''' '''||''' '''||'''[[MSCO06]]'''||'''[[MSCO07]]'''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Static Object|STAO]]'''||align="left"|'''[[Static Object]]'''||'''[[STAO01]]'''||''' '''||'''[[STAO03]]'''||''' '''||''' '''||'''[[STAO06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Group Object|GRUP]]'''||align="left"|'''[[Group Object]]'''||'''[[GRUP01]]'''||''' '''||'''[[GRUP03]]'''||''' '''||''' '''||'''[[GRUP06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Waypoint Object|WAYP]]'''||align="left"|'''[[Waypoint Object]]'''||'''[[WAYP01]]'''||''' '''||'''[[WAYP03]]'''||''' '''||''' '''||'''[[WAYP06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Wearable Object|WEAO]]'''||align="left"|'''[[Wearable Object]]'''||''' '''||''' '''||'''[[WEAO03]]'''||''' '''||''' '''||'''[[WEAO06]]'''||''' '''||'''[[WEAO08]]'''||'''[[WEAO09]]'''
+
|- align="center"
+
|align="center"|'''[[Building Object|BUIO]]'''||align="left"|'''[[Building Object]]'''||''' '''||''' '''||'''[[BUIO03]]'''||''' '''||''' '''||'''[[BUIO06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Cell Object|SCLT]]'''||align="left"|'''[[Cell Object]]'''||''' '''||''' '''||'''[[SCLT03]]'''||''' '''||''' '''||'''[[SCLT06]]'''||''' '''||''' '''||''' '''
+
|- align="center"
+
|align="center"|'''[[Factory Object|FCTY]]'''||align="left"|'''[[Factory Object]]'''||'''[[FCTY01]]'''||''' '''||''' '''||''' '''||''' '''||''' '''||''' '''||''' '''||''' '''
+
|-
+
|}
+

Latest revision as of 10:03, 6 December 2007

Server Packet - DeltasMessage (12862153)

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
LONG ObjectID
INT Object_TYPE
BYTE TYPE_#
INT Object_Data_Size
? Data

Variable Descriptions


Opperand_Count = 5

Opcode = 12862153


  • 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 used to update/change specific variables of the object.
This gets parsed uniquely depending on the Object_TYPE and TYPE_#.
See the corresponding list for separate structs of these Objects.
All DATA Segments begin with a short with the # of updates it contains, and then additional short used to identify the variable being updated.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

Insert Sample Packet Here...

Parsing Types

Baselines

NAME Name Type 01 Type 02 Type 03 Type 04 Type 05 Type 06 Type 07 Type 08 Type 09
BMRK Battlefield Marker BMRK03 BMRK06
BUIO Building Object BUIO03 BUIO06
CREO Creature Object CREO01 CREO03 CREO04 CREO06 CREO08 CREO09
FCYT Factory Crate FCYT03 FCYT06 FCYT08 FCYT09
GILD Guild Object GILD03 GILD06
GRUP Group Object GRUP03 GRUP06
HINO Harvester Installation Object HINO03 HINO06 HINO07
INSO Installation Object INSO03 INSO06 INSO07
ITNO Intangible Object ITNO03 ITNO06
MINO Manufacture Installation MINO03 MINO06
MISO Mission Object MISO03 MISO06 MISO08 MISO09
MSCO Manufacture Schematic Object MSCO03 MSCO06 MSCO07 MSCO08 MSCO09
PLAY Player Object PLAY03 PLAY06 PLAY08 PLAY09
RCNO Resource Container Object RCNO03 RCNO06 RCNO08 RCNO09
SCLT Cell Object SCLT03 SCLT06 SCLT08 SCLT09
STAO Static Object STAO03 STAO06
SHIP Ship Object SHIP01 SHIP03 SHIP04 SHIP06 SHIP08 SHIP09
TANO Tangible Object TANO03 TANO06 TANO07 TANO08 TANO09
WAYP Waypoint Object WAYP03 WAYP06
WEAO Wearable Object WEAO03 WEAO06 WEAO08 WEAO09

Deltas

NAME Name Type 01 Type 02 Type 03 Type 04 Type 05 Type 06 Type 07 Type 08 Type 09
BMRK Battlefield Marker BMRK03 BMRK06
BUIO Building Object BUIO03 BUIO06
CREO Creature Object CREO01 CREO03 CREO04 CREO06 CREO08 CREO09
FCYT Factory Crate FCYT03 FCYT06 FCYT08 FCYT09
GILD Guild Object GILD03 GILD06
GRUP Group Object GRUP03 GRUP06
HINO Harvester Installation Object HINO03 HINO06 HINO07
INSO Installation Object INSO03 INSO06 INSO07
ITNO Intangible Object ITNO03 ITNO06 ITNO08 ITNO09
MINO Manufacture Installation MINO03 MINO06
MISO Mission Object MISO03 MISO06 MISO08 MISO09
MSCO Manufacture Schematic Object MSCO03 MSCO06 MSCO07 MSCO08 MSCO09
PLAY Player Object PLAY03 PLAY06 PLAY08 PLAY09
RCNO Resource Container Object RCNO03 RCNO06 RCNO08 RCNO09
SCLT Cell Object SCLT03 SCLT06 SCLT08 SCLT09
STAO Static Object STAO03 STAO06
SHIP Ship Object SHIP01 SHIP03 SHIP04 SHIP06 SHIP08 SHIP09
TANO Tangible Object TANO03 TANO06 TANO07 TANO08 TANO09
WAYP Waypoint Object WAYP01 WAYP03 WAYP06
WEAO Wearable Object WEAO03 WEAO06 WEAO08 WEAO09