neverhood
-
Posts
68 -
Joined
Posts posted by neverhood
-
-
The way you used community in your first post is correct. You can do just
{community}
which is interpreted as{community: community}
.I think probably what's happening is that your session is just expiring (which happens normally) and you aren't expecting it. It wouldn't hurt to add an automatic hourly
webLogOn
call to be more proactive about renewing your session rather than reactive.I have no idea why this is happening randomly (when someone send trade offer session getting expired 1 second after and my bot stuck), sometimes my bot works even 72 hours without this issue, I think maybe because bot is idling for longer time (not receving any trade offer) this is happening.
-
I changed it to community: community, and I will test (need a few hours to test it)
-
Hello, I released some donation/trash bot and most of time everything is working fine, processing a lot of trades without any problems (only accepting gift trades), but lately I got weird problem, session expiring 1 second after new trade
my console logs:
[18:35:09] - Processing trade 3459285622 [18:35:10] Session expired - relogging [21:56:28] - Processing trade 3459471951 [21:56:29] Session expired - relogging
how I handle it in my bot:const community = new SteamCommunity(); const manager = new SteamTradeofferManager({ steam: client, language: 'en', community }); community.on('sessionExpired', () => { console.log(`[${new Date().toLocaleTimeString()}] Session expired - relogging`); client.webLogOn(); });
everything works good, but sometimes getting this error and my bot stuck (should I remove community from manager?)
edit: I noticed I wrongly used community in const manager
-
No one will help you with auto commendbot and reportbot.
-
OK, Thank you for your response.
-
Hello, I'm using Steam card bot, but lately I got weird problem with memory usage.
Usually process using about 200MB RAM, but lately I got a lot of cards - about 100,000 and I did a lot of trades, my VPS is limited to 1GB memory, and my process going up to 1000MB+ and killing my VPS session. -
I still can't figure out how to write code who will force kick other session.
I even tried to edit library and do: this.kickPlayingSession(doTheThing); but still getting error: Cannot kick other session
Please help
-
I'm using this code on local script now (VPS session is running with diff IP):
bot.setPersona(SteamUser.EPersonaState.Offline); bot.gamesPlayed(this.games, true);
but I'm still getting error on local PC with 'LoggedInElsewhere' and VPS session is untouched, what should I do if I want to kick VPS session during launching my idle scrip on local PC?I edited something for test and force is undefined in console log
SteamUser.prototype.gamesPlayed = function(apps, force) { if (!(apps instanceof Array)) { apps = [apps]; } var self = this; if (this._playingBlocked && force) { this.kickPlayingSession(doTheThing); } else { doTheThing(); } console.log(apps); console.log(force); function doTheThing() { self._send(SteamUser.EMsg.ClientGamesPlayed, apps.map(function(app) { if (typeof app === 'string') { return { "game_id": "15190414816125648896", "game_extra_info": app }; } if (typeof app === 'object') { return app; } return {"game_id": app}; })); } };
-
Hello, I don't really know if I'm doing it right.
I have VPS (where I idle steam game hours) and I have 2 the same idle scripts on VPS (different IP) and on local PC.
Sometimes I need to run idle script on local PC without killing session on VPS, but I getting error: LoggedInElsewhere, and I can't login with local PC, so I decided to try kickPlayingSession.
using this script: click
bot.setPersona(SteamUser.EPersonaState.Offline); bot.kickPlayingSession((callback) => { console.log(callback) }); bot.gamesPlayed(this.games, true);
then I getting crash in my app with:Error: Cannot kick other session
but orginal session getting error too: LoggedInElsewhere, but its not crashingcan you please help me what I'm doing wrong here.
-
Hello, how can I get this message:
using this: https://github.com/DoctorMcKay/node-globaloffensive
which GC msg receing it?
-
thank you!
-
is there any method to find group by ID64?
I know how to grab groupID64, for example: https://steamcommunity.com/groups/multiplay/memberslistxml/?xml=1
but if somebody change URL, how can I find group with only ID64?
-
-
thank you!
-
Hello again! so I tried today grab at least matchID from current match, but to be honest I don't have idea how to do it, can you PLEASE give me solution for it...
[EDITED]
-
Hello, I'm not really familiar with coding, I want to ask you something.
Currently I'm using this bot: https://github.com/luk1337/vapor-report/blob/master/commend.js
to sending custom request for commending player without joining to server
I wanted to ask you, can I do this comined with your steam-user and node-globaloffensive library? or its not possible?
-
sorry for bothering you, will you support this change soon?
-
-
ye but I guess user needs to have public/friends only profile, its easier to get group members and compare it with offer.partner, anyway this method 'getGroupMembers' depends of steam (they refreshing every 5-10 min group members - I tried to refresh .xml manually)
-
I have same problem, my bot checking if user is in group with every trade, but list doesnt refresh :/
-
ye, I was looking for vr code
-
DELETED
-
[DELETED]
-
Hello, I have a few accounts linked to manager, and I noticed oAuth logins expiring after 1 year after add, and now these accounts which I added 1 year ago, giving me HTTP 401 errors, I need to relog again with steam guard code and it works again.
is there any chance to prevent expiring oAuth logins after 1 year?
sessionExpired after trade notification
in node-steamcommunity
Posted
my current code:
am I setting properly manager cookies with every websession?