-
Posts
3631 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
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.
-
Suggestion Default Language in the Constructor
Dr. McKay replied to Igor Dot Ninja's topic in node-steam-tradeoffer-manager
It's intentional. If you want names and such, you need to set a language. If you don't need them, don't set it. Not setting a language saves resources and memory as information for the given language needs to be downloaded from Steam separately and cached in memory. -
Question How To Integrated Nodejs and PHP
Dr. McKay replied to maraya's topic in node-steam-tradeoffer-manager
If you need to execute the script from php, you can use exec or shell_exec If you need to call into a running script from php, you could set up an HTTP server in node and call it with curl in php. -
Question how to get assetid after accept offer
Dr. McKay replied to pipskas's topic in node-steam-tradeoffer-manager
https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getreceiveditemsgetactions-callback -
I don't believe there's any way to extract it from a phone at this time, no.
-
Please elaborate? It's in the response to enableTwoFactor, but I doubt that's what you're asking.
-
I don't know, I'm not really responsible for (or privy to) any financial stuff.
-
https://steamerrors.com/28 If the offer isn't actually accepted, then Steam is just being cranky and you can't do anything except wait.
-
You should have to pay Steam Analyst for use of their API.
-
That means "no buffer space available". Perhaps you're out of memory, or you've opened too many files or sockets?
-
Don't use the confirmation checker and instead just use acceptConfirmationForObject as needed.
-
https://www.npmjs.com/package/steamid var SteamID = require('steamid'); var steamid3 = (new SteamID(steamid64)).steam3(); If you want the accountID and not the Steam3 rendered format as your title implies ([u:1:46143802]) then you just want to do: var SteamID = require('steamid'); var accountID = (new SteamID(steamid64)).accountid;
-
Most elegant way of accepting an offer
Dr. McKay replied to mar71n's topic in node-steam-tradeoffer-manager
That will send accept requests to Steam literally as quickly as possible, forever. So no, that won't work. Offer properties don't automatically get updated. You need to request the offer's new status from Steam if you want to know the current data. You also want to add some delays so you don't spam Steam and get banned. -
Logging in with a Steam account is very unlikely to change anything.
-
Wait longer.
-
https://steamerrors.com/84
-
It's indeed inside valueBytes. Wear is attribute 8, and I believe paintindex is attribute 7 (it might be 6 so check that one if 7 doesn't give you the expected result). Loop the attributes array till you find the attribute with the expected defindex, then call valueBytes.readFloat() to get the value as a float.
-
Question node-steam-user (not firing webSession)
Dr. McKay replied to Chipotle's topic in node-steam-user
Are you logging into an individual user? Add this to the loggedOn callback: console.log(client.steamID.getSteam3RenderedID()); -
Script gets stuck after some time
Dr. McKay replied to mar71n's topic in node-steam-tradeoffer-manager
Your session is probably expiring. You should call webLogOn every hour or so to refresh it, and also when sessionExpired is emitted on the SteamCommunity instance. -
Question How to get your own name in console (and other users (optional))
Dr. McKay replied to MrKirby's topic in node-steam-user
Far more people need to do this... -
Script gets stuck after some time
Dr. McKay replied to mar71n's topic in node-steam-tradeoffer-manager
if (itemsToGive.length >0) {} }else{This looks like a syntax error to me. -
You shouldn't need to. Try to send the trade. If your session has expired, relog and then send it again.
-
That means that your session has expired, and you need to login again.
-
Don't do it that way, that's a very bad idea. Write the entire 64-bit number to the buffer.