Log in

View Full Version : if(FindSymbol(x,y,'quest')) not working..



JAD
04-28-2007, 12:58 AM
Well, as said in the title, When I call for finding the quest symbol, it just doesn't find it. It is completely visible on the MM, and not 1 person was even on it. Is it just me or is it not working for anybody else either? I'm almost done with my super secret script after I get this working :p

Thanks in advance,
~JAD

Smartzkid
04-28-2007, 12:59 AM
Maybe your symbolaccuracy is off?

Bugger
04-28-2007, 01:00 AM
A few of the symbols arent working

Junior
04-28-2007, 01:02 AM
It can be your symbol accuracy, but if you lower it too much symbols can be easily mistaken for one another.

SymbolAccuracy := 0.8
Try from that to 0.1
If that doesnt work then I dont have a clue..

tarajunky
04-28-2007, 03:12 AM
If you think the symbol is messed up in SRL, then try fixing it. If the fix works, post it.

Fakawi made a tutorial about making bitmaps. That's all Findsymbol is, a bitmap search. If it's not working, then creating a new bitmap should fix it.

Then you will have contributed to SRL. Nice, eh?

JAD
04-28-2007, 05:01 AM
Then you will have contributed to SRL. Nice, eh?
I don't mind contributing to the SRL community.. and in my opinion, I have put as much effort in to contributing to this community as I possibly can.

The reason I posted this thread was to try to see if FindSymbol quest wasn't working for other people too, and if it wasn't, I'd make my own bitmap and post it.

Anyways, thanks for the help guys, I'll try using symbol accuracy because I didn't use that at all before :p

tarajunky
04-28-2007, 06:12 AM
I didn't mean to suggest that you haven't contributed to the SRL community.

I don't use quest symbols so I haven't noticed any problems with them. Hopefully someone else can be of more help in that regard.

nielsie95
04-28-2007, 06:43 AM
The quest symbol is working for me (in draynor).

Harry
04-28-2007, 12:06 PM
Yes... on the PSWW it will always get lost because it relies on that.

JAD
04-28-2007, 04:33 PM
Very strange..... seems to be working perfectly fine now. Huh, thanks for all the help guys.

rkroxpunk
04-28-2007, 04:38 PM
O.o what did you do lol because mine occasionally screws up. I've got...If not findsymbol then blah blah blah and sometimes the symbols in perfect view but the script acts like it's not there and screws up like a bitch. Might make my own BMP.
Oh but then it won't work for anyone else....*sigh* why does it work for Wizzup? and not for me.....

JAD
04-28-2007, 04:42 PM
What I did was this:

var Tries: Integer;
procedure FindTheSymbol;
begin
if(FindSymbol(x,y,'quest'))then
begin
Mouse(x,y,2,2,true);
FFlag(1);
end else
begin
repeat
if(FindSymbol(x,y,'quest'))then
begin
Mouse(x,y,2,2,true);
FFlag(1);
Exit;
end;
Tries := Tries + 1;
wait(500+random(500));
until(tries = 20);
end;
end;

I have it wait half a second to a second so it gives people time to move off it. Worked for me, and I had it writeln tries and it only took 2.