Two Plus Two Newer Archives

Two Plus Two Newer Archives (http://archives1.twoplustwo.com/index.php)
-   STT Strategy (http://archives1.twoplustwo.com/forumdisplay.php?f=38)
-   -   AHK Script for Full Tilt SnG's (http://archives1.twoplustwo.com/showthread.php?t=331078)

Quetzo 02-13-2007 04:31 PM

AHK Script for Full Tilt SnG\'s
 
This version works well enough so I'm not sure I will do much more with it. In file "Hot Keys.ahk" I have some hot keys for function keys and mouse buttons so if you don't like that you will have to edit that file. Script is started with the file "Starter.ahk". Clocks use image search so those will probably not work for others.

And here's the link to a rar-file with the script: FTPSnGMTH

You can read some about an old version of the script in my blog: d-jarl's blog
Note that the hot keys are changed though so better open the file "Hot Keys.ahk" in Notepad and see what the hot keys do.

nighty_boy 02-13-2007 04:36 PM

Re: AHK Script for Full Tilt SnG\'s
 
Ive been testing the script for a while and did a movie, 48 megs, 6 mins for showing the basic functions of the script (FullTilt).

http://www.yousendit.com/transfer.ph...11EF2C71B3E403
Might be good to checkout before testing :>

z32fanatic 02-13-2007 06:10 PM

Re: AHK Script for Full Tilt SnG\'s
 
Thanks a lot for this, nice program. I knew it was a djarlx program when I saw the 24 table slots pop up. What a sicko. [img]/images/graemlins/grin.gif[/img]

z32fanatic 02-13-2007 06:40 PM

Re: AHK Script for Full Tilt SnG\'s
 
How do I get it to stop going down the list of SNGs and unregistering me then re-registering me? Also, I couldnt get audio for the tutorial video.

nighty_boy 02-13-2007 06:54 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
How do I get it to stop going down the list of SNGs and unregistering me then re-registering me? Also, I couldnt get audio for the tutorial video.

[/ QUOTE ]
~

1)Tried unreg? then it will automatically reregister, think thats whats you ment?
2)No sounds in the manual video, saved you from that...

Any comment about the script, and suggestions for improvement are greatly appriciated by Quetzo, at least thats my guess [img]/images/graemlins/smile.gif[/img]

z32fanatic 02-13-2007 07:00 PM

Re: AHK Script for Full Tilt SnG\'s
 
No, when I hit Start, it goes down the line of SNGs and registers me for each one. Then when it reaches the bottom of the lobby, it stops for 10 seconds, then starts again at the top. It then tries to register me for the tourney again, which ends up hitting the unregister button. It then immediately registers me again for the same tourney. This process repeats continuously.

I think the problem is that my SNGs arent showing up in the "registered" box after it registers me for them.

Quetzo 02-13-2007 07:15 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
No, when I hit Start, it goes down the line of SNGs and registers me for each one. Then when it reaches the bottom of the lobby, it stops for 10 seconds, then starts again at the top. It then tries to register me for the tourney again, which ends up hitting the unregister button. It then immediately registers me again for the same tourney. This process repeats continuously.

I think the problem is that my SNGs arent showing up in the "registered" box after it registers me for them.

[/ QUOTE ]

Have you entered your playername in Settings? It needs that to be able to check if you're registered for a tourney.

Powers_That_Be 02-13-2007 10:59 PM

Re: AHK Script for Full Tilt SnG\'s
 
Just wanted to say thanks for the awesome script.

Had a couple of quick questions if you have a chance. Are there any hotkeys and do you use any other AHK scripts while playing?

You should set up some sort of paypal tip jar on your site.

TheNoodleMan 02-14-2007 01:16 AM

Re: AHK Script for Full Tilt SnG\'s
 
This thing is bad ass. Thank you so much. This thread should be 10 pages long with thank yous by now.

Anyone who multitables FT should get a time machine and download this thing yesterday, its that good.

Quetzo 02-14-2007 01:23 AM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
Just wanted to say thanks for the awesome script.

[/ QUOTE ]
You're welcome

[ QUOTE ]
Had a couple of quick questions if you have a chance. Are there any hotkeys and do you use any other AHK scripts while playing?

