Difference between revisions of "INSO03"

From SWGANH Wiki
Jump to: navigation, search
(BaseLine Struct)
(Deltas Struct)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Baseline|INSO03}}
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
Line 15: Line 15:
 
INT:            Opcode
 
INT:            Opcode
 
FLOAT:          Complexity
 
FLOAT:          Complexity
ASTRING:        STFFileName
+
ASTRING:        STF File
INT:            ??
+
INT:            STF Spacer
ASTRING:        STFString
+
ASTRING:        STF Name
 
USTRING:        CustomName
 
USTRING:        CustomName
 
INT:            Volume
 
INT:            Volume
Line 39: Line 39:
 
----
 
----
 
<pre>
 
<pre>
{{{
 
 
SHORT:                  UpdateCount
 
SHORT:                  UpdateCount
 
SHORT:                  UpdateType
 
SHORT:                  UpdateType
Line 46: Line 45:
 
     FLOAT:              Complexity
 
     FLOAT:              Complexity
 
   01:           
 
   01:           
     A_STRING:          STFName
+
     A_STRING:          STF File
     INT:                ??
+
     INT:                STF Spacer
+
    A_STRING:          STF Name
  A_STRING:          DefaultName
+
 
   02:           
 
   02:           
 
     U_STRING:          CustomName
 
     U_STRING:          CustomName
Line 85: Line 83:
 
   0D:
 
   0D:
 
     FLOAT:              PowerCost
 
     FLOAT:              PowerCost
}}}
+
}
 
</pre>
 
</pre>
  
===Sample Packet===
 
----
 
<pre>
 
</pre>
 
 
|valign=top|
 
|valign=top|
  
Line 98: Line 92:
  
 
ObjOpperandCount = 14
 
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.
 
  
----
+
'''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 138: 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