AuctionQueryHeadersResponseMessage

From SWGANH Wiki
Revision as of 14:26, 21 June 2007 by Snow (Talk | contribs)

Jump to: navigation, search

Server Packet - AuctionQueryHeadersResponseMessage (FA500E52)

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 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 Auction descriptions count (ie nr of auctions)

<auctions descriptions count=auctions descriptions count>

LONG Item Id
BYTE List ID of item description string Zero based (!)
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 catI
BYTE catII
BYTE catIII
SHORT some kind of counter???
INT
INT
INT ItemType (same as category)
INT Premium
INT

<items descriptions/>


Variable Descriptions


Operand_Count = 9

Opcode = FA500E52


  • Please note that Every stringlist entry is zero based
  • --
  • ---
  • ----

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