[/ QUOTE ]
I don't use any other scripts while playing since I implement everything I want in my own. I will try to find some time to write a new manual, but I want to get a Stars script functional as soon as possible. But the hot keys are as follow:
F1 - Maximize all minimized SnG tables
F2 - Hides all Tourney Lobby windows
F3 - Shows all Tourney Lobby windows
F4 - Closes all Tourney Lobby windows
F5 - Toggle function for auto focus. Activating the window that needs action.
F6 - Sit in on all tables. Doesn't work if you're sitting out, but in a hand.
F7 - Sit out on all tables
F8 - Shows all clocks
F9 - Hides all clocks
Right Mouse Button - If you click on the table of a table window it will activate tilt blocker. If you click on a tilt blocker, it will be removed. If you click on a clock it will adjust the values. I see that I accidentally left some Stars code here as well, but nothing should happen if you click on a Stars table since this script shouldn't recognize a Stars table, but otherwise it would put the value 9999 in the bet box.
Left Mouse Button (UP) - When left mouse button is pressed down CheckTables is paused until mouse button is released (moving table is finished). If you click on a clock it will activate it or change values.

[ QUOTE ]
You should set up some sort of paypal tip jar on your site.

[/ QUOTE ]
If someone would want to show their appreciation by donating a transfer at Full Tilt or Stars would work.

Powers_That_Be 02-14-2007 09:56 AM

Re: AHK Script for Full Tilt SnG\'s
 
I thought of a feature request. It would be cool if you could use this to datamine SNGs. So, you set the amount of tables you want to datamine, then there is a check box somewhere that say observer or play or something. Would be pretty neat.

Quetzo 02-14-2007 03:37 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
I thought of a feature request. It would be cool if you could use this to datamine SNGs. So, you set the amount of tables you want to datamine, then there is a check box somewhere that say observer or play or something. Would be pretty neat.

[/ QUOTE ]

Since I don't use stats myself I put this aside. I guess it wouldn't be that hard to implement, but other things like making Stars script work is more important. I will take a look at it when I have some time though.

JayA 02-14-2007 06:39 PM

Re: AHK Script for Full Tilt SnG\'s
 
I'm familiar with coding...but I'm still lost. What exactly does the script do, and how do I use it?

nighty_boy 02-14-2007 06:52 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
I'm familiar with coding...but I'm still lost. What exactly does the script do, and how do I use it?

[/ QUOTE ]
Try get a working codec somehow (i use camtasia studio program and can therefore view. Should be other ways though for viewing i think) and check out my tutorial video !
~Have to promote my first and ever movie *s*
If theres still problems with that, I can say the basic point with the script is

* No need to doing all the registrations for sngs yourself, it gets automated
* Other functions like , dont play against these players, dont show board when i push allin (for example) , remember tables positions so if i disconnect i come back to where "I were", autofocus (makes it possible to multitable on _one_ screen)

And some other stuff.. Hope this made some sence..:)
Dont forget to download and install auto hot key first at http://www.autohotkey.com/download/ then get Q´s script and run starter.ahk

Tx for the interest btw , all comments are welcomed

/nighty

JayA 02-14-2007 06:57 PM

Re: AHK Script for Full Tilt SnG\'s
 
So, I download a codec like Camtasia..view the tutorial for how to get the script to work..correct? Link to tutorial?

nighty_boy 02-14-2007 07:03 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
So, I download a codec like Camtasia..view the tutorial for how to get the script to work..correct? Link to tutorial?

[/ QUOTE ]
camtasia is more like a program than a codec , probably with some built in codec or whatever, im not to good with that kind of stuff [img]/images/graemlins/smile.gif[/img]

Tutorial video is found in my first post in this thread

JayA 02-14-2007 07:04 PM

Re: AHK Script for Full Tilt SnG\'s
 
K, thanks. I'll post back if I'm lost anymore.

Shaver67 02-14-2007 08:38 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
[ QUOTE ]
So, I download a codec like Camtasia..view the tutorial for how to get the script to work..correct? Link to tutorial?

[/ QUOTE ]
camtasia is more like a program than a codec , probably with some built in codec or whatever, im not to good with that kind of stuff [img]/images/graemlins/smile.gif[/img]

