Difference between revisions of "AuctionQueryHeadersMessage"

From SWGANH Wiki
Jump to: navigation, search
(Categories)
(Variable Descriptions)
 
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{MissingPacket}}
{|
+
{{PageHeader|Client Packet|AuctionQueryHeadersMessage}}
|- align="center"
+
||{{PacketGuide}}
+
|-
+
|}
+
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 11: Line 6:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 18: Line 15:
 
|{{int}}||'''Opcode'''
 
|{{int}}||'''Opcode'''
 
|-
 
|-
|{{int}}||''' '''
+
|{{int}}||'''Region'''
 
|-
 
|-
 
|{{int}}||'''UpdateCounter'''
 
|{{int}}||'''UpdateCounter'''
 
|-
 
|-
|{{int}}||''' '''
+
|{{int}}||'''Window Type '''
 
|-
 
|-
 
|{{byte}}||'''Subcategory'''
 
|{{byte}}||'''Subcategory'''
Line 32: Line 29:
 
|{{byte}}||'''Cat III'''
 
|{{byte}}||'''Cat III'''
 
|-
 
|-
|{{byte}}||'''Cat IV'''
+
|{{int}}||'''itemtype ID'''
 +
|-
 +
|{{u_string}}||'''searchstring '''
 +
|-
 +
|{{int}}||'''<font color="red">unknown</font>'''
 +
|-
 +
|{{int}}||'''search min Price '''
 +
|-
 +
|{{int}}||'''search max Price'''
 +
|-
 +
|{{byte}}||'''include entrance fee flag'''
 +
|-
 +
|{{long}}||'''Vendor ID'''
 +
|-
 +
|{{byte}}||'''VendorFlag'''
 +
|-
 +
|{{short}}||'''nr of 1st Auction to show '''
 
|-
 
|-
 
+
|}
 
+
 
|}
 
|}
  
Line 46: Line 58:
 
----
 
----
  
* Additional Descriptions go here...
+
* Region
* --
+
:* 0 Galaxy
* ---
+
:* 1 this Planet
* ----
+
:* 2 this Region
 +
:* 3 Vendor only
 +
 
 +
* Window Type
 +
:* 2 All Auctions
 +
:* 3 My Sales
 +
:* 4 My bids
 +
:* 5 Available Items
 +
:* 6 Offers
 +
:* 7 For Sale (vendor) / Vendor Locations (bazaar)
 +
:* 8 Stockroom
 +
:* 9 Offers to Vendor
 +
 
 +
* VendorFlag:
 +
:This is set to 1 if the terminal is a VENDOR and 0 if the terminal is a BAZAAR terminal.
  
 
|valign=top|
 
|valign=top|
Line 59: Line 85:
 
||{{ClientPacket}}
 
||{{ClientPacket}}
 
|-
 
