Difference between revisions of "RCNO03"

From SWGANH Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
<pre>
 
<pre>
  
[UINT16] 05 00                  operand
+
[UINT16] 05 00                   
  
 
[UINT32] OPCODE                  SMSG_OBJ_UPDATE
 
[UINT32] OPCODE                  SMSG_OBJ_UPDATE
  
[UINT64] ID                      ITEM / resource ID
+
 
 +
 
 +
[UINT64] ID                      resource ID
  
 
[UINT32] ONCR                    ONCR 3 Packet
 
[UINT32] ONCR                    ONCR 3 Packet
Line 15: Line 17:
 
[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???? highly doubt that
+
[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
+
                                   //the nge creo packets I have, perhaps its the scale
 +
                                    which obviously wouldnt be used in ressource packets
  
[UINT16] length String            length string and string - This string contains the directoryname
+
[ASCII]                           This string contains the directoryname where the stringtable                                                      
[String]                          where the stringtable is found in which the name of the resource type  
+
                                  is found in which the name of the resource type is stored that
                                  is stored that will be displayed. WITHOUT @!!!!!!
+
                                  will be displayed. WITHOUT @!!!!!!        
 
                                   I found this for our Pub 13 client to be : "kb/kb_resources_n"
 
                                   I found this for our Pub 13 client to be : "kb/kb_resources_n"
  
 
[UINT32] 00 00 00 00                       
 
[UINT32] 00 00 00 00                       
  
[UINT16]length String            length string and string - this is the selector for the resourcetype name
+
[ASCII]                           Resourcetype name
[String]                          eg "fungi" look it up in the patch12-TRE  for further info
+
                                  eg "fungi" look it up in the patch12-TRE  for further info
  
  

Revision as of 21:10, 16 January 2007

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

Packet: SMSG_OBJ_UPDATE - ONCR 3 Server --> Client

[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                     this is the amount of the resource 

[UINT64] TEMPLATE-ID                this is the ID of the resource template the resource is based upon