Tutorial video is found in my first post in this thread

[/ QUOTE ]

The appropriate codec is here

TSCC codec

And the script looks excellent thank you-

Quetzo 02-14-2007 09:07 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
I'm familiar with coding...but I'm still lost. What exactly does the script do, and how do I use it?

[/ QUOTE ]
I have updated the manual in my blog so there you can read about how it works d-jarls blog

Quetzo 02-15-2007 07:55 PM

Re: AHK Script for Full Tilt SnG\'s
 
I just realized there's a little bugg in the script, none probably care about it since there's TourneyManager and "Store Places" prevents fast multitabling, but if you want to store places the script will still close the tourney lobbies when new tables start, but not when table closes. So if you have "Store Places" checked you have to open the tables by clicking the button on the table to bring up tourney lobby or you can change the code in Functions.ahk, the function IsNewTable(table) should look like this:
<font class="small">Code:</font><hr /><pre>IsNewTable(table)
{
Loop, 24
{
if slot%A_Index% = %table%
{
return false
}
}

if GetLogging()
{
GuiControl,,info,New table (%table%) is found||
}

SetNewTable(GetTourneyID(table))

if !GetStore()
{
CloseLobby(GetTourneyID(table))
}

return true
} </pre><hr />

braminc 02-15-2007 09:08 PM

Re: AHK Script for Full Tilt SnG\'s
 
any changes to be made with the new FTbeta with resizable tables?

Quetzo 02-15-2007 10:32 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
any changes to be made with the new FTbeta with resizable tables?

[/ QUOTE ]
The beta has different names on some buttons, just took a peek, so the script may not work or do bad things. Might take a look at it tomorrow and see if it's easy to change the script to work with the beta.

braminc 02-16-2007 05:15 AM

Re: AHK Script for Full Tilt SnG\'s
 
i followed all your instructions in your blog (which was very helpful btw).

ok, so here are some issues im having running the script with the regular FTP software, NOT the beta:

1)1st 2 sngs registered and opened perfectly. 3rd one was constantly shaking, like up and down and i have autofocus off, and the window constantly toggling between active and not active (if that makes sense). the next table was doing the same thing, so i had to shut off the script.

2) clock feature was on and basically wasnt working at all. it kinda worked on one table but not the others.

3)if you start the script AFTER already running some sngs, it seems to go completely haywire.

I didnt try all the features under settings such as force close, create logs, djarl style, so i have no info on them. once again can u let me and everyone else know if your name on 2p2 is the same on stars and FTP?

thanks a lot!!!!!

Quetzo 02-16-2007 02:44 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
1)1st 2 sngs registered and opened perfectly. 3rd one was constantly shaking, like up and down and i have autofocus off, and the window constantly toggling between active and not active (if that makes sense). the next table was doing the same thing, so i had to shut off the script.

[/ QUOTE ]
This sounds weird. You opened Starter.ahk from it's folder or did you use a short cut so the script have problems with the ini-file? Not really sure what can cause this problem, have to think more about it.

[ QUOTE ]
2) clock feature was on and basically wasnt working at all. it kinda worked on one table but not the others.

[/ QUOTE ]
Clocks uses ImageSearch so if you don't know how to change the images and coordinates you won't get this to work. I will try to find a way for it to work on others computers.

[ QUOTE ]
3)if you start the script AFTER already running some sngs, it seems to go completely haywire.

[/ QUOTE ]
Since all tables will be considered new it can take some time for the script to set one table at a time, but I think that's not your problem, probably related to your first problem.

[ QUOTE ]
I didnt try all the features under settings such as force close, create logs, djarl style, so i have no info on them. once again can u let me and everyone else know if your name on 2p2 is the same on stars and FTP?

thanks a lot!!!!!

[/ QUOTE ]
I put my names in my profile, I'm d-jarl, mod didn't let me change my 2+2 name.

braminc 02-16-2007 05:08 PM

Re: AHK Script for Full Tilt SnG\'s
 
i did create/use a shortcut for the starter.ahk

your saying i must use the orginal icon from the folder?

