Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3589
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Dr. McKay got a reaction from TheMaster in Timeout and code breaks   
    If log on succeeds, you get a loggedOn event. Check the example scripts in the GitHub repo.
  2. Thanks
    Dr. McKay got a reaction from TheMaster in Timeout and code breaks   
    You'd want to call logOn for any error event, likely after a delay.
  3. Thanks
    Dr. McKay got a reaction from TheMaster in Timeout and code breaks   
    Catch the error event to prevent the crash, and call logOn again to kick off trying to connect.
  4. Thanks
    Dr. McKay got a reaction from lame in Is there a way to edit steam profile showcases?   
    Not at the moment.
  5. Like
    Dr. McKay got a reaction from TheMaster in Timeout and code breaks   
    It's not mentioned in the documentation, but you only get an eresult in the error event if a Steam connection can actually be established. If you don't have an eresult proeprty, you can assume there was a network issue.
    Only you can properly decide the best course of action for your app, but if your network is down then yeah, probably all you can do is wait and retry until the network comes up.
  6. Thanks
    Dr. McKay got a reaction from mqwerty in BeginAuthSessionViaCredentials   
    https://steamerrors.com/5
  7. Like
    Dr. McKay got a reaction from botan in CSGO Game Coordinator Message Analisis Tool Request   
    You can use NetHook2 for this.
  8. Like
    Dr. McKay got a reaction from dangercoder in [Custom storage] Prevent steam-trade-offer-manager to read/write from file system   
    If you're using a custom storage engine, don't change the value of the dataDirectory option. If you set it to null, the storage property isn't initialized so you get that error attempting to read 'on' of undefined.
    steam-tradeoffer-manager uses the same storage scheme as steam-user, but they don't share the same instance. You need to register your save and read events on your TradeOfferManager instance the same way you registered them on your SteamUser instance.
  9. Like
    Dr. McKay got a reaction from Coldblackice in Access tokens and refreshtoken lifetime   
    Decode the JWT and check the exp parameter, but be aware that tokens can be invalidated server-side at Valve's discretion, and nobody's sure exactly what makes that happen besides IP changes.
  10. Like
    Dr. McKay got a reaction from Coldblackice in Steam updated their login flow   
    This is a known issue, see: https://github.com/DoctorMcKay/node-steamcommunity/issues/321
    community.login isn't going to work until I can finish the v4 rewrite. Until then, you can either use steam-session or steam-user to get login cookies for use with steamcommunity.
  11. Like
    Dr. McKay got a reaction from AshIgorash in TypeScipt error   
    TypeScript definitions for steam-tradeoffer-manager aren't maintained by me, so I can't really help you specifically. That said, you can probably suppress the error using (EResult.Revoked as number)
  12. Thanks
    Dr. McKay got a reaction from wxz123 in ClientMicroTxnAuthRequest (5504)   
    Don't do it that way, that's a very bad idea. Write the entire 64-bit number to the buffer.
  13. Thanks
    Dr. McKay got a reaction from VolvoEngineering in Inspect link grpc params   
    Are you sure? This shouldn't be possible. Steam caches classid+instanceid pairs indefinitely. The description data should never change.
    Not really, my best guess is that D just stands for "data". It very likely is a hash to prevent scraping.
    It's been my experience that any [SM], A, D triplet will work forever to fetch item data.
  14. Like
    Dr. McKay got a reaction from pedroflores in Exchange only with APIKEY and TradeLink   
    Can't be done.
  15. Like
    Dr. McKay got a reaction from sanchoys in I get an error when using the method getInviteLinkInfo()   
    Fixed in 5.0.10
  16. Like
    Dr. McKay reacted to Valvoja in Sentry file replacement   
    Nevermind, login is done by using refresh token instead of access token lol.
  17. Like
    Dr. McKay got a reaction from vmarkis in Error: "Already attempting to log on, cannot log on again" not being caught   
    The "Already attempting to log on, cannot log on again" error cannot be caught under any circumstances. If you need to, keep track in your own code if you're already attempting to log on.
  18. Thanks
    Dr. McKay got a reaction from m1k0l4ji3 in Chrome extensions support (manifest.json v3)   
    steam-session is a Node.js module, not a browser module.
  19. Thanks
    Dr. McKay got a reaction from VolvoEngineering in Cant get all trades from GetTradeHistory   
    GetTradeHistory does appear to accept an access token to retrieve all trades.
  20. Thanks
    Dr. McKay got a reaction from forum_win in CS sendToGC Not Getting Reply   
    You need to report that you're in CS2 by calling user.gamesPlayed(730), then complete the GC handshaking process before sending any other GC messages. For CS, this is sending ClientHello (4006) with the proper version number and waiting for ClientWelcome (4004) in response.
    You can check node-globaloffensive for reference.
  21. Thanks
    Dr. McKay got a reaction from AshIgorash in Offer state event questions   
    I don't believe I've ever seen this happen.
  22. Like
    Dr. McKay got a reaction from nickmura aka bobby in CEconItem.actions[] link is unusable ?   
    You need to provide the asset owner's SteamID as well. The linked repository only indicates that S is optional because you need either S or M (M is used for market listings).
  23. Like
    Dr. McKay got a reaction from xeroz333 in steam web api not return new offers (cs2 item)   
    Not that I'm aware of. I've heard, but not personally confirmed, that if you use an access token you still receive CS2 offers as normal.
  24. Like
    Dr. McKay got a reaction from kast0l in Error: No API-Key set (yet)   
    You need to call setCookies on the TradeOfferManager instance, not on the SteamCommunity instance. TradeOfferManager's setCookies also retrieves your account's API key.
  25. Like
    Dr. McKay got a reaction from AshIgorash in Storing active trades   
    You'll be fine if you store this in your database.
×
×
  • Create New...