Jump to content
McKay Development

Search the Community

Showing results for tags 'node.js'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Releases & Updates
  • Help & Support
    • General
    • Guides
    • node-steam-user
    • node-steamcommunity
    • node-steam-tradeoffer-manager

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Location


Interests

  1. Error: Not Logged In at SteamCommunity.<anonymous> (/node_modules/steam-tradeoffer-manager/lib/classes/TradeOffer.js:486:25) at Request._callback (/node_modules/steamcommunity/components/http.js:67:15) I'm passing a steam community object into my trade offer manager like so var myCommunity = new SteamCommunity(); var client = new SteamUser(); var offerMananger = new TradeOfferManager({ steam: client, language: "en", cancelTime: 300000, community: myCommunity });Sometimes, for whatever reason, as have been stated before, my community session will timeout,
  2. Hey! I am trying to Import the Sentry File of a Real Steam Client running locally. After googling, i found that it is saved in <steamInstallDir>/Steam/ssfn<numbers>. Problem being, i seem to have two of these files locally, both following the name format, just with different Numbers. The content of the files is different, however one of the two is marked as NTFS Hidden. How do i know which of the two files are used by my real Steam client? (Is there any meaning to the Numbers?) I have checked with a friend, they also have the same situation: 2 files, different names,
  3. Hello, I am getting a UnhandledPromiseRejectionWarning: Error: AccountNotFound when trying to Authorize the local SentryFile to get a deviceToken. My code is currently as barebones as it could be. const SteamUser = require("steam-user"); var c = new SteamUser(); c.logOn({ "accountName": "...", "password": "..." }) c.on("loggedOn", (det)=>{ c.setPersona(SteamUser.EPersonaState.Online); c.authorizeLocalSharingDevice("Test-PC").then(res=>{ console.log("token: "+res.deviceToken) }) }) The Online Status successfully updates, however i get a promi
  4. Hey I wanted to create a bot that farms hours on a few games and if I (player) start let's say CS:GO. The bot will give an error: Logged into Steam Boosting our hours on chosen games ... Set state to Snooze // starting CS:GO here { Error: LoggedInElsewhere at SteamUser._handleLogOff (C:\Users\Admin\node_modules\steam-user\components\logon.js:400:11) at SteamUser._handlers.(anonymous function) (C:\Users\Admin\node_modules\steam-user\components\logon.js:380:7) at SteamUser._handleMessage (C:\Users\Admin\node_modules\steam-user\components\messages.js:235:30) at emitThree (event
  5. Is there some clever way to get a list of packageid's, that contain a certain appid, without building an entire database of existing packages? I don't want to scrape steamdb.info either.
  6. Hello i have authorized node js bot and Steam Web API of my 2nd account, i'm looking for the way to send trade offers to this 2nd account without it's token is there any possible way to do this? I was thinking about sending friend request first and tried this POST request to Steam Web Api but it's seem not working https://api.steampowered.com/IPlayerService/AddFriend/v1/?key=2ND_ACC_API&steamid=BOT_ID
  7. Hello. When i Tried to leave comment i get error Error: The settings on this account do not allow you to add comments. My code let SteamUser = require("steam-user"), SteamCommunity = require("steamcommunity"), SteamID = require('steamid'), CONFIG = require('./config.js'), SteamTotp = require("steam-totp") let client = new SteamUser(); let community = new SteamCommunity(); let banshee = '765611979625767xxx'; let steamID = new SteamID(banshee); community.getSteamUser(steamID, function(ERR, USER) { if (ERR) { console.log("## An error occurred while getting
  8. How do I get the direct detection of the bot when I change the content of the /message file. I do not want to close and open the bot and enter the guard code.
  9. How to comment on the drawing showcase and screenshot and how do I like it?
  10. //Logging ON client.logOn(logOnOptions); client.on('loggedOn', function (details) { if (details.eresult == SteamUser.EResult.OK) { client.getPersonas([client.steamID], function (personas) { console.log("== Logged in =============") console.log('== Name: ' + personas[client.steamID]["player_name"]); console.log('== ID64: ' + client.steamID); console.log("=========================="); console.log(""); }); client.setPersona(5); //"5": "LookingToTrade" -- https://github.com/DoctorMcKay/node-steam-user/blob/master/enums/EPersonaState.js client.gamesPlayed('Accepting Junk
  11. Hello! I've been trying to log in with loginkey but it always says InvalidPassword. My code works like this: 1. Download steamusername and loginkey from database. 2. Check if they are not null. 3. a) If they are not null, log in with them. 3. b) If they are null, ask for password. Every time the 'loginkey' event gets called, I save the loginkey to the database. Logging in with the password works, but when I try to log in with the loginkey from the database, I get the error InvalidPassword. What am I doing wrong? My c
  12. Hello, when someone sends a trading offer to the boat. Unknown Command sends message How can I exclude this
  13. i have windows and i test it and runs all ok but when i want to use centos 7 to run it on my server it does not work!! steam-user client.logOn does not give me error and do nothing it is so weird i have tried it into 4 different linux servers still the same what do you think the problem is? my code : const SteamUser = require('steam-user'); var client = new SteamUser(); client.logOn({ accountName: 'test', password: 'tes',}) client.on('loggedOn', () => { console.log('logged on'); }); client.on('error', (err) => { console.log(err); });
  14. I have several questions that I have been looking for an answer for a long time. Some of my questions are more for a node js, sorry for that. And thanks in advance for your help! 1: If I need to decline/delete incoming offers that were not accepted in 10 minutes, would this be the right? Maybe there are any cases, why can it be a bad option? manager.on("newOffer", (OFFER) => { setTimeout(function() { OFFER.decline(); }, $MINUTE * 10); 2: I have to save completed trades. If not - sometimes some of them work 2-3 times. Why? // "pollInterval": "10000", // "dataDirectory": "./po
  15. Hi, when i using method community.editProfile - it remove my background if it exist
  16. Is there a way to fetch certain data like the Steam Profile Name and Steam Avatar, if the Profile is Public, Steam Level, Ability to Invite Friends etc. and fetch it from Steam via Steam-User or is that something I would have to do without Steam-User via Steam Web API?
  17. Hi, How can I find out that a friend has blocked me? client.myFriends[user_id] = 3 , but on account who blocked this value = 6
  18. Sometimes pollFailure event is emitted and gives the error below. { Error: socket hang up at createHangUpError (_http_client.js:323:15) at TLSSocket.socketOnEnd (_http_client.js:426:23) at TLSSocket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) code: 'ECONNRESET' } My script is running on AWS. So there shouldn't be any issues with the network.
  19. Hey, i read all post at this forum about this issue. https://dev.doctormckay.com/topic/2128-error-when-using-loginkey/?hl=loginkey https://dev.doctormckay.com/topic/1896-loginkey-throw-error-invalidpassword/?hl=loginkey https://dev.doctormckay.com/topic/2120-using-loginkey-gives-error-invalidpassword/?hl=loginkey https://dev.doctormckay.com/topic/2264-what-data-must-be-stored-for-reauthorization/?hl=loginkey&do=findComment&comment=7443 I can't login with loginKey on my VDS based on Linux. I am updating loginKey every time when receive new one from Steam. All working fine at my local
  20. Hi guys! I have just started using the npm module steam-user and noticed that a simply `import steamUser from 'steam-user';` would take about 3GB of memory. Is that totally normal? I should note that I am using steam-user in a svelte project.
  21. Hello, I'm using this code to keep me logged (to avoid session expired) setInterval(function() { if (client.steamID) { client.webLogOn(); } else { client.logOn(account); } }, 1800000); but sometimes I'm getting crash with LogonSessionReplaced, should I use relog() instead?
  22. Hello, i have a problem with multiple TradeOfferManagers, in this example the first console.log returns a name for a different account then the second console.log. How is this possible? let offer = managers[x].createOffer(new SteamID(steamId), token); offer.getUserDetails((err, me, them) => { console.log(me.personaName); console.log(managers[x].steamID.getSteamID64());
  23. Hello, I apologize for the longwinded questions, I'm new to Steam trading and would like to learn more about building trade bots. Using multiple trade bots at once is a pretty common usage scenario of node-steam-user and node-steam-trade-offer-manager but I haven't found many guides or examples that go into finer detail on this. I have a fuzzy idea of how to do it but I would like some validation/clarification to see if I'm heading in the right direction. If I have many available bot accounts, say 20 bots, and I start them all up at once, I'm sure I would run into steam's rate limiting per
  24. First of all, thanks for writing and maintaining this library ! I'm trying to pull more than 5k servers from `getServerList()`. I don't see any options to paginate (don't think Steam supports it). Any idea how this could be achieved ? Thanks
×
×
  • Create New...