View Full Version : Error detecting compass angle
stryfedll
06-03-2007, 08:23 PM
Hi, I'm trying to learn SCAR/SRL to make a program.
This is something, I am having a problem with... Heres my script.
-----------------
program KIFAB;
{Kajama Island Fisher and Banker}
{SCAR 3.06, SRL 3.7, KIFAB 1.0}
{Written by stryfedll@gmail.com}
{.include SRL/SRL.scar}
begin
MakeCompass('E');
end.
------------------
I get
Successfully compiled
0
Error detecting Compass Angle.
Successfully executed
What could this be?
evilwalrus
06-03-2007, 08:25 PM
not so sure, its been a while since ive used scar/srl
Smartzkid
06-03-2007, 08:25 PM
Is your player logged in?
Jason2gs
06-03-2007, 08:53 PM
Did you target RS?
IEatJ00erBaybees
06-03-2007, 09:00 PM
This is happening to me too!!! Are you using SCAR 3.06 and SRL 3.7???
EDIT: Just saw it at top of program, it's happening to me too!
I wouldn't use it, but I have to since I wanna use Goblin Schreddular
omgh4x0rz
06-03-2007, 09:02 PM
Edit: :duh: i'm an idiot
tarajunky
06-03-2007, 09:08 PM
You need to call SetupSRL before the MakeCompass procedure.
:)
omgh4x0rz
06-03-2007, 09:26 PM
Lol dam you tarajunky.
I just fixed it without using setupSRL anyway. If you change 19 to 14 in FindCompassAngle, it works.
But I guess that is irrelevant now :(
IEatJ00erBaybees
06-04-2007, 01:07 AM
Lol dam you tarajunky.
I just fixed it without using setupSRL anyway. If you change 19 to 14 in FindCompassAngle, it works.
But I guess that is irrelevant now :(
THANK YOU!!!! IT'S NOT IRRELEVANT!
But if this doesn't work w/ goblin schreddular, it's your head, BUDDY!
GREAT GOD! IT WORKS! I LOVE YOU!
You're sacred name is going in my sig.
omgh4x0rz
06-04-2007, 01:27 AM
Err... cool!! :D
But did you try tarajunky's suggestion of adding SetupSRL?
stryfedll
06-04-2007, 02:16 PM
I added SetupSRL; and it worked.
Thank you :)
tarajunky
06-04-2007, 04:22 PM
Yeah, you need SetupSRL to get all the Sine and Cosine functions to work correctly. Won't work without it.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.