Open Side Menu Go to the Top
Register
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima)

10-29-2006 , 06:13 AM
Quote:
i don't see a "bet pot" button at all using the hyper-simple theme. if i right click on the "Pot: $xxx.xx" amount, it will input the correct number into the bet window if i'm initiating the action on that street. i also don't get a popup from the system tray like i saw in a few other screenshots. the mouse wheel does work for me though.

is there an updated version, or is it just v.01? and if so, could we maybe start a new thread for this script with a link to the most updated version in the OP?
I'll answer this

There IS no "bet pot" button. You can right-click anywhere on the table to do the betting for you.
The popup you saw in screenshots is a debug-window, which you don't need if everything works fine, which seems to be your case
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 05:09 PM
does this work for anyone using the default theme, or am i the only one having problems with it?

i strongly dislike the "hyper simple" theme
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 05:14 PM
Quote:

does this work for anyone using the default theme, or am i the only one having problems with it?

You are certainly not the only one having problems - I am currently messing around with various bits of the script, Stars & Full Tilt - hopefully the next version I post will be much, much more reliable in different configurations.

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 05:17 PM
Quote:
Dave,

I am flirting with the idea of trying to modify your script to allow 100% control from the keyboard.

I am assuming that getting the keystrokes to fire off your functionality won't be a problem.

I am not sure how I would be able to control folding, calling, raising from an ahk script.

Do you have any quick help, tips or ideas?
This would be pretty simple. You'll have to get the size of the active window then use those sizes to figure out where the action buttons are going to be. Then hook dave's betpot into a key and use the AHK mouse control to click on the appropriate action button.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 05:26 PM
dave any chance you could add BetPot functionality for Tribeca, UB or OnGame in the near future?
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 06:23 PM
Full Tilt

_dave_,

I need to apologize. After reading this thread a few times , it seems to work for me afterall. My fall from grace began with me trying to multitable on multiple monitors. the BTP.ahk works fine on Full Tilt if I have one table open on my Primary monitor. Unfortunately I was in the habit of ALWAYS dragging the first open table to the left monitor..... which is my #2. So it seems your script has a HUGE problem...... me

Soooooooooooooo, I just wanted to say, thanks again.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 06:28 PM
This doesn't really affect anything, but since Stars has its amounts in decimals of two, I changed the following lines like so (the bolded lines are the ones I added to my own script):


IfWinExist, ahk_id%id% ahk_group StarsTables
{
ControlGetText, t, Edit6, ahk_id%id%
t := t + amount
if (t < 0)
{
t := 0
}
t := Round(t, 2)
ControlSetText, Edit6, %t%, ahk_id%id%
WinSet, Redraw,, ahk_id%id%
}


IfWinExist, ahk_id%id% ahk_group StarsTables
{
pot := Round(pot, 2)
ControlSetText, Edit6, %pot%, ahk_id%id%
Sleep, -1
if (autobet)
{
RaiseStars(id)
}
}
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 06:42 PM
Quote:
Quote:
Quote:
It's now sort of working. It reads the pot and what I have to call, but doesn't seem to manage the raises like it should. Instead of raising pot it wants to raise to the pot, ex:

Someone openraise to 4BB in CO, I want to repot on the button:

What it does is reading pot is 5.5BB and 4BB for me to call. All well so far. Then it suggests I raise it up to 9.5BB.

What I want it to do is raise 9.55BB to 13.5BB.

Did that make any sense at all?
Am I the only one who has got this issue?
Are you using a fraction other than 1 for the river? I was having a problem where it always thought it was the river, and was using the river fraction every time.
Hmm. This is the problem. Running debug mode and its seems to think it is the river just about always. It's reading the potsize and call amount correctly. Adjusting all streets to full pot works, but messes up the preflop raise to 4x and here also seem to be some weirdness with raise sizes out of the blinds. For example there was a hand with two limpers and SB completing. I was the BB and it correctly read the pot as 4BB and 0BB to call, but still suggested to raise to 4BB instead of 5BB.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-29-2006 , 07:12 PM
Hey Dave, I have a problem with Stars preflop. I play NL25 and when I open, it gives me a raise of .95 instead of 1. 4xBB+1 limper gives me the correct raise of 1.25, but +2 limpers gives me 1.35. Then +3 works giving me the correct value of 1.75. There are also problems in both the blinds.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-30-2006 , 12:41 AM
I'm so clueless I apologize if this has already been covered. I've read this entire thread but I miss stuff.

For those of you getting weird preflop raise sizes, are you using some theme other than hyper simple? Because the green table seems to mess up the script's ability to determine what street it's on.

I have a custom theme based on "No Images" with the black table from Hyper Simple and the brown fold/call/raise buttons and brown bet slider (also a black background). It works perfectly now.

I also had to modify that line 1038 or whatever.

Anyway if you know how to customize your theme, check to see if the script thinks every street is the river. If so change in the hyper simple table for whatever theme you use.

BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-31-2006 , 06:02 AM
Dave, this is my hyper-simple theme and the modified theme I made.



BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-31-2006 , 06:56 AM
change this

