Help - Search - Members - Calendar
Full Version: Return to spot when death
AC Tools Everything Macro > AC Tool > AC Tool Discussion
skater4ud22
Okay so i want to make my bot do this.

It dies than hp is 0
i want to detect the hp/suppose to be red pixel but, 0 = no red or slight.
after i would love it to run to the same spot and do everything again.

The mouse positions from town are easy.
I just lack the intelligence to understand how to detect that red pixel that is 0

Or maybe theres a way to detect the 0% but sounds weird if i think of it.

my last thought is if i can make the mouse position click the 0% when my hp is 0. Just wondering if thats possible

If any of these are possible can you please give me a hint or like some word to look up in actools help.
Appreciated Thanks
DaMOB
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Okay so i want to make my bot do this.

It dies than hp is 0
i want to detect the hp/suppose to be red pixel but, 0 = no red or slight.
LoadRGB
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
after i would love it to run to the same spot and do everything again.
Can be done as we used to do this in AC1 with this tool but you have to know your game and your shit really well and do hours of testing.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
The mouse positions from town are easy.
Good, that will help a little.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
I just lack the intelligence to understand how to detect that red pixel that is 0
See LoadRGB.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Or maybe theres a way to detect the 0% but sounds weird if i think of it.
HUH?!?
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
my last thought is if i can make the mouse position click the 0% when my hp is 0. Just wondering if thats possible
HUH?!?
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
If any of these are possible can you please give me a hint or like some word to look up in actools help.
All are possible.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Appreciated Thanks
You're welcome.
skater4ud22
QUOTE(DaMOB @ Jun 19 2009, 06:58 AM) *
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Okay so i want to make my bot do this.

It dies than hp is 0
i want to detect the hp/suppose to be red pixel but, 0 = no red or slight.
LoadRGB
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
after i would love it to run to the same spot and do everything again.
Can be done as we used to do this in AC1 with this tool but you have to know your game and your shit really well and do hours of testing.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
The mouse positions from town are easy.
Good, that will help a little.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
I just lack the intelligence to understand how to detect that red pixel that is 0
See LoadRGB.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Or maybe theres a way to detect the 0% but sounds weird if i think of it.
HUH?!?
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
my last thought is if i can make the mouse position click the 0% when my hp is 0. Just wondering if thats possible
HUH?!?
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
If any of these are possible can you please give me a hint or like some word to look up in actools help.
All are possible.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Appreciated Thanks
You're welcome.



Seems like load RGB is the big thing in this even though i wouldnt guess it to be.
Thx alot DaMob again.
i appreciate it.
DaMOB
QUOTE(skater4ud22 @ Jun 21 2009, 09:57 AM) *
QUOTE(DaMOB @ Jun 19 2009, 06:58 AM) *
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Okay so i want to make my bot do this.

It dies than hp is 0
i want to detect the hp/suppose to be red pixel but, 0 = no red or slight.
LoadRGB
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
after i would love it to run to the same spot and do everything again.
Can be done as we used to do this in AC1 with this tool but you have to know your game and your shit really well and do hours of testing.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
The mouse positions from town are easy.
Good, that will help a little.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
I just lack the intelligence to understand how to detect that red pixel that is 0
See LoadRGB.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Or maybe theres a way to detect the 0% but sounds weird if i think of it.
HUH?!?
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
my last thought is if i can make the mouse position click the 0% when my hp is 0. Just wondering if thats possible
HUH?!?
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
If any of these are possible can you please give me a hint or like some word to look up in actools help.
All are possible.
QUOTE(skater4ud22 @ Jun 18 2009, 10:53 PM) *
Appreciated Thanks
You're welcome.



Seems like load RGB is the big thing in this even though i wouldnt guess it to be.
Thx alot DaMob again.
i appreciate it.
It is only because iscolor is not as able to handle color variations. What would happen if you saw the color gold or bronze? How would iscolor handle those? LoadRGB would have no issues at all since it allows you to tell it what the red, green, and blue values should be (though if this is a tool you release don't use exact value comparisons use a range instead (of say +/- 5) because back in the day we authors found that different video card drivers and makers sometimes had slightly different values which killed your macro for that person).
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.