Difference between revisions of "AuctionQueryHeadersResponseMessage"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Tags)
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{MissingPacket}}
 +
{{PageHeader|Server Packet|AuctionQueryHeadersResponseMessage (FA500E52)}}
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 5: Line 6:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
|{{short}}||Operand Count
+
|{{short}}||'''Operand Count'''
 
|-
 
|-
|{{int}}||Opcode
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|{{int}}||Page count
+
|{{int}}||'''Page count'''
 
|-
 
|-
|{{int}}||(2 = item listing, 4 = auctions listing)
+
|{{int}}||'''(2 = item listing, 4 = auctions listing)'''
 
|-
 
|-
|{{uint}}||TScount: Number of unique terminals and unique sellers
+
|{{uint}}||'''TScount: Number of unique terminals and unique sellers'''
 
|}
 
|}
 
{{beginlist|terminals & sellers|TScount}}
 
{{beginlist|terminals & sellers|TScount}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|{{a_string}}||Terminal description
+
|{{a_string}}||'''Terminal description'''
|}
+
|-
:{{beginlist|auction owners|unknown}}
+
|{{a_string}}||'''Auction Owner Name'''
::{| class="wikitable"
+
|-
|{{a_string}}||Auction Owner Name
+
|{{a_string}}||'''Current high bidder'''
 +
|-
 
|}
 
|}
:{{endlist|auction owners}}
 
 
{{endlist|terminals & sellers}}
 
{{endlist|terminals & sellers}}
 
{| class="wikitable"
 
{| class="wikitable"
|{{int}}||(unique??) item names count
+
|{{int}}||'''unique item names count'''
 
|}
 
|}
 
{{beginlist|item names|item names count}}
 
{{beginlist|item names|item names count}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|{{u_string}}||Item name
+
|{{u_string}}||'''Item name'''
 
|}
 
|}
 
{{endlist|items names}}
 
{{endlist|items names}}
 
{| class="wikitable"
 
{| class="wikitable"
|{{int}}||item descriptions count (ie nr of auctions)
+
|{{int}}||'''Auction count (ie nr of auctions)'''
 
|}
 
|}
{{beginlist|items descriptions|item descriptions count}}
+
{{beginlist|auctions |auctions count}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|{{long}}||Item Id
+
|{{long}}||'''Item Id'''
 
|-
 
|-
|{{byte}}||List ID of item description string (?)
+
|{{byte}}||'''List ID of item Name string Zero based (!)'''
 
|-
 
|-
|{{int}}||Item price
+
|{{int}}||'''Item price/current high bid'''
 
|-
 
|-
|{{int}}||Remaining Auction / instant sell time in seconds
+
|{{int}}||'''Remaining Auction / instant sell time in seconds'''
 
|-
 
|-
|{{byte}}||0 = Auction 1 = instant
+
|{{byte}}||'''0 = Auction 1 = instant'''
 
|-
 
|-
|{{short}}||List id of bazaar terminal string
+
|{{short}}||'''List id of bazaar terminal string (zero based)'''
 
|-
 
|-
|{{long}}||owner id
+
|{{long}}||'''owner id'''
 
|-
 
|-
|{{short}}||List id of sellername string
+
|{{short}}||'''List id of sellername string (zero based)'''
 
|-
 
|-
|{{byte}}||Sub category
+
|{{byte}}||'''Sub category'''
 
|-
 
|-
|{{byte}}||catI  
+
|{{byte}}||'''catI '''
 
|-
 
|-
|{{byte}}||catII
+
|{{byte}}||'''catII'''
 +
|-
 +
|{{byte}}||'''catIII'''
 +
|-
 +
|{{short}}||'''List id of current high bidder (zero based)'''
 +
|-
 +
|{{int}}||'''Proxy Bid'''
 +
|-
 +
|{{int}}||'''My high bid'''
 +
|-
 +
|{{int}}||'''ItemType ???'''
 +
|-
 +
|{{int}}||'''Premium'''
 +
|-
 +
|{{int}}||<font color="red">'''Unknown'''</font>
 
|-
 
|-
|{{byte}}||catIII
 
 
|}
 
|}
 
{{endlist|items descriptions}}
 
{{endlist|items descriptions}}
 +
{| class="wikitable"
 +
|-
 +
|{{short}}||'''number of the first auction being displayed '''
 +
|-
 +
|{{short}}||'''>0 if not the last page'''
 +
|}
 +
