hello i already got routes and everything up
iM ready to take it to the next level..
Is there any way i can do..
Ok the health bar is bottom left its red, its a mix tho and
i wanna see if it gets below a certain point then gosub>heal
same with mana
also
if healpots
can it also
theres items on ground can i some how make it pick it up and go back on t rack of its route?
I no its a bit technical, but im sure its possable Im just not sure with this program.
Game macro!
Moderators: JRL, Dorian (MJT support)
Hi,
I'm afraid I don't play online games and don't know anything about the game you're talking about so it's hard to be precise.
However, you can detect colors at pixel positions with GetPixelColor. By creating two nested loops you can therefore scan a portion of the screen looking for a pixel color and return the coordinates when that color is found. You can also wait for a specific pixel to change colour with WaitPixelColor.
Look also at GetRectCheckSum and WaitRectChanged.
These commands with some basic loops and logic should let you do what you want.
I'm afraid I don't play online games and don't know anything about the game you're talking about so it's hard to be precise.
However, you can detect colors at pixel positions with GetPixelColor. By creating two nested loops you can therefore scan a portion of the screen looking for a pixel color and return the coordinates when that color is found. You can also wait for a specific pixel to change colour with WaitPixelColor.
Look also at GetRectCheckSum and WaitRectChanged.
These commands with some basic loops and logic should let you do what you want.
MJT Net Support
[email protected]
[email protected]
-
- Newbie
- Posts: 3
- Joined: Sat May 31, 2003 5:32 am