SRL Archive - Help

Best Object Finding?


Mat

2011-12-30 11:06:57

I'm trying to get it to Pick up Herbs on Farming Runs, it finds them but takes it a long time. I'm using FindObjEx.
Mat

HardRockers

2011-12-30 11:12:04

DTM is probably the most accurate. I am no expert though. Also, FindObjCustom Seems to work pretty nicely.

Mat

2011-12-30 11:17:50

Would DTM's work?
BitMaps Might work to find the Empty Patch.
not it may be able to find the Herb. Gonna Re Write it.
Thanks Mat

Dynamite

2011-12-30 11:19:59

No, use TPA's.
If you want to find it REALLY fast, use CTS1 but you will need to make an accurate AC for the herb.
Message me if you need help or look in the tutorial section.

-Boom

PatDuffy

2011-12-30 11:29:04

Yea, Dynamite is right.

What I would do is have it stand next to the patch, search for whatever color green it is, then sort the points from Point(MSCX,MSCY)

Mat

2011-12-30 11:30:51

From: PatDuffy
Yea, Dynamite is right.

What I would do is have it stand next to the patch, search for whatever color green it is, then sort the points from Point(MSCX,MSCY)

MSCX, MSCY??
Erm ? What do you mean?
Mat

Dynamite

2011-12-30 11:32:29

From: Aligndude
MSCX, MSCY??
Erm ? What do you mean?
Mat


Main Screen Co-Ordinates X
Main Screen Co-Ordinates X

(Atleast I am pretty sure that's what C stands for)
Time for Booms bed, too much helping :P

-Boom

Mat

2011-12-30 11:35:49

I get none of that :/ (The Message you sent)
Time to look at some tutorials me think.
Mat

Brandon

2011-12-30 11:57:04

From: Dynamite
Main Screen Co-Ordinates X
Main Screen Co-Ordinates X

(Atleast I am pretty sure that's what C stands for)
Time for Booms bed, too much helping :P

-Boom


Lol u go to sleep when I wake up.. That MSX#, MSY# is top left, bottom right sorta thing for mainscreen..

MSCX is mainscreen CENTER X. So MSCX, MSCY is directly in the center of the main screen.. aka your character's position.

MMCX is the center of the minimap.. Anything with the C is the center.

legoace

2011-12-30 21:18:35

Those are Global Constants that are included any time you include SRL. They can be found in Globals.scar (globals.simba soon I guess).

There are corner coordinates and center coordinates for tons of useful areas of the screen:
Mainscreen
Minimap
Inventory
Chatbox
BankScreen
Depostbox Screen

These are very useful, use them!