Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3394
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Dr. McKay got a reaction from Nacho in itemsReceived   
    getExchangeDetails.
  2. Like
    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).
  3. Like
    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.
  4. Like
    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.
  5. Like
    Dr. McKay got a reaction from pekinese in chatMessage() newLine   
    \n
  6. Like
    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.
  7. Like
    Dr. McKay got a reaction from Attacler in How to createOffer properly?   
    https://steamerrors.com/26
  8. Like
    Dr. McKay got a reaction from mrxbell in Steamcommunity support IP v6 ?   
    No. Steam does not support IPv6 at this time.
  9. Like
    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
  10. Like
    Dr. McKay got a reaction from Nacho in Why loadUserInventory doesn't return the market_hash_name?   
    loadUserInventory is deprecated. Use getUserInventoryContents instead.
  11. Like
    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.
  12. Like
    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.
  13. Like
    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.
  14. Like
    Dr. McKay got a reaction from samki in fastest way sentOfferChanged to be fired?   
    Per-IP.
  15. Like
    Dr. McKay got a reaction from TomYoki in Error installing node-steamcommunity   
    The npm name is just steamcommunity.
  16. Like
    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.
  17. Like
    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.
  18. Like
    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.
  19. Like
    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.
  20. Like
    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
  21. Like
    Dr. McKay got a reaction from Revadike in GetOwnedApps & Steam Family Sharing   
    Please give 3.21.0 a shot.
  22. Like
    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.
  23. Like
    Dr. McKay got a reaction from samki in Globaloffensive - Can't connect to GameCoordinator   
    Does your account own CS:GO?
  24. Like
    Dr. McKay got a reaction from DevDuck in Debug   
    Do this instead:
    community.setCookies(["steamLogin=1||invalid", "steamLoginSecure=1||invalid"]);
  25. Like
    Dr. McKay got a reaction from freaders in Constant RateLimitExceeded   
    You should make it stop restarting the script a lot of times.
×
×
  • Create New...