-
Posts
3545 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
I have no idea if this will work, but you might try: const Language = require('globaloffensive/language.js'); const Protos = require('globaloffensive/protobufs/generated/_load.js'); If that doesn't work, this should (provided you've installed the module in the current directory): const Language = require('./node_modules/globaloffensive/language.js'); const Protos = require('./node_modules/globaloffensive/protobufs/generated/_load.js');
-
Unable to get polling to work
Dr. McKay replied to troffaholic's topic in node-steam-tradeoffer-manager
Polling uses the WebAPI, so an API key is required. -
Unable to get polling to work
Dr. McKay replied to troffaholic's topic in node-steam-tradeoffer-manager
Try adding a callback to this.manager.setCookies and see if you're getting an error there. If you aren't, add this.manager.on('debug', console.log) and paste whatever output you get. -
That doesn't really make a lot of sense. You're sending an array of asset IDs? There's no way to just figure out which app a given asset ID belongs to. You'd need to also send the appid.
-
Error: Access Denied with sendFriendMessage method
Dr. McKay replied to Siple's topic in node-steam-user
What's the value of your ownerID? -
Yes, that's what the code I posted is for. Yes, yes, yes.
-
You don't need to log into the client to send or receive trade offers, no. You can use a proxy like: const SteamUser = require('steam-user'); let user = new SteamUser({ httpProxy: 'http://user:[email protected]:5678' });
-
About the only difference Steam would notice is a desktop browser user-agent instead of the app's user-agent. But I've been doing this for years and it's been fine for me.
-
Using two different apps for 2FA tends to cause problems, so I don't recommend it. Uninstalling the Steam app from your phone will probably fix your WinAuth issues. There's no reason you couldn't use my libraries to write your own auto-confirm script thing, although I don't recommend it. My personal setup is a Steam Two-Factor Server with the complementary user script. With this setup, whenever I send or accept a trade offer, the browser window just automatically goes to the confirmations page where I can confirm the trade. Though on a phone, I think you'd have to use Firefox and install Tampermonkey to get it to work.
-
Get steamid from partnerid in tradeofferurl
Dr. McKay replied to What Comes Around's topic in node-steam-tradeoffer-manager
https://www.npmjs.com/package/steamid -
node-tf2 backpackLoaded Doesn't Get Triggered After Killing 440
Dr. McKay replied to sergun's topic in node-steam-user
I suppose before you overwrite the variable, you could try deleting the backpack property. -
node-tf2 backpackLoaded Doesn't Get Triggered After Killing 440
Dr. McKay replied to sergun's topic in node-steam-user
I'm sorry, I don't think I can really help you much more with this. I haven't seriously touched any GC-related code in a good while, and the most I could do is experiment, which it seems is what you're doing anyway. -
node-tf2 backpackLoaded Doesn't Get Triggered After Killing 440
Dr. McKay replied to sergun's topic in node-steam-user
I don't see any reason why you couldn't try to craft without having received your backpack contents, assuming you are connected to the GC. -
Get steamid from partnerid in tradeofferurl
Dr. McKay replied to What Comes Around's topic in node-steam-tradeoffer-manager
const SteamID = require('steamid'); const URL = require('url'); let link = 'https://steamcommunity.com/tradeoffer/new/?partner=46143802&token=aaaaaaaa'; let steamid = SteamID.fromIndividualAccountID(URL.parse(link, true).query.partner); -
node-tf2 backpackLoaded Doesn't Get Triggered After Killing 440
Dr. McKay replied to sergun's topic in node-steam-user
GCs don't really tend to like it when you launch and quit the game frequently. If you don't want to stay in TF2 all the time, you're probably better off getting your inventory from steamcommunity or steam-tradeoffer-manager rather than node-tf2. -
https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#sessionexpired
-
Doesn't work for me (client.requestFreeLicense)
Dr. McKay replied to Suxhe's topic in node-steam-user
Your callback function to requestFreeLicense is completely missing the entire function body. -
I guess you should confirm your email.
-
I've not published any code to automate registering new accounts, and that's intentional.
-
Nope, I'm not doing any trading. If you come across an impostor, be sure to report their profile.
-
Get game information from the steam '/store' command
Dr. McKay replied to Midmines's topic in node-steamcommunity
This is the URL that the client is requesting to get that data: https://store.steampowered.com/api/appdetails?appids=359550&cc=US&language=english&filters=basic,price_overview,developers,screenshots,movies,release_date,content_descriptors&client=true -
It's no longer possible to change your email or password via the Steam client. It must be done via the help site, and there isn't any module that can do this for you, to my knowledge.