|}
  
 
===Variable Descriptions===
 
===Variable Descriptions===
Line 74: Line 97:
 
----
 
----
  
* Additional Descriptions go here...
+
* Please note that Every stringlist entry is zero based
* --
+
* ---
+
* ----
+
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 88: Line 109:
 
||{{75%}}
 
||{{75%}}
 
|-
 
|-
|}
+
||{{Schmunzel}}
 +
|-
 +
||{{rouse}}
 +
|-
 +
||{{Hakry}}
 +
|-
 +
||{{Bazaar}}
 +
|-
  
 
|}
 
|}
 
+
|}
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
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
+
256 Armor Armor
    00 00 00 00
+
257 Body Armor Armor
    00 00   
+
258 Head Amor Armor
    00
+
259 Misc Armor Armor
 +
260 Leg Armor Armor
 +
261 Arm Armor Armor
 +
262 Hand Armor Armor
 +
263 Foot Armor Armor
 +
264 Shield Generator Armor
 +
512 Building Building
 +
513 Municipal Building Building
 +
514 Player Building Building
 +
515 Factional Building Building
 +
1024 Entity Entity
 +
1025 Character Entity
 +
1026 Droid Entity
 +
1027 Probe Droid Entity
 +
1028 Creature Entity
 +
2048 Data Data
 +
2049 Draft Schematic Data
 +
2050 Manufacturing Schematic Data
 +
2051 Mission Object Data
 +
2052 Token Data
 +
2053 Waypoint Data
 +
2054 Data Data
 +
2055 Pet Control Device Data
 +
2056 Vehicle Control Device Data
 +
2058 Ship Control Device Data
 +
2059 Droid Control Device Data
 +
4096 Installation Installation
 +
4097 Factory Installation
 +
4098 Generator Installation
 +
4099 Harvester Installation
 +
4100 Turret Installation
 +
4101 Minefield Installation
 +
8192 Misc Misc
 +
8193 Ammunition Misc
 +
8194 Chemical Misc
 +
8197 Container Misc
 +
8198 Crafting Station Misc
 +
8200 Electronics Misc
 +
8201 Flora Misc
 +
8202 Food Misc
 +
8203 Furniture Misc
 +
8204 Instrument Misc
 +
8205 Pharmaceutical Misc
 +
8207 Sign Misc
 +
8208 Counter Misc
 +
8209 Factory Crate Misc
 +
8210 Travel Ticket Misc
 +
8211 Generic Item Misc
 +
8212 Trap Misc
 +
8213 Wearable Container Misc
 +
8214 Fishing Pole Misc
 +
8215 Fishing Bate Misc
 +
8216 Drink Misc
 +
8217 Firework Misc
 +
8218 Item Misc
 +
8219 Pet Medicine Misc
 +
8220 Firework Show Misc
 +
8221 Clothing Attachment Misc
 +
8222 Live Sample Misc
 +
8223 Armor Attachment Misc
 +
8224 Community Crafting Project Misc
 +
8225 Crystal Misc
 +
8226 Droid Programming Chip Misc
 +
8227 Asteroid Misc
 +
8228 Pilot Chair Misc
 +
8229 Operations Chair Misc
 +
8230 Turret Access Ladder Misc
 +
8231 Container Misc
 +
16384 Terminal Terminal
 +
16385 Bank Terminal Terminal
 +
16386 Commodities Terminal Terminal
 +
16387 Cloning Terminal Terminal
 +
16388 Insurance Terminal Terminal
 +
16389 Management Terminal Terminal
 +
16390 Mission Terminal Terminal
 +
16391 Permissions Terminal Terminal
 +
16392 Player Structure Terminal Terminal
 +
16393 Shipping Terminal Terminal
 +
16394 Travel Terminal Terminal
 +
16395 Space Terminal Terminal
 +
16386 Terminal Terminal
 +
32768 Tool Tool
 +
32769 Crafting Tool Tool
 +
32770 Survey Tool Tool
 +
32771 Repair Tool Tool
 +
32772 Camp Kit Tool
 +
32773 Ship Componet Repair Item Tool
 +
65536 Vehicle Vehicle
 +
65537 Hover Vehicle Vehicle
 +
131072 Weapon Weapon
 +
131073 Melee Weapon Weapon
 +
131074 Ranged Weapon Weapon
 +
131075 Thrown Weapon Weapon
 +
