Jump to content
McKay Development

JVz

Member
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

503 profile views
  1. JVz

    Using proxy

    Works fine if I put httpProxy in constructor let client = new SteamUser({"httpProxy": proxyUrl}); thx for help
  2. JVz

    Using proxy

    "steam-user": "^4.12.4" Yes, but after some time community or client can disconnect or socket can hang up, and bot has to do relog, the problem is that disconnect event sometimes doesnt fire so I'm checking if everything is online and ready for trades before creating tradeoffer. Maybe there is a better way to do it?
  3. JVz

    Using proxy

    Hi. I'm using this code: let proxyUrl = "http://" + proxyUser + ":" + proxyPassword + "@" + proxyHost + ":" + proxyPort; let proxifiedRequest = request.defaults({ 'proxy': proxyUrl }); let steamClient = new SteamClient.CMClient(); steamClient.setHttpProxy(proxyUrl); let community = new SteamCommunity({ request: proxifiedRequest }); let client = new SteamUser(steamClient); let manager = new TradeOfferManager({ "steam": client, "community": community, "language": "en", "cancelTime": 120000, "pendingCancelTime": 30000 }); and after loggin in I'm checking IP using this property client.publicIP but it shows my IP withput proxy. Am I missing something here? PS. 1 more unrelated question: how can I check If tradeoffer manger is fully logged in and nothing happened after initial loggin in (nothing disconnected and so on) and it is ready to send trades? Thx in advance
  4. So I gues there is no workaround atm. If so few more question: 1. These offers from "unknownOfferSent" still should always fire event "sentOfferChanged" if they will be accepted/canceled/etc? 2. Seems like these offers ignore "cancelTime" "pendingCancelTime" options of tradeoffer manager because they are not considered as offers created by manager. Is there better way than using setTimeout to implement same behavior as that options?
  5. Sometimes on sending tradeoffer bot will receive error from steam: "There was an error sending your trade offer. Please try again later. (16)" but in 5-60 seconds unknownOfferSent event fires 1-3 times with this exact trade (I triple checked that I create offer only once, with logs too), one of these offers will behave as usual and all others (if there are others) will have status InvalidItems. Usually it happens when steam lags Is it even possible? Or should I look for errors in my code?
  6. Maybe there is some lib that can process tradeoffers and avoids using steam dev API?
  7. You can't send or accept this trade offer because either you can't trade with the other user, or one of the parties in this trade can't send/receive one of the items in the trade. Possible causes: a ) You aren't friends with the other user and you didn't provide a trade token. b ) The trade token was wrong. c) You are trying to send or receive an item for a game in which you or the other user can't trade (e.g. due to a VAC ban). d) You are trying to send an item and the other user's inventory is full for that game.
  8. Hi. I'm using tradeoffer-manager for buying/selling items on OPSkins and few other marketplaces, but lately Valve started to ban my accounts. Usually I have 40-70 trades per day per account. What I need to change to stop receiving bans? Maybe you have some advices what i shouldn't do? Because Valve don't want to tell me what exactly am I doing agains their rules
×
×
  • Create New...