Jump to content
McKay Development

Recommended Posts

Posted

Hello. I have troubles.When bot has error 28 he can`t try to accept offer repeatedly. He wait next trade. What can i do for he was trying to accept trade where he received 28 error

manager.on('newOffer', (offer) => {
	var userID 	= offer.partner.getSteamID64();
	var offerID = offer.id;
	var prefix = offerID + ' || ';
    log("New offer #" + offerID + " from " + userID);
	offer.getUserDetails((err, me, them) => {
		if(err) {
			log(err);
			return;
		}
			var i;
					offer.accept((err, status) => {
						if(err) {
							log(prefix + err);
							return;
						} else {
							community.checkConfirmations();
						log(prefix + "Accepted trade.");
				}
				});
	});
});

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