PDA

View Full Version : node js steam jackpot bot accepting bug (javascript)



saganey
Mar 19th, 2016, 10:35 PM
In my jackpot site timer sets to 120. That means they have 120 seconds to bet after 120 seconds end, new round start. Now in this bot there is bug which is like; if you bet in the last seconds of the round, bot accepts your trade offer but didn't add your items to the pot. Now I want to fix this bug with adding a writing a code like; last 5 secs people shouldn't be able to deposit. When 5 seconds left to the ending of the pot, bot should denied the trade offers.

Here is the bot source: [JavaScript] var Steam = require('steam'); var SteamUser = require('steam-user'); var Trade - Pastebin.com (http://pastebin.com/F7yR6tMZ)