-
Posts
73 -
Joined
-
Last visited
Everything posted by Vanilla
-
Using editProfile-Function kicks out other settings of my profile
Vanilla replied to mar71n's topic in node-steamcommunity
Yep, nothing changed. I simply ignore that function because it keep removing my showcases -
client.on("friendMessage", (steamid, message) => { if (message === "test") { client.getSteamLevels([steamid], function(results) { if (results[steamid] > 5) { client.chatMessage(steamid, "u have +5 lvl."); console.log("done"); } }); } });
-
Try using steamcommunity getSteamUser, and check their privacyState https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#getsteamuserid-callback Maybe also possible using getPersona, but I don't know anything about it https://github.com/DoctorMcKay/node-steam-user#getpersonassteamids-callback
-
manager.getOffer : https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#getofferid-callback manager.getOffers : https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#getoffersfilterhistoricalcutoff-callback newOffer (event) : https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#newoffer
- 3 replies
-
- node.js
- steam-totp
-
(and 3 more)
Tagged with:
-
Question Asking for steam guard code after few hours working
Vanilla replied to Igaresha's topic in node-steam-tradeoffer-manager
Correct me if I'm wrong, but isn't it should supposed to be like this? community.on('sessionExpired', function(err) { if (err) { console.log('sessionExpired: '+err); client.webLogOn(); } community.stopConfirmationChecker(); }); Also, another way to bypass Steam Guard Code is using loginKey -
Not possible, your account still marked as "limited" which prevent you to do trades https://support.steampowered.com/kb_article.php?ref=3330-IAGK-7663
-
Try with getOffers instead https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#getoffersfilterhistoricalcutoff-callback
-
You can't, but you can try to refresh the session every X minutes (like refresh the bot session every 30 mins) Or just make a error handling code in steamcommunity's sessionExpired this might helps.
-
client.on('webSession', function(sessionID, cookies) { steamcommunity.setCookies(cookies); }); steamcommunity.on("sessionExpired", function(err) { if (err) { client.webLogOn(); } });
- 4 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
trade offer with null id?
Vanilla replied to Mr Game and Watch's topic in node-steam-tradeoffer-manager
Nope, never happened to me. If incoming trade offer didn't match with my "rules", my bot successfully counter the trade. The code above is pretty much how I counter the incoming trade offer. Oh by the way, I'm using newOffer event to get incomming trade offer. -
trade offer with null id?
Vanilla replied to Mr Game and Watch's topic in node-steam-tradeoffer-manager
From what I know, you need to create new variable with offer.counter(); It will return the old trades (that we want to counter), do something with it, and send the counter offer this might helps. -
Either make your bot automatically generate 2FA code using steam-totp or logged in using loginKey
-
Question Auto-Download games functionality, posible?
Vanilla replied to Manzanitox's topic in node-steam-user
Might be possible using SteamCMD, but I don't know how to do it -
You can always use: console.log(err); to see what kind error is it. Sometimes the error will show number (enums), this might help For example, I want to handle error from EResult "Fail" (Code: 2), so the code is something like this.. //.. some code here if (stuff == SteamUser.EResult.Fail) { //handle code here }
-
Not really an answer, but here's a small code I use on my bot to prevent chat spam. It will block a person who send same messages every 2 second. var antispam; var markedSteamID; function spamtimer() { //when called, it will reset antispam = 0; markedSteamID = 0; } setInterval(spamtimer, 2000); //call spamtimer function every 2 sec //.. your code here client.on("friendMessage", function(senderID, message) { //anti spam if (senderID == admin){ //Ignore if chat from admin } else if ((antispam == message) && (markedSteamID == senderID.getSteamID64())) { client.chatMessage(senderID, "I caught you spamming"); //do something, like block that person or something } //.. your code here.. to respond chat antispam = message; //bot will record the message, will reset every 2 sec markedSteamID = senderID.getSteamID64(); //bot will record SteamID of sender, will reset every 2 sec });
-
https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v2/?key=YOUR_API_KEY&steamids=STEAM64ID result are in JSON format
-
Question How to make trade offers but items from a user
Vanilla replied to .Coder's topic in node-steam-tradeoffer-manager
Get list user inventory using manager.getUserInventoryContents and use offer.addTheirItems -
Question Can't get webSession after webLogOn
Vanilla replied to samki's topic in node-steam-tradeoffer-manager
use this? if (err) { console.log('STEAMBOT calling webLogOn - ' + this._steamid + ' - ' + this._user + ' isLoggedIn=' + this._isLoggedIn); this._client.webLogOn(); }- 4 replies
-
- node.js
- node-steam-tradeoffer-manager
-
(and 1 more)
Tagged with:
-
https://steamerrors.com/11 From here, probably just another Steam issue
-
Hello, is there a function / method to redeem wallet code? I want my bot to have command to redeem wallet code via chat message..
-
https://dev.doctormckay.com/topic/1087-need-some-help-with-my-bot/?do=findComment&comment=3601 For capitalized stuff, you need to turn all incoming chat into non-capitalized. https://www.w3schools.com/jsref/jsref_tolowercase.asp
-
maybe this? var SteamUser = require('steam-user'); var newUser = new SteamUser(); details = { accountName: '<username>', password: '<password>' } newUser.logOn(details); newUser.on('loggedOn', function (details) { console.log('Sucesfully Logged in'); //do something });