Difference between revisions of "RCNO06"

From SWGANH Wiki
Jump to: navigation, search
(Deltas Struct)
(Variable Descriptions)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{MissingPacket}}
 
{{PageHeader|Baseline|RCNO06}}
 
{{PageHeader|Baseline|RCNO06}}
 
{|align="center"
 
{|align="center"
Line 11: Line 12:
 
===BaseLine Struct===
 
===BaseLine Struct===
 
----
 
----
{| align="center"
+
<pre>
|-
+
SHORT: ObjectOpperandCount
||
+
INT: ??
{| class="wikitable"
+
INT: DefenderList
|-
+
INT: UpdateCounter
|{{short}}||'''Op Count'''
+
{
|-
+
LONG: DefenderID
|{{int}}||'''Baseline Opcode'''
+
}
|-
+
INT: MaxQuantity
|{{long}}||'''Container ID'''
+
ASTRING: ResourceType
|-
+
USTRING: VariationName
|{{int}}||'''ONCR'''
+
</pre>
|-
+
|{{byte}}||'''3'''
+
|-
+
|{{int}}||'''Length of remaining packet'''
+
|-
+
|{{short}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{a_string}}||'''resource_container_d'''
+
|-
+
|{{int}}||'''String Spacer'''
+
|-
+
|{{a_string}}||'''Container STF Name'''
+
|-
+
|{{int}}||'''Max Stack Size'''
+
|-
+
|{{a_string}}|'''Resource STF Type'''
+
|-
+
|{{u_string}}|'''Resource Name'''
+
|-
+
|{{int}}|{{unknown}}
+
|-
+
|{{int}}|{{unknown}}
+
|}
+
|}
+
  
 
===Deltas Struct===
 
===Deltas Struct===
----
 
{| align="center"
 
|-
 
||
 
{| class="wikitable"
 
|-
 
|{{short}}||'''Op Count'''
 
|-
 
|{{int}}||'''Delta Opcode'''
 
|-
 
|{{long}}||'''Container ID'''
 
|-
 
|{{int}}||'''ONCR'''
 
|-
 
|{{byte}}||'''3'''
 
|-
 
|{{int}}||'''Length of remaining packet'''
 
|-
 
|{{short}}|{{unknown}}
 
|-
 
|{{short}}|{{unknown}}
 
|-
 
|{{u_string}}|'''Resource Name'''
 
|-
 
|{{short}}|{{unknown}}
 
|-
 
|{{a_string}}|'''Resource STF Type'''
 
|}
 
|}
 
 
===Sample Packet===
 
 
----
 
----
 
<pre>
 
<pre>
 +
SHORT: UpdateCount
 +
SHORT: UpdateType
 +
{
 +
  00:
 +
    INT: ??
 +
  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)
 +
      }
 +
    }
 +
  02:
 +
    INT: MaxQuantity
 +
  03:
 +
    ASTRING: ResourceType
 +
  04:
 +
    USTRING: VariationName
 
</pre>
 
</pre>
 
|valign=top|
 
|valign=top|
Line 90: Line 67:
 
----
 
----
  
Obj_OperandCount = ??
+
Obj_OperandCount = 5
 +
 
 +
DefenderList:
 +
A list of ObjectIDs that this object is defending against in combat.
 +
Yes, its unlikely resource containers will go into combat (but they can ! )
 +
 
 +
MaxQuantity:
 +
The Maximum amount of resource units this container can hold.
 +
 
 +
ResourceType:
 +
The specific type string for the resource.
 +
Ex. Polysteel Copper. See Reference Sheet
 +
 
 +
VariationName:
 +
The specific Variation of resource.
 +
Ex. Aden. Omniwata. etc. Look into the name generation of these.
 +
 
 
----
 
----
 
  
 
===Tags===
 
===Tags===
Line 98: Line 90:
 
{| align="center"
 
{| align="center"
 
|-  
 
|-  
||{{50%}}
+
||{{75%}}
 
|-
 
|-
 
|}
 
|}
Line 104: Line 96:
  
 
----
 
----
 +
 +
===Sample Packet===
 +
----
 +
<pre>
 +
</pre>

Latest revision as of 20:47, 15 June 2008





Baseline - RCNO06

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:		ObjectOpperandCount
INT:		??
INT:		DefenderList
INT:		UpdateCounter
{
 LONG:		DefenderID
}
INT:		MaxQuantity
ASTRING:	ResourceType
USTRING:	VariationName

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:		
    INT:		??
  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)
      }
    }
  02: 
    INT:		MaxQuantity
  03: 		
    ASTRING:		ResourceType
  04: 		
    USTRING:		VariationName

Variable Descriptions


Obj_OperandCount = 5

DefenderList: A list of ObjectIDs that this object is defending against in combat. Yes, its unlikely resource containers will go into combat (but they can ! )

MaxQuantity: The Maximum amount of resource units this container can hold.

ResourceType: The specific type string for the resource. Ex. Polysteel Copper. See Reference Sheet

VariationName: The specific Variation of resource. Ex. Aden. Omniwata. etc. Look into the name generation of these.


Tags


75% This packet has been partially reversed.


Sample Packet