Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #111  
Old 08-15-2006, 08:26 PM
Jehaim Jehaim is offline
Senior Member
 
Join Date: Nov 2005
Location: His love is everlasting
Posts: 3,375
Default Re: Table Highlighter (New AHK Script)

[ QUOTE ]
The color-changing highlighter script doesn't work anymore.

It keeps stuck on the first color.

Anybody got a working color-changing script?

[/ QUOTE ]

Oops, should have read the newest code. [img]/images/graemlins/cool.gif[/img]

Thanks for this awesome script.
Reply With Quote
  #112  
Old 08-15-2006, 10:40 PM
APerfect10 APerfect10 is offline
Senior Member
 
Join Date: Jan 2005
Location: PokerTracker 3
Posts: 979
Default Re: Table Highlighter (New AHK Script)

I'd prefer Adde fix it since it sounds like he probably made some changes that affect it. If he doesnt touch it by the morning I'll take a look into it...
Reply With Quote
  #113  
Old 08-17-2006, 12:03 AM
APerfect10 APerfect10 is offline
Senior Member
 
Join Date: Jan 2005
Location: PokerTracker 3
Posts: 979
Default Re: Table Highlighter (New AHK Script)

I took a look at color changing today and it seems to be working fine for me. Are you sure you have it configured properly and are using the latest version?
Reply With Quote
  #114  
Old 08-17-2006, 07:47 AM
Jehaim Jehaim is offline
Senior Member
 
Join Date: Nov 2005
Location: His love is everlasting
Posts: 3,375
Default Re: Table Highlighter (New AHK Script)

The color changing is working, I just didn't adjust the code.

That's why I said: "I should have read the newest code." [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #115  
Old 08-17-2006, 12:36 PM
Adde Adde is offline
Senior Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 2,453
Default Re: Table Highlighter (New AHK Script)

Been away. I like it when problems are solved automagically. My favorit type of problems. [img]/images/graemlins/wink.gif[/img]

Adde
Reply With Quote
  #116  
Old 09-23-2006, 03:04 AM
oreopimp oreopimp is offline
Senior Member
 
Join Date: Oct 2004
Location: the American Bukkake
Posts: 4,926
Default Re: Table Highlighter (New AHK Script)

Is there anyway to get it to highlight the other tables instead of the one table in the top left corner? No matter what table is awaiting my desicion it will only highlight the top left table. so basically the top left table is constantly flashing and none of the other tables are.

my settings:


<font class="small">Code:</font><hr /><pre> AQ_Ex = 1 ; set to 0 to ignore advance action buttons
timeBeep = 0 ; beep once if you have x seconds left - set to 0 to never beep
timeContBeep = 0 ; beep - beep - beep - beep ...
timeFlash = 1 ; flashes the gui instead of beeping (though you can have both)
shiftColors = 0 ; set to 1 to use move through a range of color (written by SamIAm)
style = chatbox ; options: Bar, BottomBar, or Chatbox
barX = 3 ; these apply only to "BottomBar" style
barY = 500 ; they are dynamic - configure them on a table of normal size,
barW = 790 ; then use with any table size
barH = 76 ;

roundCorners = 0 ; set to 1 if you want rounded corners on TopBar (does not apply to BottomBar and others)
skipUnderMouse = 0 ; set to 1 if window under mouse should not be highlighted
skipUnderMouseTitle = 0 ; set to 1 if window with mouse under window titlebar should not be highlighted
buttonFlash = 1 ; set to 1 to flash bar when non-advance buttons are shown
barTopH = 0 ; set height of TopBar; set to 0 to use default height of window titlebar
barTopY = 0 ; set Y coordinate where TopBar should be located
activate_on_mouse_over = 1 ; set to 1 to activate table when mouse is over highlight bar
flash_speed = 2 ; set flash speed (1=fast, 2=medium, 3=slower, etc)
</pre><hr />
Reply With Quote
  #117  
Old 09-23-2006, 12:42 PM
Adde Adde is offline
Senior Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 2,453
Default Re: Table Highlighter (New AHK Script)

[ QUOTE ]
Is there anyway to get it to highlight the other tables instead of the one table in the top left corner? No matter what table is awaiting my desicion it will only highlight the top left table. so basically the top left table is constantly flashing and none of the other tables are.

[/ QUOTE ]

Try [style=Bar] and [style=BottomBar] and see if these works. If yes, there's a problem with ChatBox and I can look at it.

Adde
Reply With Quote
  #118  
Old 09-23-2006, 08:03 PM
oreopimp oreopimp is offline
Senior Member
 
Join Date: Oct 2004
Location: the American Bukkake
Posts: 4,926
Default Re: Table Highlighter (New AHK Script)

[ QUOTE ]
[ QUOTE ]
Is there anyway to get it to highlight the other tables instead of the one table in the top left corner? No matter what table is awaiting my desicion it will only highlight the top left table. so basically the top left table is constantly flashing and none of the other tables are.

[/ QUOTE ]

Try [style=Bar] and [style=BottomBar] and see if these works. If yes, there's a problem with ChatBox and I can look at it.

Adde

[/ QUOTE ]

yeah just tried it per your and Perfect10s instructions...the BAR option works perfectly. didnt try the other, but the chatbox option remains stuck on the top left table.

anyway enjoying the program so far now that it be working, good stuff.
Reply With Quote
  #119  
Old 09-24-2006, 01:28 PM
Adde Adde is offline
Senior Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 2,453
Default Re: Table Highlighter (New AHK Script)

Fixed the chatbox bug now. If you prefer Chatbox over Bar, update your script.

http://overcards.com/wiki/moin.cgi/TableHighlighter

Adde
Reply With Quote
  #120  
Old 09-25-2006, 12:16 AM
oreopimp oreopimp is offline
Senior Member
 
Join Date: Oct 2004
Location: the American Bukkake
Posts: 4,926
Default Re: Table Highlighter (New AHK Script)

I was wondering if it would be possible to get a color shift like Dave posted below (for an older version of the script) but for the newest version. any ideas on how Id incorporate it into the latest version?



[ QUOTE ]
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 [img]/images/graemlins/smile.gif[/img] Many thanks.

I have actually made a few more modifications now. I have changed the <font color="blue">TH_DoHighlight:</font> function to this - (new parts in <font color="blue">blue</font>, 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 [img]/images/graemlins/smile.gif[/img]


--------------------------------------------------------------------------
TH_DoHighlight:
<font color="blue"> 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 &lt;= 6)
{
th_bar_color = FF0000 ;red

SoundBeep, 1500, 20
Sleep, 30

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

}
}
</font> CoordMode, Pixel, Relative
if (th_tables_arr%indexThis%2 = TRUE)
{
<font color="blue"> Gui, %guiNum%: Color, %th_bar_color%</font>
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.

[/ QUOTE ]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.