Difference between revisions of "RCNO03"

From SWGANH Wiki
Jump to: navigation, search
(BaseLine Struct)
(Deltas Struct)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{MissingPacket}}
 
{{PageHeader|Baseline|RCNO03}}
 
{{PageHeader|Baseline|RCNO03}}
 
{|align="center"
 
{|align="center"
Line 11: Line 12:
 
===BaseLine Struct===
 
===BaseLine Struct===
 
----
 
----
{| align="center"
+
<pre>
|-
+
SHORT: ObjOpperandCount
||
+
INT: Opcode
{| class="wikitable"
+
FLOAT: Complexity
|-
+
ASTRING: STFFileName
|{{short}}||'''Op Count'''
+
INT: ??
|-
+
ASTRING: STFString
|{{int}}||'''Baseline Opcode'''
+
USTRING: CustomName
|-
+
INT: Volume
|{{long}}||'''Container ID'''
+
CSTRING: CustomizationString
|-
+
INT: ??List
|{{int}}||'''ONCR'''
+
INT: UpdateCounter
|-
+
{
|{{byte}}||'''3'''
+
INT: ??
|-
+
}
|{{int}}||'''Length of remaining packet'''
+
INT: OptionsBitmask
|-
+
INT: Timer(Incap/Prototype)
|{{short}}|{{unknown}}
+
INT: ConditionDamage
|-
+
INT: MaxCondition
|{{int}}||'''Complexity'''
+
BYTE: ??
|-
+
INT: CurrentUnits
|{{a_string}}||'''STF File'''
+
LONG: GlobalResourceID
|-
+
</pre>
|{{int}}||'''String Spacer'''
+
|-
+
|{{a_string}}||'''STF Name'''
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{short}}|{{unknown}}
+
|-
+
|{{int}}||'''Condition'''
+
|-
+
|{{byte}}|{{unknown}}
+
|-
+
|{{int}}||'''Resource Amount'''
+
|-
+
|{{long}}||'''Resource ID'''
+
|}
+
|}
+
  
 
===Deltas Struct===
 
===Deltas Struct===
 
----
 
----
{| align="center"
+
<pre>
|-
+
SHORT: UpdateCount
||
+
SHORT: UpdateType
{| class="wikitable"
+
{
|-
+
  00:
|{{short}}||'''Op Count'''
+
    FLOAT: Complexity
|-
+
  01:
|{{int}}||'''Delta Opcode'''
+
    A_STRING:          STFName
|-
+
    INT: spacer
|{{long}}||'''Container ID'''
+
    A_STRING:          DefaultName
|-
+
  02:
|{{int}}||'''ONCR'''
+
    U_STRING: CustomName
|-
+
  03:
|{{byte}}||'''3'''
+
    INT: Volume
|-
+
  04:
|{{int}}||'''Length of remaining packet'''
+
    A_STRING:          Customization
|-
+
  05:        
|{{short}}|{{unknown}}
+
    INT: ??ListSize
|-
+
    INT: UpdateCount
|{{short}}|{{unknown}}
+
    {
|-
+
      BYTE: SubType
|{{a_string}}||'''Resource STF File'''
+
      {
|-
+
        00:(remove)
|{{int}}||'''String Spacer'''
+
          INT:         ??
|-
+
        01:(add)
|{{a_string}}|'''Resource STF Name'''
+
          INT: ??
|-
+
        02:(clearall)
|{{short}}|{{unknown}}
+
      }
|-
+
    }    
|{{long}}||'''Resource ID'''
+
  06:
|-
+
    INT: OptionsBitmask
|{{int}}|{{unknown}}
+
  07:
|}
+
    INT: Timer(Incap/Proto)
|}
+
  08:
 
+
    INT: ConditionDamage
 +
  09:
 +
    INT: MaxCondition
 +
  0A:
 +
    BYTE: Static Flag
 +
  0B:
 +
    INT: CurrentUnits
 +
  0C:
 +
    LONG: GlobalResourceID
 +
</pre>
 
|valign=top|
 
|valign=top|
  
Line 106: Line 87:
 
----
 
----
  
Obj_OperandCount = ??
+
Obj_OperandCount = 13
----
+
 
 +
STFName:
 +
The STF File name for information on the containers name and default description.
 +
 
 +
DefaultName:
 +
The STF string reference for the containers 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: The same flags are shared among all tangible objects and inherited.
 +
 
 +
Timer:
 +
Not really needed for Resource Containers.
 +
 
 +
ConditionDamage:
 +
This is the current damage taken by an object.
 +
 
 +
MaxCondition:
 +
This is the maximum HP(condition) of an object.
 +
 
 +
CurrentUnits:
 +
The current number of resource units inside this container.
  
 +
GlobalResourceID:
 +
A refernece to the ResourceID of the specific type contained inside this container.
 +
It is used to reference the resources specific data.
 +
----
  
 
===Tags===
 
===Tags===
Line 114: Line 127:
 
{| align="center"
 
{| align="center"
 
|-  
 
|-  
||{{50%}}
+
||{{75%}}
 
|-
 
|-
 
|}
 
|}

Latest revision as of 03:19, 18 September 2011





Baseline - RCNO03

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

RCNO Packet Type QuickNav
RCNO / Resource Container Object
RCNO03 - RCNO06 - RCNO08 - RCNO09


BaseLine Struct


SHORT:		ObjOpperandCount
INT:		Opcode
FLOAT:		Complexity
ASTRING:	STFFileName
INT:		??
ASTRING:	STFString
USTRING:	CustomName
INT:		Volume
CSTRING:	CustomizationString
INT:		??List
INT:		UpdateCounter
{
 INT:		??
}
INT:		OptionsBitmask
INT:		Timer(Incap/Prototype)
INT:		ConditionDamage
INT:		MaxCondition
BYTE:		??
INT:		CurrentUnits
LONG:		GlobalResourceID

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:		
    FLOAT:		Complexity
  01:		
    A_STRING:           STFName
    INT:		spacer
    A_STRING:           DefaultName
  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:		Static Flag
  0B:
    INT:		CurrentUnits
  0C:
    LONG:		GlobalResourceID

Variable Descriptions


Obj_OperandCount = 13

STFName: The STF File name for information on the containers name and default description.

DefaultName: The STF string reference for the containers 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: The same flags are shared among all tangible objects and inherited.

Timer: Not really needed for Resource Containers.

ConditionDamage: This is the current damage taken by an object.

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

CurrentUnits: The current number of resource units inside this container.

GlobalResourceID: A refernece to the ResourceID of the specific type contained inside this container. It is used to reference the resources specific data.


Tags


75% This packet has been partially reversed.

Sample Packet