uosteam trade window informations

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
Post Reply
Mourad
Posts: 46

uosteam trade window informations

Post by Mourad »

Hello,

i am wondering if there is any command in uosteam that can read informations from a trade window, item properties ...etc

i searched but couldn't find anything about this.

ty
User avatar
The Silvertiger
Posts: 4469

Re: uosteam trade window informations

Post by The Silvertiger »

Possibly... Would have to do with ingump, I believe. Are you trying to afk trade things? Not seeing a need for this besides that. If so don't release your code to anyone for they will find a way to exploit it.
Never forget June 4th 1989!
Selling List & Vendor

"Screenshots will never be used as evidence but more of a reference tool for us to help in our investigations."
Haswell
Posts: 44

Re: uosteam trade window informations

Post by Haswell »

Yes it is possible, you'll need to search for layer 0. I'm not sure what you want to check, keep in mind that the following sample will check for items on your side of the trade. If you want to check for items the other player has added it is basically the same, except for the first line (target alias won't be 'self').

Code: Select all

// Define a target
@setalias 'target' 'self'
// Check if trade window exists
if @findlayer 'target' 0
  sysmsg 'Trade window found'
  // Create an alias for that trade window
  @setalias 'trade window' 'found'
  // Check if item type exists provided trade window
  if @findtype 0xdf0 'any' 'trade window'
    sysmsg 'Item found'
  else
    sysmsg 'Item not found'
  endif
  // Sample: moving spellbook type from backpack to trade window
  if @movetype! 0xefa 'backpack' 'trade window'
    pause 1000
  endif
else
  sysmsg 'Trade window not found'
endif
Mourad
Posts: 46

Re: uosteam trade window informations

Post by Mourad »

ty silvertiger for the advice and haswell for the code. this definitly is a good starting point.

its a shame there is no table with all steam commands. The pdf documentation isn't complete also. makes it harder for anyone to learn all the commands.
User avatar
The Silvertiger
Posts: 4469

Re: uosteam trade window informations

Post by The Silvertiger »

I agree. There is very little useful info in that read me.
Never forget June 4th 1989!
Selling List & Vendor

"Screenshots will never be used as evidence but more of a reference tool for us to help in our investigations."
Post Reply