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
  #201  
Old 10-05-2007, 04:39 AM
Caeddyn Caeddyn is offline
Junior Member
 
Join Date: Jul 2004
Location: Southern CA, USA
Posts: 27
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

[ QUOTE ]
I would like to max.20 BigBlinds reload and not 100BB.Is that possible?my settings work not.


min_nl_bbs := 20

min_limit_bbs := 20
rebuy_limit_bbs := 20



filepath := A_ProgramFiles "C:\PokerStars\HandHistory\"

; END OF SETTINGS

#NoEnv
#SingleInstance, Force
SendMode Input
tables := ""
nltables := ""
SetTitleMatchMode 2
GroupAdd, StarsTables, Logged In as ,,, PokerStars Lobby
SetTimer, UpdateTables, 1000
timezone_difference_EST := "6"

[/ QUOTE ]

The timezone should be -5. Also, the filepath line should be

filepath := "C:\PokerStars\HandHistory\"

or

filepath := A_ProgramFiles "\PokerStars\HandHistory\"

depending on where you installed Pokerstars.

-Caeddyn
Reply With Quote
  #202  
Old 10-05-2007, 08:49 AM
schumi84 schumi84 is offline
Junior Member
 
Join Date: Oct 2007
Posts: 8
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

It reloads 100 and not 20.In Germany is the Timezone 6,but -5 works also not
Reply With Quote
  #203  
Old 10-05-2007, 10:14 AM
tehDiceman tehDiceman is offline
Senior Member
 
Join Date: Oct 2006
Location: Indiana
Posts: 1,290
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

thanks caeddyn, i'll give that code update a change to see what happens in my next session. will come back with the results shortly.
Reply With Quote
  #204  
Old 10-05-2007, 11:18 AM
Mike Kelley Mike Kelley is offline
Senior Member
 
Join Date: Jul 2005
Location: Reraising
Posts: 2,126
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

[ QUOTE ]
I was having the same problem as the other posters, F1 worked but the autorebuy didn't. So I took a look at the source code and found the problem. Lines 144 and 220 look like this:

str := str . " StringTrimRight, title, title, (StrLen(title) - InStr(title, ""- "", true, 0))+1`n"

This line removes the right side of the title of a table in order to find the relative hand history. However it's not removing the space before the dash. I noticed this because the script was not finding the hand history file since the filename had a space before ".txt". The line should be changed to something like this:

str := str . " StringTrimRight, title, title, (StrLen(title) - InStr(title, "" - "", true, 0))+1`n"

Notice the space before the '-'. Anyway, I'm just glad I could get the autorebuy finally working.

-Caeddyn

[/ QUOTE ]

If this works I'm shipping you $5 on Stars or FTP. your choice. PM me your SN please.
Reply With Quote
  #205  
Old 10-05-2007, 11:20 AM
Mike Kelley Mike Kelley is offline
Senior Member
 
Join Date: Jul 2005
Location: Reraising
Posts: 2,126
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

[ QUOTE ]
[ QUOTE ]
I would like to max.20 BigBlinds reload and not 100BB.Is that possible?my settings work not.


min_nl_bbs := 20

min_limit_bbs := 20
rebuy_limit_bbs := 20



filepath := A_ProgramFiles "C:\PokerStars\HandHistory\"

; END OF SETTINGS

#NoEnv
#SingleInstance, Force
SendMode Input
tables := ""
nltables := ""
SetTitleMatchMode 2
GroupAdd, StarsTables, Logged In as ,,, PokerStars Lobby
SetTimer, UpdateTables, 1000
timezone_difference_EST := "6"

[/ QUOTE ]

The timezone should be -5. Also, the filepath line should be

filepath := "C:\PokerStars\HandHistory\"

or

filepath := A_ProgramFiles "\PokerStars\HandHistory\"

depending on where you installed Pokerstars.

-Caeddyn

[/ QUOTE ]

I don't understand the A_ before program files? If my program files are on the c drive what does this mean?
Reply With Quote
  #206  
Old 10-05-2007, 11:44 AM
Xanderz Xanderz is offline
Senior Member
 
Join Date: Oct 2007
Posts: 230
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

[ QUOTE ]
I don't understand the A_ before program files? If my program files are on the c drive what does this mean?

[/ QUOTE ]A_ProgramFiles is a global variable in AHK scripts. It contains the path to the Program Files folder which is C:\Program Files\ for most people.

All variables that begin with A_ are globals in AHK (unless the coder is obfuscating and declares a variable with that prefix..)
Reply With Quote
  #207  
Old 10-05-2007, 12:10 PM
Caeddyn Caeddyn is offline
Junior Member
 
Join Date: Jul 2004
Location: Southern CA, USA
Posts: 27
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

[ QUOTE ]
[ QUOTE ]
I don't understand the A_ before program files? If my program files are on the c drive what does this mean?

[/ QUOTE ]A_ProgramFiles is a global variable in AHK scripts. It contains the path to the Program Files folder which is C:\Program Files\ for most people.

All variables that begin with A_ are globals in AHK (unless the coder is obfuscating and declares a variable with that prefix..)

[/ QUOTE ]

^ what he said

If you installed Pokerstars to “Program Files” (which is by default), you pretty much don’t need to change the script at all unless you want to change when it auto rebuys.

BTW my screen name is Caeddyn on PS and FTP, it’s no secret.

-Caeddyn
Reply With Quote
  #208  
Old 10-05-2007, 12:31 PM
Mike Kelley Mike Kelley is offline
Senior Member
 
Join Date: Jul 2005
Location: Reraising
Posts: 2,126
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

Thanks for the fix. I can't wait to try this out tonight.
Reply With Quote
  #209  
Old 10-05-2007, 03:06 PM
tehDiceman tehDiceman is offline
Senior Member
 
Join Date: Oct 2006
Location: Indiana
Posts: 1,290
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

[ QUOTE ]
Thanks for the fix. I can't wait to try this out tonight.

[/ QUOTE ]

yep, im stuck at work. ready to go home but i got a few more hours. [img]/images/graemlins/frown.gif[/img]
Reply With Quote
  #210  
Old 10-05-2007, 04:17 PM
ryanj247 ryanj247 is offline
Senior Member
 
Join Date: Mar 2005
Posts: 458
Default Re: Stars Auto Reloader (NL & Limit) - New AHK Script

[ QUOTE ]

str := str . " StringTrimRight, title, title, (StrLen(title) - InStr(title, "" - "", true, 0))+1`n"

Notice the space before the '-'. Anyway, I'm just glad I could get the autorebuy finally working.

-Caeddyn

[/ QUOTE ]

this works. on vista! you're awesome. cheers dude!
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 09:20 AM.


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