im tryin to get my understanding how scripting language works,
and ive tried writing something just to make it freeze the autopill number value (11 days etc)
and the error keeps showing:
Line-1
Error: unknown Function name
Ther Script is this:
#RequireAdmin
#Region ;**** CREATED BY emoHaxor ****
#AutoIt3Wrapper_Res_Comment=Autopot (Mayn Mem.)
#AutoIt3Wrapper_Res_Description=AUTOrandom (Mayn Mem.)
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0.0
#EndRegion ;**** CREATED BY emoHaxor ****
#include <Nomadmemory.au3>
#include <Array.au3>
#include <memory.au3>
WinWaitActive("TwelveSky2")
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
;ADRESSES!!!!
$ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
$HPAddy = 0x00C85DDF
$HP = _MemoryRead($HPaddy, $ID)
$ChiAddy = 0x00C85DE7
$Chi = _MemoryRead($Chiaddy, $ID)
$pillnoAddy = 0x00C60754
$pillno = _MemoryRead($pillnoAddy, $ID)
$pillHPAddy = 0x00C60758
$pillHP = _MemoryRead($pillHPAddy, $ID)
$pillCHIAddy = 0x00C6075C
$pillCHI = _MemoryRead($pillCHIAddy, $ID)
$AttackSPDAddy = 0x00C85E03
$AttackSPD = _MemoryRead($AttackSPDAddy, $ID)
$MoveSPDAddy = 0x00C607FC
$MoveSPD = _MemoryRead($MoveSPDAddy, $ID)
;ATTEMPTED SCRIPT!!
Func PillnoFreeze()
SetPrivilege("SeDebugPrivilege", 1)
$ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
_MemoryWrite($pillnoAddy, $ID, 15)
While 1
PillnoFreeze()
Wend
_MemoryClose($ID)
EndFunc ;==>PillnoFreeze
;INCLUDED SHIZZLE FOR ENDING AND PAUSING + IMPORTANCE LIST
While 1
HP()
Chi()
AOE()
WEnd
Func TogglePause()
$Paused = Not $Paused
While $Paused
Sleep(100)
ToolTip('AOE BOT "Paused"', 512, 15)
WEnd
ToolTip("")
EndFunc ;==>TogglePause
Func Terminate()
ToolTip('AOE BOT "Exiting"', 512, 15)
Sleep(1000)
ToolTip("")
Exit 0
EndFunc ;==>Terminate
[No credit taken by me for the content in this, all credit to the original source of some parts, just for my knowledge purposes only ty ^^]
and ive tried writing something just to make it freeze the autopill number value (11 days etc)
and the error keeps showing:
Line-1
Error: unknown Function name
Ther Script is this:
#RequireAdmin
#Region ;**** CREATED BY emoHaxor ****
#AutoIt3Wrapper_Res_Comment=Autopot (Mayn Mem.)
#AutoIt3Wrapper_Res_Description=AUTOrandom (Mayn Mem.)
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0.0
#EndRegion ;**** CREATED BY emoHaxor ****
#include <Nomadmemory.au3>
#include <Array.au3>
#include <memory.au3>
WinWaitActive("TwelveSky2")
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
;ADRESSES!!!!
$ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
$HPAddy = 0x00C85DDF
$HP = _MemoryRead($HPaddy, $ID)
$ChiAddy = 0x00C85DE7
$Chi = _MemoryRead($Chiaddy, $ID)
$pillnoAddy = 0x00C60754
$pillno = _MemoryRead($pillnoAddy, $ID)
$pillHPAddy = 0x00C60758
$pillHP = _MemoryRead($pillHPAddy, $ID)
$pillCHIAddy = 0x00C6075C
$pillCHI = _MemoryRead($pillCHIAddy, $ID)
$AttackSPDAddy = 0x00C85E03
$AttackSPD = _MemoryRead($AttackSPDAddy, $ID)
$MoveSPDAddy = 0x00C607FC
$MoveSPD = _MemoryRead($MoveSPDAddy, $ID)
;ATTEMPTED SCRIPT!!
Func PillnoFreeze()
SetPrivilege("SeDebugPrivilege", 1)
$ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
_MemoryWrite($pillnoAddy, $ID, 15)
While 1
PillnoFreeze()
Wend
_MemoryClose($ID)
EndFunc ;==>PillnoFreeze
;INCLUDED SHIZZLE FOR ENDING AND PAUSING + IMPORTANCE LIST
While 1
HP()
Chi()
AOE()
WEnd
Func TogglePause()
$Paused = Not $Paused
While $Paused
Sleep(100)
ToolTip('AOE BOT "Paused"', 512, 15)
WEnd
ToolTip("")
EndFunc ;==>TogglePause
Func Terminate()
ToolTip('AOE BOT "Exiting"', 512, 15)
Sleep(1000)
ToolTip("")
Exit 0
EndFunc ;==>Terminate
[No credit taken by me for the content in this, all credit to the original source of some parts, just for my knowledge purposes only ty ^^]