Game macro!

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
thejackal666
Newbie
Posts: 3
Joined: Sat May 31, 2003 5:32 am

Game macro!

Post by thejackal666 » Sat May 31, 2003 5:35 am

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.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Sat May 31, 2003 8:34 am

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.
MJT Net Support
[email protected]

thejackal666
Newbie
Posts: 3
Joined: Sat May 31, 2003 5:32 am

Post by thejackal666 » Sat May 31, 2003 4:47 pm

k, can you give me a example cuz i duno how t odo the getpixle color i seen it and dont understand how it works

small example plz ?

also i want this TO RUN all the time and DO its cammands to go though the game seqence so if hes hunting

it will auto do that

thejackal666
Newbie
Posts: 3
Joined: Sat May 31, 2003 5:32 am

Post by thejackal666 » Wed Jun 04, 2003 4:38 am

top

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts