Log in

View Full Version : RuneMysteriesQuester(problem)



Jason2gs
02-19-2007, 07:55 PM
I'm starting my RuneMysteriesQuester, but I seem to have a bit of a problem.

It doesn't seem to be able to find the color, and I don't see any reason why.

program New;
{.include SRL/SRL.scar}

procedure RuneMysteriesQuester;
begin
SetupSRL;

begin
if(FindColorSpiralTolerance(x, y, 661534, 5, 5, 515, 335, 10))or
(FindColorSpiralTolerance(x, y, 966885, 5, 5, 515, 335, 10))or
(FindColorSpiralTolerance(x, y, 2830202, 5, 5, 515, 335, 10))then
MMouse(x, y, 2, 2);

if(IsUpTextMulti('Duke', 'Hora', 'acio'))then
Mouse(x, y, 0, 0, True);
end;
end;
begin
end.

Mjordan
02-19-2007, 08:02 PM
make it like this and see if it works now.
program RuneMysteriesQuester;
{.include SRL/SRL.scar}

procedure StartQuest;
begin
if(FindColorSpiralTolerance(x, y, 661534, 5, 5, 515, 335, 10))or
(FindColorSpiralTolerance(x, y, 966885, 5, 5, 515, 335, 10))or
(FindColorSpiralTolerance(x, y, 2830202, 5, 5, 515, 335, 10))then
begin
MMouse(x, y, 2, 2);
Wait(3000+Random(1500))
if(IsUpTextMulti('Duke', 'Hora', 'acio'))then
Mouse(x, y, 0, 0, True);
end;
end;

//mainloop below
begin
SetupSRL;
StartQuest;
end.

Jason2gs
02-19-2007, 08:06 PM
It found it :)

How did you get that to work though? You just moved some stuff around, and added a wait in there.

Also, if you don't mind. What kind of script did you turn in to get SRL membership?

Mjordan
02-19-2007, 08:09 PM
yep i just moved and added a few things :) and i didnt apply for membership, fawki gave it to me :D
<3 Fakawi

Jason2gs
02-19-2007, 08:30 PM
That was lucky =)

Mjordan
02-19-2007, 08:39 PM
That was lucky =)

i dint leech or post just anything, i worked for it. so it really wasnt lucky. but yeah if you need any more help with this script id be more than happy to help you :)

Jason2gs
02-19-2007, 08:42 PM
Thanks =)

I do feel like I should be the one to do pretty much all of it, though. I'm gonna try and get SRL membership with it.

Mjordan
02-19-2007, 08:44 PM
Thanks =)

I do feel like I should be the one to do pretty much all of it, though. I'm gonna try and get SRL membership with it.

ok sounds good

Bobarkinator
02-19-2007, 08:52 PM
If you can get it working that will be a really sweet script. I will definetly use it.

Gwallunit
02-19-2007, 09:08 PM
Good luck with the script mate :)

Mjordan
02-19-2007, 09:40 PM
If you look in your original program, you made a procedure to called 'RuneMysteriesQuester'. You didn't call this procedure in the main loop...

yes thats was one problem, but the script was also messed up a lil. things were where they shouldnt have been, and he also called that procedure RuneMysteriesQuester and he mean to call the program that.

Jason2gs
02-19-2007, 09:42 PM
Ah, alright. Thanks =)