Difference between revisions of "TANO06"

From SWGANH Wiki
Jump to: navigation, search
(Deltas Struct)
(Tags)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Baseline|TANO06}}
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
Line 13: Line 13:
  
 
<pre>
 
<pre>
SHORT: ObjOpperandCount (7)
+
SHORT: ObjectOpperandCount
float:         Schematic Complexity (!!!!!)
+
INT: ServerID
ASTRING: ?
+
INT: DefenderList
INT:           ???
+
INT: UpdateCounter
ASTRING        ?
+
{
 
+
LONG: DefenderID
//rest not reversed by me yet
+
}
 
+
 
</pre>
 
</pre>
  
Line 27: Line 26:
  
 
<pre>
 
<pre>
SHORT:                 UpdateCount
+
SHORT: UpdateCount
SHORT:                 UpdateType
+
SHORT: UpdateType
 
{
 
{
   00:          
+
   00:
     INT:               ??
+
     INT: ServerID
 
   01:
 
   01:
     INT:               DefenderListSize
+
     INT: DefenderListSize
     INT:               UpdateCounter
+
     INT: UpdateCounter
 
     {
 
     {
       BYTE:             SubType
+
       BYTE: SubType
 
       {
 
       {
 
         00:(remove)
 
         00:(remove)
           SHORT:       DefenderObjIndex
+
           SHORT: DefenderObjIndex
 
         01:(add)
 
         01:(add)
           SHORT:       DefenderObjIndex
+
           SHORT: DefenderObjIndex
           LONG:      
+
           LONG: DefenderID
DefenderID
+
 
         02:(change)
 
         02:(change)
           SHORT:       DefenderObjIndex
+
           SHORT: DefenderObjIndex
           LONG:         DefenderID
+
           LONG: DefenderID
 
         03:(resetall)
 
         03:(resetall)
           SHORT:       NewListSize
+
           SHORT: NewListSize
 
           {
 
           {
             LONG:       DefenderID
+
             LONG: DefenderID
 
           }
 
           }
 
         04:(clearall)
 
         04:(clearall)
Line 57: Line 55:
 
</pre>
 
</pre>
  
===Sample Packet===
 
----
 
 
<pre>
 
05 00
 
0C 5F A7 68            // BaselinesMessage
 
1D 92 14 6D 02 00 00 00 // ID
 
4F 4E 41 54 06          // ONAT 6
 
02 00 42 00
 
00 00 00 00
 
00 00 00 00
 
00 00 0E
 
</pre>
 
 
|valign=top|
 
|valign=top|
  
Line 75: Line 60:
 
----
 
----
  
Obj_OperandCount =  
+
ObjOpperandCount = 2
 
----
 
----
 +
'''DefenderList''':
 +
:A list of ObjectIDs that this object is defending against in combat. (Being able to destroy enemy harvesters/factories would be cool !)
  
 
===Tags===
 
===Tags===
Line 82: Line 69:
 
{| align="center"
 
{| align="center"
 
|-  
 
|-  
||{{50%}}
+
||{{100%}}
 
|-
 
|-
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
 +
|}
 
|}
 
|}
  
===To Do===
+
===Sample Packet===
 
----
 
----
  
|}
+
<pre>
 
+
05 00
----
+
0C 5F A7 68            // BaselinesMessage
 +
1D 92 14 6D 02 00 00 00 // ID
 +
4F 4E 41 54 06          // ONAT 6
 +
02 00 42 00
 +
00 00 00 00
 +
00 00 00 00
 +
00 00 0E
 +
</pre>

Latest revision as of 10:39, 12 September 2011

Baseline - TANO06

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

TANO Packet Type QuickNav
TANO03 - TANO06 - TANO07


BaseLine Struct


SHORT:			ObjectOpperandCount
INT:			ServerID
INT:			DefenderList
INT:			UpdateCounter
{
 LONG:			DefenderID
}

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:
    INT:		ServerID
  01:
    INT:		DefenderListSize
    INT:		UpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          SHORT:	DefenderObjIndex
        01:(add)
          SHORT:	DefenderObjIndex
          LONG:		DefenderID
        02:(change)
          SHORT:	DefenderObjIndex
          LONG:		DefenderID
        03:(resetall)
          SHORT:	NewListSize
          {
            LONG:	DefenderID
          }
        04:(clearall)
      }
    }

Variable Descriptions


ObjOpperandCount = 2


DefenderList:

A list of ObjectIDs that this object is defending against in combat. (Being able to destroy enemy harvesters/factories would be cool !)

Tags


100% This packet has been completely reversed.

S→C This packet originates on the server.

Sample Packet


05 00 
0C 5F A7 68             // BaselinesMessage
1D 92 14 6D 02 00 00 00 // ID
4F 4E 41 54 06          // ONAT 6
02 00 42 00 
00 00 00 00
00 00 00 00 
00 00 0E