-
Posts
3394 -
Joined
-
Last visited
Reputation Activity
-
-
Dr. McKay got a reaction from Eric in Getting different keys in tags sometimes on tradeOffer.itemsToReceive
Steam sends the data differently sometimes. Update to 2.8.1 and I've made the tags objects all be standard (that is, they have all the properties).
-
Dr. McKay got a reaction from drizz in Getting all comments/activity from a group.
There's nothing in the module right now to parse comments.
-
Dr. McKay got a reaction from esteamer in webSession expires, but loggin in again returns "Already logged on"
Cookies obtained from a CM are invalidated as soon as the connection drops. You should pause your queue when you get disconnected, and only restart it once webSession gets emitted after reconnection.
No, I don't believe that would be a problem.
-
-
Dr. McKay got a reaction from Nacho in Check if a offer sent by the bot was accepted
Listen for the sentOfferChanged event and see if the new state is Accepted.
-
-
Dr. McKay got a reaction from mrxbell in Steamcommunity support IP v6 ?
No. Steam does not support IPv6 at this time.
-
Dr. McKay got a reaction from Demby in Technical-Know-How
1. For authenticating users through Steam's OpenID provider, you can use the attached PHP class. I don't know where it originally came from, but it works well (although it could benefit from being updated to use curl instead of file_get_contents). This particular version of it was edited by me to authenticate the return domain, otherwise you could be vulnerable to spoof attacks. For logging in a bot to Steam, you can use steam-user or steamcommunity. Or if you really want to, you can look at the source of those to see what they do to implement it yourself.
2. It polls however frequently you tell it to. The rate-limit on the API domain is much higher than on the community domain. You can reasonably safely poll every 1-2 seconds, although for sake of being a good citizen, you probably don't want to do that.
SteamSignIn.php
-
Dr. McKay got a reaction from Nacho in Why loadUserInventory doesn't return the market_hash_name?
loadUserInventory is deprecated. Use getUserInventoryContents instead.
-
Dr. McKay got a reaction from Nacho in addTheirItems add all items from a appID
Fetch the inventory for only tradable items, then call addTheirItems with the raw array of items. I believe there is an example in the repo that does exactly this.
-
Dr. McKay got a reaction from TomYoki in Is it possible to cancel outgoing offers?
You'd need to retrieve the TradeOffer object using getOffer or getOffers then call cancel() on that object.
-
Dr. McKay got a reaction from Vanilla in offer.itemsToGive/itemsToReceive.marketable giving wrong result
No, not really. I see in your output that tradable is also false (which obviously cannot be true if it's in a trade offer). You may consider just failing the entire trade and trying again later if any item has that property as false.
-
-
Dr. McKay got a reaction from TomYoki in Error installing node-steamcommunity
The npm name is just steamcommunity.
-
Dr. McKay got a reaction from Revadike in GetOwnedApps & Steam Family Sharing
You really, really shouldn't be getting family shared games. I'll have to look into this when I get a chance.
-
Dr. McKay got a reaction from lad in Logging in anonymously and relogging with an account
No, bot voting is not something I will support.
-
Dr. McKay got a reaction from lad in Logging in anonymously and relogging with an account
You need to call community.setCookies inside of SteamUser's webSession event in order to get steamcommunity to use a login session.
-
Dr. McKay got a reaction from lad in Logging in anonymously and relogging with an account
You need to wait for the disconnected event to know that you're logged off. You can't log back on using the same object until then. My suggestion is to just create a new SteamUser object for each login.
-
Dr. McKay got a reaction from expl0it in get someones friendlist
Yes, use the WebAPI: https://lab.xpaw.me/steam_api_documentation.html#ISteamUser_GetFriendList_v1
-
Dr. McKay got a reaction from Revadike in GetOwnedApps & Steam Family Sharing
Please give 3.21.0 a shot.
-
Dr. McKay got a reaction from Revadike in GetOwnedApps & Steam Family Sharing
Thanks. Looks like there's an expiry time in those packages which is being ignored. Let me take a look at the code.
-
Dr. McKay got a reaction from samki in Globaloffensive - Can't connect to GameCoordinator
Does your account own CS:GO?
-
-
Dr. McKay got a reaction from freaders in Constant RateLimitExceeded
You should make it stop restarting the script a lot of times.