Difference between revisions of "INSO03"

From SWGANH Wiki
Jump to: navigation, search
(New page: __NOTOC__ {|align="center" |- ||{{OSNIArchitectureNAV}} |- |} <br> {| border="0" width="90%" cellpadding=6 |- |valign=top| ===BaseLine Struct=== ---- <pre> [UINT16] 05 00 ...)
 
(Deltas Struct)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Baseline|INSO03}}
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
||{{OSNIArchitectureNAV}}
+
||{{INSOArchitectureNAV}}
 
|-
 
|-
 
|}
 
|}
Line 12: Line 12:
 
----
 
----
 
<pre>
 
<pre>
[UINT16] 05 00                 
+
SHORT:          ObjOpperandCount
 
+
INT:            Opcode
[UINT32] OPCODE                  SMSG_OBJ_UPDATE
+
FLOAT:          Complexity
 
+
ASTRING:        STF File
[UINT64] ID resource ID
+
INT:            STF Spacer
 
+
ASTRING:        STF Name
[UINT32] ONCR ONCR 3 Packet
+
USTRING:        CustomName
[UINT8]  3
+
INT:            Volume
 
+
CSTRING:        CustomizationString
[UINT32] PACKETLENGTH the length of the Packet following this dword
+
INT:            ??List
 
+
INT:            UpdateCounter
[UINT16] Operand d perhaps the number of object operands????????
+
{
 
+
  INT:          ??
[float] complexity
+
}
 
+
INT:            OptionsBitmask
[ASCII] This string contains the directoryname where
+
INT:           Timer(Incap/Prototype)
the stringtable is found in which the name of
+
INT:            ConditionDamage
the resource type to display is stored.
+
INT:            MaxCondition
WITHOUT @!I found this for our Pub 13 client
+
BYTE:          ??
to be : "kb/kb_resources_n"
+
BYTE:          ActiveFlag
 
+
FLOAT:          PowerReserves
[UINT32] 00 00 00 00
+
FLOAT:          PowerCost
 
+
[ASCII] Resourcetype name eg. "fungi" look it up in the
+
patch12-TRE  for further info
+
 
+
 
+
[UINT32] 00 00 00 00
+
[UINT32] 01 00 00 00
+
 
+
[UINT32] 00 00 00 00
+
[UINT32] 00 00 00 00
+
[UINT32] 00 00 00 00
+
 
+
[UINT32] 00 00 00 00
+
[UINT32] 00 00 00 00
+
 
+
[UINT16] 00 00
+
 
+
[UINT32] 64 00 00 00
+
 
+
[UINT8]  01
+
 
+
[UINT32] AMOUNT Amount of the resource
+
 
+
[UINT64] TEMPLATE-ID ID of the resource template the resource is based upon
+
 
</pre>
 
</pre>
  
Line 63: Line 39:
 
----
 
----
 
<pre>
 
<pre>
 +
SHORT:                  UpdateCount
 +
SHORT:                  UpdateType
 +
{
 +
  00:         
 +
    FLOAT:              Complexity
 +
  01:         
 +
    A_STRING:          STF File
 +
    INT:                STF Spacer
 +
    A_STRING:          STF Name
 +
  02:         
 +
    U_STRING:          CustomName
 +
  03:         
 +
    INT:                Volume
 +
  04:         
 +
    A_STRING:          Customization
 +
  05:                   
 +
    INT:                ??ListSize
 +
    INT:                UpdateCount
 +
    {
 +
      BYTE:            SubType
 +
      {
 +
        00:(remove)
 +
          INT:          ??
 +
        01:(add)
 +
          INT:          ??
 +
        02:(clearall)
 +
      }
 +
    }   
 +
  06:         
 +
    INT:                OptionsBitmask
 +
  07:         
 +
    INT:                Timer(Incap/Proto)
 +
  08:         
 +
    INT:                ConditionDamage
 +
  09:         
 +
    INT:                MaxCondition
 +
  0A:         
 +
    BYTE:              ??
 +
  0B:
 +
    BYTE:              ActiveFlag
 +
  0C:
 +
    FLOAT:              PowerReserves
 +
  0D:
 +
    FLOAT:              PowerCost
 +
}
 
</pre>
 
</pre>
 +
 
