![]() |
Chip Reloader (New AHK Script) (Reloads at Party and Stars)
(This script replaces "Party Reloader" and "Stars Reloader". The automatic reloader for Party didn't work that well, so I have removed that feature until better times.)
Reload chips on all Partypoker and Pokerstars tables with just one click. The real use for this script is to make sure that you are bought in with maximum amount at NL and PL tables, but to some degree you can also use it at Limit. At Partypoker Limit games you will rebuy the default amount (as given in the Buy-in dialog). At Pokerstars though, you will rebuy with all your bankroll on the first table, which makes the script quite useless for Pokerstars Limit games. This script has ScriptPad support. ScriptPad is a tool where you can connect any number of scripts to a toolpad, a small pop-up window with buttons for all available commands in these scripts. You access the toolpad by a hotkey, for instance the middle mouse button. (Soon to be released.) Default settings will reload both Partypoker and Pokerstars tables when you press F12 on your keyboard. If a dialog seems to get stuck, try to click it manually and see if the script continues as it should. If not, close all open dialogs and restart the script from the system tray. http://overcards.com/wiki/moin.cgi/ChipReloader Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
can you use this to ninja short stack reload?
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
I copied this script exactly as is but it doesnt work. I hit F12 and nothing happens. This is so frustrating
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
I have been using this the past week, and it works great except for 3 times in the last 2 nights it gave me a problem. I think it's when I reload during a hand in which I was previously at or above 100BBs but then dipped down during the hand and when it goes to reload it says "please enter a value above $0.00" (or something very similar). It won't allow me to close the box and it keeps just popping up when I hit ok, and I am forced to shut down PP and re-start. Has this happened to anyone else? Is there anything I can do to fix this?
Thanks OKP |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
I have been using this the past week, and it works great except for 3 times in the last 2 nights it gave me a problem. I think it's when I reload during a hand in which I was previously at or above 100BBs but then dipped down during the hand and when it goes to reload it says "please enter a value above $0.00" (or something very similar). It won't allow me to close the box and it keeps just popping up when I hit ok, and I am forced to shut down PP and re-start. Has this happened to anyone else? Is there anything I can do to fix this? Thanks OKP [/ QUOTE ] Press the enter key many times after eachother while clicking the cancel button with your mouse. This solves the problem for me |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
I have been using this the past week, and it works great except for 3 times in the last 2 nights it gave me a problem. I think it's when I reload during a hand in which I was previously at or above 100BBs but then dipped down during the hand and when it goes to reload it says "please enter a value above $0.00" (or something very similar). It won't allow me to close the box and it keeps just popping up when I hit ok, and I am forced to shut down PP and re-start. Has this happened to anyone else? Is there anything I can do to fix this? Thanks OKP [/ QUOTE ] I had the same problem as well. I imagine some quick and dirty code could fix this. |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
I dont think the script is working properly for me on PS. It options the options menu but I need to manually choose the "Add More Chips" button for the script to complete.
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Once this works with no kinks, I will love you LONG time OP
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
I've been busy lately...
I've updated ChipReloader to fix Party and Stars glitches: http://overcards.com/wiki/moin.cgi/ChipReloader Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
I have been using this the past week, and it works great except for 3 times in the last 2 nights it gave me a problem. I think it's when I reload during a hand in which I was previously at or above 100BBs but then dipped down during the hand and when it goes to reload it says "please enter a value above $0.00" (or something very similar). It won't allow me to close the box and it keeps just popping up when I hit ok, and I am forced to shut down PP and re-start. Has this happened to anyone else? Is there anything I can do to fix this? [/ QUOTE ] I've tried and tried, but I can't replicate this error. When that dialog/box comes up for me, it is closed automatically by the script. Try with the updated script, and alos, update AHK to latest version. As for shutting down PP, that is not necessary. Just restart the script instead: right-click script icon in system tray and choose "Reload this script". Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
I dont think the script is working properly for me on PS. It options the options menu but I need to manually choose the "Add More Chips" button for the script to complete. [/ QUOTE ] This is fixed now. Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
Once this works with no kinks, I will love you LONG time OP [/ QUOTE ] If you're not a woman, you will have to do with platonic love. [img]/images/graemlins/wink.gif[/img] Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
can you use this to ninja short stack reload? [/ QUOTE ] I'm not sure I understand this? Well, actually, I'm sure I don't understand what you want. Say again? Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
I copied this script exactly as is but it doesnt work. I hit F12 and nothing happens. This is so frustrating [/ QUOTE ] Have you followed instructions here? http://overcards.com/wiki/moin.cgi/AutoHotKey Did you properly run the script before hitting F12? To make sure the script is running, position the mouse over the script icon in the system tray and see that it says "ChipReloader.ahk". Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
[ QUOTE ] I dont think the script is working properly for me on PS. It options the options menu but I need to manually choose the "Add More Chips" button for the script to complete. [/ QUOTE ] This is fixed now. Adde [/ QUOTE ] Thanks, works great. [img]/images/graemlins/smile.gif[/img] |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Update:
- Script now works for all table sizes at Stars. http://overcards.com/wiki/moin.cgi/ChipReloader Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
not working for me on stars for some reason. When I hit F12, each window gets the focus, then I hear a beep, but it doesn't reload me [img]/images/graemlins/confused.gif[/img]
Casey |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
not working for me on stars for some reason. When I hit F12, each window gets the focus, then I hear a beep, but it doesn't reload me [img]/images/graemlins/confused.gif[/img] Casey [/ QUOTE ] Hmmm. When I open the Option dialog myself, and then run the script...it works. Maybe the problem is my screen resolution is 1600x1200? --Casey |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Why does my computer make a loud beep whenever I run the reload script?
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
[ QUOTE ] can you use this to ninja short stack reload? [/ QUOTE ] I'm not sure I understand this? Well, actually, I'm sure I don't understand what you want. Say again? Adde [/ QUOTE ] sorry can you make this so that it can reload to an amount other than the full buyin? |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
Hmmm. When I open the Option dialog myself, and then run the script...it works. Maybe the problem is my screen resolution is 1600x1200? --Casey [/ QUOTE ] I have the same resolution, works fine for me. Are you sure you have the latest ChipReloader version? Never mind the version numbers in the code (I might have forgot to change that), just go to script webpage and try using the current one. Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
Why does my computer make a loud beep whenever I run the reload script? [/ QUOTE ] This is just feedback to tell you the script has finished. If you don't like it, remove all lines in the script that start with "SoundBeep". Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
can you make this so that it can reload to an amount other than the full buyin? [/ QUOTE ] Not easily. I think it's possible to reload to minimum buyin at Stars, but for other amounts it seems tricky, Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Occasionally when I use this script it goes mad and starts moving my tables all over the place and I have to close party and restart it.
ANy idea why this would be? |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
Occasionally when I use this script it goes mad and starts moving my tables all over the place and I have to close party and restart it. ANy idea why this would be? [/ QUOTE ] I have no idea. Try restarting just the script next time and see if that helps. (Right-click Green AHK icon in the system tray and choose Reload This Script.) Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Adde, how difficult would it be to implement an auto-reload feature that automatically reloaded once you, say, have less than 95% of the max buy in in your stack?
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
Adde, how difficult would it be to implement an auto-reload feature that automatically reloaded once you, say, have less than 95% of the max buy in in your stack? [/ QUOTE ] For Stars, quite difficult. For Party, an earlier version did that, but it was far from perfect, and people had difficulties getting it to work so I removed that code. Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
[ QUOTE ] Adde, how difficult would it be to implement an auto-reload feature that automatically reloaded once you, say, have less than 95% of the max buy in in your stack? [/ QUOTE ] For Stars, quite difficult. For Party, an earlier version did that, but it was far from perfect, and people had difficulties getting it to work so I removed that code. Adde [/ QUOTE ] OK....out of curiosity, why is this? Is it difficult to detect what your stack size is? |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
OK....out of curiosity, why is this? Is it difficult to detect what your stack size is? [/ QUOTE ] Yes, exactly. I had to get stack size from the hand history file, and that would make the numbers lag by three hands. It was too messy to handle the script "support", so I pulled the plug. Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
[ QUOTE ] Hmmm. When I open the Option dialog myself, and then run the script...it works. Maybe the problem is my screen resolution is 1600x1200? --Casey [/ QUOTE ] I have the same resolution, works fine for me. Are you sure you have the latest ChipReloader version? Never mind the version numbers in the code (I might have forgot to change that), just go to script webpage and try using the current one. Adde [/ QUOTE ] I have the latest script and the latest version of AHK (1.0.44.07). So I just restarted the script, opened a single table on stars, played a few hands, then hit the hotkey (Default--F12). Maybe the lines executed will help you to help me... Thanks, Casey <font class="small">Code:</font><hr /><pre> 028: cr_hotkey_reload = F12 032: cr_reload_party = 1 033: cr_reload_stars = 1 046: cr_scriptpad_command_header = Chip Reloader 047: cr_scriptpad_command_name = Reload All Tables 048: cr_scriptpad_command_label = CR_ReloadAll_Label 049: cr_scriptpad_command_enabled = 1 051: ahk_version = 1.0.44.07 052: if A_AhkVersion < %ahk_version% 060: cr_web_page = http://overcards.com/wiki/moin.cgi/PokerReloader 062: Hotkey,%cr_hotkey_reload%,CR_ReloadAll_Label,UseEr rorLevel 064: Goto,CR_Scriptpad_End 252: Exit (70.56) 069: CR_ReloadAll() 077: if (cr_reload_party) 078: CR_ReloadParty() 086: SetTitleMatchMode,2 087: WinGet,idList,list,Good Luck ahk_class #32770,,PartyPoker.com: 088: Loop,%idList% 093: } 079: if (cr_reload_stars) 080: CR_ReloadStars() 167: SetTitleMatchMode,2 168: WinGet,idList,list,Logged In as,,PokerStars Lobby 169: Loop,%idList% 170: { 171: winID := idList%a_index% 172: CR_ReloadStarsTable(winID) 178: WinGetPos,x,y,w,h,ahk_id%winID% 179: px := Floor((w/800) * 400) 180: py := Floor((h/573) * 80) 181: WinActivate,ahk_id %winID% (0.10) 182: CR_PostLeftClick(px, py, winID) 245: PostMessage,0x201,0x0001,((y*65536)+x),,ahk_id%tab le_id% 246: PostMessage,0x202,0,((y*65536)+x),,ahk_id%table_id % 247: } 184: SetTitleMatchMode,2 185: WinWait,Options,Add More Chips,3 (3.00) 186: WinGet,winID,ID,Options,Add More Chips 187: if (winID = "") 188: Return 173: } 174: } 081: SoundBeep,,50 (0.06) 082: } 070: Return (10.35) </pre><hr /> |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Well, before I go to bed...
I placed the following code in to help me debug... Starting with (Original) Line 180: <font class="small">Code:</font><hr /><pre> WinGetPos, x, y, w, h, ahk_id%winID% px := Floor((w/800) * 400) py := Floor((h/573) * 80) Casey_Var = winID is %winID% px is %px% and py is %py% msgbox %Casey_Var% </pre><hr /> Then again under the CR_PostLeftClick sub: <font class="small">Code:</font><hr /><pre> msgbox % "I am going to click here: " . ((y*65536)+x) Postmessage 0x201, 0x0001, ((y*65536)+x), , ahk_id%table_id% Postmessage 0x202, 0, ((y*65536)+x), , ahk_id%table_id% </pre><hr /> The values of those variables were: winID = 0x2f01c0 px = 400 py = 80 <<Click Location>> = 5243280 Now if only I could correlate that location with my option button, I suppose I could fix this [img]/images/graemlins/frown.gif[/img] --Casey |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
[ QUOTE ] OK....out of curiosity, why is this? Is it difficult to detect what your stack size is? [/ QUOTE ] Yes, exactly. I had to get stack size from the hand history file, and that would make the numbers lag by three hands. It was too messy to handle the script "support", so I pulled the plug. Adde [/ QUOTE ] Makes sense. Thx. |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
It seems like the clicking fails.
This test script will click every 10th pixel within 200-600 (x) and 0-200 (y). Open a full table, activate it and click F10 to test this out. If the options dialog is not opened (before the script ends, which is indicated by a sound beep), well, I don't know what the error is. If it does open, a message box will tell you what (x,y) were used. Replace coordinates (400,80) in ChipReloader with these. Adde F10:: gosub TestStars return TestStars: SetTitleMatchMode, 2 WinGet, id, ID, A x := 190 Loop, 40 { x := x + 10 y := -10 Loop, 20 { y := y + 10 CR_PostLeftClick(x, y, id) sleep, 10 IfWinExist, Options, Add More Chips { msgbox x=%x% y=%y% exit } } } soundbeep, , 100 return |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
[ QUOTE ] I dont think the script is working properly for me on PS. It options the options menu but I need to manually choose the "Add More Chips" button for the script to complete. [/ QUOTE ] This is fixed now. Adde [/ QUOTE ] It still doesn't work fine for me. I just recopied the latest version and I still need to press the chips tray for the command to complete. |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
It still doesn't work fine for me. I just recopied the latest version and I still need to press the chips tray for the command to complete. [/ QUOTE ] Have you tried the test script I posted just here above? Adde |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Weeeee! Works great! Ok, so here it is for folks who know nothing about coding (assuming you were having the same problem as I was):
Copy this script and save it as ImaDufas.ahk: <font class="small">Code:</font><hr /><pre> F10:: gosub TestStars return TestStars: SetTitleMatchMode, 2 WinGet, id, ID, A x := 190 Loop, 40 { x := x + 10 y := -10 Loop, 20 { y := y + 10 CR_PostLeftClick(x, y, id) sleep, 10 IfWinExist, Options, Add More Chips { msgbox x=%x% y=%y% exit } } } soundbeep, , 100 return CR_PostLeftClick(x, y, table_id) { ; ### JUK: Send the down left click, then the mouse-up messages. ; NOTE: This is relative to the top left of the client area and NOT the top left of the ; window (ie: It *doesn't* include the title-bar like AHK's MouseClick does!!!). Postmessage 0x201, 0x0001, ((y*65536)+x), , ahk_id%table_id% Postmessage 0x202, 0, ((y*65536)+x), , ahk_id%table_id% } </pre><hr /> Then double-click the file to run it Next, open a table of your choice (you don't have to sit down at the table....it can be a full table....just open a table up of the game you play) Then hit F10 After a brief period, the options window should open. At the same time, a message will pop up saying x= <<some number>> y= <<some number>>. Now open the ChipReloader.ahk file for editting (use NotePad) With the file open in Notepad, hit <CTRL><G> to open the goto dialog. Type in 180 Your cursor will be on a line that says: <font class="small">Code:</font><hr /><pre> px := Floor((w/800) * 400) </pre><hr /> Change the 400 to whatever value x= <<some number>> was in the test. The next line of code is: <font class="small">Code:</font><hr /><pre> py := Floor((h/573) * 80) </pre><hr /> Change the 80 to whatever value x= <<some number>> was in the test. Now save the file (ChipReloader.ahk), and run it. Everything should work out just fine. BTW....My x & y were 360 & 40, respectively.... Casey P.S. Thanks Adde, you sure went through a lot of trouble to help me be even more lazy...Casey -------------------------Edit-------------------- I suppose that the Theme you are using on Stars could affect the XY location of the button, so for everyone else's sake, I'm using the "Hyper-Simple" theme (With a slight mod to the table foreground that I made. Hmm, I suppose I could attach that too. You may want to do something similar). http://img134.imageshack.us/img134/4227/fgdn1.png It just displays the odds for outs up to 12 when you have 1 card to come (top) or 2 cards to come (bottom). Board cards do cover it up some, but it works great 4-tabling. If you need more info on how to use it, just ask (most of you probably don't use silly stuff like this anyway). Casey |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
[ QUOTE ]
Weeeee! Works great! Ok, so here it is for folks who know nothing about coding (assuming you were having the same problem as I was): Copy this script and save it as ImaDufas.ahk: <font class="small">Code:</font><hr /><pre> F10:: gosub TestStars return TestStars: SetTitleMatchMode, 2 WinGet, id, ID, A x := 190 Loop, 40 { x := x + 10 y := -10 Loop, 20 { y := y + 10 CR_PostLeftClick(x, y, id) sleep, 10 IfWinExist, Options, Add More Chips { msgbox x=%x% y=%y% exit } } } soundbeep, , 100 return CR_PostLeftClick(x, y, table_id) { ; ### JUK: Send the down left click, then the mouse-up messages. ; NOTE: This is relative to the top left of the client area and NOT the top left of the ; window (ie: It *doesn't* include the title-bar like AHK's MouseClick does!!!). Postmessage 0x201, 0x0001, ((y*65536)+x), , ahk_id%table_id% Postmessage 0x202, 0, ((y*65536)+x), , ahk_id%table_id% } </pre><hr /> Then double-click the file to run it Next, open a table of your choice (you don't have to sit down at the table....it can be a full table....just open a table up of the game you play) Then hit F10 After a brief period, the options window should open. At the same time, a message will pop up saying x= <<some number>> y= <<some number>>. Now open the ChipReloader.ahk file for editting (use NotePad) With the file open in Notepad, hit <CTRL><G> to open the goto dialog. Type in 180 Your cursor will be on a line that says: <font class="small">Code:</font><hr /><pre> px := Floor((w/800) * 400) </pre><hr /> Change the 400 to whatever value x= <<some number>> was in the test. The next line of code is: <font class="small">Code:</font><hr /><pre> py := Floor((h/573) * 80) </pre><hr /> Change the 80 to whatever value x= <<some number>> was in the test. Now save the file (ChipReloader.ahk), and run it. Everything should work out just fine. BTW....My x & y were 360 & 40, respectively.... Casey P.S. Thanks Adde, you sure went through a lot of trouble to help me be even more lazy...Casey -------------------------Edit-------------------- I suppose that the Theme you are using on Stars could affect the XY location of the button, so for everyone else's sake, I'm using the "Hyper-Simple" theme (With a slight mod to the table foreground that I made. Hmm, I suppose I could attach that too. You may want to do something similar). http://img134.imageshack.us/img134/4227/fgdn1.png It just displays the odds for outs up to 12 when you have 1 card to come (top) or 2 cards to come (bottom). Board cards do cover it up some, but it works great 4-tabling. If you need more info on how to use it, just ask (most of you probably don't use silly stuff like this anyway). Casey [/ QUOTE ] Thx Adde and AceKQJT for helping me out with this. It works perfectly now on Stars. (x=360, y=40 for those interested). On Party though, if I have a table over the max buy in, a pop-up will appear saying that I have to enter a value over 0 and it will instantly open an Internet page to My Cashier so I can add chips. |
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Never mind boys. It all works perfectly on Party and Stars. I love you Adde.
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
loving the script
|
Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)
Hi, can this script be adjusted so that you reload to 20-BB? [img]/images/graemlins/cool.gif[/img]
|
| All times are GMT -4. The time now is 01:42 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.