Closed Suchismit4 closed 4 years ago
From past issues, that is because of no polls, and json file. Did you update to my latest version, should have auto generate it for you. Also, fill in the info on the config, with your steamapis key, steam api key from https://steamcommunity.com/dev/apikey dont forget the secrets and what not, i will no longer be giving support as all problems you have can be fixed by reading past issues and following the guide.
@iDefineHD Not sure if this might be related but with your recent update to auto gen the polls folder and bot file I have been getting this error
Error: Error: EEXIST: file already exists, mkdir './polls' at fs.mkdir (/root/tradebot/lib/bots.js:65:32) at FSReqWrap.oncomplete (fs.js:135:15) SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at async.eachOfSeries (/root/tradebot/lib/bots.js:47:56) at replenish (/root/tradebot/node_modules/async/dist/async.js:444:21) at /root/tradebot/node_modules/async/dist/async.js:449:13 at eachOfLimit$1 (/root/tradebot/node_modules/async/dist/async.js:475:34) at awaitable(eachOfLimit$1) (/root/tradebot/node_modules/async/dist/async.js:208:32) at Object.eachOfSeries (/root/tradebot/node_modules/async/dist/async.js:662:16) at Object.awaitable(eachOfSeries) (/root/tradebot/node_modules/async/dist/async.js:208:32) at Trade.startBots (/root/tradebot/lib/bots.js:18:11) at new Trade (/root/tradebot/lib/index.js:22:10)
I reverted this commit https://github.com/pepzwee/node-csgo-web-tradebot/commit/3275b90067217bfd95ad071ae775fbab3f7d8a08 and then it worked fine
@iDefineHD Not sure if this might be related but with your recent update to auto gen the polls folder and bot file I have been getting this error
Error: Error: EEXIST: file already exists, mkdir './polls' at fs.mkdir (/root/tradebot/lib/bots.js:65:32) at FSReqWrap.oncomplete (fs.js:135:15) SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at async.eachOfSeries (/root/tradebot/lib/bots.js:47:56) at replenish (/root/tradebot/node_modules/async/dist/async.js:444:21) at /root/tradebot/node_modules/async/dist/async.js:449:13 at eachOfLimit$1 (/root/tradebot/node_modules/async/dist/async.js:475:34) at awaitable(eachOfLimit$1) (/root/tradebot/node_modules/async/dist/async.js:208:32) at Object.eachOfSeries (/root/tradebot/node_modules/async/dist/async.js:662:16) at Object.awaitable(eachOfSeries) (/root/tradebot/node_modules/async/dist/async.js:208:32) at Trade.startBots (/root/tradebot/lib/bots.js:18:11) at new Trade (/root/tradebot/lib/index.js:22:10)
I reverted this commit 3275b90 and then it worked fine
Thanks for the reply, I personally have not come across this when I was testing, as I had removed the folder, auto generated it again, then run the script several times to test. I shall look into it tomorrow and push an update if needed.
@iDefineHD Not sure if this might be related but with your recent update to auto gen the polls folder and bot file I have been getting this error
Error: Error: EEXIST: file already exists, mkdir './polls' at fs.mkdir (/root/tradebot/lib/bots.js:65:32) at FSReqWrap.oncomplete (fs.js:135:15) SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at async.eachOfSeries (/root/tradebot/lib/bots.js:47:56) at replenish (/root/tradebot/node_modules/async/dist/async.js:444:21) at /root/tradebot/node_modules/async/dist/async.js:449:13 at eachOfLimit$1 (/root/tradebot/node_modules/async/dist/async.js:475:34) at awaitable(eachOfLimit$1) (/root/tradebot/node_modules/async/dist/async.js:208:32) at Object.eachOfSeries (/root/tradebot/node_modules/async/dist/async.js:662:16) at Object.awaitable(eachOfSeries) (/root/tradebot/node_modules/async/dist/async.js:208:32) at Trade.startBots (/root/tradebot/lib/bots.js:18:11) at new Trade (/root/tradebot/lib/index.js:22:10)
I reverted this commit 3275b90 and then it worked fine
I have just created a fresh clone with the code I have pushed, and am unable to recreate the problem. Even with that error, you can just delete the folder of which will be recreated for you. Will add some checks and push tomorrow. I'm using Node v12.10.0.
I will try to recreate the issue to see what I did. Will get back to you in a bit.
So @iDefineHD, do you want me to download the latest commit, update node, and run the script again?
How long ago was 2fa added to the bot? Might be an issue.
How long ago was 2fa added to the bot? Might be an issue.
2fa ( assuming it as the mobile authenticator ) was added 2 months (roughly) ago
I used npm-install-all ... to auto install all packages btw
Hmm, only way I have been able to observe the same result is on a bot with restricted 2fa/trade ban because of the 2fa. Not much more I can say, A (npm i) would be ok, no clue what npm-install-all is.
Hmm, only way I have been able to observe the same result is on a bot with restricted 2fa/trade ban because of the 2fa. Not much more I can say, A (npm i) would be ok, no clue what npm-install-all is.
The account(user) from which the trade is being sent has not 2fa enabled, but the account (bot) has no trade ban or 2fa problem. its a perfectly healthy account
I really dont know, All tests I have done, the bot sends trades fine. The only time it failed was on a restricted account, have you paid for steamapis? etc...
The account(user) from which the trade is being sent has not 2fa enabled,
If one of the accounts doesn't have 2FA enabled then it would go to Escrow. Escrow trades will error: https://github.com/pepzwee/node-csgo-web-tradebot/blob/3b63bb9441a941929740b8e52b5d467f5fa4ac52/index.js#L166-L171
If one of the accounts doesn't have 2FA enabled then it would go to Escrow. Escrow trades will error:
But it shows this error
{}
a empty object
I really dont know, All tests I have done, the bot sends trades fine. The only time it failed was on a restricted account, have you paid for steamapis? etc...
Yes paid for everything
Update please.
Update please.
An update on what? From all the testing i had done. The only was I could recreate was when the bot was restricted, As that was the only thing I can recommend, I will close the issue for now. My discord is ✅ Ashley アシュリー#1796