SRL Archive - OSR Help

Let cursor point banksymbol on MM


Powerbee

2013-03-30 07:17:03

Hello,

I do not quite understand how I can hoover cursor over a MM-symbol. Can I use one or more specified colors? Or do I have to use a DTM? Or is it for example the bankMMsymbol already declared with colors?

Could someone post a snippet that makes you find the bank symbol and for example let you walk to it?

Thanks!

Justin

2013-03-30 07:20:58


procedure WalkIntoBank;
var
bx, by: integer;
begin
if (FindSymbol(bx, by, 'bank')) then
Mouse(bx, by, 3, 3, mouse_Left);
end;

That's how you would find and click the bank symbol.

Powerbee

2013-03-30 07:27:03

From: Justin

procedure WalkIntoBank;
var
bx, by: integer;
begin
if (FindSymbol(bx, by, 'bank')) then
Mouse(bx, by, 3, 3, mouse_Left);
end;

That's how you would find and click the bank symbol.


Oh so no need for color picking? Great thats what I wanted to know! Thx

Powerbee

2013-03-30 09:20:54

Not working though. This for OSR? OSR-SRL or 07clude or both? He can not find the symbol on MM.

rj

2013-03-30 09:23:04

From: Powerbee
Not working though. This for OSR? OSR-SRL or 07clude or both? He can not find the symbol on MM.


Try making your own DTM

shebee

2013-03-30 09:40:16

Try using lower SymbolAccuracy.
Default is "SymbolAccuracy := 0.8;

Anyway, from my experience, findsymbols does only work if there are no players or npc on the symbol, and even then it's a little dodgy.
I'd recommend making DTMs or using radialwalk.