Jump to content



Photo

Help, Button Disabling other when clicked


  • Please log in to reply
2 replies to this topic

#1 liten

liten

    Adventurer

  • Active Members
  • PipPip
  • 104 posts

Posted 01 July 2009 - 07:04 AM

; 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







#2 lordicast

lordicast

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 335 posts

Posted 01 July 2009 - 02:21 PM

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]

#3 liten

liten

    Adventurer

  • Active Members
  • PipPip
  • 104 posts

Posted 01 July 2009 - 11:06 PM

Dosent work, when i try that y function dosent even work anymore
My UDF:Freeze.au3-Freeze values like CE, ML, ETC




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users