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-25-2006 , 06:48 PM
Quote:
Quote:
Just to let you now, I have the same issue using the standard Stars theme.
With the brown buttons?

Pls post a PNG screenshot if you don't mind,

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 07:19 PM
Hi Melchiades,

if you eun with debug=1, does it pick up the numbers from the call / raise buttons?

The slider is the correct colour to be recognised as "normal" theme, it only seems to me a slight difference in the background of the pot area.

Try changing this setting, and see if there is any effect:

Line# 1083
--------------------------------------------------------------------------------------------------------------------
pot := DigitSearch(relXStars(380, w), relYStars(35, h), relXStars(496, w), relYStars(60, h), id, potPicDir)
--------------------------------------------------------------------------------------------------------------------

change to:
--------------------------------------------------------------------------------------------------------------------
pot := DigitSearch(relXStars(380, w), relYStars(35, h), relXStars(496, w), relYStars(60, h), id, potPicDir, 30)
--------------------------------------------------------------------------------------------------------------------

That is, add a comma and a number at the end of this function call.

The number is a "tolerance level" for the image-matching. By default it is 1 - no differences allowed.

Maximum value is 255 - this will return a positive match for totally different images.

I suggest trying 30, but play around with values 2-40 and see if you can get it working.

If you look at the line below, you can see I set a value of 40 for matching the call/raise button values, this seemed to work well in testing for these blended numbers. I did not envisage differences in the shade of perople's pot amounts, though.


Good luck,

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 07:19 PM
First of all, thank you dave for creating this script.

I have not been able to get it to work either, on stars or FT. The mouse scroll works, but it does not generate the correct bet size amounts using the mouse buttons.
Quote:

Edit: Does any one else who is having trouble getting it to work on stars also have the pot scanner part appearing slightly high and right?
Is this part of the problem? Here is a screenshot of the image capture box:
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 07:21 PM
Hi King Spew,

It does indeed seem that the hand history is not making it to or from the clipboard in your case.

Can you manually copy text from the chat window into e.g. notepad, using the mouse to select and then CTRL+C to copy?
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 07:26 PM
Hi Herbertdotcom,

The scanner appearing away from the intended area is indeed a cause of incorrect function.

I believe I know how to fix it, but it will take me a little while to implement a fixed version.

The script seems to be calculating the client area wrongly, so that with WinXP theme settings different to mine (Windows Classic) some of the co-ordinates are out of line with where they should be.



What problems are you getting on FT? are you having similar lack of hand-history test as is King Spew?


dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 07:32 PM
Quote:
if you eun with debug=1, does it pick up the numbers from the call / raise buttons?
Seems to pick up number from the call, raise buttons but not the pot. When I see it scanning for potsize it seems to look a bit too much up and to the right.

Quote:
Try changing this setting, and see if there is any effect:

Line# 1083
--------------------------------------------------------------------------------------------------------------------
pot := DigitSearch(relXStars(380, w), relYStars(35, h), relXStars(496, w), relYStars(60, h), id, potPicDir)
--------------------------------------------------------------------------------------------------------------------

change to:
--------------------------------------------------------------------------------------------------------------------
pot := DigitSearch(relXStars(380, w), relYStars(35, h), relXStars(496, w), relYStars(60, h), id, potPicDir, 30)
--------------------------------------------------------------------------------------------------------------------

Tried various numbers in the suggested interval. No change.

Cheers for trying to help.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 07:43 PM
Quote:

When I see it scanning for potsize it seems to look a bit too much up and to the right.

Try changing these bits: (or running XP theme "Windows Classic")
--------------------------------------------------------------------------------------------------------------------
pot := DigitSearch(relXStars(320, w), relYStars(35, h), relXStars(496, w), relYStars(90, h), id, potPicDir, 30)
--------------------------------------------------------------------------------------------------------------------

These are the starting X position, and ending Y position for the pot-scan.

These values are a guess, but should be large enough to get the whole thing.

See what happens - with debug=1 at least you can see that changes to these numbers are doing immediately.


Good luck,

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 07:57 PM
Quote:


Try changing these bits: (or running XP theme "Windows Classic")
--------------------------------------------------------------------------------------------------------------------
pot := DigitSearch(relXStars(320, w), relYStars(35, h), relXStars(496, w), relYStars(90, h), id, potPicDir, 30)
--------------------------------------------------------------------------------------------------------------------

The script I downloaded has another argument in DigitSearch before the "shades" argument. After adding ', "", 30' it worked for me.

Maybe this problem has something to do with the color depth of the machines we're using?
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 08:03 PM
Dave: That did it! The script works even better then it did on party.

The speed seems faster and it gets the right values in the blinds. This is just so awesome
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 08:08 PM
Thanks for pointing that out Nortonesque



[/quote]
The script I downloaded has another argument in DigitSearch before the "shades" argument. After adding ', "", 30' it worked for me.


[/quote]

You are quite correct, I somehow missed that (empty) parameter out. It is ovbious when looking at the call search function right below aswell.

Melchiades, please excuse my error and try again (with the missing ,"") if you want.


dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 08:23 PM
so it should look like this?..............notice the end part

Quote:

--------------------------------------------------------------------------------------------------------------------
pot := DigitSearch(relXStars(320, w), relYStars(35, h), relXStars(496, w), relYStars(90, h), id, potPicDir, "", 30)
--------------------------------------------------------------------------------------------------------------------

BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 08:32 PM
Yep
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 08:41 PM
dave can you check your pm
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 09:05 PM
Hi Right5,

Checked my PMs

Quote:

Just wondering what is wrong with this line? One some tables when I use the script everything is fine, and on others I get this error

Error: This variable or function name contains an illegal character. Specifically: c-948

Line 1205: C%lastXpos% = %t%
Does this happen often? It seems that lastXpos is holding a negative number here - this should never happen, and is the cause of this error.

Do you have any idea how I could reproduce such behaviour?

dave.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 09:17 PM
Quote:
DonButtons: I actually got the mod from Handsome

I will PM you with info, I don't think he would mind me passing it along.
hook me up too if you dont mind.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 09:23 PM
Hey Dave, for FTP the issue I'm having is that the only thing that works is the scroll. Wheel down / right or left click does nothing preflop or postflop. What do you suggest? I'm pretty bad at computers so talk slow if you know what I mean.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 09:40 PM
Quote:

Can you manually copy text from the chat window into e.g. notepad, using the mouse to select and then CTRL+C to copy?
Yes I can.

Edit: Well, actually no, maybe not. I can highlight text by dragging the mouse, right click and choose "Copy". Then in the Notepad window, I right click at choose "Paste". That works. However, after choosing "Copy", if the Notepad window has the curser focus, ^C doesn't do anything. I've never used ^C before, so maybe I'm not 'using' it right???? I dunno.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 09:51 PM
Quote:
Quote:

Can you manually copy text from the chat window into e.g. notepad, using the mouse to select and then CTRL+C to copy?
Yes I can.
Try adding the following two lines, at line 424 and 426 ( Either side of the exisiting ContrrolSend command, make space for them)

-------------------------------------------------------
clipboard = ;Empty the clopboard
ControlSend, FTCChat1, ^c
ClipWait, 2
-------------------------------------------------------

This will in turn empty the clipboard, send the copy command, and wait a full two seconds for the clipboard to recieve data before proceeding.

It will be slow, but it may give more of a clue what is stopping it from working.

Let me know if or if not this helps,

dave.

EDIT: ^c, or CTRL+C, should be the same as right-click/copy - I would expect it to do nothing if notepad has the focus (nothing to copy)
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 10:15 PM
Quote:
Hi Right5,

Checked my PMs

Quote:

Just wondering what is wrong with this line? One some tables when I use the script everything is fine, and on others I get this error

Error: This variable or function name contains an illegal character. Specifically: c-948

Line 1205: C%lastXpos% = %t%
Does this happen often? It seems that lastXpos is holding a negative number here - this should never happen, and is the cause of this error.

Do you have any idea how I could reproduce such behaviour?

dave.
Usually when I open like lets say six tables, half of them are perfectly fine and the other half I get that error everytime I use the script on them
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 10:21 PM
Quote:
I only have a 3 button mouse
If I can get this script to work, I will send you enough money to buy yourself a nice Logitech mouse.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 10:26 PM
Quote:

If I can get this script to work, I will send you enough money to buy yourself a nice Logitech mouse.

Oooh, this one?


Joking obv.

What have you tried by now Dazareth? Any clues in the debug tooltip?

Do you have simialar *slightly different* colours to the other Stars problems in this thread?

Or are the scanner areas a bit off where they should be?
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 10:48 PM
Hi Dave,

First off thanks for not only scripting this program but also putting so much effort into helping us get it debugged. Anyway, I am having the same problem on stars using the hypersimple theme (with a black background). I expanded the pot search area since originally it was high and right but that didn't change my results. I also played with the tolerance but that didn't change anything either. So there must be something else going on. Anyway, here it a screen shot of my debug balloon. Thanks again for all your help.




Edit: I GOT IT WORKING!!!

It turned out to be the tolerance thing after all, the reason why it didn't work the first time I tried it was because i didn't realize you had to add the double quotation marks and then another comma before entering the tolerance value.

Thanks again
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 11:29 PM
WORD UP DaVE!!!!!!!!!!!!!!!

so u be running windows XP but witht he classic theme,

if that's thej case I'll siompyl switch, I did manage to photoshop all my pot pics to no avail,
i just went and browsed the call pics and they are diffetent?

WHYs?

anyway parden my drunk,

love
aekd
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 11:46 PM
Quote:
Oooh, this one?


Joking obv.

What have you tried by now Dazareth? Any clues in the debug tooltip?

Do you have simialar *slightly different* colours to the other Stars problems in this thread?

Or are the scanner areas a bit off where they should be?
Haha, maybe. I'll look into it. I hadn't even seen that mouse before.

Ok, I originally had a custom theme that was the hyper-simplified theme, with the stars theme buttons, a black background, and a slightly modified table (I don't like the "PokerStars" that's in the middle).

When I use the hyper-simplified theme, the script works well (except for the amounts when I'm in the blinds are a bit off). If I make a custom theme, and I switch in my custom background and table (still using the hyper-simplified buttons), it doesn't work anymore.
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote
10-25-2006 , 11:52 PM
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?
BetPot AHK (Stars/Party/iPoker/FTP/Crypto/Prima) Quote

      
m