|valign=top|
 
|valign=top|
  
Line 69: Line 91:
 
----
 
----
  
Obj_OperandCount = ??
+
ObjOpperandCount = 14
 +
 
 +
'''STFName''':
 +
:The STF File name for the name and default description of the installation.
 +
'''DefaultName''':
 +
:The STF string reference for the installation name.
 +
'''CustomName''':
 +
:The override name of the container. Use to display Custom Names.
 +
'''Customization''':
 +
:This is the CSTRING used to contain customization variables for this object.
 +
'''OptionsBitmask''':
 +
:This bitmask contains flags to set various option aspects.
 +
:Note: Installations need 01h set to animate harvesting/manufacturing.
 +
'''Timer''':
 +
:Not really needed for this object.
 +
'''ConditionDamage''':
 +
:This is the current damage taken by an object.
 +
'''MaxCondition''':
 +
:This is the maximum HP(condition) of an object.
 +
'''ActiveFlag''':
 +
:This Flag is set to 1 for Active 0 for Inactive.
 +
'''PowerReserves''':
 +
:The amount of power/energy put into the installation. Can be decimal (its a float).
 +
'''PowerCost''':
 +
:This is a decimal value for the amount of power being consumed PER HOUR of operation. It can be a decimal, but the defaults are integers.
 +
 
 
----
 
----
 
  
 
===Tags===
 
===Tags===
Line 82: Line 128:
 
|}
 
|}
  
 +
===Sample Packet===
 
----
 
----
 +
<pre>
 +
</pre>

Latest revision as of 09:56, 18 March 2009

Baseline - INSO03

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

OSNI Packet Type QuickNav
INSO03 - INSO06 - INSO07


BaseLine Struct


SHORT:          ObjOpperandCount
INT:            Opcode
FLOAT:          Complexity
ASTRING:        STF File
INT:            STF Spacer
ASTRING:        STF Name
USTRING:        CustomName
INT:            Volume
CSTRING:        CustomizationString
INT:            ??List
INT:            UpdateCounter
{
 INT:           ??
}
INT:            OptionsBitmask
INT:            Timer(Incap/Prototype)
INT:            ConditionDamage
INT:            MaxCondition
BYTE:           ??
BYTE:           ActiveFlag
FLOAT:          PowerReserves
FLOAT:          PowerCost

Deltas Struct


SHORT:                  UpdateCount
SHORT:                  UpdateType
{
  00:           
    FLOAT:              Complexity
  01:           
    A_STRING:           STF File
    INT:                STF Spacer
    A_STRING:           STF Name
  02:           
    U_STRING:           CustomName
  03:           
    INT:                Volume
  04:           
    A_STRING:           Customization
  05:                    
    INT:                ??ListSize
    INT:                UpdateCount
    {
      BYTE:             SubType
      {
        00:(remove)
          INT:          ??
        01:(add)
          INT:          ??
        02:(clearall)
      }
    }     
  06:           
    INT:                OptionsBitmask
  07:           
    INT:                Timer(Incap/Proto)
  08:           
    INT:                ConditionDamage
  09:           
    INT:                MaxCondition
  0A:           
    BYTE:               ??
  0B:
    BYTE:               ActiveFlag
  0C:
    FLOAT:              PowerReserves
  0D:
    FLOAT:              PowerCost
}

Variable Descriptions


ObjOpperandCount = 14

STFName:

The STF File name for the name and default description of the installation.

DefaultName:

The STF string reference for the installation name.

CustomName:

The override name of the container. Use to display Custom Names.

Customization:

This is the CSTRING used to contain customization variables for this object.

OptionsBitmask:

This bitmask contains flags to set various option aspects.
Note: Installations need 01h set to animate harvesting/manufacturing.

Timer:

Not really needed for this object.

ConditionDamage:

This is the current damage taken by an object.

MaxCondition:

This is the maximum HP(condition) of an object.

ActiveFlag:

This Flag is set to 1 for Active 0 for Inactive.

PowerReserves:

The amount of power/energy put into the installation. Can be decimal (its a float).

PowerCost:

This is a decimal value for the amount of power being consumed PER HOUR of operation. It can be a decimal, but the defaults are integers.

Tags


50% This packet has been partially reversed.

Sample Packet