Re: Stars Auto Reloader (NL & Limit) - New AHK Script
I seem to bet getting the same MZ error. I'm sorta code illiterate, but it seems like this is what is happening:
the auto reload script creates a file named _StarsAutoRebuy_0x79057c
and the contents of this script is:
#NoTrayIcon
table_id := "0x79057c"
justdone := 0
screenname := "****"
Loop
{
IfWinNotExist, ahk_id%table_id%
{
ExitApp
}
WinGetTitle, title, ahk_id%table_id%
StringMid, bb, title, InStr(title, "/") + 1, InStr(title, a_space,"", InStr(title, "/")) - InStr(title, "/") - 1
bb := StrRep(bb, "$")
desired_chips := bb * 100
StringTrimRight, title, title, (StrLen(title) - Instr(title, " - ", true, 0))+1
est := A_NowUTC
est += -5, hours
FormatTime, est, %est%, yyyyMMdd
filename := "C:\Program Files\PokerStars\HandHistory\*****\HH" . est . " " . title . ".txt"
StringReplace, filename, filename, /, -
FileGetSize, fsize, %filename%
if (fsize)
{
FileGetTime, ftime, %filename%
if (ftime > oldftime)
{
Sleep, 40
oldftime := ftime
FileRead, hh, %filename%
StringTrimLeft, hh, hh, Instr(hh, "PokerStars Game #", true, 0)-1
StringTrimLeft, chips, hh, InStr(hh, screenname)
StringTrimLeft, chips, chips, InStr(chips, " (")+2
StringTrimRight, chips, chips, StrLen(chips) - InStr(chips, " ")+1
if (justdone)
{
justdone := 0
continue
}
if (chips < desired_chips)
{
RebuyStars(table_id, "max")
justdone := 1
}
}
}
Sleep, 40
}
MZ
in my version there's that lil box after MZ.
if you guys can fix this, i'd greatly appreciate it
|