-
Posts
3629 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
My mistake. I've updated those release notes. Get rid of the curly braces inside your SteamUser constructor: new SteamUser(steamclient). If you do it properly, all communication SteamUser does with Steam goes over the proxy.
-
The user event will be emitted anytime someone's persona data changes (e.g. they go online/offline or start/quit a game). Also, at any time the users property contains the current persona data for everyone we know about.
-
It's setHttpProxy, not setHttpSocket.
-
Your IP got temporarily banned, yes. That's what 429 means.
-
https://httpstatuses.com/429 Slow down.
-
Yes, it's printing "Error: Logon failed, Invalid Password or playing in the account." because you're printing that unconditionally when an error occurs.
-
offer.getExchangeDetails(function(err, status, tradeInitTime, receivedItems, sentItems) { console.log("Trade status is " + status + ", init time " + tradeInitTime + ", and we received " + receivedItems.length + " items and sent " + sentItems.length + " items."); });
-
You need to wait for this event: https://github.com/DoctorMcKay/node-steam-user#friendslist Also, the problems I see with your code are that err doesn't exist, and that you're only sending back the friends list if it's falsy (which would never result in sending back the friends list).
-
Question Check if user is online before sending message
Dr. McKay replied to Eanna5's topic in node-steam-user
Is the bot online? -
How to buy what, a bot? Nobody is selling bots here.
-
Doesn't look like TradeOfferManager is defined. In the future, please include any error messages and stack traces.
-
You can't.
-
Question Getting constantly IP blocked if many offers
Dr. McKay replied to mikehawk's topic in node-steam-tradeoffer-manager
Experiment and find out. 2-3 seconds should probably be enough but I'm not positive off the top of my head. -
Question How to try to accept the offer while error 28
Dr. McKay replied to Yumba's topic in node-steam-tradeoffer-manager
It will recheck it automatically to see if its status changed. There's no way to specify that something should happen if its status doesn't change after a certain time; you'll need to handle that yourself. -
Question Could not find confirmation random error
Dr. McKay replied to Mr Game and Watch's topic in node-steam-tradeoffer-manager
No need to regenerate your secret; just stop using the phone. -
Question How to try to accept the offer while error 28
Dr. McKay replied to Yumba's topic in node-steam-tradeoffer-manager
Try again later, and listen for receivedOfferChanged to see if it goes accepted later. -
Question Could not find confirmation random error
Dr. McKay replied to Mr Game and Watch's topic in node-steam-tradeoffer-manager
This code should work if you aren't using two devices, yes. You need to never try to load confirmations on your phone or elsewhere or else there will be problems. Specifically, there's a device ID that's sent to Steam when loading the confirmation list and if Steam sees different device IDs, then it has problems. -
You can use this; it tells you how many items you have for each inventory.
-
Question Could not find confirmation random error
Dr. McKay replied to Mr Game and Watch's topic in node-steam-tradeoffer-manager
Yes, that's a problem. Confirming trades on two separate devices makes them randomly not appear. -
10,000, 1,000, and variable.
-
Question Could not find confirmation random error
Dr. McKay replied to Mr Game and Watch's topic in node-steam-tradeoffer-manager
Are you saying that you have the secret on your mobile device as well, in addition to on the server? -
Bot Does not accept incoming offers.
Dr. McKay replied to Vikas Kapadiya's topic in node-steamcommunity
It doesn't look like you're renewing your web session. You need to call client.webLogOn() when it expires (listen for sessionExpired on your SteamCommunity). It also doesn't hurt to call it periodically, say every hour. -
Bot Does not accept incoming offers.
Dr. McKay replied to Vikas Kapadiya's topic in node-steamcommunity
Are you getting an error when accepting? -
Show your code, please.