SRL Archive - Help

Problems with SRL


x3chaos

2011-01-23 17:19:17

Let me explain my situation here.
I dropped off of the SRL radar (as previously with zeeky111) for quite a while, when the last SCAR update was 3.12.
I remember having this problem back in the day, but I don't remember what remedied it, and why it happened.

So now, when trying to run even a simple script such as:
program TestInclude;
{.include SRL/SRL.scar}
begin
SetupSRL;
end.
It returns the following:
Compiling error | Line 68 | File: Mouse.scar | Message: Type mismatch

I realize that Mouse.scar is an include, and what it does, and et cetera.
My question is, how do I fix it so that I can use SRL/SRL.scar?

Info:
Line 68 of Mouse.scar is:
randomDist:= maxStep / 2.0 + random(round(maxStep) / 2);
I've also tried messing with parentheses in it:
randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2);
..to no avail.

Thanks.

Frement

2011-01-23 17:22:24

randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2));

Maybe that will fix it?

zeeky111

2011-01-23 17:25:19

From: Frement
randomDist:= (maxStep / 2.0 + random(round(maxStep) / 2));

Maybe that will fix it?


It gave me another type mismatch error.

EDIT: I figured that I may as well just switch and stay on this account.
Cheers.

**BANNED The Man

2011-01-23 17:26:51

Use Simba. :)

-Boom

zeeky111

2011-01-23 17:28:01

From: Dynamite
Use Simba. :)

-Boom


Seeing as it's been since 3.12, please link me to or explain to me the concept of Simba? :P.

Frement

2011-01-23 17:30:28

From: zeeky111
Seeing as it's been since 3.12, please link me to or explain to me the concept of Simba? :P.


http://wizzup.org/simba/

**BANNED The Man

2011-01-23 17:31:21

http://wizzup.org/simba/article/2

There ya go, just check out one of the many tutorials on how to set it up.
I suggest Coh3n's.

-Boom

zeeky111

2011-01-23 17:32:54

Thanks, Dynamite. :).