Jump to content
McKay Development

Jack Nolddor

  • Posts

  • Joined

  • Last visited

Everything posted by Jack Nolddor

  1. 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!
  2. 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?
  3. 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
  4. 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
  5. Note that gems can be split into different inventory slots as well as sack of gems. Just saying...
  6. 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.
  7. 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
  8. 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.
  9. 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?
  10. Sending same message manually does not reproduce the issue :S
  11. 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
  12. Hi, is it possible to unpack sack of gems received from an accepted trade offer?
  • Create New...