PDA

View Full Version : [Tutorial] Making an AutoPot script


S ! n c e R e
27th November 2006, 17:47
Its 10:31am, I'm bored as hell and school is for fools! :shocked:

Step by step noob friendly tut on making an AP [AutoPot[see how NF[Noob Friendly]this tut[tutorial] is]] script in ACTool.

Open MS and ACTool. Login to MS.

THIS STEP IS CRITICAL:

Lose as much HP or MP as you see fit and where you want ACTool to start potting.

EX: Lets say you have 8k MP, I suggest losing about 5k. So about half.

Go to ACTool > Color Commands then go to "GetBlue.. End"


Back to MS
Next, put your mouse over the EMPTY part of the HP/MP bar.

HP [XXXX ] or MP [XXXXX ]
-----------^-----------------^--------
Mouse here or________ here

It should look SOMETHING like this:

GetBlue 508, 415 = Color
// Do these commands if true
Else
// Do these commands if false
End

It WILL NOT be 508,415 but you will have some number.

Ok its simple from here, lets look at the first half:

GetBlue 508, 415 = Color
// Do these commands if true


Now what you want to do is make ACTool press the hotkey with a potion. Lets say its delete key.

GetBlue 508, 415 = Color

delay 15
keys del
end


That makes ACTool keep pressing delete which will keep poting. [You can mess with the delay if need be]

Now we want to make ACTool stop potting when you're HP or MP is full. Lets look at the second half:

Else
// Do these commands if false
End

"Else" command asks ACTool, "What do I do when I dont see the color 508, 415?" which means to us "What do we tell ACTool when it doesn't see an empty potion bar?"

Well its simple. All you need to do is think of a command to stop. We will use the command "End".

You're completed AutoPot script should look something like:

It should look SOMETHING like this:

GetBlue 508, 415 = Color
delay 15
keys del
end

Else

end
End


Its good to keep you're scipt neat so its easy to read. :wank:

permit2kill
28th November 2006, 04:47
sounds good, i'll just have to find myself ACTool then I'll give it a try

ishida152
1st December 2006, 01:35
I dunno how actools works, but it looks to me like it will press delete one time and stop. You need to put a loop in the code to make it keep checking

tanjiajun_34
1st December 2006, 04:44
I am tooo boring that I made a updater for zenx engine
Haha