KgBC / just-dice-bot

Hi, this is a flexible betting bot for just-dice.com. Feel free to use it under GPL. If you want to donate some Beer/Satoshis: 1CDjWb7zupTfQihc6sMeDvPmUHkfeMhC83 Thanks. The ACES branch is considered stable, use this if you don't want to develop and do not need latest features: https://github.com/KgBC/just-dice-bot/tree/aces
GNU General Public License v2.0
18 stars 6 forks source link

self.get_multiplyer #16

Closed ghost closed 10 years ago

ghost commented 10 years ago

root@oxi-ubuntu:/home/oxi# python bot.py

Simple martingale bot for just-dice.com Copyright (C) 2013 KgBC IFGIWg@tormail.org under GPLv2 (see source)

News/new versions see https://github.com/KgBC/just-dice-bot

Set up selenium (this will take a while, be patient) ... Login (still be patient) ... --- press 'q|quit' to quit, 'h|?|help' for command help --- --- finish your commands with the ENTER key --- Start betting ... Traceback (most recent call last): File "bot.py", line 315, in JustDiceBet() File "bot.py", line 88, in init bet = self.get_max_bet() File "bot.py", line 190, in get_max_bet multi = self.get_multiplyer(round-2) #array pos 0 = round 2 File "bot.py", line 289, in get_multiplyer if type(m) is str: UnboundLocalError: local variable 'm' referenced before assignment

KgBC commented 10 years ago

fixed. I'm uploading.