Jump to content
McKay Development

Recommended Posts

Posted (edited)

I am currently using steam-tradeoffer-manager and I am running into some issues with trades getting cancelled. I don't use / have set any property, my constructor looks like this:

new TradeOfferManager({
            steam: this.client, // steam-user client.
            community: this.community, // steamcommunity
            language: 'en',
            pollInterval: 15 * 1000, // 15 seconds poll interval
});

Even though I havent set any property that should (according to the source code) cancel any trades, some are cancelled. Trades get sent and within (usually 20-60 seconds) the trades are cancelled the code I am using never cancels a trade offer itself so I am guessing that it's the module or me incorrectly using the module.

Any help is appreciated, the person who helps me solve this will receive 4 TF2 Keys as compensation for helping me.

 

EDIT: I am running 2 bots on one IP, could this cause some issue?

Edited by aethez
Posted

After further investigation it seems like the offers just get canceled, I don't cancel them my self and neither does the module. I don't have a single clue on what is happening.

Posted
Just now, Dr. McKay said:

I'd recommend changing your Steam account password and API key. It sounds like it's possible that somebody else has access to your account.

The accounts have never been used to sign into a website before (except backpack.tf) and we know what we are doing, doubt that this is the case but I will still try.

Posted

After looking into this more I am beginning to believe that we actually are not getting hijacked, if that was the case then all of the sent offers would have gotten canceled? I am currently getting around 4-7 canceled offers every 30-50 trades.

I also checked logs and neither am I or the module (sentOfferCanceled) canceling the offers.

Could this be an issue with Steam or me using the module improperly or missing something?

Posted

If you aren't using the cancelTime option, there shouldn't be any reason why the module would cancel trades on its own. The trades are going into the Canceled state and not Declined, right?

Maybe whatever you're using to confirm the trades is wigging out and canceling them from there...

Posted (edited)

The trades go from sent to canceled but the weird part is that I am able to send the offers and they are sent for 30-40 seconds and then they get canceled.

 

EDIT: I am using SteamCommunity.acceptConfirmationForObject

Edited by aethez
  • 1 month later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...