-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect items already in offers (inOffer property) #186
Comments
Good idea, but might be very inefficient to load all offers on startup. This should probably be an optional feature. |
How does steam handle this? Like when you open your inventory you have the in trade flag. How does steam flag this to the user ? |
@vankxr Is there an in-trade flag? Is that new? I think (thought) Steam doesn't support this, it's just especially useful for bots. |
Nope, no official Steam in-trade flag AFAIK, though I think 3rd party extensions such as Steam Inventory Helper provide one. |
Steam doesn't do anything special to prevent you from putting the same item in multiple trades. |
Oh, stupid me. I forgot i was using steam inventory helper :( Anyways I still agree majority of users of this module will need it. |
Just make yourself an array, and push the assetid whenever you put an item up for trade. |
I'd like to know which items are already in offers when loading my inventory. It's possible to do manually (either by loading all offers when attempting to load your inventory or loading once at the beginning and keeping track via events which items are in offers and which are no longer in any offers).
So the suggestion is:
EconItem
to include aninOffer
booleanYes, it's possible to do yourself by watching
newOffer
,sentOfferChanged
, andreceivedOfferChanged
, but I would imagine almost any bot (except receive-only bots) want to ensure users get different instances of the same item so trade offers for the same type of item don't clash.The text was updated successfully, but these errors were encountered: