bustiiing / blazingstars

Automatically exported from code.google.com/p/blazingstars
0 stars 0 forks source link

Bet pot shortcut keys sometimes bets all-in #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First off I'd like to thank you for undertaking this project - Mac poker 
players need some love too :)

An issue I've been observing is that when I use custom bet pot shortcut 
keys, sometimes instead of potting it or 3/4ing or whatever, it will go all-
in. Needless to say this could potentially become a problem! However, 
sometimes it works fine, I'd say about 30% of the time it glitches and wants 
to go all in.

What steps will reproduce the problem?
1. Set the bet pot shortcut keys as follows:
     (1) 65%
     (2) 72%
     (3) 80%
     (4) 85%
I think. I forgot the exact numbers, but I can check when I get home. The 
shortcut keys are correct though - just 1 2 3 4 without any modifiers. I am 
rounding the bets to the nearest SB. I do not have the auto bet checkbox 
enabled.

2. Open up some tables. I stacked about 9-10 tables at 50NL 6max on 
Stars Black theme.

3. Hit one of the bet pot buttons - usually happened for 2 or 3 with me I 
think. I never tried to really empirically test it, I was chasing losses :P

4. Profit from suspicious shortstack who thinks massive overbet looks 
weak

What is the expected output? What do you see instead?
The expected output is the percentage of the pot on the expected SB. I 
instead see the bet bar go completely to the right.

What version of the product are you using? On what operating system?
BlazingStars-0.9.8b-21.dmg
Mac OSX 10.5

Please provide any additional information below.

Original issue reported on code.google.com by eyang...@gmail.com on 21 Jan 2010 at 4:34

GoogleCodeExporter commented 8 years ago
Thanks for the bug report, eyang232.  If you can provide me with a bit more
information, this will be helpful.  Open the Console application while you're 
playing
and leave it in the background (Applications->Utilities->Console), then when 
you find
that this error occurs, please switch immediately to the console and look for a 
set
of messages from BlazingStars (which should be right near the bottom) that will 
look
something like this:

10-01-21 12:39:14 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:14 wks43306 BlazingStars[16235] <Info>: Pot betting initiated.
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: Pot size is: 338
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: Pot after stripping spaces: 338
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: Pot after stripping exclude 
set: 338
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: New pot value from formatter 
is: 338
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: Pot size is 338.000000
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: In
getClickPointForXSize:andYSize:andHeight:andWidth:  x=599.940002,y=498.552002
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: Attempting to set value: 338.00
10-01-21 12:39:15 PM    [0x0-0x301301].com.fullyfunctional.blazingstars[16235]  Thu 
Jan
21 12:39:15 wks43306 BlazingStars[16235] <Info>: String is now: 338

These lines indicate first what BlazingStars thinks that the pot size is when 
you
press the pot-size bet key, and then tell you what amount it is going to put 
into the
bet box.  Compare these to the values that you see on the table and the 
expected bet
size you were hoping for, and this should give me a better idea of what's going
wrong.  If you notice a problem, drop the lines into a comment here and I'll 
see what
I can do.  

Thanks!

Original comment by steven.h...@gmail.com on 21 Jan 2010 at 7:45

GoogleCodeExporter commented 8 years ago
Hey Steve, I have this issue specifically in the Hyper-Simple theme.  I'm 
tiling 4 tables of 10nl (preflop pot .15)  
when I hit apple+4 for 100% pot, it outputs $15.  Here's the console output:  
Looks like it's just missing the 
decimal point.  It also outputs weird values for other percentages, but I think 
this one may be the key! :-)  I 
haven't had any issues with the Black theme.  It works intermittently at 
default size. 

1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Info>: Pot after stripping spaces: ·njnT;;;njn_15|§ 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130]   
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130]   
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Info>: Pot after stripping exclude set: 15 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Info>: New pot value from formatter is: 15 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Info>: Pot size is 15.000000 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Info>: In getClickPointForXSize:andYSize:andHeight:andWidth: 

x=1052.884521,y=346.692993 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Info>: Attempting to set value: 15.00 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Info>: String is now: 15 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Debug>: Character: 1 
1/23/10 11:32:55 AM [0x0-0x16016].com.fullyfunctional.blazingstars[130] Sat Jan 
23 11:32:55 nico.local 
BlazingStars[130] <Debug>: Character: 5 
1/23/10 11:33:07 AM BlazingStars[130] In hot key handler, got tag: 19 

Original comment by benedict...@gmail.com on 23 Jan 2010 at 5:39

GoogleCodeExporter commented 8 years ago
Thanks for the info!  I'll fire up a few tables of 10nl myself and see if I can 
nail that down; from what you 
submitted, it looks like the measurements for the pot box may be a little 
screwy. (One final question:  can 
you tell me what resolution your screen is set to?)

It'll be a couple of days until I can get to it, though, because I'm just in 
the middle of moving and I still 
don't have any Internet at my new place. It turns out it's harder than I 
thought to write code on my 
iPhone. :)

Original comment by steven.h...@gmail.com on 25 Jan 2010 at 5:12

GoogleCodeExporter commented 8 years ago
Sure, I have my resolution set to 1280x800.  Thanks!  Yeah, coding would be a 
little weird on the iphone-  I use 
the linux console from Cydia on my iphone, and it's a real pain to see what's 
going on behind the popup 
keyboard! 

Original comment by benedict...@gmail.com on 26 Jan 2010 at 2:09