Difference between revisions of "TANO03"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Variable Descriptions)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Baseline|TANO03}}
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
Line 13: Line 13:
  
 
<pre>
 
<pre>
SHORT: ObjOpperandCount (13)
+
SHORT:             ObjectOpperandCount
float:         Schematic Complexity (!!!!!)
+
FLOAT:             Complexity
ASTRING: ASCII string dir to look for the item name
+
ASTRING:           STFName
INT:           ???
+
INT:               String Spacer
ASTRING         item name to look up
+
ASTRING:          DefaultName
 
+
USTRING:           CustomName
USTRING:       Cust String???
+
INT:               Volume
INT:           Inventory LOAD in number of slots used
+
CSTRING:          Customization
USTRING        Customization String to look up
+
INT:               ComponentCustomizationListSize
INT:           ??? with creo thatd be listsize
+
INT:               ComponentCustomizationUpdateCounter
INT:           ??? with creo thatd be updatecounter
+
{
INT:           optionsbitmask
+
INT:             ComponentCustomizationCRC
INT:           count for stackables
+
}
INT:           deduction from item health
+
INT:               OptionsBitmask
INT:           item health
+
INT:               IncapTimer
BYTE:           ???
+
INT:               ConditionDamage
 
+
INT:               MaxCondition
 +
BYTE:              Bool for static object
 
</pre>
 
</pre>
  
Line 35: Line 36:
 
----
 
----
  
<pre>SHORT:                 UpdateCount
+
<pre>
SHORT:                 UpdateType
+
SHORT: UpdateCount
 +
SHORT: UpdateType
 
{
 
{
   00:          
+
   00:
     FLOAT:             Complexity
+
     FLOAT: Complexity
   01:          
+
   01:
     A_STRING:           STFName
+
     A_STRING: STFName
     INT:               ??
+
     INT: string spacer
     A_STRING:           DefaultName
+
     A_STRING: DefaultName
   02:          
+
   02:
     U_STRING:           CustomName
+
     U_STRING: CustomName
   03:          
+
   03:
     INT:               Volume
+
     INT: Volume
   04:          
+
   04:
     A_STRING:           Customization
+
     A_STRING: Customization
   05:                  
+
   05:
     INT:               ??ListSize
+
     INT: ComponentCustomizationListSize
     INT:               UpdateCount
+
     INT: ComponentCustomizationUpdateCounter
 
     {
 
     {
       BYTE:             SubType
+
       BYTE: SubType
 
       {
 
       {
 
         00:(remove)
 
         00:(remove)
           INT:         ??
+
           INT: ComponentCustomizationCRC
 
         01:(add)
 
         01:(add)
           INT:         ??
+
           INT: ComponentCustomizationCRC
 
         02:(clearall)
 
         02:(clearall)
 
       }
 
       }
     }    
+
     }
   06:  
+
   06:
     
+
     INT: OptionsBitmask
     INT:               OptionsBitmask
+
   07:
   07:          
+
     INT: IncapTimer
     INT:               IncapTimer
+
   08:
   08:          
+
     INT: ConditionDamage
     INT:               ConditionDamage
+
   09:
   09:          
+
     INT: MaxCondition
     INT:               MaxCondition
+
   0A:
   0A:          
+
     BYTE: Bool for static object
     BYTE:               ??
+
 
}
 
}
 
</pre>
 
</pre>
  
===Sample Packet===
 
----
 
 
<pre>
 
05 00
 
0C 5F A7 68
 
1D 92 14 6D 02 00 00 00
 
4F 4E 41 54 03 // ONAT 3
 
0B 00 00 00
 
80 3F
 
06 00              // String count
 
69 74 65 6D 5F 6E  // item_n
 
00 00 00 00
 
11 00                                              // String count
 
64 65 66 61 75 6C 74 5F 66 75 72 6E 69 74 75 72 65 // default_furniture
 
13 00 00 00                                        // U-string count
 
45 00 71 00 75 00 75 00 6C 00 75 00 73 00          // E.q.u.u.l.u.s.
 
20 00 4E 00 65 00 6D 00 75 00 73 00 27 00 20 00    // .N.e.m.u.s.'. .
 
43 00 61 00 6D 00 70 00                            // C.a.m.p
 
01 00 00 00
 
00 00 00 00
 
00 00 00 00
 
00 00 00 01
 
00 00 00 00
 
00 00 00 00
 
00 00 64 00
 
00 00 01 21
 
</pre>
 
 
|valign=top|
 
|valign=top|
  
Line 115: Line 88:
 
'''STFName''':
 
'''STFName''':
 
:The STF File name for information on the creatures name and default description.
 
:The STF File name for information on the creatures name and default description.
 +
 +
'''String Spacer''':
 +
:The 0 int string spacer (always 0).
  
 
'''DefaultName''':
 
'''DefaultName''':
Line 132: Line 108:
  
 
'''ConditionDamage''':
 
'''ConditionDamage''':
:This is the current damage taken by a vehicle creature object(and possibly others..)
+
:This is the current damage by a object and not the Condition value
  
 
'''MaxCondition''':
 