Quetzo 02-16-2007 05:55 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
i did create/use a shortcut for the starter.ahk

your saying i must use the orginal icon from the folder?


[/ QUOTE ]
I think the shortcut understands that the script should be opened from it's folder, but not sure. So there shouldn't be any problems using a shortcut, but to be safe that it's not what's causing the problem it can be good to open the file directly.

Quetzo 02-16-2007 09:05 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
[ QUOTE ]
any changes to be made with the new FTbeta with resizable tables?

[/ QUOTE ]
The beta has different names on some buttons, just took a peek, so the script may not work or do bad things. Might take a look at it tomorrow and see if it's easy to change the script to work with the beta.

[/ QUOTE ]
I'm not too fond of the beta and I have a lot of things to do so won't take the time to make a script for the beta.

nighty_boy 02-16-2007 09:11 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
any changes to be made with the new FTbeta with resizable tables?

[/ QUOTE ]
The beta has different names on some buttons, just took a peek, so the script may not work or do bad things. Might take a look at it tomorrow and see if it's easy to change the script to work with the beta.

[/ QUOTE ]
I'm not too fond of the beta and I have a lot of things to do so won't take the time to make a script for the beta.

[/ QUOTE ]
Fair enaugh. I agree and the "old version" of ftp + script is all one needs even on 1 screen/laptop

braminc 02-17-2007 02:16 AM

Re: AHK Script for Full Tilt SnG\'s
 
last problem with shaky tables fixed [img]/images/graemlins/smile.gif[/img]

one last problem. when i bust out of an sng, it auto closes for me fine, but it doesnt move all the tables behind it UP one slot as i thought u had said it would.

i like to keep the tables in order of blinds, so if the new table just comes in wherever the table that i just busted on was (playing continuously) then i get very confused.

any thoughts on this?

Quetzo 02-17-2007 03:32 AM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
last problem with shaky tables fixed [img]/images/graemlins/smile.gif[/img]

one last problem. when i bust out of an sng, it auto closes for me fine, but it doesnt move all the tables behind it UP one slot as i thought u had said it would.

i like to keep the tables in order of blinds, so if the new table just comes in wherever the table that i just busted on was (playing continuously) then i get very confused.

any thoughts on this?

[/ QUOTE ]
d-jarl Style does that in my way when I play on 3 screens (if I bust from number 1, I move number 5 to number 1 and number 9 to number 5). Your way shouldn't be any problem to fix, I will look at it today and I will post some code which you could replace d-jarl Style with so every table moves up one step.

Quetzo 02-17-2007 04:15 AM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
[ QUOTE ]
last problem with shaky tables fixed [img]/images/graemlins/smile.gif[/img]

one last problem. when i bust out of an sng, it auto closes for me fine, but it doesnt move all the tables behind it UP one slot as i thought u had said it would.

i like to keep the tables in order of blinds, so if the new table just comes in wherever the table that i just busted on was (playing continuously) then i get very confused.

any thoughts on this?

[/ QUOTE ]
d-jarl Style does that in my way when I play on 3 screens (if I bust from number 1, I move number 5 to number 1 and number 9 to number 5). Your way shouldn't be any problem to fix, I will look at it today and I will post some code which you could replace d-jarl Style with so every table moves up one step.

[/ QUOTE ]
Open "Functions.ahk" in like Notepad and replace the function "RearrangeTables(rearrangeTablesEmptySlot)" to look like the code below. If you then have d-jarl Style checked it will move up all tables below when one table closes.
<font class="small">Code:</font><hr /><pre>RearrangeTables(rearrangeTablesEmptySlot)
{
rearrangeTablesTablesToRearrange := 24 - rearrangeTablesEmptySlot
rearrangeTablesNextSlot := rearrangeTablesEmptySlot + 1

Loop, %rearrangeTablesTablesToRearrange%
{
rearrangeTablesTableToMove := GetTableInSlot(rearrangeTablesNextSlot)

if rearrangeTablesTableToMove
{
MoveTable(rearrangeTablesTableToMove,GetxPos(rearr angeTablesEmptySlot),GetyPos(rearrangeTablesEmptyS lot))
Swap(rearrangeTablesTableToMove)
rearrangeTablesEmptySlot++
rearrangeTablesNextSlot++
}
else
{
rearrangeTablesNextSlot++
}
}
return
} </pre><hr />

