Hehe...yeah symbols...so my question is how i can search for 2 same symbols with different coords ??? ASAP![]()
Hehe...yeah symbols...so my question is how i can search for 2 same symbols with different coords ??? ASAP![]()
what ur loking for?PHP Code:symbolname:= 'water';
FindSymbol(x,y,Symbolname') //?
Code:
- Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
- Solarwind: Dude, you are like... t3h s3x.
- Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
- benjaa: woah.... Jukka is the man Guildminer pwns all
- NaumanAkhlaQ: And JuKKa Is my Her0!
a and b now hold coords of banksymbol, c and d hold storesymbol.SCAR Code:var a,b,c,d:integer;
FindSymbol(a,b,'Bank');
FindSymbol(c,d,'Store');
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
I refer you to:
SCAR Code:{*******************************************************************************
function SymbolExists(Name: String): Boolean;
By: TOB
Description: Finds if minimap symbol exists by name.
*******************************************************************************}
function SymbolExists(Name: string): Boolean;
var
necessaryx, necessaryy: Integer;
begin
if (GetSymbolColor(necessaryx, necessaryy, Lowercase(Name)) > 0) then
Result := True;
end;
SCAR Code:{*******************************************************************************
function ClickSymbolIfExists(symbol: string): Boolean;
By: TOB
Description: Clicks if minimap symbol exists by name.
*******************************************************************************}
function ClickSymbolIfExists(symbol: string): Boolean;
var
necessaryx, necessaryy: Integer;
begin
if((GetSymbolColor(necessaryx, necessaryy, Lowercase(symbol)) > 0)) then
Result:= True;
if(Result) then
begin
Mouse(necessaryx, necessaryy, 10, 10, True);
Flag;
PerfectNorth;
end;
end;
No, Findsymbol will return the same coords twice...
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
Fakawi, Note: 2 SAME symbols with different coords.
Mage of Begu, Ill send you one procedure made by me, which finds for symbols at specified minimap coords if I find it.
Toi neuvoo sua vääri mage of begu.
I didnt find my old one, so I created new:
SCAR Code:{.include srl/srl.scar}
Function FindSymbolAt(var x,y:Integer; x1, y1, x2, y2 :Integer; Symbol:String):Boolean;
var
DaColor:Integer;
XxX,YyY:Integer;
begin
DaColor:=GetSymbolColor(XxX,YyY,Symbol)
if(DaColor=0)then
begin
Result:=False;
Exit;
end;
if(FindColor(x,y,DaColor,x1,y1,x2,y2))then
Result:=True;
end;
begin
SetUpSRL;
if(FindSymbolAt(x,y,MMX1,MMY1,MMX2-20,MMY2-20,'Water'))then
MMouse(x,y,0,0)
end.
This is very useful(?), example for yew cutter at Edgeville.![]()
English plz?
But FindSymbolAt doesn't find two of the same symbols at other coords?
There are currently 1 users browsing this thread. (0 members and 1 guests)