Difference between revisions of "RCNO06"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Box Packet|BaselinesMessage - ONCR 6 Server --> Client|
+
{{MissingPacket}}
 +
{{PageHeader|Baseline|RCNO06}}
 +
{|align="center"
 +
|-  
 +
||{{RCNOArchitectureNAV}}
 +
|-
 +
|}
 +
<br>
 +
{| border="0" width="90%" cellpadding=6
 +
|-
 +
|valign=top|
 +
===BaseLine Struct===
 +
----
 
<pre>
 
<pre>
 +
SHORT: ObjectOpperandCount
 +
INT: ??
 +
INT: DefenderList
 +
INT: UpdateCounter
 +
{
 +
LONG: DefenderID
 +
}
 +
INT: MaxQuantity
 +
ASTRING: ResourceType
 +
USTRING: VariationName
 +
</pre>
  
[UINT16] 05 00  
+
===Deltas Struct===
 +
----
 +
<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>
 +
|valign=top|
  
[UINT32] 0c 5f a7 68 BaselinesMessage
+
===Variable Descriptions===
 +
----
  
[UINT64] ID object ID
+
Obj_OperandCount = 5
  
[UINT32] ONCR 6
+
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 ! )
  
[UINT8]  6
+
MaxQuantity:
 +
The Maximum amount of resource units this container can hold.
  
[UINT32] size size of the remaining packet
+
ResourceType:
 +
The specific type string for the resource.
 +
Ex. Polysteel Copper. See Reference Sheet
  
[UINT16] 6 item operand count ????
+
VariationName:
 +
The specific Variation of resource.
 +
Ex. Aden. Omniwata. etc. Look into the name generation of these.
  
[UINT32] 5e 00 00 00 (!!??!!) different values in the NGE
+
----
                                                depending on resource
+
  
[ASCII]                                  empty string for pub 13 client else crash
+
===Tags===
 +
----
 +
{| align="center"
 +
|-
 +
||{{75%}}
 +
|-
 +
|}
 +
|}
  
+
----
[UINT32] 00 00 00 00
+
 
+
[ASCII]                                  string (((("anorganic_minerals_small" ))))
+
                                        Empty string for pub 13 client
+
 
+
 
+
[UINT32] a0 86 01 00                    dezimal 100.000 its the max stack size but
+
                                        has somehow no effect.....??????
+
 
+
[ASCII]                                  resource type "armophous_rudic"
+
                                   
+
[UNICODE]                                Resource Name
+
 
+
[UINT32] 00 00 00 00       
+
[UINT32] 00 00 00 00
+
  
 +
===Sample Packet===
 +
----
 +
<pre>
 
</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