Difference between revisions of "RCNO03"

From SWGANH Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Resource_Container_Object|baaaaaaaaaaaaaaaaaaaack]]
+
__NOTOC__
  
This is the ONCR 3 Packet. here we give the client the info about how many resources we have, and what to display as resource name
+
{| border="0" width="90%" cellpadding=6
 
+
|-
{{Box Packet|Baseline - ONCR 3 Server --> Client|
+
|valign=top|
 +
===BaseLine Struct===
 +
----
 
<pre>
 
<pre>
 
 
[UINT16] 05 00                   
 
[UINT16] 05 00                   
  
 
[UINT32] OPCODE                  SMSG_OBJ_UPDATE
 
[UINT32] OPCODE                  SMSG_OBJ_UPDATE
  
 +
[UINT64] ID resource ID
  
 
+
[UINT32] ONCR ONCR 3 Packet
[UINT64] ID                      resource ID
+
 
+
[UINT32] ONCR                   ONCR 3 Packet
+
 
[UINT8]  3
 
[UINT8]  3
  
[UINT32] PACKETLENGTH             the length of the Packet following this dword
+
[UINT32] PACKETLENGTH the length of the Packet following this dword
  
[UINT16] Operand d               perhaps the number of object operands????????
+
[UINT16] Operand d perhaps the number of object operands????????
  
 
[UINT32] evtl float?????
 
[UINT32] evtl float?????
00 00 80 3f                       //dunno same as the above value is also found in  
+
00 00 80 3f dunno same as the above value is also found in the nge creo packets I have, perhaps its the scale which obviously wouldnt be used in ressource packets
                                  //the nge creo packets I have, perhaps its the scale
+
                                    which obviously wouldnt be used in ressource packets
+
  
[ASCII]                           This string contains the directoryname where the stringtable                                                      
+
[ASCII] This string contains the directoryname where the stringtable is found in which the name of the resource type is stored that will be displayed. WITHOUT @!!!!!! I found this for our Pub 13 client to be : "kb/kb_resources_n"
                                  is found in which the name of the resource type is stored that
+
                                  will be displayed. WITHOUT @!!!!!!        
+
                                  I found this for our Pub 13 client to be : "kb/kb_resources_n"
+
  
[UINT32] 00 00 00 00                      
+
[UINT32] 00 00 00 00
  
[ASCII]                           Resourcetype name
+
[ASCII] Resourcetype name eg. "fungi" look it up in the patch12-TRE  for further info
                                  eg "fungi" look it up in the patch12-TRE  for further info
+
  
  
[UINT32] 00 00 00 00                      
+
[UINT32] 00 00 00 00
[UINT32] 01 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  
+
[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  
+
[UINT16] 00 00
  
[UINT32] 64 00 00 00  
+
[UINT32] 64 00 00 00
  
[UINT8]  01  
+
[UINT8]  01
  
[UINT32] AMOUNT                     this is the amount of the resource  
+
[UINT32] AMOUNT Amount of the resource
  
[UINT64] TEMPLATE-ID               this is the ID of the resource template the resource is based upon
+
[UINT64] TEMPLATE-ID ID of the resource template the resource is based upon
 
</pre>
 
</pre>
}}
+
 
 +
===Deltas Struct===
 +
----
 +
<pre>
 +
</pre>
 +
|valign=top|
 +
 
 +
===Variable Descriptions===
 +
----
 +
 
 +
Obj_OperandCount = ??
 +
----
 +
 
 +
 
 +
===Tags===
 +
----
 +
{| align="center"
 +
|-
 +
||{{50%}}
 +
|-
 +
|}
 +
|}
 +
 
 +
----

Revision as of 23:41, 17 January 2007


BaseLine Struct


[UINT16] 05 00                   

[UINT32] OPCODE                  SMSG_OBJ_UPDATE

[UINT64] ID			resource ID

[UINT32] ONCR			ONCR 3 Packet
[UINT8]  3

[UINT32] PACKETLENGTH		the length of the Packet following this dword

[UINT16] Operand d		perhaps the number of object operands????????

[UINT32] evtl float?????
00 00 80 3f			dunno same as the above value is also found in the nge creo packets I have, perhaps its the scale which obviously wouldnt be used in ressource packets

[ASCII]				This string contains the directoryname where the stringtable is found in which the name of the resource type is stored that will be displayed. WITHOUT @!!!!!! I found this for our Pub 13 client to be : "kb/kb_resources_n"

[UINT32] 00 00 00 00

[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

Deltas Struct



Variable Descriptions


Obj_OperandCount = ??



Tags


50% This packet has been partially reversed.