Open Side Menu Go to the Top
Register
People left to act .AHK People left to act .AHK

06-01-2010 , 08:40 AM
I am wondering if anyone can give me some input on this idea.I would like to try and program a script in .ahk to display the number of people left to act.Can anyone link me to some source code I borrow.I think the best way to do it would be to count the card backs that are still visible and display that number on the active window.Could someone give me some input.
People left to act .AHK Quote
06-01-2010 , 08:43 AM
why?
People left to act .AHK Quote
06-01-2010 , 08:52 AM
Quote:
Originally Posted by Aftermath
why?
when mass tabling it is hard to look at the table and see how many people are left to act.I would like to be able to have a three step process.I would like to look at my cards,my M-ZONE and how many people are left to act and I would like this to be all in the same part of the table so I do not have move my eyes.Right now I stack tables and have my M-Zone displayed right above my cards.I would like to have the number of players left to act displayed right above this because obviously my shove range changes based on whether there are 8 people left to act or 7 and sometimes I don't notice that someone is missing off the table.
People left to act .AHK Quote
06-01-2010 , 09:05 AM
It would be nice to have a different color for every number as well, like 8 people left to act would be red then the next color would be orange and one player left to act would be green.Red would symbolize the tightest push range since we are UTG and green would be the loosest push range since we are in SB.
People left to act .AHK Quote
06-01-2010 , 12:21 PM
great idea, currently i have my big blind number directly near my cards (function of table ninja), so a number of left players as an addition would make the decision faster wheter to shove or to fold... i dont know if it really helps but its worth a try
People left to act .AHK Quote
06-01-2010 , 12:48 PM
Quote:
Originally Posted by vkartmann
great idea, currently i have my big blind number directly near my cards (function of table ninja), so a number of left players as an addition would make the decision faster wheter to shove or to fold... i dont know if it really helps but its worth a try
Thanks, I really,really think it will help
People left to act .AHK Quote
06-01-2010 , 05:24 PM
Quote:
I think the best way to do it would be to count the card backs that are still visible and display that number on the active window
See PixelGetColor http://www.autohotkey.com/docs/comma...elGetColor.htm - it will allow you to check for card backs quite easily. You'll need WinGetPos to find a table coordinates if you want it to work no matter the stack position / table size. I'd start off using a very simple GUI (or even just a ToolTip) to show the number until it's counting correctly.

Sorry, not sure how much ahk you know. it can be a lot more complicated (and fast/pretty) if you know your stuff.
People left to act .AHK Quote
06-02-2010 , 04:22 AM
Quote:
Originally Posted by _dave_
See PixelGetColor http://www.autohotkey.com/docs/comma...elGetColor.htm - it will allow you to check for card backs quite easily. You'll need WinGetPos to find a table coordinates if you want it to work no matter the stack position / table size. I'd start off using a very simple GUI (or even just a ToolTip) to show the number until it's counting correctly.

Sorry, not sure how much ahk you know. it can be a lot more complicated (and fast/pretty) if you know your stuff.
Thanks for the help Dave
People left to act .AHK Quote
06-02-2010 , 10:20 AM
Do you want the information to be displayed on the table like a HUD?

I did a HUD with AHK (which by the way display some general information like the M-zone and could add player to acts informations based on HH first which is easier than pixelgetcolor but is less accurate) but I'm not very happy with it.

If you find a way to display text on a table I would be interested.

My script is available here http://fab12.free.fr/PokerToolBox/PTBEnglish.htm
but since it is 8k lines I don't think it will be easy for you to find relevant information (there is a HUD functions part though).
People left to act .AHK Quote
06-02-2010 , 02:58 PM
Quote:
Originally Posted by fab12
If you find a way to display text on a table I would be interested.
have a read of my old AHK-HUD - lots of text on tables lol. It's a bit complicated, and slightly broken due to site updates since I last used it. but since you've written your own 8K line script I fhink you'll understand what's going on OK. Ask if theres anything unclear

www.overcards.com/wiki/moin.cgi/AHK-HUD
People left to act .AHK Quote
06-03-2010 , 03:52 AM
Quote:
Originally Posted by _dave_
have a read of my old AHK-HUD - lots of text on tables lol. It's a bit complicated, and slightly broken due to site updates since I last used it. but since you've written your own 8K line script I fhink you'll understand what's going on OK. Ask if theres anything unclear

www.overcards.com/wiki/moin.cgi/AHK-HUD
Thanks. I just had a look and it seems smart.
Probably too smart for me to port into my script :-).

My main problem is to keep the HUD window on top of the table. It tends to blink when I activate the table and I find it a little bit annoying.
Besides that my HUD is working correctly except that since I move to win7 I noticed that transparency is not handled as in XP. Click does not fall through transparent window except if I change the windows theme to windows classic.
Anyway I use PT3 HUD now. But still would be cool to be able to display general information as requested by Sorrybadbeat.
People left to act .AHK Quote
06-03-2010 , 06:12 AM
Quote:
Originally Posted by fab12
Do you want the information to be displayed on the table like a HUD?

I did a HUD with AHK (which by the way display some general information like the M-zone and could add player to acts informations based on HH first which is easier than pixelgetcolor but is less accurate) but I'm not very happy with it.

If you find a way to display text on a table I would be interested.

My script is available here http://fab12.free.fr/PokerToolBox/PTBEnglish.htm
but since it is 8k lines I don't think it will be easy for you to find relevant information (there is a HUD functions part though).
Yeah, I would like it displayed like a HUD on every active table.I'm going to see what I can get done today.
People left to act .AHK Quote
06-03-2010 , 04:50 PM
Quote:
Originally Posted by fab12
My main problem is to keep the HUD window on top of the table. It tends to blink when I activate the table and I find it a little bit annoying.
DllCall / SetParent is my method of choice for this, it binds a GUI element (HUD display) to essentially become a control of the targetted parent (poker table instead of desktop)

There are other ways, but SetParent is fantastic.

Last edited by _dave_; 06-04-2010 at 08:24 PM. Reason: epic 6Kth post imo :-/
People left to act .AHK Quote
06-04-2010 , 09:13 AM
Quote:
Originally Posted by _dave_
DllCall / SetParent is my method of choice for this, it binds a GUI element (HUD display) to essentially become a control of the targetted parent (poker table instead of desktop)

There are other ways, but SetParent is fantastic.
I remember trying the setparent but add problem. Since I did not remember which problem I just retried :-).
It turns out the problem is related to transparency.

Either my gui is not transparent or the parent window is transparent as well.

Note that I have one GUI per table while I think you have one GUI per palyer at the table don't you?
Isn't there a problem with the max number of GUI (99)?

Thanks for the help.

Fabien
People left to act .AHK Quote
06-04-2010 , 08:31 PM
ah yes, transparent won't work with setparent. as you've found it's because it's now a part of the parent so it gets transparent too. or something like that.

yeah I use 1 gui per player to avoid this. actually more, 1 gui per panel per player, each player can have like 7 stat panels (gui numbers), reserving a few for averages / mucked cards etc. I get around limited gui numbers by spawning a new process per table, so each table has 99 guis available. this can get demanding on resources with a lot of tables however.

another method, if you want transparency and only 1 gui per table, is to use "always on top" to avoid flicker, optionally coupled with "setregion" to crop a gui to the table size. obv. always on top is useless for stacking tho.
People left to act .AHK Quote

      
m