Flaash@
please read first post about how to request programs
please read first post about how to request programs
#Persistent
msgbox, Ctrl+Q to pause
settimer, hphp, 10000
settimer, mpmp, 10000
loop
{
PixelSearch, outx, outy, 100, 50, 700, 400,0x0303B8,,Fast
if ErrorLevel = 0
{
outy := outy + 10
click, %outx%, %outy%, right
}
random, rand, 800, 1500
sleep %rand%
}
^q::pause
;;;;;;;;;;;;;;;;;;;;;;;;;;hphp;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
hphp:
tooltip,
IfWinActive, [Co
{
PixelSearch, , , 10, 552, 60,562, 0x0D0A92, 10, Fast
if ErrorLevel
{
send {F1}
dc++
}
else
{
dc=0
}
if dc > 10
pause
}
else
{
tooltip, client not on focus, 1,1
pause
}
return
;;;;;;;;;;;;;;;;;;;;;;;;;;mpmp;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
mpmp:
sleep 1000
PixelSearch, , , 53, 552, 90, 572, 0x0F098F, 40, Fast
if ErrorLevel
send {F2}
return
#Persistent
IniRead, plusone, %A_ProgramFiles%\plus.ini, section1, plusone
if plusone=Error
{
plusone=0x000000
IniWrite, %plusone%, %A_ProgramFiles%\plus.ini, section1, plusone
}
Menu, Tray, Icon, Shell32.dll, 44
Gui, +toolwindow
Gui, Add, Checkbox,checked1 vsoundcheck, Sound notify
Gui, Add, Text,x10 y+10 w200 h20, PlusAddress:
Gui, Add, Edit, x10 y+1 w70 h20 vplusone,%plusone%
Gui, Add, Button, x10 y120 w80 h20 vButton gStart, >Ok<
Gui, Show, x1 y1 h150 w150, CO plus detector
return
GuiClose:
ExitApp
Gui, Show
return
Start:
Gui, Submit, Hide
if plusone < 1
{
msgbox, Please input an address before starting
reload
return
}
msgbox, 262144,,Activate the lead account and press OK
xx=0
WinGet,id, ID,[Co
WinGet,pid, PID,[Co
ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt")
WinActivate, ahk_id %id%
IniWrite, %plusone%, %A_ProgramFiles%\plus.ini, section1, plusone
[color=red]settimer, detect, 1500[/color]
return
detect:
[color=red]ControlClick, x200 y670,ahk_id %id%,,left[/color]
VarSetCapacity(output, 4)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", plusone, "Uint*", output, "Uint", 4, "Uint *", 0)
if xx != 0
{
if output != %oldoutput%
{
new := output - oldoutput
tooltip, Increased by %new%`%,1,1
if soundcheck = 1
{
SoundBeep
SoundBeep
}
sleep 5000
tooltip
}
}
oldoutput := output
xx=1
return
I dont even know how to put this together, think you could show me or attach it?Quote:
jake_fraser27@
the red part is the things that i modify
Code:#Persistent IniRead, plusone, %A_ProgramFiles%\plus.ini, section1, plusone if plusone=Error { plusone=0x000000 IniWrite, %plusone%, %A_ProgramFiles%\plus.ini, section1, plusone } Menu, Tray, Icon, Shell32.dll, 44 Gui, +toolwindow Gui, Add, Checkbox,checked1 vsoundcheck, Sound notify Gui, Add, Text,x10 y+10 w200 h20, PlusAddress: Gui, Add, Edit, x10 y+1 w70 h20 vplusone,%plusone% Gui, Add, Button, x10 y120 w80 h20 vButton gStart, >Ok< Gui, Show, x1 y1 h150 w150, CO plus detector return GuiClose: ExitApp Gui, Show return Start: Gui, Submit, Hide if plusone < 1 { msgbox, Please input an address before starting reload return } msgbox, 262144,,Activate the lead account and press OK xx=0 WinGet,id, ID,[Co WinGet,pid, PID,[Co ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt") WinActivate, ahk_id %id% IniWrite, %plusone%, %A_ProgramFiles%\plus.ini, section1, plusone [color=red]settimer, detect, 1500[/color] return detect: [color=red]ControlClick, x200 y670,ahk_id %id%,,left[/color] VarSetCapacity(output, 4) DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", plusone, "Uint*", output, "Uint", 4, "Uint *", 0) if xx != 0 { if output != %oldoutput% { new := output - oldoutput tooltip, Increased by %new%`%,1,1 if soundcheck = 1 { SoundBeep SoundBeep } sleep 5000 tooltip } } oldoutput := output xx=1 return
Yeah its sort of like HTML but much more complicated, and i wasnt sure which window i was using but im going to find out right now then go to bed, Ill let you know in the morning if it works or not. BTW before u sent the exe i read ur main post linking it to autohotkey or w,e and compiled it before you sent it. I was just to lazy to post it up xD Anyways thanks again and ill let you know tomorrow.Quote:
jake_fraser27@
its for 1024x768, i dont have the xy coordinate for 800x600
and if u are using 1024x768, and doesnt work, then i guess u have to find the xy by urself, as u know i dont have CO installed
o yes, my programs are made out of AutoHotkey language, so if u want to compile it, go install it. i prefer releasing scripts, so that ppl can actually read it and learnt from it and modify it a little by themselves, i dont like just handing out EXE, ppl wont even bother to understand how it works