Difference between revisions of "AuctionQueryHeadersResponseMessage"

From SWGANH Wiki
Jump to: navigation, search
(Tags)
(Struct)
Line 5: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
<pre>
 
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 (?)
 
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
+
{| class="wikitable"
    00 00 00 00
+
|{{short}}||Operand Count
    00 00
+
|-
 
+
|{{int}}||Opcode
    02 00 00 00
+
|-
    00 00 00 00   
+
|{{int}}||Page count
    00 00
+
|-
+
|{{int}}||(2 = item listing, 4 = auctions listing)
UINT8: Sub category
+
|-
UINT8: Main category
+
|{{uint}}||TScount: Number of unique terminals and unique sellers
UINT8: Sub Sub cat (?)
+
|}
UINT8: sub sub sub cat (?)
+
{{beginlist|terminals & sellers|TScount}}
 
+
:{| class="wikitable"
    01 08 00 00
+
|{{a_string}}||Terminal description
    00 00 00 00
+
|}
    00 00   
+
:{{beginlist|auction owners|unknown}}
    00
+
::{| class="wikitable"
}
+
|{{a_string}}||Auction Owner Name
</pre>
+
|}
 +
:{{endlist|auction owners}}
 +
{{endlist|terminals & sellers}}
 +
{| class="wikitable"
 +
|{{int}}||(unique??) item names count
 +
|}
 +
{{beginlist|item names|item names count}}
 +
:{| class="wikitable"
 +
|{{u_string}}||Item name
 +
|}
 +
{{endlist|items names}}
 +
{| class="wikitable"
 +
|{{int}}||item descriptions count (ie nr of auctions)
 +
|}
 +
{{beginlist|items descriptions|item descriptions count}}
 +
:{| class="wikitable"
 +
|{{long}}||Item Id
 +
|-
 +
|{{byte}}||List ID of item description string (?)
 +
|-
 +
|{{int}}||Item price
 +
|-
 +
|{{int}}||Remaining Auction / instant sell time in seconds
 +
|-
 +
|{{byte}}||0 = Auction 1 = instant
 +
|-
 +
|{{short}}||List id of bazaar terminal string
 +
|-
 +
|{{long}}||owner id
 +
|-
 +
|{{short}}||List id of sellername string
 +
|-
 +
|{{byte}}||Sub category
 +
|-
 +
|{{byte}}||Main category
 +
|-
 +
|{{byte}}||Sub Sub category (?)
 +
|-
 +
|{{byte}}||Sub Sub Sub category (?)
 +
|}
 +
{{endlist|items descriptions}}
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 07:53, 10 April 2007

Struct


SHORT Operand Count
INT Opcode
INT Page count
INT (2 = item listing, 4 = auctions listing)
UINT TScount: Number of unique terminals and unique sellers

<terminals & sellers count=TScount>

A_STRING Terminal description
<auction owners count=unknown>
A_STRING Auction Owner Name
<auction owners/>

<terminals & sellers/>

INT (unique??) item names count

<item names count=item names count>

U_STRING Item name

<items names/>

INT item descriptions count (ie nr of auctions)

<items descriptions count=item descriptions count>

LONG Item Id
BYTE List ID of item description string (?)
INT Item price
INT Remaining Auction / instant sell time in seconds
BYTE 0 = Auction 1 = instant
SHORT List id of bazaar terminal string
LONG owner id
SHORT List id of sellername string
BYTE Sub category
BYTE Main category
BYTE Sub Sub category (?)
BYTE Sub Sub Sub category (?)

<items descriptions/>


Variable Descriptions


Operand_Count = 9

Opcode = FA500E52


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

Tags


S→C This packet originates on the server.

75% This packet has been partially 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