'''MaxCondition''':
 
:This is the maximum HP(condition) of a vehicle creature object.
 
:This is the maximum HP(condition) of a vehicle creature object.
 +
 +
'''Bool for Static''':
 +
:0  : False Not Static (moveable)
 +
:1  : True Static (non-moveable)
 +
 +
'''Update Type'''
 +
:This is the variable number being modified
  
 
===Tags===
 
===Tags===
Line 141: Line 124:
 
{| align="center"
 
{| align="center"
 
|-  
 
|-  
||{{50%}}
+
||{{100%}}
 
|-
 
|-
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
 +
|}
 
|}
 
|}
  
===To Do===
+
===Sample Packet===
 
----
 
----
  
|}
+
<pre>
Bitmask
+
05 00
1  :
+
0C 5F A7 68
2  :
+
1D 92 14 6D 02 00 00 00 // Object ID
4 : Insured
+
4F 4E 41 54 03 // ONAT 3
----
+
0B 00
 +
00 00 80 3F // Complexity
 +
06 00              // String count
 +
69 74 65 6D 5F 6E // item_n
 +
00 00 00 00 // String spacer
 +
11 00                                              // String count
 +
64 65 66 61 75 6C 74 5F 66 75 72 6E 69 74 75 72 65 // default_furniture
 +
13 00 00 00                                        // U-string count
 +
45 00 71 00 75 00 75 00 6C 00 75 00 73 00          // E.q.u.u.l.u.s.
 +
20 00 4E 00 65 00 6D 00 75 00 73 00 27 00 20 00    // .N.e.m.u.s.'. .
 +
43 00 61 00 6D 00 70 00                            // C.a.m.p
 +
01 00 00 00
 +
00 00 00 00
 +
00 00 00 00
 +
00 00 00 01
 +
00 00 00 00
 +
00 00 00 00
 +
00 00 64 00
 +
00 00 01 21
 +
</pre>

Latest revision as of 00:48, 28 August 2012

Baseline - TANO03

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
FLOAT:             Complexity
ASTRING:           STFName
INT:               String Spacer
ASTRING:           DefaultName
USTRING:           CustomName
INT:               Volume
CSTRING:           Customization
INT:               ComponentCustomizationListSize
INT:               ComponentCustomizationUpdateCounter
{
 INT:              ComponentCustomizationCRC
}
INT:               OptionsBitmask
INT:               IncapTimer
INT:               ConditionDamage
INT:               MaxCondition
BYTE:              Bool for static object

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:
    FLOAT:		Complexity
  01:
    A_STRING:		STFName
    INT:		string spacer
    A_STRING:		DefaultName
  02:
    U_STRING:		CustomName
  03:
    INT:		Volume
  04:
    A_STRING:		Customization
  05:
    INT:		ComponentCustomizationListSize
    INT:		ComponentCustomizationUpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          INT:		ComponentCustomizationCRC
        01:(add)
          INT:		ComponentCustomizationCRC
        02:(clearall)
      }
    }
  06:
    INT:		OptionsBitmask
  07:
    INT:		IncapTimer
  08:
    INT:		ConditionDamage
  09:
    INT:		MaxCondition
  0A:
    BYTE:		Bool for static object
}

Variable Descriptions


ObjectOpperandCount = 11


STFName:

The STF File name for information on the creatures name and default description.

String Spacer:

The 0 int string spacer (always 0).

DefaultName:

The STF string reference for the creatures name.

CustomName:

The override name of the creature. This is the name that will display when set. Use to display Custom Names and Player Names.

Customization:

This is the CSTRING used to contain customization variables for this object. Appearance data appears here.

OptionsBitmask:

This bitmask contains flags to set various option aspects such as converse, vendor, mount, etc.

IncapTimer:

This sets the incap timer on this creature when it becomes incapacitated.

ConditionDamage:

This is the current damage by a object and not the Condition value

MaxCondition:

This is the maximum HP(condition) of a vehicle creature object.

Bool for Static:

0  : False Not Static (moveable)
1  : True Static (non-moveable)

Update Type

This is the variable number being modified

Tags


100% This packet has been completely reversed.

S→C This packet originates on the server.

Sample Packet


05 00 
0C 5F A7 68
1D 92 14 6D 02 00 00 00 // Object ID
4F 4E 41 54 03 // ONAT 3
0B 00 
00 00 80 3F // Complexity
06 00              // String count
69 74 65 6D 5F 6E  // item_n
00 00 00 00 // String spacer
11 00                                              // String count
64 65 66 61 75 6C 74 5F 66 75 72 6E 69 74 75 72 65 // default_furniture
13 00 00 00                                        // U-string count
45 00 71 00 75 00 75 00 6C 00 75 00 73 00          // E.q.u.u.l.u.s.
20 00 4E 00 65 00 6D 00 75 00 73 00 27 00 20 00    // .N.e.m.u.s.'. .
43 00 61 00 6D 00 70 00                            // C.a.m.p
01 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 01 
00 00 00 00 
00 00 00 00 
00 00 64 00 
00 00 01 21