Assetto Corsa Track Position
Posted: Mon Jul 30, 2018 1:40 pm
Hello guys i would like to Create a Little Bot wich can press Few Buttons (Brake Bias etc.)
i found the Pointer of the Track Position but i dont know how i can create a bot or Something that Press the key
i need it for 6 Different zone here i have a AutoIT example
"The Value can only increase and Refresh if a new Round begin"
#RequireAdmin
#include
$Value = _Pointer()
MsgBox(0,"", "Value: " & $Value)
Func _Pointer()
Local $Base = 0x00400000, $Staticoffset = 0x2D726C01FD0
Local $hOpen, $sRead
$hOpen = _MemoryOpen( ProcessExists("acs.exe"))
$sRead = _MemoryRead($Base + $Staticoffset, $hOpen, 'dword') + 0x71C
$sValue = _MemoryRead($Base + $sRead , $hOpen, 'dword')
_MemoryClose($hOpen)
Return $sValue
EndFunc
[IMG]http://fs1.directupload.net/images/180730/jzq4ojrt.png[/IMG]
i found the Pointer of the Track Position but i dont know how i can create a bot or Something that Press the key
i need it for 6 Different zone here i have a AutoIT example
"The Value can only increase and Refresh if a new Round begin"
#RequireAdmin
#include
$Value = _Pointer()
MsgBox(0,"", "Value: " & $Value)
Func _Pointer()
Local $Base = 0x00400000, $Staticoffset = 0x2D726C01FD0
Local $hOpen, $sRead
$hOpen = _MemoryOpen( ProcessExists("acs.exe"))
$sRead = _MemoryRead($Base + $Staticoffset, $hOpen, 'dword') + 0x71C
$sValue = _MemoryRead($Base + $sRead , $hOpen, 'dword')
_MemoryClose($hOpen)
Return $sValue
EndFunc
[IMG]http://fs1.directupload.net/images/180730/jzq4ojrt.png[/IMG]