|-
||{{50%}}
+
||{{75%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
 
 
==Sample Packet==
 
==Sample Packet==
  
Line 82: Line 97:
 
==Categories==
 
==Categories==
 
----
 
----
Pease npte : these are the NGE values
+
<pre>
 +
//ok now get the specific itemtype base category  is                0x00 40 00 00
 +
//energy (gas) is 4194305        = 0x00 40 00 01
 +
//energy (liquid) is 4194306      = 0x00 40 00 02
 +
//energy (Radioactive) is 4194307 = 0x00 40 00 03
 +
//energy (solid) is 4194308      = 0x00 40 00 04
 +
//Inorganic Chemical is 4194309  = 0x00 40 00 05
 +
//Inorganic Gas is 4194310        = 0x00 40 00 06
 +
//inorganic mineral is 4194311    = 0x00 40 00 07
 +
//Water is 4194312                = 0x00 40 00 08
 +
//Organic food is 4194313        = 0x00 40 00 09
 +
//Organic Hide  is 4194314        = 0x00 40 00 10
 +
//Organic structural is 4194315  = 0x00 40 00 11
 +
//Res container is 4194316        = 0x00 40 00 12
 +
 
 +
 
 +
Categories for Miscellaneous items :
 +
02 Chemical
 +
05 Container
 +
06 Crafting station
 +
08 Electronics
 +
09 Flora
 +
0A Food
 +
0B Furniture
 +
0C Instrument
 +
0D Pharmaceutical
 +
 
 +
0F Sign
 +
11 Factory Crate
 +
13 Generic Item
 +
14 Trap
 +
15 wearable Container
 +
16 Fishing Pole
 +
17 Fishing Bait
 +
18 Drink
 +
19 Firework
 +
1A Item
 +
1B Pet Medicines
 +
1C FireWorkshow
 +
1D Clothing Attachment
 +
1E Live Sample
 +
1F ArmorAttachment
 +
20 Community Crafting Projrct
 +
21 Crystal
 +
22 Droid Programming Chip
 +
 
 +
</pre>
 +
Please note : these are the NGE values; sure enough a bitmask
 +
{| border="0" width="90%" cellpadding=6
 +
|-
 +
|valign=top|
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:red; color:white;"|'''Cat I'''||align="center" style="background:red; color:white;"|'''Cat II'''||align="center" style="background:red; color:white;"|'''Cat III'''||align="center" style="background:red; color:white;"|'''Cat IV'''||align="center" style="background:red; color:white;"|'''Object'''
+
|align="center" style="background:red; color:white;"|'''Cat I'''||align="center" style="background:red; color:white;"|'''Cat II'''||align="center" style="background:red; color:white;"|'''Cat III'''||align="center" style="background:red; color:white;"|'''Object'''
 
|-
 
|-
|align="center"|'''0'''||'''0'''||'''0'''||'''0'''||'''All'''
+
|align="center"|'''0'''||'''0'''||'''0'''||'''All'''
 
|-
 
|-
|align="center"|'''1'''||'''0'''||'''0'''||'''0'''||'''Armor'''
+
|align="center"|'''1'''||'''0'''||'''0'''||'''Armor'''
 
|-
 
|-
|align="center"|'''0'''||'''0'''||'''1'''||'''0'''||'''Clothing'''
+
|align="center"|'''0'''||'''0'''||'''1'''||'''Clothing'''
 
|-
 
|-
|align="center"|'''0'''||'''4'''||'''0'''||'''0'''||'''Component'''
+
|align="center"|'''0'''||'''4'''||'''0'''||'''Component'''
 
|-
 
|-
|align="center"|'''1'''||'''0'''||'''20h'''||'''0'''||'''Cybernetic'''
+
|align="center"|'''1'''||'''0'''||'''20h'''||'''Cybernetic'''
 
|-
 
|-
|align="center"|'''8'''||'''0'''||'''0'''||'''0'''||'''Data'''
+
|align="center"|'''8'''||'''0'''||'''0'''||'''Data'''
 
|-
 
|-
|align="center"|'''0'''||'''80h'''||'''0'''||'''0'''||'''Deed'''
+
|align="center"|'''0'''||'''80h'''||'''0'''||'''Deed'''
 
|-
 
|-
|align="center"|'''0'''||'''20h'''||'''0'''||'''0'''||'''Jewelry'''
+
|align="center"|'''0'''||'''20h'''||'''0'''||'''Jewelry'''
 +
|-
 +
|align="center"|'''20h'''||'''0'''||'''0'''||'''Misc'''
 +
|-
 +
|align="center"|'''0'''||'''40h'''||'''0'''||'''Res Container'''
 +
|-
 +
|align="center"|'''0'''||'''0'''||'''40h'''||'''Ship Component'''
 +
|-
 +
|align="center"|'''40h'''||'''0'''||'''0'''||'''Terminal'''
 +
|-
 +
|align="center"|'''80h'''||'''0'''||'''0'''||'''Tool'''
 +
|-
 +
|align="center"|'''0'''||'''2'''||'''0'''||'''Weapon'''
 +
|-
 +
|}
 +
|valign=top|
 +
{| class="wikitable"
 +
|-
 +
|align="center"|'''Armor'''
 
|-
 
|-
  
 
+
|align="center" style="background:red; color:white;"|'''Subcat Cat I'''||align="center" style="background:red; color:white;"|'''Object'''
 +
|-
 +
|align="center"|'''05'''||'''Arm Armor'''
 +
|-
 +
|align="center"|'''0B'''||'''Armor Core'''
 +
|-
 +
|align="center"|'''09'''||'''Armor Layer'''
 +
|-
 +
|align="center"|'''0A'''||'''Armor Segment'''
 +
|-
 +
|align="center"|'''01'''||'''Body Armor'''
 +
|-
 +
|align="center"|'''07'''||'''Foot Armor'''
 +
|-
 +
|align="center"|'''06'''||'''Hand Armor'''
 +
|-
 +
|align="center"|'''02'''||'''Head Armor'''
 +
|-
 +
|align="center"|'''04'''||'''Leg Armor'''
 +
|-
 +
|align="center"|'''03'''||'''Misc Armor'''
 +
|-
 +
|align="center"|'''08'''||'''Shield Generator'''
 +
|-
 +
|}
 +
|valign=top|
 +
{| class="wikitable"
 +
|-
 +
|align="center"|'''Item Type'''
 +
|-
 +
|align="center" style="background:red; color:white;"|'''ID'''||align="center" style="background:red; color:white;"|'''Item Type'''
 +
|-
 +
|align="center"|'''0x124B5EA9'''||'''Bone Armor Left Biceps'''
 +
|-
 +
|}
 
|}
 
|}

