Help - Search - Members - Calendar
Full Version: Auto heal and mana
AC Tools Everything Macro > AC Tool Macros > Other Macros
JUANI
Hi i make some of this but doesen´t works

SetActiveWindow ImperiumAO 1.4.5
Delay 5000

While 1 = 1
Constants
Heal = {F7}
Mana = {F10}
End



LoadRGB 672, 395 // position of red bar of heal
if {RGBRed} < 99
keydown {F11}
End

Delay 6000

LoadRGB 672, 424 //position of blue bar of mana
if {RGBBlue} < 99
keydown {F10}
End
End

HELP ME PLEASE!!!
DaMOB
QUOTE(JUANI @ Jan 6 2009, 08:06 AM) *
Hi i make some of this but doesen´t works

SetActiveWindow ImperiumAO 1.4.5
Delay 5000

While 1 = 1
Constants
Heal = {F7}
Mana = {F10}
End



LoadRGB 672, 395 // position of red bar of heal
if {RGBRed} < 99
keydown {F11}
End

Delay 6000

LoadRGB 672, 424 //position of blue bar of mana
if {RGBBlue} < 99
keydown {F10}
End
End

HELP ME PLEASE!!!

Of course it didn't work you fucked up the entire structure and have, at least one, wrong command structure.

Go back to ACTool first grade then study more to understand what it is you did wrong. If you still fail to see your mistakes then you suck at macro making though you do seem to comprehend, or cut and paste, semi well.
JUANI
QUOTE(DaMOB @ Jan 6 2009, 05:28 PM) *
QUOTE(JUANI @ Jan 6 2009, 08:06 AM) *
Hi i make some of this but doesen´t works

SetActiveWindow ImperiumAO 1.4.5
Delay 5000

While 1 = 1
Constants
Heal = {F7}
Mana = {F10}
End



LoadRGB 672, 395 // position of red bar of heal
if {RGBRed} < 99
keydown {F11}
End

Delay 6000

LoadRGB 672, 424 //position of blue bar of mana
if {RGBBlue} < 99
keydown {F10}
End
End

HELP ME PLEASE!!!

Of course it didn't work you fucked up the entire structure and have, at least one, wrong command structure.

Go back to ACTool first grade then study more to understand what it is you did wrong. If you still fail to see your mistakes then you suck at macro making though you do seem to comprehend, or cut and paste, semi well.


Sry man you have all reason, i don´t take any couse of actool
I investige this program alone!
JUANI
SetActiveWindow ImperiumAO 1.4.5
Delay 5000

While 1 = 1
Constants
Heal = {F7}
Mana = {F10}
End



LoadRGB 672, 395 // position of red bar of heal
if {RGBRed} < 99
keys $Heal
End

Delay 6000

LoadRGB 672, 424 //position of blue bar of mana
if {RGBBlue} < 99
keys $Mana
End
End

I try this but doesn´t works AGAIN!!!
what is wrong???
DaMOB
QUOTE(JUANI @ Jan 6 2009, 08:14 PM) *
SetActiveWindow ImperiumAO 1.4.5
Delay 5000

While 1 = 1
Constants
Heal = {F7}
Mana = {F10}
End



LoadRGB 672, 395 // position of red bar of heal
if {RGBRed} < 99
keys $Heal
End

Delay 6000

LoadRGB 672, 424 //position of blue bar of mana
if {RGBBlue} < 99
keys $Mana
End
End

I try this but doesn´t works AGAIN!!!
what is wrong???

First of all do you know how to program at all? If you do not, even if something like QBasic, then ACTool is never going to click with you and all you will be doing is using people to c&p to whatever it is you are trying to make.

First issue the constants section does not belong inside your code.
Second issue is that you need to read up and go search for my prime example of how to properly use the LoadRGB command (just regave the example over the last month).
Third issue is that your keys command will not work as you wrote them since {xx} means jack squat in the constants section.
actooldude
I think you caught DaMob on a bad day dry.gif

