-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
The settings on that account do not allow you to add comments.
-
There is no guarantee that if an assetid changes, it won't change to an assetid that has been previously assigned to an item. They are only guaranteed unique at one point in time. That said, for Valve games, when an assetid changes it will only increase and will never be an ID previously assigned.
-
It's in the cookies array, which contains strings of format name=value.
-
Why do you need the value of that cookie? Why are you logging in twice? Don't do that. The fifth argument to the callback of login is oAuthToken, not YourCookieValue. Use that instead of calling getWebApiOauthToken just after logging in.
-
user.steamID
-
community.steamID
-
How to receive offers while the bot was offline
Dr. McKay replied to HeilShuckle's topic in node-steam-tradeoffer-manager
The events will be emitted once you start up. -
It does.
-
Steam Guard still prompts despite totp sometimes
Dr. McKay replied to Demby's topic in node-steam-user
You can provide a custom time offset to steam-totp when generating the code. Current time + 30 should work.- 4 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
Steam Guard still prompts despite totp sometimes
Dr. McKay replied to Demby's topic in node-steam-user
You're trying to reuse a code, which doesn't work.- 4 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
Argument 3 is tradeInitTime
-
Question offer.getUserDetails() question
Dr. McKay replied to Blue's topic in node-steam-tradeoffer-manager
Just Steam doing Steam things. You need to try again later.- 1 reply
-
- node.js
- node-steam-tradeoffer-manager
-
(and 2 more)
Tagged with:
-
Surely there is more code in your application than just that snippet. Also, provide the entire output please.
-
offer.cancel()
- 2 replies
-
- node.js
- node-steam-tradeoffer-manager
-
(and 1 more)
Tagged with:
-
Question Accepting and resending offer
Dr. McKay replied to xzan's topic in node-steam-tradeoffer-manager
That crash is because you're trying to pass undefined to addMyItem. -
Please show your full code.
-
The way you've used it looks correct to me (although you probably want to console.log that err). I'd need to see more (like more of the error).
-
No, there is no error handling or timeout built into the module; you will need to handle that on your own. The async module may help you, specifically async.queue.
-
This may help you: https://dev.doctormckay.com/topic/365-cookies/
-
Question Accepting and resending offer
Dr. McKay replied to xzan's topic in node-steam-tradeoffer-manager
A few things: Colors are only useful in console.log output. You cannot and should not use them in offer messages. You should not be using the confirmation checker. I suspect you're being rate-limited because you're using it twice with a relatively low poll interval. Instead, use community.acceptConfirmationForObject as needed (in the callback to offer.accept(); check the status). It is not safe to start sending an offer until the callback to manager.setCookies fires. -
If that's supposed to be an error, you've cut off most of the useful part of it.
-
Read the docs; set a language in the constructor.
-
getExchangeDetails.