131076 Heavy Weapon Weapon
 +
131077 Mine Weapon
 +
131078 Special Heavy Weapon Weapon
 +
131079 1-Handed Melee Weapon Weapon
 +
131080 2-Handed Melee Weapon Weapon
 +
131081 Polearm Weapon
 +
131082 Pistol Weapon
 +
131083 Carbine Weapon
 +
131084 Rifle Weapon
 +
262144 Component Component
 +
262145 Armor Component Component
 +
262146 Chemistry Component Component
 +
262147 Clothing Component Component
 +
262148 Droid Component Component
 +
262149 Electronics Component Component
 +
262150 Munition Component Component
 +
262151 Structure Component Component
 +
262152 Melee Weapon Component Component
 +
262153 Ranged Weapon Component Component
 +
262154 Tissue Component Component
 +
262155 Genetic Component Component
 +
262156 Light Saber Crystal Component
 +
262157 Community Crafting Component Component
 +
524288 Weapon Powerup Weapon Powerup
 +
524289 Melee Weapon Powerup Weapon Powerup
 +
524290 Ranged Weapon Powerup Weapon Powerup
 +
524291 Thrown Weapon Powerup Weapon Powerup
 +
524292 Heavy Weapon Powerup Weapon Powerup
 +
524293 Mine Powerup Weapon Powerup
 +
524294 Special Heavy Weapon Powerup Weapon Powerup
 +
1048576 Armor Powerup Armor Powerup
 +
1048577 Body Armor Powerup Armor Powerup
 +
1048578 Head Armor Powerup Armor Powerup
 +
1048579 Misc Armor Powerup Armor Powerup
 +
1048580 Leg Armor Powerup Armor Powerup
 +
1048581 Arm Armor Powerup Armor Powerup
 +
1048582 Hand Armor Powerup Armor Powerup
 +
1048583 Foot Armor Powerup Armor Powerup
 +
2097152 Jewelry Jewelry
 +
2097153 Ring Jewelry
 +
2097154 Bracelet Jewelry
 +
2097155 Necklace Jewelry
 +
2097156 Earring Jewelry
 +
4194304 Resource Container Resource Container
 +
4194305 Energy (Gas) Resource Container
 +
4194306 Energy (Liquid) Resource Container
 +
4194307 Energy (Radioactive) Resource Container
 +
4194308 Energy (Solid) Resource Container
 +
4194309 Inorganic Chemical Resource Container
 +
4194310 Inorganic Gas Resource Container
 +
4194311 Inorganic Mineral Resource Container
 +
4194312 Water Resource Container
 +
4194313 Organic Food Resource Container
 +
4194314 Organic Hide Resource Container
 +
4194315 Organ ic Structural Resource Container
 +
4194316 Resource Container Resource Container
 +
8388608 Deed Deed
 +
8388609 Building Deed Deed
 +
8388610 Installation Deed Deed
 +
8388611 Pet Deed Deed
 +
8388612 Droid Deed Deed
 +
8388613 Vehicle Deed Deed
 +
16777216 Clothing Clothing
 +
16777217 Bandolier Clothing
 +
16777218 Belt Clothing
 +
16777219 Bodysuit Clothing
 +
16777220 Cape Clothing
 +
16777221 Cloak Clothing
 +
16777222 Footwear Clothing
 +
16777223 Dress Clothing
 +
16777224 Handwear Clothing
 +
16777225 Eyewear Clothing
 +
16777226 Headwear Clothing
 +
16777227 Jacket Clothing
 +
16777228 Pants Clothing
 +
16777229 Robe Clothing
 +
16777230 Shirt Clothing
 +
16777231 Vest Clothing
 +
16777232 Wookie Garb Clothing
 +
16777233 Misc Clothing Clothing
 +
16777234 Skirt Clothing
 +
1073741824 Ship Component Ship Component
 +
1073741825 Reactor Ship Component
 +
1073741826 Engine Ship Component
 +
1073741827 Shield Ship Component
 +
1073741828 Armor Ship Component
 +
1073741829 Weapon Ship Component
 +
1073741830 Capacitor Ship Component
 +
1073741831 Booster Ship Component
 +
1073741832 Droid Interface Ship Component
 +
1073741833 Hangar Ship Component
 +
1073741834 Targeting Station Ship Component
 +
1073741835 Bridge Ship Component
 +
1073741836 Ship Chassis Ship Component
 +
