Need help on simple background bot script.

12/01/2010 15:02 zap_xlib#1
Hi all,

Can anyone help me to write a very small very simple bot (not macro), using C# that walks to a particular co-ordinate...

I found :

008CABEC as X Coord
008CABF0 as Y Coord

from Cheat Engine.

So, how do i begin a C# script and what all to quote in "using..." and how do i go about moving my char at least 1 step from the current location?

Even a script will be great!. I`m just a beginner in C#, packet, process, memory programming. But, i know C, C++, Pascal (worked lot of Scar scripts), Java and BASIC.

Any help would be appreciated!.

Thank you!.
12/01/2010 17:04 gorgone#2
why use c# if u don t know how to program use autoit script more more easy that a complex language

the function is

_MemoryRead(_MemoryRead($Address,$ID), $ID)

try to download AutoIt is script language for make macro e automatic script, much usefull to auto trakking enemy (i use findpixel with red) but u can use to make little cheak like hp, coordinate and mp
12/01/2010 17:06 zap_xlib#3
Quote:
Originally Posted by gorgone View Post
why use c# if u don t know how to program use autoit script more more easy that a complex languace c#


_MemoryRead(_MemoryRead($Address,$ID), $ID)


look this is easy
True!... but how can i make the script run in the background, while i am playing another account?
12/01/2010 17:14 gorgone#4
sure dude i detect the windows pid process and put in background a made a super minner HP cheaker and when hp decriscee it call me.

$PID = WinGetProcess([active])

so u have the pid of process then u can have more clients open and different reader in memory
12/01/2010 18:05 zap_xlib#5
Quote:
Originally Posted by gorgone View Post
sure dude i detect the windows pid process and put in background a made a super minner HP cheaker and when hp decriscee it call me.

$PID = WinGetProcess([active])

so u have the pid of process then u can have more clients open and different reader in memory
This is cool!... tyvm!... i was only using client handle until now.

Besides, is it possible to read memory address of the x and y coordinates and use it in autoit? Just curious...
12/02/2010 10:57 gorgone#6
yes i used to pk detect in miners .. i read hp,coordinates and location name of miner

put the window in back ground and use tooltip ("... coordinate name hp " & cftl(7)". coordinate name hp ")

in loop for all clients . then when a noob try to pk my chars i ll use CNTRL- TAB sequence to open the client and log off

then wait 10 minutes and relog and re.mine

ahh i added a function to drop ore if i have over 30 items in bag