Seuntjie900 / DiceBot

Flexible and feature rich betting bot for a variety of crypto-currency dice sites
https://bot.seuntjie.com
MIT License
150 stars 129 forks source link

Sometimes DiceBot stop without a reason #6

Closed Bullnados closed 7 years ago

Bullnados commented 9 years ago

Today I get a message, somethin wrong. But I dont know why? No Limits, enough balance. This is the secondor third time i got that. Imo it is importend that #5 is implemented.

Seuntjie900 commented 9 years ago

if it says something went wrong, it's usually a network error and the bot stops to protect the user. Lets say for example you're doing martingale: 1l 2l 4l 8l 16l 32l 64l 128w, but a network error occurs. Your bet gets processed by the server but you don't receive the result of the bet. The bot retries 128 and loses 256l 512l and you bust.

Usually I use the something went wrong error message because the actual error message is just a vague or could be considered complete nonsense by most users.

Bullnados commented 9 years ago

Ok thanks. Than it's a feature not a bug^^. I think the site im playing want protect for 24/7 bots or provoke stupid bots to bet higher and higher while site isnt connected.Great that your bot isnt stupid :)

But than an option would be nice, u can decide what message lvl u want to see :smiley:

Seuntjie900 commented 9 years ago

I've been meaning on implementing a logging function in the bot with different logging levels, but haven't gotten around to it yet.