(using bypass)
Here is the code that im using (is from a tutorial)
Code:
#RequireAdmin
#NoTrayIcon
#include <NomadMemory.au3>
Global $count = 1
AdlibRegister("_Tooltip", 1000)
AdlibRegister("_S4Check", 100)
HotKeySet("{ESC}", "_Exit")
While True
Sleep(50)
WEnd
Func _S4Check()
If ProcessExists("S4Client.exe") <> 0 Then
_Change()
EndIf
EndFunc ;==>_S4Check
Func _Change()
AdlibUnRegister("_Tooltip")
AdlibUnRegister("_S4Check")
$ProcessID = ProcessExists("S4Client.exe")
$MemoryHandle = _MemoryOpen($ProcessID)
$MemoryWrite = _MemoryWrite(0x00481422, $MemoryHandle, "2348565979", "long")
;aqui voce coloca o addres e o valor que você quer trocar e o type
;neste exeplo usei 4 bytes
If $MemoryWrite = 1 Then
ToolTip("Done!", 0, 0)
_MemoryClose($MemoryHandle)
Exit
Else
MsgBox(0, "Error", "Error")
_MemoryClose($MemoryHandle)
Exit
EndIf
EndFunc ;==>_Change
Func _Tooltip()
If $count = 1 Then
ToolTip("Waiting for S4 League.", 0, 0)
$count = $count + 1
ElseIf $count = 2 Then
ToolTip("Waiting for S4 League..", 0, 0)
$count = $count + 1
ElseIf $count = 3 Then
ToolTip("Waiting for S4 League...", 0, 0)
$count = 1
EndIf
EndFunc ;==>_Tooltip
Func _Exit()
Exit
EndFunc ;==>_Exit