Latest revision as of 07:08, 12 June 2008





Client Packet - AuctionQueryHeadersMessage

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 Region
INT UpdateCounter
INT Window Type
BYTE Subcategory
BYTE Cat I
BYTE Cat II
BYTE Cat III
INT itemtype ID
U_STRING searchstring
INT unknown
INT search min Price
INT search max Price
BYTE include entrance fee flag
LONG Vendor ID
BYTE VendorFlag
SHORT nr of 1st Auction to show

Variable Descriptions


Opperand_Count = 14

Opcode = 679E0D00


  • Region
  • 0 Galaxy
  • 1 this Planet
  • 2 this Region
  • 3 Vendor only
  • Window Type
  • 2 All Auctions
  • 3 My Sales
  • 4 My bids
  • 5 Available Items
  • 6 Offers
  • 7 For Sale (vendor) / Vendor Locations (bazaar)
  • 8 Stockroom
  • 9 Offers to Vendor
  • VendorFlag:
This is set to 1 if the terminal is a VENDOR and 0 if the terminal is a BAZAAR terminal.

Tags


C→S This packet originates on the client.

75% This packet has been partially reversed.

Sample Packet

Insert Sample Packet Here...

Categories


//ok now get the specific itemtype base category  is                0x00 40 00 00
				//energy (gas) is 4194305         = 0x00 40 00 01
				//energy (liquid) is 4194306      = 0x00 40 00 02
				//energy (Radioactive) is 4194307 = 0x00 40 00 03
				//energy (solid) is 4194308       = 0x00 40 00 04
				//Inorganic Chemical is 4194309   = 0x00 40 00 05
				//Inorganic Gas is 4194310        = 0x00 40 00 06
				//inorganic mineral is 4194311    = 0x00 40 00 07
				//Water is 4194312                = 0x00 40 00 08
				//Organic food is 4194313         = 0x00 40 00 09
				//Organic Hide  is 4194314        = 0x00 40 00 10
				//Organic structural is 4194315   = 0x00 40 00 11
				//Res container is 4194316        = 0x00 40 00 12


Categories for Miscellaneous items :
02 Chemical
05 Container
06 Crafting station
08 Electronics
09 Flora
0A Food
0B Furniture
0C Instrument
0D Pharmaceutical

0F Sign
11 Factory Crate
13 Generic Item
14 Trap
15 wearable Container
16 Fishing Pole
17 Fishing Bait
18 Drink
19 Firework
1A Item
1B Pet Medicines
1C FireWorkshow
1D Clothing Attachment
1E Live Sample
1F ArmorAttachment
20 Community Crafting Projrct
21 Crystal
22 Droid Programming Chip

Please note : these are the NGE values; sure enough a bitmask

Cat I Cat II Cat III Object
0 0 0 All
1 0 0 Armor
0 0 1 Clothing
0 4 0 Component
1 0 20h Cybernetic
8 0 0 Data
0 80h 0 Deed
0 20h 0 Jewelry
20h 0 0 Misc
0 40h 0 Res Container
0 0 40h Ship Component
40h 0 0 Terminal
80h 0 0 Tool
0 2 0 Weapon
Armor
Subcat Cat I Object
05 Arm Armor
0B Armor Core
09 Armor Layer
0A Armor Segment
01 Body Armor
07 Foot Armor
06 Hand Armor
02 Head Armor
04 Leg Armor
03 Misc Armor
08 Shield Generator
Item Type
ID Item Type
0x124B5EA9 Bone Armor Left Biceps