Terms & Conditions

Internet Magazine

Non–US new players
Get five 2+2 books


Order Books
Book Translations
Forum Login
 
 
Expand All   Collapse All

 Two Plus Two 
2+2 Magazine Forum
Special Sklansky Forum
2+2 Pokercast
About the Forums

 General Poker Discussion 
Beginners Questions
Books and Publications
Televised Poker
News, Views, and Gossip
Brick and Mortar
Home Poker
Beats, Brags, and Variance
Poker Theory
Poker Legislation

 Coaching/Training 
StoxPoker
DeucesCracked

 German Forums 
Poker Allgemein
Strategie: Holdem NL cash
Strategie: Sonstige
Internet/Online
BBV
Small Talk
German Poker News

 French Forums 
Forum francophone
Strategie
BBV (French)

 Limit Texas Hold'em 
High Stakes Limit
Medium Stakes Limit
Small Stakes Limit
Micro Stakes Limit
Mid-High Short-handed
Small Stakes Shorthanded
Limit––>NL

 PL/NL Texas Hold'em 
High Stakes
Medium Stakes
Small Stakes
Micro Stakes
Small-High Full Ring
Micro Full Ring

 Tournament Poker 
Small Stakes MTT
High Stakes MTT
MTT Community
STT Strategy
Tournament Circuit

 Other Poker 
Omaha/8
Omaha High
Stud
Heads Up Poker
Other Poker Games

 General Gambling 
Probability
Psychology
Sports Betting
Other Gambling Games
Entertainment Betting

 Internet Gambling 
Internet Gambling
Internet Bonuses
Affiliates/RakeBack
Software

 2+2 Communities 
Other Other Topics
The Lounge: Discussion+Review
El Diablo's General Discussion
BBV4Life

 Other Topics 
Golf
Sporting Events
Politics
Business, Finance, and Investing
Travel
Science, Math, and Philosophy
Health and Fitness
Student Life
Puzzles and Other Games
Video Games
Laughs or Links!
Computer Technical Help
Sponsored Support Forums
RakebackNetwork
RakeReduction.com
Other Links
Books
Authors
Abbreviations
Calendar
Order Books
Books by Others
Favorite Links
Feedback
Advertising Information
Home
Posting Hints
Privacy Notice
Forum Archives

The 2+2 Forums

Before using this Forum, please refer to the Terms and Conditions (Last modified: 2/26/2006)

Be sure to read the   Two Plus Two Internet Magazine

This is an archive. The main forums are here

These forums are read only.


 
UBB.threads™ Groupee, Inc.

Internet Gambling >> Software

Pages: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | >> (show all)
_dave_
_Pooh-Bah_


Reged: 02/17/05
Posts: 2628
Loc: UK
Re: Table Highlighter (New AHK Script) [Re: Adde]
      #6425075 - 07/05/06 01:18 AM

Hi Adde,

I am glad you like my alterations to this script - let me re-state, I am now finding this script an essential part of my Party multi-tabling aresenal Many thanks.

I have actually made a few more modifications now. I have changed the TH_DoHighlight: function to this - (new parts in blue, I think):

Basically, this retrieves the countdown timer from "static3" (if it is visible), and makes the highlight bar cycle through varying colours depending upon the urgency of action required - it starts off cyan, then green, if it gets to less than 6 seconds, it goes red and also beeps the PC speaker


--------------------------------------------------------------------------
TH_DoHighlight:
th_bar_color = 00FFFF ;cyan

ControlGet, s3vis, Visible, , Static3, ahk_id%tableID%
if (s3vis)
{
ControlGetText, remaining, Static3, ahk_id%tableID%
If( InStr(remaining, "You have") AND InStr(remaining, "secs to respond"))
{
StringMid, remaining, remaining, InStr(remaining, "You have")+9
StringMid, remaining, remaining, InStr(remaining, "secs to respond")-2,, L
;MsgBox %remaining%
If(remaining <= 6)
{
th_bar_color = FF0000 ;red

SoundBeep, 1500, 20
Sleep, 30

}
Else If(remaining <= 9)
{
th_bar_color = FF8000 ;orange
}
Else If(remaining < 12)
{
th_bar_color = FFFF00 ;yellow
}
Else If(remaining < 16)
{
th_bar_color = 00FF00 ;green
}

}
}
CoordMode, Pixel, Relative
if (th_tables_arr%indexThis%2 = TRUE)
{
Gui, %guiNum%: Color, %th_bar_color%
continue
}
WinGetPos, x, y, w, h, ahk_id%tableID%
px := x + th_bar_left
py := y + th_bar_top

Gui, %guiNum%: +Alwaysontop +Lastfound +Owner
Gui, %guiNum%: Color, %th_bar_color%
WinSet, Transparent, %th_bar_trans%
Gui, %guiNum%: -Caption
Gui, %guiNum%: Show, w%w% h%th_bar_height% x%px% y%py% NoActivate

th_tables_arr%indexThis%2 := TRUE
}

--------------------------------------------------------------------------

There must be a more elegant way of doing this, but I am somewhat new to this AHK business...


With this I can now play 8+ table of 6-max no problem... it is excellent, again, many thanks.

My modifications I think are very crude, and surely there is a cleaner way of doing this? Is there an equivalent of the switch/case construct in AHK or must these things be done with many else/if statements?

Many thanks,

dave.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Adde
Pooh-Bah


Reged: 10/15/02
Posts: 2453
Loc: Sweden
Re: Table Highlighter (New AHK Script) [Re: _dave_]
      #6427294 - 07/05/06 09:33 AM

Hey, glad you like it.

I've also thought about the changes you made, but haven't got my thumbs out yet. I'll add them soon, and make them optional by using a setting like pst_enable_color_cycle or something.

