Hey Nix, Great bot. I've been playing around with it for the last few days. There are a couple of issues I ran across.
1) Lock profit doesn't seem to do anything.
in the profit_lock function in main.js you have a check .
if (current_profit >= profit_lock_val && profit_lock_a == 0) I believe the problem is current_profit is init'ed to zero but never updated.
I'm not a javascript programmer. This is the first chrome extension I've ever looked at, so remember that. I couldn't find where you would keep the profit to be able to update the screen. So I could see how you could make it work. I don't do web stuff either so I'm not really sure how this code plugs into the just-dice site.
Is there any site I can look at that would explain how to code a chrome extension? I think I found more info when I did an inspect element in chrome. I guess you have to do that to get the field names to code the bot. Interesting...
This one is not a big deal, just bugged me, so I had to go looking.
2) Bet amount is not reset when bank_hold is reached. This one cost me about 20 clams. I did this twice over the course of a couple of days. I'm martingaling by 2.1 for each increment. let say I go from 1 to 2.1 to 4.41 etc... If the bank_hold is reached when I was betting 4.41 that becomes the new starting bet.
I was doing testing and just wanted to see what was happening before things got to out of control. if things looked good I would increase the bank_hold value and start the bot again. But a few times I forgot I need to also reset the starting bet. if the last bet was very high I would crap out almost immediately. Luckly I'm still testing so it wasn't a big deal.
3) There must be some type of storage leak. Not sure if you can do anything about that. Bets start very quick, and slow down as they get higher and higher. I can just close the tab and reopen, reset the bot, and they go back to fast.
4) Store doesn't save the option values or flags. They need to be set each time. Would be nice to be able to handle that.
That's enough for now. Sorry for the long post, read at your leisure...
And hey, thanks for the cool bot. I've wasted about 8 hours just watching it run....