Difference between revisions of "RCNO03"

From SWGANH Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
[[Resource_Container_Object|baaaaaaaaaaaaaaaaaaaack]]
 +
 
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
 
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
  

Revision as of 21:41, 16 January 2007

baaaaaaaaaaaaaaaaaaaack

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: Baseline - 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