Jump to content
McKay Development

All Activity

This stream auto-updates     

  1. Yesterday
  2. So there was a link to a Steamgroup in the chatMessage, that I censored, that caused that the message wasn't send.
  3. Last week
  4. Tried it with user.chatMessage(`${row.SteamID64}`, "You are getting kicked, because you are not in one of our groups anymore"); setTimeout(() => user.removeFriend(`${row.SteamID64}`), 5000); But I'm still getting kicked before I receive the message
  5. By sleeping synchronously, you're preventing the module from actually sending the message over the network. You should almost never sleep synchronously in JavaScript. You're looking for the setTimeout function.
  6. I want to kick every user that is not in one of my groups. therefore I added a sleep inbetween the chatMessage and the removeFriend. Both are working, but not simultaneously. The user is getting kicked without the message being sent. function sleep(milliseconds) { var start = new Date().getTime(); for (var i = 0; i < 1e7; i++) { if ((new Date().getTime() - start) > milliseconds){ break; } } } user.chatMessage(`${row.SteamID64}`, "You are getting kicked, because you are not in one of our groups anymore"); sleep(5000); user.removeFriend(`${row.SteamID64}`);
  7. 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.
  8. Hello, fist, I wish have a nice day to all here. So, my question is, its still possible post a post into grou, where is bot admin/moderator? I tried use this script i edited the webssion to webSession, script not give any error, all seems work, but post isnt sended. Can somebody tell me if this script si still working? Thank you so much and have a nice day
  9. Hi, I want my bot(steam node) to change his Email/Password. I didn't find any good examples/explenations in the internet. Does anyone know how to change it? I heard sth about: "this.client.changeEmail({password: "example!", newEmail: "[email protected]"});" but i got the following error code: "Cannot read property 'changeEmail' of undefined" I hope someone can help me! Thanks
  10. Earlier
  11. I saw the reddit post about this but I tried last time and got a 7 days trade ban, thanks for your answer anyway
  12. You can't import secrets into the official Steam app at all. You'd be subject to the hold, although I think if you uninstall the authenticator then re-enable it directly from the app without first disabling it, then you only get hit with 3 days of hold. I think.
  13. If I uninstall the authentificator from my phone, will I be able to reinstall it and import the data back without having the 7 days trade hold?
  14. same problem. but nobody wants to find a solution to this problem! we have almost the same codes.
  15. Just [offer.partner]. You need to either pass a SteamID object or a string that can parse into one. Passing just an accountid won't work.
  16. Hi, i'm currently trying to make a simple donation bot, and wan't to use Client.getPersonas() to get their usernames. Currently it seems as though the program is skipping over the function. It doesn't return an error, but it also doesn't do anything, and anything in the callback isn't run. I would love some help. This is my code: console.log(offer.partner.accountid); console.log(toReceive); client.getPersonas([offer.partner.accountid], (err, personas) => { if (err){ console.log(err); } console.log(offer.partner.accountid.getSteamID64()); console.log(personas); var partnerPersona = personas[offer.partner.accountid.getSteamID64()]; var partnerName = partnerPersona ? partnerPersona.player_name : ("[" + offer.partner.accountid.getSteamID64() + "]"); console.log(partnerPersona); // the player's name is now available as name return bot.channels.get(process.env.DEFAULT).send(`Thank you ${partnerName} for donating ${toReceive}!`); }); console.log("afterwards"); I see the first to console.logs in the console, as well as the last one, but nothing on the inside.
  17. I have txt/json file with proxy list, i need get random address and put in new class instance? Maybe there are some services for this? this.community = new SteamCommunity({"request": request.({"proxy": randomproxy })})
  18. If you wish to use websockets, socket.io-client allows you to connect to another http server that's using socket.io. const io = require('socket.io-client'); const socket = io.connect('localhost:8080', { reconnect: true }); socket.on('connect', (socket) => { console.log('Connected to server!'); }); I hope this helps!
  19. When using web sockets I'm assuming I should connect multiple sockets across servers and not http requests, right?
  20. I suppose theoretically it would be possible if you used a bot to get some new cookies for steamcommunity.com, then requested steamcommunity.com/chat with those cookies and proxied the response back to the browser.
  21. any help , idea on how this can be accomplished would be greatly appreciated from my understanding the bots are sending http requests back and forth and are identified by the steam server so it should be possible for them to also render part of steamcommunity website on your domain it would be like each of them are a browser... but i'm still quite a beginner in web-dev so my understanding can be wrong...
  22. hello i was wondering is it possible to access steamcommunity.com/chat tab of each bot on specific routes on my server for instance if there's a bot called johndoe i would be able to use the steam web chat of that bot and chat with people directly on my domain and on this route: johndoe.example.com/chat
  23. Hello after sending 1 trade offer it's time to send second one back but getting this error. what does it means? C:\node-steam-trade-farm-master>node bot Main Client Logged In! Bot Client Logged In! The item in which we are using is a/an blue tshirt Trade offered. Counter is at : 0 Trade #1 Second Account found an Offer! Second Account, has accepted trade. Now sending it back. C:\node-steam-trade-farm-master\node_modules\steam-tradeoffer-manager\lib\classe s\TradeOffer.js:254 if (typeof details.appid === 'undefined' || typeof details.contextid === 'undefined' || (typeof details.assetid === 'undefined' && typeof details.id === 'undefined')) { ^ TypeError: Cannot read property 'appid' of undefined at addItem (C:\node-steam-trade-farm-master\node_modules\steam-tradeoffer-ma nager\lib\classes\TradeOffer.js:254:20) at TradeOffer.addMyItem (C:\node-steam-trade-farm-master\node_modules\steam- tradeoffer-manager\lib\classes\TradeOffer.js:167:9) at botManager.getInventoryContents (C:\node-steam-trade-farm-master\bot.js:1 84:25) at SteamCommunity.<anonymous> (C:\node-steam-trade-farm-master\node_modules\ steamcommunity\components\users.js:464:5) at Request._callback (C:\node-steam-trade-farm-master\node_modules\steamcomm unity\components\http.js:67:15) at Request.self.callback (C:\node-steam-trade-farm-master\node_modules\reque st\request.js:185:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (C:\node-steam-trade-farm-master\node_modules\request \request.js:1161:10) at emitOne (events.js:96:13)
  24. Added check to make sure that provided options are of the expected type If an option of an unexpected type is passed, you will get a warning in stderr and it will be reset to its default value Although not recommended, you can still pass numbers as strings and things will work as expected with no warnings Fixed deprecated call to fs.truncate with a file descriptor (thanks @Dahlgren in PR #272) Fixed rare crash caused by an unusual message sent from Steam (issue #283) View on GitHub
  25. That looks like a bug in the module that's triggered by some weird, rare message from Steam. I'll fix it in the next update. https://github.com/DoctorMcKay/node-steam-user/issues/283
  26. as i said before in my post everything is correct in my script from that versions. we are friends, trade url is valid on both accounts, accounts don't have vac or trade ban or trade cooldown, there is enough space for items to trade
  27. I dont even use steamcommunity library so I have no idea what you mean lol
  1. Load more activity
×
×
  • Create New...