Today I feel a bit generous to share my AutoIt script and how I use it to move my character from one location to another.
Credits to Wayntressierts for the release of wallhack using AutoIt as I use it for this function.
Note that this guide is a work in progress. I will post it bit by bit until the whole function is complete. I have limited time because of my gigs but nonetheless, I promise to complete this for those who are willing to learn scripting.
Ok let's get to work.
You need the following important points to complete this script
- Determine where you are in the map
- Determine the angle needed to go to a particular point in the map
- Determine whether you are near the target area
I will explain each of these points in great detail so be sure to comeback to this post for updates. (I plan to update this at least once a week - I am sorry that is all I have for you guys)
Determine where you are in the map - 03/20/2013
Knowing where your character in the map is critical in botting (not unless you want it to wander in cabalworld :P)
Declared below are two variables $currX and $currY taking the values of the two functions _readX() and _read Y
And here are the two functions.
Note the following variables
$cabalmain -> your cabal base address
$ad_x -> your pointer address for X coordinate
$ad_y-> your pointer address for X coordinate
Here is how I declare the addresses in AutoIt
Here is how I get the base address of cabal
That's it. You have your base address, offset address, and two functions that returns the exact position of your character in the map.
Question: Where do I get ProcessExists, _MemoryOpen, and _MemoryGetBaseAddress?
Answer: They are included in NomadMemory Autoit library (or UDF) which is available across the web. (Ask Google)
Determine the angle needed to go to a particular point in the map
To be Updated.
Determine whether you are near the target area
To be Updated.
The whole function and demo video
To be Updated.
Credits to Wayntressierts for the release of wallhack using AutoIt as I use it for this function.
Note that this guide is a work in progress. I will post it bit by bit until the whole function is complete. I have limited time because of my gigs but nonetheless, I promise to complete this for those who are willing to learn scripting.
Ok let's get to work.
You need the following important points to complete this script
- Determine where you are in the map
- Determine the angle needed to go to a particular point in the map
- Determine whether you are near the target area
I will explain each of these points in great detail so be sure to comeback to this post for updates. (I plan to update this at least once a week - I am sorry that is all I have for you guys)
Determine where you are in the map - 03/20/2013
Knowing where your character in the map is critical in botting (not unless you want it to wander in cabalworld :P)
Declared below are two variables $currX and $currY taking the values of the two functions _readX() and _read Y
Code:
;Get the current coordinates of character Global $currX = _readX () Global $currY = _readY ()
Code:
Func _readX () Return int(_MemoryRead($cabalmain+ $ad_x,$proc,"FLOAT")/100) EndFunc Func _readY () Return int(_MemoryRead($cabalmain+ $ad_y,$proc,"FLOAT")/100) EndFunc
$cabalmain -> your cabal base address
$ad_x -> your pointer address for X coordinate
$ad_y-> your pointer address for X coordinate
Here is how I declare the addresses in AutoIt
Code:
Global $ad_x = 0xE8BFA8 GLobal $ad_y = 0xE8BFB0
Code:
Global $PID = ProcessExists('cabalmain.exe')
Global $proc=_MemoryOpen($PID)
Global $cabalmain = _MemoryGetBaseAddress($proc)
Question: Where do I get ProcessExists, _MemoryOpen, and _MemoryGetBaseAddress?
Answer: They are included in NomadMemory Autoit library (or UDF) which is available across the web. (Ask Google)
Determine the angle needed to go to a particular point in the map
To be Updated.
Determine whether you are near the target area
To be Updated.
The whole function and demo video
To be Updated.