Finnisher 02-17-2007 12:17 PM

Re: AHK Script for Full Tilt SnG\'s
 
Thank you, this is awesome!

e: There's a 2+.2 buy-in in the list but the tourneys are actually 2+.25.

I can get the clocks to show for a couple of seconds after pressing F8. Other than that the clocks are working good.

Quetzo 02-17-2007 05:48 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
Thank you, this is awesome!

e: There's a 2+.2 buy-in in the list but the tourneys are actually 2+.25.

I can get the clocks to show for a couple of seconds after pressing F8. Other than that the clocks are working good.

[/ QUOTE ]
Thank you for that info. If someone want to play a buy-in that's not listed you can open GuiAdd.ahk in Notepad and there's 3 long rows in the beginning with all the buy-ins, just edit those rows. I have a lot to do this weekend, but I will try to release an update with all fixes that's needed in a couple of days.

Clocks will be hidden if the script can't find the image clocktrigger.bmp that's in the image folder. I use Windows XP (classic) so the coordinates are set for that and the image is made to work with my mod so that image need to be replaced with how your mod look like. The image is the "o." from the button "Tourney Info."

Shaver67 02-17-2007 09:50 PM

Re: AHK Script for Full Tilt SnG\'s
 
greatly appreciate the move up one slot edit-

how difficult would it be to have the starts staggered? (i.e set it up for 8 where it starts 4 waits 10-15 minutes and starts the other 4)

Quetzo 02-17-2007 10:11 PM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
greatly appreciate the move up one slot edit-

how difficult would it be to have the starts staggered? (i.e set it up for 8 where it starts 4 waits 10-15 minutes and starts the other 4)

[/ QUOTE ]
Don't think that should be any problems, will take a look at it when I get some time. Meanwhile, if you like to play that way you can play 4 tables in a set (script stops after 4 tables and Start button becomes enabled again) and then wait 15 minutes and start 8 tables continuously or in a set and the script will start 4 more.

braminc 02-18-2007 02:18 AM

Re: AHK Script for Full Tilt SnG\'s
 
djarl thanks bro, the slot move up thing works like a charm and so does basically everything else [img]/images/graemlins/smile.gif[/img] i sent you $25 at FT for your time/effort. THANKS!
(i might be back tho with more problems and questions, heh)

Quetzo 02-18-2007 02:39 AM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
djarl thanks bro, the slot move up thing works like a charm and so does basically everything else [img]/images/graemlins/smile.gif[/img] i sent you $25 at FT for your time/effort. THANKS!
(i might be back tho with more problems and questions, heh)

[/ QUOTE ]
Thanks, much appreciated.

braminc 02-19-2007 12:24 AM

Re: AHK Script for Full Tilt SnG\'s
 
new problem. not sure if this is the fault of FT or this script.
the last hand of MOST of my sngs is not being recorded in the HH. im using the autoclose/bust feature. which i think im gonna stop using, cause ive been busting on tables without even having a clue what exactly happened (8tabling)

you have any similar issues with HHs?
im worried itll affect the way that tourney manager reads the files..

Quetzo 02-19-2007 01:07 AM

Re: AHK Script for Full Tilt SnG\'s
 
[ QUOTE ]
new problem. not sure if this is the fault of FT or this script.
the last hand of MOST of my sngs is not being recorded in the HH. im using the autoclose/bust feature. which i think im gonna stop using, cause ive been busting on tables without even having a clue what exactly happened (8tabling)

you have any similar issues with HHs?
im worried itll affect the way that tourney manager reads the files..

[/ QUOTE ]
I don't do anything with my HHs so haven't thought about this, will have to test play a little to see if matters how I close the table. Script closes tables when the popup show up and the hand should be finished then so it shouldn't be because the table is closed too fast.

braminc 02-19-2007 01:23 AM

Re: AHK Script for Full Tilt SnG\'s
 
k im gonna play a couple sets with the autoclose off and see if it still happens. if it does then we know its on FT


All times are GMT -4. The time now is 01:46 AM.

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