Difference between revisions of "AttributeListMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet (pre-cu))
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|AttributeListMessage (F3F12F2A)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 29: Line 28:
 
Opperand_Count     = '''3'''
 
Opperand_Count     = '''3'''
  
Opcode     = '''F3F12F2A
+
Opcode     = '''F3F12F2A'''
'''
+
 
----
 
----
  
 
* '''ObjectID''':
 
* '''ObjectID''':
 
ObjectID that you are listing attributes for.
 
ObjectID that you are listing attributes for.
 
 
* '''ListCount''':
 
* '''ListCount''':
 
Counter of Attributes to list.
 
Counter of Attributes to list.
 
 
* '''ObjectAttributeName''':
 
* '''ObjectAttributeName''':
 
Name of attribute to display from ''string/en/obj_attr_n.stf''
 
Name of attribute to display from ''string/en/obj_attr_n.stf''
 
 
* '''ObjectAttributeValue''':
 
* '''ObjectAttributeValue''':
 
Value to display next to the attribute.
 
Value to display next to the attribute.
Line 55: Line 50:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
 
 
==Sample Packet (pre-cu)==
 
==Sample Packet (pre-cu)==
 
 
<pre>
 
<pre>
 
03 00                                          // Operand Count
 
03 00                                          // Operand Count
Line 74: Line 57:
 
4A 1F 9C 1F 01 00 00 00                        // Obect ID
 
4A 1F 9C 1F 01 00 00 00                        // Obect ID
 
13 00 00 00                                    // List Count
 
13 00 00 00                                    // List Count
 
 
09 00   // A_string
 
09 00   // A_string
 
63 6F 6E 64 69 74 69 6F 6E                // "condition"
 
63 6F 6E 64 69 74 69 6F 6E                // "condition"
 
07 00 00 00                                // U_string size
 
07 00 00 00                                // U_string size
 
34 00 36 00 31 00 2F 00 39 00 35 00 30 00  // "461/950"
 
34 00 36 00 31 00 2F 00 39 00 35 00 30 00  // "461/950"
 
 
06 00     // A_string size
 
06 00     // A_string size
 
76 6F 6C 75 6D 65   // "volume"
 
76 6F 6C 75 6D 65   // "volume"
 
01 00 00 00        // U_string size
 
01 00 00 00        // U_string size
 
31 00              // "1"
 
31 00              // "1"
 
 
07 00   // A_string size
 
07 00   // A_string size
 
63 72 61 66 74 65 72   // "crafter"  
 
63 72 61 66 74 65 72   // "crafter"  
 
16 00 00 00   // U_string size
 
16 00 00 00   // U_string size
 
 
 
44 00 65 00 6D 00 6F 00 73 00 74 00 68 00 65     
 
44 00 65 00 6D 00 6F 00 73 00 74 00 68 00 65     
 
00 6E 00 65 00 73 00 20 00 4B 00 61 00 67 00    // "Demosthenes Kaggazzari"
 
00 6E 00 65 00 73 00 20 00 4B 00 61 00 67 00    // "Demosthenes Kaggazzari"

Revision as of 20:11, 22 June 2007

Server Packet - AttributeListMessage (F3F12F2A)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


SHORT Opperand_Count
INT Opcde
LONG ObjectID
INT ListCount

<attributes count=ListCount>

A_STRING ObjectAttributeName
U_STRING ObjectAttributeValue

<attributes/>


Variable Descriptions


Opperand_Count = 3

Opcode = F3F12F2A


  • ObjectID:

ObjectID that you are listing attributes for.

  • ListCount:

Counter of Attributes to list.

  • ObjectAttributeName:

Name of attribute to display from string/en/obj_attr_n.stf

  • ObjectAttributeValue:

Value to display next to the attribute.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet (pre-cu)

03 00                                           // Operand Count
2A 2F F1 F3                                     // OpCode
4A 1F 9C 1F 01 00 00 00                         // Obect ID
13 00 00 00                                     // List Count
09 00 					   	// A_string
63 6F 6E 64 69 74 69 6F 6E                 	// "condition"
07 00 00 00                                	// U_string size
34 00 36 00 31 00 2F 00 39 00 35 00 30 00  	// "461/950"
06 00 		  			   	// A_string size
76 6F 6C 75 6D 65 			   	// "volume"
01 00 00 00       			   	// U_string size
31 00             			   	// "1"
07 00 					   	// A_string size
63 72 61 66 74 65 72 			   	// "crafter" 
16 00 00 00 				   	// U_string size
44 00 65 00 6D 00 6F 00 73 00 74 00 68 00 65    
00 6E 00 65 00 73 00 20 00 4B 00 61 00 67 00    // "Demosthenes Kaggazzari"
67 00 61 00 7A 00 7A 00 61 00 72 00 69 00     

etc...