SRL Archive - OSR Outdated Tutorials

FindSymbol/ FindSymbolIn


Naum

2008-08-30 10:04:39

FindSymbol is a procedure in SRL which will find the bitmap of the symbol and return the result, It can be used for a variety of things including : FailSafes, Walking e.t.c.

Usage:

If FindSymbol(x, y, 'Fishing Spot') Then
Mouse(x, y, 1, 1, True);

X and Y are the co-ordinates of the found bitmap/symbol. They are used in Mouse which will click the symbol of a fish.

The Valid Arguments:

{*******************************************************************************
Valid Arguments are:
- agility - furnace - quest
- altar - gem stall - rare trees, tree
- anvil - guide - sandpit
- apothecary - hair dresser - saw mill
- archery shop - herbalist - scimitar shop
- arrow - house - shield
- axe shop - hunter store - shop, store
- bar - hunter training - short cut
- candle shop - jewelery - silk stall
- churn - kebab shop - silver stall
- clothes shop - mace shop - slayer master
- cookery shop - magic shop - spice stall
- cookery, cook - makeover mage - spinning wheel, spin
- crafing shop - mill - staff shop
- dungeon - minigame - summoning store
- farming shop - mining shop - sword shop
- farming spot - pet shop - training dummy
- fishing shop, fish store - platebody shop - underground
- fishing spot, fish - plateskirt shop - water source, water
- food shop - portal (to player owned houses) - weave
- fur trader - pottery, pot - windmill
*******************************************************************************}

FindSymbolIn also uses the fundamentals of FindSymbol, but an extra add-on is that you can specify the area for it to search in

Usage:

If FindSymbolIn(x, y, 'Fishing Spot', 650, 670, 450, 470) Then
Mouse(x, y, 1, ,1 True);

The variables are the same as for FindSymbol, as are the arguments.
The search area Is good for places with 2 of the same symbols e.g Edgeville
:).

Ashur2Good

2008-09-03 05:13:27

The fuck?

Wizzup?

2008-09-03 05:38:40

Good tutorial!

Naum

2008-09-03 11:14:51

From: Ashur2Good
The fuck?

..Right.. now want to say something worth reading?

From: Wizzup?
Good tutorial!

Thanks Man! :)

Claymore

2008-09-06 00:14:23

This is a funny tutorial ;p But good job ;p Can you teach me linear walk

Naum

2008-09-06 06:13:28

Death: Linear walk is easy,
Just like radial walk, but instead you dont need to specify the radials.

e.g

LinearWalk(FindFallyRoadColor, 0, 70, 0, 0)
^ This will walk north at the radius of 70 :) ^
Actually I might make a tut on that.

Dervish

2008-12-10 14:18:40

Sorry for gravedig but why isn't SRL Library free for all ? :s

Please answer ! :(

Naum

2008-12-11 12:09:18

Firstly well done on SRL Members :).

I dont know the reason, as It should be there, my hunch this is a section that was created before. Basically Tutorial Island is much better :)

Dervish

2008-12-13 04:56:17

Okay, thanks for the answer.
I think all these tutorials should be moved into the public section.
Why is it SRL Members only ? :S

NiCbaZ

2008-12-13 15:29:12

From: Dr D. Dervish
Okay, thanks for the answer.
I think all these tutorials should be moved into the public section.
Why is it SRL Members only ? :S


Members have there own tuts to ;)