Adde


Post Extras: Print Post   Remind Me!   Notify Moderator  
Jehaim
Hero bets $1


Reged: 11/02/05
Posts: 3375
Loc: His love is everlasting
Re: Table Highlighter (New AHK Script) [Re: Adde]
      #6427315 - 07/05/06 09:39 AM

Was just gonna ask if it could be made that it changes color depending on time left.

Awesome. Ty adde and dave.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tizim
enthusiast


Reged: 09/22/04
Posts: 342
Re: Table Highlighter (New AHK Script) [Re: Jehaim]
      #6439636 - 07/06/06 09:10 AM

I can already tell in a glance which tables have the action buttons popped up. This program would be most useful to me if it flashed a different color indicating that I only have 15 or so seconds left to act.

Post Extras: Print Post   Remind Me!   Notify Moderator  
_dave_
_Pooh-Bah_


Reged: 02/17/05
Posts: 2628
Loc: UK
Re: Table Highlighter (New AHK Script) [Re: tizim]
      #6448264 - 07/06/06 09:49 PM

Quote:

I can already tell in a glance which tables have the action buttons popped up. This program would be most useful to me if it flashed a different color indicating that I only have 15 or so seconds left to act.




Hi Tizim,

did you miss my last post in this thread? (3 posts up in flat mode).

Implement the changes I posted, and the highlight changes from cyan through green, yellow, orange as time decreases, then goes red and beeps maniacly when you have >6 seconds to act on a table.

I think this is what you are requesting, no?

Enjoy,

dave.


Post Extras: Print Post   Remind Me!   Notify Moderator  
tizim
enthusiast


Reged: 09/22/04
Posts: 342
Re: Table Highlighter (New AHK Script) [Re: _dave_]
      #6452007 - 07/07/06 05:39 AM

Actually dave, your modifications sound like exactly what I'm looking for. But, I'm having trouble getting the default TableHighlighter to work.

When the bar begins to flash, it flashes at the center of my computer screen rather than at the title bar of the table. How can I fix this?


Post Extras: Print Post   Remind Me!   Notify Moderator  
cassolete
newbie


Reged: 03/11/05
Posts: 41
Loc: Volgograd, Russia
Re: Table Highlighter (New AHK Script) [Re: tizim]
      #6469273 - 07/08/06 10:15 PM

Very nice script !! Thanks all of you guys for making multitabling easier.
These images will make it possible to recognize when advance action buttons are present on a table. This functionality may not work if you are using a different table background. If that is the case, try to open them with a image editor and crop them slightly. It's my case and I can't understand what should i do with this two images to make highlighting work with advance buttons. The problem is with a word "CROP". My dictionary translates it incorrectly (or just im so dumb that can't get sense). Could you please tell me what to do in another words? THANKS !

Edited by cassolete (07/08/06 10:20 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
jukofyork
Carpal \'Tunnel


Reged: 09/16/04
Posts: 2551
Loc: Leeds, UK.
Re: Table Highlighter (New AHK Script) [Re: cassolete]
      #6469751 - 07/08/06 11:17 PM

Quote:

Very nice script !! Thanks all of you guys for making multitabling easier.
These images will make it possible to recognize when advance action buttons are present on a table. This functionality may not work if you are using a different table background. If that is the case, try to open them with a image editor and crop them slightly. It's my case and I can't understand what should i do with this two images to make highlighting work with advance buttons. The problem is with a word "CROP". My dictionary translates it incorrectly (or just im so dumb that can't get sense). Could you please tell me what to do in another words? THANKS !


To crop an image simply means to cut some of the edges off (so if the original image was say 1000x1000, you might "crop" it down to be 900x900 by cutting the edges off).

Hope my definition makes sense - Juk


Post Extras: Print Post   Remind Me!   Notify Moderator  
cassolete
newbie


Reged: 03/11/05
Posts: 41
Loc: Volgograd, Russia
Re: Table Highlighter (New AHK Script) [Re: jukofyork]
      #6470037 - 07/08/06 11:51 PM

Yes !! Thanks. Just as i thought. I think i understood the problem. It was not with my background, but with my table size: i use party tilling (yes, i am a poor russian with only 17' monitors ). So i suppose i need to decrease the size of images to allow script recognize them at the table when it needs.
A have a request. Could anybody teach this script not to hightlight if the table is active ? I mean if I present at this table. I use TweakUI that allows me to make table active if my mouse pointer is situated on it. At first, i don't really need hightlight if i am at THIS current table now. Second, if highlight bar is on the top of the table it doesn't allow me to move this table(i use PartyPlanner to do it); if it's on the bottom of the table, i can't switch muck lossing\uncalled hands option, can't type anything in chat window and can't view last hands results to know how active was the guy which is trying to steal my blind now.
Thanks and excuse my awful english.


Post Extras: Print Post   Remind Me!   Notify Moderator  
cassolete
newbie


Reged: 03/11/05
Posts: 41
Loc: Volgograd, Russia
Re: Table Highlighter (New AHK Script) [Re: cassolete]
      #6471066 - 07/09/06 01:44 AM

Have just tried to cut this image from a screenshot with my resized table (with advanced buttons) and then to convert it to a .gif using ACDSee. Highlighter can recognize it when i view it with ACDSee(highlight bar appears), but can't when it appears on a table. Any suggestions?

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | >> (show all)



Extra information
0 registered and 11 anonymous users are browsing this forum.

Moderator:  SamIAm, Mike Haven 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 11976

Rate this topic

Jump to

contact us 2+2 Publishing

Powered by UBB.threads™ 6.5.5


Message Boards and Forums Directory

Pages provided by ConJelCo