1073741837 Missile Pack Ship Component
 +
1073741838 Countermeasure Pack Ship Component
 +
1073741839 Missile Launcher Ship Component
 +
1073741840 Countermeasure Launcher Ship Component
  
08 94
 
  
 
</pre>
 
</pre>

Latest revision as of 17:30, 15 August 2024





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
A_STRING Auction Owner Name
A_STRING Current high bidder

<terminals & sellers/>

INT unique item names count

<item names count=item names count>

U_STRING Item name

<items names/>

INT Auction count (ie nr of auctions)

<auctions count=auctions count>

LONG Item Id
BYTE List ID of item Name string Zero based (!)
INT Item price/current high bid
INT Remaining Auction / instant sell time in seconds
BYTE 0 = Auction 1 = instant
SHORT List id of bazaar terminal string (zero based)
LONG owner id
SHORT List id of sellername string (zero based)
BYTE Sub category
BYTE catI
BYTE catII
BYTE catIII
SHORT List id of current high bidder (zero based)
INT Proxy Bid
INT My high bid
INT ItemType ???
INT Premium
INT Unknown

<items descriptions/>

SHORT number of the first auction being displayed
SHORT >0 if not the last page

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.

WOOF! This document has been woofed by Schmunzel.

Rouse This document has been pinkified by Rouse.

H This has been approved by Hakry.

Bazaar Bazaar related stuff.


Sample Packet


