-
Posts
3591 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Yeah, just use the GetFriendList WebAPI method.
-
Getting error in retrieving inventory after some time
Dr. McKay replied to What Comes Around's topic in General
Can you verify the sessionExpired event is actually getting emitted? It can only get emitted if the module can verify with certainty that your session isn't valid anymore; getting a private inventory response isn't sufficient verification. -
Not really. In theory, the code to support this could be written, but I don't see what useful purpose it would serve. And you wouldn't be able to report as a VAC-secured server.
-
About all you could do is repeatedly send the MOTD message, but that would presumably make the page reload every time.
-
You would need to root/jailbreak.
-
Adding 1 Gem In Trade Offer ?
Dr. McKay replied to SENPAY98K's topic in node-steam-tradeoffer-manager
You need to filter the inventory to find the "Gems" item, and set its amount property to 1. -
Feature Request: grab an appinfo from changes
Dr. McKay replied to minecraftitsover100's topic in General
You can't get old appinfo. -
Feature Request: grab an appinfo from changes
Dr. McKay replied to minecraftitsover100's topic in General
Still need some more details. -
How do you login to an authenticated user?
Dr. McKay replied to minecraftitsover100's topic in node-steam-user
Seeing some code would help. -
Yeah, that would work. You shouldn't need to worry about security as long as the bot's web server is only listening on localhost.
-
Feature Request: grab an appinfo from changes
Dr. McKay replied to minecraftitsover100's topic in General
Going to have to ask for more explanation. -
Created an issue for this: Steam awards · Issue #271 · DoctorMcKay/node-steamcommunity (github.com)
-
For the most part, if you just call webLogOn every 30 minutes, you should be fine.
-
There are a few different criteria that are checked when determining if an error warrants emitting the sessionExpired event. As a general rule, it gets emitted if a page redirects to /login. Valve being Valve, they're incredibly inconsistent as to how they communicate that you aren't logged in. The request for getting notifications returns 401, which isn't one of the criteria that emits sessionExpired. It probably should be, but I'll have to check to see if there are any other edge cases that might arise by adding 401 responses as an indicator to emit sessionExpired.
-
Be aware that if you're upgrading from v3 to v4, you need to check to make sure your code is compatible with the breaking changes in v4: Release v4.0.0 · DoctorMcKay/node-steam-user (github.com)
-
I need to know what version of steam-user.
-
What versions of node and the module are you using?
-
Getting the ID of the account im currently logged in with
Dr. McKay replied to Tayhayy's topic in node-steamcommunity
My mistake, I didn't pay close enough attention to your callback. The first argument to the callback function needs to be err; the second is user. -
I don't see you ever calling setCookies on your community instance. And if you are, you have to call postGroupComment after that, not before.
-
The easiest way I've found is to set up an HTTP server in your bot and call it using HTTP on localhost.
-
Getting the ID of the account im currently logged in with
Dr. McKay replied to Tayhayy's topic in node-steamcommunity
Get rid of the object. You should just be doing this: account1.getSteamUser(account1.steamID, function (user) { -
Getting the ID of the account im currently logged in with
Dr. McKay replied to Tayhayy's topic in node-steamcommunity
You want your ID or your custom url? Those are two different things. Your SteamID is available as account.steamID. To get your custom URL, you should call getSteamUser() on your own steamID and check the custom URL in the returned object. -
How do you login to an authenticated user?
Dr. McKay replied to minecraftitsover100's topic in node-steam-user
That doesn't mean anything. All that's referring to is the fact that the function where the error was created is an anonymous function. -
How to know how long ago a friendship was established
Dr. McKay replied to venfiw's topic in node-steam-user
I don't believe that data is available through steam-user, but you could get it from the GetFriendList WebAPI method.