Jump to content
McKay Development

Any way to poll an offer that's not considered new?


Recommended Posts

Hello!

 

Basically if my bot runs into a getEscrowDuration error it doesn't poll the same offer again unless I restart the bot, not even a manager.doPoll can fix the issue.

 

I know the getEscrowDuration error is on Steam's fault but the manager completely ignores the offer even though it's active once it runs into that error.

 

Here's my code:

offer.getEscrowDuration(function(err, daysTheirEscrow, daysMyEscrow)
{
	if(err)
	{
		console.log(err);
		client.webLogOn();
		return;
	}

I've only put the client.weblogOn there recently to make sure the bot has the right cookies when it fails to get the escrow duration, but then it doesn't go through the same offer until I restart it.

 

Any help is appreciated!

 

~ Gergő

Link to comment
Share on other sites

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...