-
Posts
73 -
Joined
-
Last visited
Contact Methods
-
Website URL
https://steamcommunity.com/id/VanillaBot/
Profile Information
-
Gender
Not Telling
-
Location
Indonesia
Recent Profile Visitors
1670 profile views
Vanilla's Achievements
-
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 -
Vanilla started following trade offer with null id? , Using editProfile-Function kicks out other settings of my profile , Answer by level and 7 others
-
SpiTik reacted to a post in a topic: Answer by level
-
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"); } }); } });
-
Vanilla reacted to a post in a topic: Opening boosters?
-
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:
-
Igaresha reacted to a post in a topic: Asking for steam guard code after few hours working
-
McMuffinDK reacted to a post in a topic: Asking for steam guard code after few hours working
-
Vanilla reacted to a post in a topic: 'editProfile' and Profile Showcase
-
Vanilla reacted to a post in a topic: 'editProfile' and Profile Showcase
-
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 -
Material reacted to a post in a topic: Clean steam accounts?
-
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. -
Vanilla reacted to a post in a topic: Creating account: Error 20
-
SpiTik reacted to a post in a topic: Chat Anti Spam Help
-
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 });