View Full Version : SRL setup for use in RS error.
Xtensity
07-13-2010, 11:22 PM
I started playin rs again, or more so autoing on rs....
As I had a few months ago, I have that no script including SRL can be compiled.
Main Error:
Line 433: [Error] (6451:35): Unknown identifier 'MEMBER' in script *************\Scar\includes\SRL\SRL\Core\Login.sca r
I am using SCAR Divi 2.23 Beta. I have the latest SVN of SRL. I HAVE moved the plugins and anything else I can think of.
A script as simple as
program New;
{.include srl/srl.scar}
var
x,y,z:integer;
begin
SetupSRL;
ClearDebug;
end.
will give me the error
Line 433: [Error] (6451:35): Unknown identifier 'MEMBER' in script **********\Scar\includes\SRL\SRL\Core\Login.scar
Any idea?
Frement
07-13-2010, 11:30 PM
Download SCAR 3.23 or Simba (http://wizzup.org/simba/).
Simba has automatic SRL download+updating.
For SCAR 3.23 you have to download open-dev SRL.
Xtensity
07-13-2010, 11:36 PM
Do you have the download link for that version of SRL? I thought that was from the SVN or whatever.
Cigue
07-13-2010, 11:39 PM
I think you're better off downloading Simba. It does everything SCAR does, and is way simpler to install. SRL even downloads/updates itself without you having to do anything !
Xtensity
07-13-2010, 11:46 PM
I think you're better off downloading Simba. It does everything SCAR does, and is way simpler to install. SRL even downloads/updates itself without you having to do anything !
Er, it's not replacing scar or something is it? I have about 15+ self made scripts that I have no real interest in rewriting since they each took a few hours to construct, not to mention what their function in game should work still.
Or does simba just set it up automatically for use with scar?
Frement
07-13-2010, 11:47 PM
No, and you may have to convert some functions from SCAR to Simba.
Xtensity
07-14-2010, 12:07 AM
Ok.
So I I don't have to create another thread... When I try to run a script in Simba... Including as such {$i srl/srl.scar} ... With SRL and Reflection enabled in extensions(im not using reflection right now).
I get the error Exception in Script: Unknown compiler directives at 2:18
When I thought I had the include for SRL set up correctly.
edit:
I fixed it by doing
{$IfNDef Simba}
{.include SRL/SRL.scar}
{$EndIf}
Now I don't know which SRL Functions are usable since theres no link to a manual... or atleast the function ExistsItem
doesn't work. I'm not even sure if the above code included srl successfully.
edit: Now it compiles no errors after restarting it.... No clue what I did.... :S
Another question though... How to I change the hotkeys for running scripts in simba?
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.