Difference between revisions of "AuctionQueryHeadersResponseMessage"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Struct)
Line 7: Line 7:
 
----
 
----
  
{| class="wikitable"
+
<pre>
|-
+
SHORT: Operand Count
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand count'''
+
INT: Opcode
|-
+
INT: Page count
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
INT: (2 = item listing, 4 = auctions listing)
|-
+
UINT32: Number of unique terminals and unique sellers
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Auction Page Count'''
+
{
|-
+
ASCII: Terminal description
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Page Type'''
+
{
|-
+
        ASCII: Auction Owner Name
|}
+
}
:{
+
}
:{| class="wikitable"
+
INT: Number of (unique??) item names
|-
+
{
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Terminal Description'''
+
UNICODE: Item name
|-
+
}
|}
+
INT: Number of item descriptions (ie nr of auctions)
:}
+
{
::{
+
UINT64: Item Id
::{| class="wikitable"
+
UINT8: List ID of item description string // why byte???????? every page has max 100 Auctions!!!!!!!!!!!!!!!!!!!!!!
|-
+
UINT32: Item price
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Auction Owner Name'''
+
UINT32: Remaining Auction / instant sell time in seconds
|-
+
UINT8: 0 = Auction 1 = instant
|}
+
UINT16: List id of bazaar terminal string
::}
+
UINT64: owner id
{| class="wikitable"
+
UINT16: List id of sellername string
|-
+
 
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Number of item names'''
+
    00 00
|-
+
    00 00 00 00
|}
+
    00 00
:'''{'''
+
 
:
+
    02 00 00 00
:{| class="wikitable"
+
    00 00 00 00   
|-
+
    00 00
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Item Name'''
+
|-
+
UINT8: Sub category
|}
+
UINT8: Main category
:'''}'''
+
UINT8: Sub Sub cat (?)
 +
UINT8: sub sub sub cat (?)
 +
 
 +
    01 08 00 00
 +
    00 00 00 00
 +
    00 00   
 +
    00
 +
}
 +
</pre>
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 20:33, 16 January 2007


Struct


SHORT:			Operand Count
INT:			Opcode
INT:			Page count
INT:			(2 = item listing, 4 = auctions listing)
UINT32:			Number of unique terminals and unique sellers
{
	ASCII:		Terminal description
	{
        ASCII:		Auction Owner Name
	}
}
INT:			Number of (unique??) item names
{
	UNICODE:	Item name
}
INT:			Number of item descriptions (ie nr of auctions)
{
	UINT64:		Item Id
	UINT8:		List ID of item description string // why byte???????? every page has max 100 Auctions!!!!!!!!!!!!!!!!!!!!!!
	UINT32:		Item price
	UINT32:		Remaining Auction / instant sell time in seconds
	UINT8:		0 = Auction 1 = instant
	UINT16:		List id of bazaar terminal string
	UINT64:		owner id
	UINT16:		List id of sellername string

    00 00 
    00 00 00 00 
    00 00 

    02 00 00 00 
    00 00 00 00     
    00 00 
	
	UINT8:		Sub category
	UINT8:		Main category 
	UINT8:		Sub Sub cat (?)
	UINT8:		sub sub sub cat (?)

    01 08 00 00 
    00 00 00 00 
    00 00    
    00 
}

Variable Descriptions


Operand_Count = 9

Opcode = FA500E52


  • Additional Descriptions go here...
  • --
  • ---
  • ----

Tags


S→C This packet originates on the server.

0% This packet has not been reversed.

Sample Code


Insert Code Snippet Here...

Sample Packet

Data A
AuctionQueryHeadersResponseMessage

195.33.138.118:44463 -> 192.168.2.100:2716(Server -> Client)
Enc: T   Comp: T    Seed: 0xFF68FE1C    Length: 307

00 09 04 92 
08 00 
52 0E 50 FA 
01 00 00 00                                           page count

02 00 00 00                                           2 is item listing, 4 is auctions listing

[UINT32]                                              //Amount of Elements making up an element list in the order : 
                                                        Terminal 1, seller 1 to seller x; ... Terminal x seller 1 to                             
                                                        seller x; 
                                                        or put blundly : Nr of unique terminals and unique sellers

    //stringlist
    [ASCII] Terminal description                        dantooine.@dantooine_region_names:dantooine_mining_outpost.
                                                        @terminal_name:terminal_bazaar.1366001#-618,2490
 
         [ASCII]                                        Auction Owner Name


[UINT32]                                               Number of (unique??) item names

    [UNICODE]                                              Item name

[UINT32]                                               Number of item descriptions (ie nr of auctions)

    [UINT64]                                               Item Id

    [UINT8]                                                List ID of itemdescription string // why byte????????
                                                           every page has max 100 Auctions!!!!!!!!!!!!!!!!!!!!!!

    [UINT32]                                               item price

    [UINT32]                                               remaining Auction / instant sell time in seconds

    [UINT8]                                                0 = Auction 1 = instant
    
    [UINT16]                                               list id of bazaar terminal string

    [UINT64]                                               owner id

    [UINT16]                                               list id of sellername string

    00 00 
    00 00 00 00 
    00 00 

    02 00 00 00 
    00 00 00 00     
    00 00 
    
    [UINT8]           Sub category

    [UINT8]           Main category 

    [UINT8]           sub sub cat

    [UINT8]           sub sub sub cat

    01 08 00 00 
    00 00 00 00 
    00 00    
    00 

08 94