(*** This bug was imported into bugs.kde.org ***) Package: kpoker Version: 0.7 (using KDE 2.2.0 -11) Severity: normal Installed from: Red Hat Linux 7.2 Compiler: gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) OS: Linux (i686) release 2.4.9-13 OS/Compiler notes: Cash per round reports over 1 billion $ and cash reports as $100 upon starting a game. When a winning hand is dealt the You Won! starts flashing but anohter window pops up and reports You Lost! Then the game is over and the new game dialog box appears. The only thing I did before all of this is click on Settings--> Configure KPoker-->and then changed the number from 300 to 305. Then the problem started so I changed it back to 300 still having the problem. (Submitted via bugs.kde.org) (Called from KBugReport dialog)
On Saturday 24 November 2001 15:47 SprD72@hotmail.com wrote: > Package: kpoker > Version: 0.7 (using KDE 2.2.0 -11) > Severity: normal > Installed from: Red Hat Linux 7.2 > Compiler: gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) > OS: Linux (i686) release 2.4.9-13 > OS/Compiler notes: > > Cash per round reports over 1 billion $ and cash reports as $100 upon > starting a game. When a winning hand is dealt the You Won! starts > flashing but anohter window pops up and reports You Lost! Then the game is > over and the new game dialog box appears. The only thing I did before all > of this is click on Settings--> Configure KPoker-->and then changed the > number from 300 to 305. Then the problem started so I changed it back to > 300 still having the problem. > > (Submitted via bugs.kde.org) > (Called from KBugReport dialog) Hey you just found an evil big terrible bug!! The number in the dialog is just the draw delay (i.e. the number of ms you wait until a card is drawn). But in multi player games it you can change the minimum bet there. The bug is that kpoker also reads the minimum bet value in single player games and as it isn't there an undefined (and therefore over 1 billion) value is used. I just fixed this in CVS. You can fix it on your local system by editing you config file: open $HOME/.kde/share/config/kpokerrc in a text editor. Change the value of "CashPerRound" to 5. Now it should be working again. Thanks for the report! CU Andi
Andy: I encountered this problem. I played around with the delay time and when I was satisfied with the results, I wrote over the config file with a good copy. Hey, it works!