if (col = "0x00327F")
{
ThemeDir := "normal"
}
else if (col = "0xDDD7CC")
{
ThemeDir := "HyperSimple"
}
else
{
;Msgbox, exiting`n%col%

return
}

to this

if (col = "0x00327F")
{
ThemeDir := "HyperSimple"
}
else if (col = "0xDDD7CC")
{
ThemeDir := "HyperSimple"
}
else
{
ThemeDir := "HyperSimple"

return
}
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-31-2006 , 12:03 PM
Quote:
Hey Dave, I have a problem with Stars preflop. I play NL25 and when I open, it gives me a raise of .95 instead of 1. 4xBB+1 limper gives me the correct raise of 1.25, but +2 limpers gives me 1.35. Then +3 works giving me the correct value of 1.75. There are also problems in both the blinds.
I am having the same problem at NL10 when I open.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-31-2006 , 02:43 PM
Dave UB support would be great.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 12:20 PM
this isn't working for me for stars :-(

"the following variable name contains an illegal character "c-389"

line 1205.

am i being stupid?
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 08:11 PM
Hey Dave I added:
total_pot to 398,125 in the gx.ini file so that it would display the Total Pot just above my cards (Instead of the top of the window). Now that I have made the change my Bet Pot keys all bet $2 at 2/4NL instead of Full Pot 3/4 Pot etc.

Is this something i'm not able to change for the script to work?
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 09:49 PM
Quote:
Hey Dave, I have a problem with Stars preflop. I play NL25 and when I open, it gives me a raise of .95 instead of 1. 4xBB+1 limper gives me the correct raise of 1.25, but +2 limpers gives me 1.35. Then +3 works giving me the correct value of 1.75. There are also problems in both the blinds.
Same problem here at 25NL. Thank you for the software and the time dave.

Best wishes.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 10:12 PM
Quote:
Quote:
Hey Dave, I have a problem with Stars preflop. I play NL25 and when I open, it gives me a raise of .95 instead of 1. 4xBB+1 limper gives me the correct raise of 1.25, but +2 limpers gives me 1.35. Then +3 works giving me the correct value of 1.75. There are also problems in both the blinds.
Same problem here at 25NL. Thank you for the software and the time dave.

Best wishes.
Hi Patchdiaz,

Yes, this is a known (and fixed) problem - there are some "Floor" commands where there should be "Round"s. Will be sorted in the next update, ETA Friday

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 10:17 PM
Quote:
Hey Dave I added:
total_pot to 398,125 in the gx.ini file so that it would display the Total Pot just above my cards (Instead of the top of the window). Now that I have made the change my Bet Pot keys all bet $2 at 2/4NL instead of Full Pot 3/4 Pot etc.

Is this something i'm not able to change for the script to work?
Hi PatInTheHat,

This is not too trick to solve, but you need to alter the BetPot.ahk to know where to lookfor the pot size - it used the normal location, by default.

Find the line starting pot:=DigitSearch(....

it is ln 1084 I believe, unless I don't remember updating my code.

You need to alter the co-ordinates given to this function, to reflect the new location of the pot size graphic.

These co-ordinates are pixel locations, based on a standard sized Stars table (no resizing).

If you enable debug=1 at the top of the script, you will get a visible indicator of where it is looking for the pot size, amongst other things.

Let me know if you can't find out the correct co-ords - I will alter my gx.ini and figure them out for you if need be

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 10:22 PM
Quote:
this isn't working for me for stars :-(

"the following variable name contains an illegal character "c-389"

line 1205.

am i being stupid?
Hi Exitonly,

you are not the first to encounter this problem.

The image recognition functions (used to calculate almost all values on Stars) can't deal with negative co-ordinates on screen of a table. When your leftmost monitor is not the primary, it's x/y co-ordinates are negative (eg -389) this causes the error.

You must set your "Primary Display" to be the leftmost of your monitors - this will solve the problem.

I should think it works fine for soome tables (those on your right hand monitor) ?

Let me know,

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 10:29 PM
ty for the quick answer. Looking forward for the next update.

Best wishes.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 10:33 PM
Hi Melchiades,

Quote:

Running debug mode and its seems to think it is the river just about always. It's reading the potsize and call amount correctly. Adjusting all streets to full pot works, but messes up the preflop raise to 4x and here also seem to be some weirdness with raise sizes out of the blinds.

Yes, if it thinks it is the river, pre-flop raises from the blinds will be off - It checks only if we are a blind if street=pre.

In the last couple of days I have re-written the Stars street-detection function, and it should be much more reliable - next update should work for almost any table / card mod ETA: Friday.

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 10:37 PM
Hi King Spew,

Quote:
Full Tilt

_dave_,

I need to apologize. After reading this thread a few times , it seems to work for me afterall. My fall from grace began with me trying to multitable on multiple monitors. the BTP.ahk works fine on Full Tilt if I have one table open on my Primary monitor. Unfortunately I was in the habit of ALWAYS dragging the first open table to the left monitor..... which is my #2. So it seems your script has a HUGE problem...... me

Soooooooooooooo, I just wanted to say, thanks again.
Glad to hear you got it working

Full Tilt still seems quite broken for many others, and I will add an (additional) alternative method for FT in the next update.

Very interesting to find out that FT does not like negative co-ords, like the Stars code does. I did not expect this from the FT functions, but I am still learning . This is likely the cause of FT problems for many reporting difficulties.

Thanks for the report,

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 10:44 PM
Quote:

I am not sure how I would be able to control folding, calling,

I have added hotkey functions to (adv-fold)/fold and check/call to my current test code - they will be in the next update.

I am really enjoying using the mouse to point at a table, and the keyboard to fold-call-bet/raise pot

Only coded it for Stars so far, gonna have to add this for all other sites before release. Won't take long, I shouldn't imagine.

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
11-01-2006 , 11:07 PM
Thanks Dave I think i'll just go back to the default. Little bit over my head to figure out and not that big of a deal.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote

      
m