-
Posts
17 -
Joined
-
Last visited
Everything posted by Jack Nolddor
-
How to make a comment on a forum topic?
Jack Nolddor replied to Jack Nolddor's topic in node-steamcommunity
I have a thread where I sell emotes / bgs for Gems so instead of bumping the thread once per day by hand I would like the bot to it at their own using a daily cron so I dont have to bother anymore about that. Reference: https://steamcommunity.com/groups/tradingcards/discussions/2/3082124889518393096/ -
onFriendRelationshipChanged is fired even on error
Jack Nolddor replied to Jack Nolddor's topic in node-steam-user
That's what i'm doing right now, instead of calling SteamUser#addFriend() directly i'm checking if the given steamid is already on myFriends with a EFriendRelationship.Friend to just don't call SteamUser#addFriend(). Probably the event is also thrown when EFriendRelationship.locked but haven't tested myself. Thanks for this addition to v4.21.0 would help a lot! -
How to reproduce: Try to addFriend() on an steamid already present at our friendlist Expected Behavior: SteamUser#addFriend() returned promise should fail with the following: EResult=14, Message=DuplicateName No event is thrown as our friend relationships haven't changed. Actual Behavior: SteamUser#.addFriend() returned promise fails with the following: EResult=14, Message=DuplicateName SteamUser emits an 'onFriendRelationshipChanged' event even though if the above call fails. Am i doing something wrong or is it a bug?
-
How to make a comment on a forum topic?
Jack Nolddor replied to Jack Nolddor's topic in node-steamcommunity
True,... people can use it to fuck up forums, and that's not good :S Any hint on how to implement myself the functionality? I didn't fully understand the underlying 'http call' the browser does when i press F12 i see too many parameters are sent T_T -
Are you are running ASF (ArchiSteamFarm) under the same account? If so, have you configured the 'RejectInvalidTrades' flag under 'BotBehaviour' property? This would end on cancelled trades if they not follow configured 1:1 Same Game rules Info: https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Configuration#botbehaviour
-
Partially loading inventory?
Jack Nolddor replied to Cubson's topic in node-steam-tradeoffer-manager
Note that gems can be split into different inventory slots as well as sack of gems. Just saying... -
It is possible to comment on an existing thread (aka forum topic) ?? I haven't seen any method to create a new topic or comment on an existing one. Im not talking about comment on group home page, but within an Steam group forum aka topic. Regards.
-
You can even run your bot under pm2 and use Watch & Restart features: - Link: https://pm2.keymetrics.io/docs/usage/watch-and-restart/ - Further Info: https://stackoverflow.com/questions/29766723/how-to-automatically-reload-node-js-project-when-using-pm2#30695750
-
Adding 1 Gem In Trade Offer ?
Jack Nolddor replied to SENPAY98K's topic in node-steam-tradeoffer-manager
Inventory is an array of items, you can use .filter() over the collection to keep just the item(s) you need. An excerpt from my bot code: static isGems(item) { return '753-Gems' === item.market_hash_name; } static isSackOfGems(item) { return '753-Sack of Gems' === item.market_hash_name; } Then, just use the .amount property to decide how many items you want to add to the trade for those which are stackeable like gems or sack of gems. -
Possible bug on sendFriendMessage() ??
Jack Nolddor replied to Jack Nolddor's topic in node-steam-user
Yeah, Steam changed chat ratelimit few days ago, now my text is too large for new limit. client.chat.sendFriendMessage(sender, response, {includesBbCode: true}); Oh already saw the new release, ty for the fix! <3 good job PS: Isn't includesBbCode true by default? -
Possible bug on sendFriendMessage() ??
Jack Nolddor replied to Jack Nolddor's topic in node-steam-user
Sending same message manually does not reproduce the issue :S -
Possible bug on sendFriendMessage() ??
Jack Nolddor replied to Jack Nolddor's topic in node-steam-user
anyone? -
I'm facing an strange error while sending big messages using /pre tag (see attached image) I haven't be able to determine de root cause checking your actual source code on github. But, sending the same message manually using steam client seems not to reproduce the error, it seems the problem is caused but steam-user module itself You can check the live demo at my bot: https://steamcommunity.com/profiles/76561199096164013/ STEPS TO REPRODUCE: 1.- Add the above account 2.- Type !help at its chatroom Relate Source Code: https://pastebin.com/raw/qrS9jgYD Is it my fault? I'm doing something bad? Help is appreciated. Thanks