Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3575
  • Joined

  • Last visited

Everything posted by Dr. McKay

  1. Did you run npm install steam-user?
  2. You'd need to either call setTimeout everywhere you call client.chatMessage, or create your own function that calls client.chatMessage after a delay and replace all calls to client.chatMessage with your new function.
  3. I do intend to add (well, accept the pull request for) first-class support for item containers, I just haven't gotten around to it at the moment.
  4. 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');
  5. Polling uses the WebAPI, so an API key is required.
  6. 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.
  7. 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.
  8. What's the value of your ownerID?
  9. Show your code.
  10. Yes, that's what the code I posted is for. Yes, yes, yes.
  11. 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' });
  12. 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.
  13. 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.
  14. I suppose before you overwrite the variable, you could try deleting the backpack property.
  15. 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.
  16. 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.
  17. 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);
  18. 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.
  19. https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#sessionexpired
  20. Your callback function to requestFreeLicense is completely missing the entire function body.
  21. I guess you should confirm your email.
  22. I've not published any code to automate registering new accounts, and that's intentional.
  23. Nope, I'm not doing any trading. If you come across an impostor, be sure to report their profile.
×
×
  • Create New...