Without writing the code for you, follow these hints....

Take a look at your opening loop ....

while 1 = 1
...
...
...
end

Inside this loop, 1 will always be 1, so the macro will never advance past the End statement. Also, constants should be defined at the beginning of the macro and NOT inside a loop.

Secondly, no reason to define the constants at all. Just write the function keys into the body of the macro.

keys {F7}

Hope this helps.
JUANI
Thanks man!!! I go to try that and latter i tell you!!

P.D:Thanks equal Dbmob
JUANI
actooldude
I try this and works but only with the leter u (of Use) in the game, when i put the potions of mana in F10 and potions of Heal in F11 not work

SetActiveWindow ImperiumAO 1.4.5
Delay 5000
while 1 = 1

LoadRGB 672, 395
if {RGBRed} < 99
keys u // When i put here {F11} not works

Delay 60

LoadRGB 672, 424
if {RGBBlue} < 99
keys u // When i put here {F10} not works too
End
end

What can i do??
actooldude
Ok I'm pleased it's doinf something. The {F10} key should work (unless I am missing something). The only comment I have is that the delay is very small for an infinite loop.

Delay of 60 is 6/100 of a second and the macro is probably getting way ahead of itself. Try delay 500 (1/2 a second) and see if that helps.

Good luck.
JUANI
QUOTE(actooldude @ Jan 7 2009, 12:42 PM) *
Ok I'm pleased it's doinf something. The {F10} key should work (unless I am missing something). The only comment I have is that the delay is very small for an infinite loop.

Delay of 60 is 6/100 of a second and the macro is probably getting way ahead of itself. Try delay 500 (1/2 a second) and see if that helps.

Good luck.

Thanks but not work.
I think its for the game
You know if this program can emulate e key?
i try to say this: if F11 key ---------> other kay ej. letter Q
If i can change the accion of some key can be works!
Bye friend!!
DaMOB
Not a bad day it is an honest question. If they can't program then I would be spinning my wheels and they as well.

I showed him what was wrong and it is up to him to figure out what he did wrong. I help by showing what someone did wrong not by just throwing the code out there for someone to C&P and not learn from it.
JUANI
Thanks equal Damob you have reaseon.
I only investige the program and i cant make run sad.gif
DaMOB
QUOTE(JUANI @ Jan 11 2009, 08:39 PM) *
Thanks equal Damob you have reaseon.
I only investige the program and i cant make run sad.gif

Yeah, ACTool is very simple to understand and works like Basic (no, not Visual Basic but true Basic). If you can program at all ACTool will click with you and you can easily make macros with it if you don't then you have a hurdle in front of you.

Have you looked at Autoit? I haven't looked at it for at least 2-3 years but if I remember right it demands even more programming knowledge out of you than ACTool but it can do what Tool can't as well (can compile the macro as well). Personally I try and stick with C++ to do my macros but I always fall back to Tool for some things.
DSel
Hi... i make for METIN2...

SetActiveWindow METIN2

Object life
242=0,0 230=2,0 235=4,0 234=6,0 239=8,0 246=10,0 255=12,0 252=14,0 235=16,0 255=18,0 237=20,0 242=22,0 247=24,0 251=26,0 239=28,0 240=30,0 235=32,0 232=34,0 240=36,0 255=38,0 255=40,0 248=42,0 234=44,0 246=46,0 241=48,0 255=50,0 245=52,0 248=54,0 240=56,0 255=58,0 247=60,0 255=62,0 240=64,0 255=66,0 255=68,0 240=70,0 255=72,0 240=74,0 238=76,0 240=78,0 238=80,0 240=82,0 239=84,0 237=86,0
235=88,0 238=90,0 255=92,0 235=94,0 102=96,0 112=98,0 63=100,0 51=104,0
End

while 1 = 1
IsObject life at 59, 743
TimeStamp Vida 100%
else
KeyDown 1 200
delay 500
End
delay 250
end
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.