liten Posted July 1, 2009 Posted July 1, 2009 ; FUNC CR() ; SetPrivilege("SeDebugPrivilege", 1) ; $ID = _MemoryOpen(ProcessExists("TWSKTW.exe")) ; $R1 = _MemoryRead($R, $ID) ; if $R1 = $D Then ; _MemoryWrite($Revive, $ID, 0) ; while 1 ;CR () ;WEnd ;EndIf ; _MemoryClose($ID) ;EndFunc (; are their becuse i disabled it and thats a direct paste) it works but has a few problem , 1. if R isnt = to $D when you start the function, it just checks once, and dosent repeaat over to continusly check 2.i was wondering how do i set it to continusly check over the value to make shure its never = to $D, because the way im currently doing is disabling all my other buttons and function when i run this one My UDF:Freeze.au3-Freeze values like CE, ML, ETC[i][/i][u][/u]
lordicast Posted July 1, 2009 Posted July 1, 2009 Try Putting your while outside of your function in the main script like... While 1 CR () Sleep(10) WEnd FUNC CR() SetPrivilege("SeDebugPrivilege", 1) $ID = _MemoryOpen(ProcessExists("TWSKTW.exe")) $R1 = _MemoryRead($R, $ID) if $R1 = $D Then _MemoryWrite($Revive, $ID, 0) EndIf _MemoryClose($ID) EndFunc [Cheeky]Comment[/Cheeky]
liten Posted July 1, 2009 Author Posted July 1, 2009 Dosent work, when i try that y function dosent even work anymore My UDF:Freeze.au3-Freeze values like CE, ML, ETC[i][/i][u][/u]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now