Difference between revisions of "AttributeListMessage"

From SWGANH Wiki
Jump to: navigation, search
m (Protected "AttributeListMessage": Page is complete [edit=sysop:move=sysop])
 
(3 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{short}}||'''Opperand_Count'''
 
|{{short}}||'''Opperand_Count'''
Line 22: Line 24:
 
|}
 
|}
 
{{endlist|attributes}}
 
{{endlist|attributes}}
 +
|}
  
 
===Variable Descriptions===
 
===Variable Descriptions===
Line 55: Line 58:
 
03 00                                          // Operand Count
 
03 00                                          // Operand Count
 
2A 2F F1 F3                                    // OpCode
 
2A 2F F1 F3                                    // OpCode
4A 1F 9C 1F 01 00 00 00                        // Obect ID
+
4A 1F 9C 1F 01 00 00 00                        // Object ID
 
13 00 00 00                                    // List Count
 
13 00 00 00                                    // List Count
 
09 00   // A_string
 
09 00   // A_string
Line 73: Line 76:
  
 
etc...
 
etc...
 +
</pre>
 +
 +
<pre>
 +
 +
CU struct by cAble
 +
                                    ...
 +
 +
04 00 #Operand
 +
2A 2F F1 F3 #Opcode
 +
2C 47 CE F8 16 00 00 00 #Object/item ID
 +
 +
 +
08 00 00 00 #Unknown INT. belived to be list size, but list larger than 8.
 +
 +
 +
09 00 #Astring
 +
63 6F 6E 64 69 74 69 6F 6E #Astring text
 +
 +
09 00 00 00 #uString
 +
31 00 30 00 30 00 30 00 2F 00 31 00 30 00 30
 +
00 30 00 #Ustring text
 +
 +
 +
06 00 #astring
 +
76 6F 6C 75 6D 65 #Astring Text
 +
 +
01 00 00 00 #Ustring
 +
31 00 #Usting Text
 +
 +
07 00 #Astring
 +
63 72 61 66 74 65 72 #Astring Text
 +
 +
06 00 00 00 #Ustring
 +
72 00 65 00 69 00 63 00 6B 00 6F 00 #uString text
 +
 +
 +
0D 00 #Astring
 +
73 65 72 69 61 6C 5F 6E 75 6D 62 65 72 0A 00 00 00 #Astring text
 +
 +
28 00 #Usting
 +
37 00 72 00 75 00 62 00 72 00 70 00 39 00 62 00 29
 +
00 07 00 66 69 6C 6C 69 6E 67 02 00 00 00 31 00
 +
34 00 #Ustring Text
 +
 +
08 00 #Astring
 +
64 75 72 61 74 69 6F 6E #Astring text
 +
 +
05 00 00 00 #Ustring Size
 +
31 00 3A 00 33 00 30 00 0A 00 #Ustring Text
 +
 +
06 00 #Asting
 +
65 66 66 65 63 74 #Astring text
 +
 +
01 00 00 00 #Unknown INT
 +
 +
20 00 #Unknown short
 +
 +
0D 00 #AstringSize
 +
66 6F 6F 64 5F 6D 6F 76 65 6D 65 6E 74 #Astring
 +
 +
02 00 00 00 #Ustring Size
 +
2B 00 30 00 #Ustring text
 +
FF FF FF FF
 +
 +
Cables note: In NGE , the operand is  05
 
</pre>
 
</pre>

Latest revision as of 18:49, 21 January 2014

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                         // Object 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...

CU struct by cAble 
                                    ...

04 00 #Operand
2A 2F F1 F3 #Opcode
2C 47 CE F8 16 00 00 00 #Object/item ID 


08 00 00 00 #Unknown INT. belived to be list size, but list larger than 8. 


09 00 #Astring
63 6F 6E 64 69 74 69 6F 6E #Astring text

09 00 00 00 #uString
31 00 30 00 30 00 30 00 2F 00 31 00 30 00 30
00 30 00 #Ustring text


06 00 #astring
76 6F 6C 75 6D 65 #Astring Text

01 00 00 00 #Ustring 
31 00 #Usting Text

07 00 #Astring
63 72 61 66 74 65 72 #Astring Text

06 00 00 00 #Ustring
72 00 65 00 69 00 63 00 6B 00 6F 00 #uString text


0D 00 #Astring
73 65 72 69 61 6C 5F 6E 75 6D 62 65 72 0A 00 00 00 #Astring text

28 00 #Usting
37 00 72 00 75 00 62 00 72 00 70 00 39 00 62 00 29
00 07 00 66 69 6C 6C 69 6E 67 02 00 00 00 31 00
34 00 #Ustring Text

08 00 #Astring
64 75 72 61 74 69 6F 6E #Astring text 

05 00 00 00 #Ustring Size
31 00 3A 00 33 00 30 00 0A 00 #Ustring Text 

06 00 #Asting
65 66 66 65 63 74 #Astring text

01 00 00 00 #Unknown INT

20 00 #Unknown short

0D 00 #AstringSize
66 6F 6F 64 5F 6D 6F 76 65 6D 65 6E 74 #Astring

02 00 00 00 #Ustring Size
2B 00 30 00 #Ustring text
FF FF FF FF

Cables note: In NGE , the operand is  05