256	Armor	Armor
257	Body Armor	Armor
258	Head Amor	Armor
259	Misc Armor	Armor
260	Leg Armor	Armor
261	Arm Armor	Armor
262	Hand Armor	Armor
263	Foot Armor	Armor
264	Shield Generator	Armor
512	Building	Building
513	Municipal Building	Building
514	Player Building	Building
515	Factional Building	Building
1024	Entity	Entity
1025	Character	Entity
1026	Droid	Entity
1027	Probe Droid	Entity
1028	Creature	Entity
2048	Data	Data
2049	Draft Schematic	Data
2050	Manufacturing Schematic	Data
2051	Mission Object	Data
2052	Token	Data
2053	Waypoint	Data
2054	Data	Data
2055	Pet Control Device	Data
2056	Vehicle Control Device	Data
2058	Ship Control Device	Data
2059	Droid Control Device	Data
4096	Installation	Installation
4097	Factory	Installation
4098	Generator	Installation
4099	Harvester	Installation
4100	Turret	Installation
4101	Minefield	Installation
8192	Misc	Misc
8193	Ammunition	Misc
8194	Chemical	Misc
8197	Container	Misc
8198	Crafting Station	Misc
8200	Electronics	Misc
8201	Flora	Misc
8202	Food	Misc
8203	Furniture	Misc
8204	Instrument	Misc
8205	Pharmaceutical	Misc
8207	Sign	Misc
8208	Counter	Misc
8209	Factory Crate	Misc
8210	Travel Ticket	Misc
8211	Generic Item	Misc
8212	Trap	Misc
8213	Wearable Container	Misc
8214	Fishing Pole	Misc
8215	Fishing Bate	Misc
8216	Drink	Misc
8217	Firework	Misc
8218	Item	Misc
8219	Pet Medicine	Misc
8220	Firework Show	Misc
8221	Clothing Attachment	Misc
8222	Live Sample	Misc
8223	Armor Attachment	Misc
8224	Community Crafting Project	Misc
8225	Crystal	Misc
8226	Droid Programming Chip	Misc
8227	Asteroid	Misc
8228	Pilot Chair	Misc
8229	Operations Chair	Misc
8230	Turret Access Ladder	Misc
8231	Container	Misc
16384	Terminal	Terminal
16385	Bank Terminal	Terminal
16386	Commodities Terminal	Terminal
16387	Cloning Terminal	Terminal
16388	Insurance Terminal	Terminal
16389	Management Terminal	Terminal
16390	Mission Terminal	Terminal
16391	Permissions Terminal	Terminal
16392	Player Structure Terminal	Terminal
16393	Shipping Terminal	Terminal
16394	Travel Terminal	Terminal
16395	Space Terminal	Terminal
16386	Terminal	Terminal
32768	Tool	Tool
32769	Crafting Tool	Tool
32770	Survey Tool	Tool
32771	Repair Tool	Tool
32772	Camp Kit	Tool
32773	Ship Componet Repair Item	Tool
65536	Vehicle	Vehicle
65537	Hover Vehicle	Vehicle
131072	Weapon	Weapon
131073	Melee Weapon	Weapon
131074	Ranged Weapon	Weapon
131075	Thrown Weapon	Weapon
131076	Heavy Weapon	Weapon
131077	Mine	Weapon
131078	Special Heavy Weapon	Weapon
131079	1-Handed Melee Weapon	Weapon
131080	2-Handed Melee Weapon	Weapon
131081	Polearm	Weapon
131082	Pistol	Weapon
131083	Carbine	Weapon
131084	Rifle	Weapon
262144	Component	Component
262145	Armor Component	Component
262146	Chemistry Component	Component
262147	Clothing Component	Component
262148	Droid Component	Component
262149	Electronics Component	Component
262150	Munition Component	Component
262151	Structure Component	Component
262152	Melee Weapon Component	Component
262153	Ranged Weapon Component	Component
262154	Tissue Component	Component
262155	Genetic Component	Component
262156	Light Saber Crystal	Component
262157	Community Crafting Component	Component
524288	Weapon Powerup	Weapon Powerup
524289	Melee Weapon Powerup	Weapon Powerup
524290	Ranged Weapon Powerup	Weapon Powerup
524291	Thrown Weapon Powerup	Weapon Powerup
524292	Heavy Weapon Powerup	Weapon Powerup
524293	Mine Powerup	Weapon Powerup
524294	Special Heavy Weapon Powerup	Weapon Powerup
1048576	Armor Powerup	Armor Powerup
1048577	Body Armor Powerup	Armor Powerup
1048578	Head Armor Powerup	Armor Powerup
1048579	Misc Armor Powerup	Armor Powerup
1048580	Leg Armor Powerup	Armor Powerup
1048581	Arm Armor Powerup	Armor Powerup
1048582	Hand Armor Powerup	Armor Powerup
1048583	Foot Armor Powerup	Armor Powerup
2097152	Jewelry	Jewelry
2097153	Ring	Jewelry
2097154	Bracelet	Jewelry
2097155	Necklace	Jewelry
2097156	Earring	Jewelry
4194304	Resource Container	Resource Container
4194305	Energy (Gas)	Resource Container
4194306	Energy (Liquid)	Resource Container
4194307	Energy (Radioactive)	Resource Container
4194308	Energy (Solid)	Resource Container
4194309	Inorganic Chemical	Resource Container
4194310	Inorganic Gas	Resource Container
4194311	Inorganic Mineral	Resource Container
4194312	Water	Resource Container
4194313	Organic Food	Resource Container
4194314	Organic Hide	Resource Container
4194315	Organ ic Structural	Resource Container
4194316	Resource Container	Resource Container
8388608	Deed	Deed
8388609	Building Deed	Deed
8388610	Installation Deed	Deed
8388611	Pet Deed	Deed
8388612	Droid Deed	Deed
8388613	Vehicle Deed	Deed
16777216	Clothing	Clothing
16777217	Bandolier	Clothing
16777218	Belt	Clothing
16777219	Bodysuit	Clothing
16777220	Cape	Clothing
16777221	Cloak	Clothing
16777222	Footwear	Clothing
16777223	Dress	Clothing
16777224	Handwear	Clothing
16777225	Eyewear	Clothing
16777226	Headwear	Clothing
16777227	Jacket	Clothing
16777228	Pants	Clothing
16777229	Robe	Clothing
16777230	Shirt	Clothing
16777231	Vest	Clothing
16777232	Wookie Garb	Clothing
16777233	Misc Clothing	Clothing
16777234	Skirt	Clothing
1073741824	Ship Component	Ship Component
1073741825	Reactor	Ship Component
1073741826	Engine	Ship Component
1073741827	Shield	Ship Component
1073741828	Armor	Ship Component
1073741829	Weapon	Ship Component
1073741830	Capacitor	Ship Component
1073741831	Booster	Ship Component
1073741832	Droid Interface	Ship Component
1073741833	Hangar	Ship Component
1073741834	Targeting Station	Ship Component
1073741835	Bridge	Ship Component
1073741836	Ship Chassis	Ship Component
1073741837	Missile Pack	Ship Component
1073741838	Countermeasure Pack	Ship Component
1073741839	Missile Launcher	Ship Component
1073741840	Countermeasure Launcher	Ship Component