Log in

View Full Version : Math.scar?



Slimmeh
07-28-2007, 02:53 AM
When I try running a script it opens math.scar and gives me this error: Line 274: [Error] (1905:11): Unknown identifier 'FixD' in script C:\Program Files\SCAR 3.01\includes\srl\srl\core\Math.scar

I just tried on my other computer and I didn't get that error, but I got another in sumillion's rimington miner.
Line 87: [Error] (18714:44): Duplicate identifier 'a' in script C:\Documents and Settings\(My name)\Desktop\SRM v0.20b.scar
//********Dont go below unless your more advanced********\\
var
GasAvoided, bmpOreMask, bmpClayMask, RunTime, MinCount,
FalaRoadColor, MiningSiteColor, RockColor, a, GemsReceived,
OresMined, TotalLoads, bmpGemMask, TotalMinutesPerPlayer,
CopperRockColor: Integer;
dtmPaxes: array[1..6] of Integer;
PinNumber: string;
PlayerStatus: Boolean;

That is line 87 and everything around it, so if you happen to help me with the first problem, you can help me with this too. :P

Smartzkid
07-28-2007, 04:09 AM
What version of SCAR do you have?

WinterDream
07-28-2007, 12:45 PM
What version of SCAR do you have?
C:\Program Files\SCAR 3.01\includes\srl\srl\core\Math.scar

^^ :-p what do you think?

itSchRis917
07-28-2007, 03:05 PM
For the second error: Just remove the "a" in the variable declarations on line 87. :D As for the first error, I have no idea.. I've never even heard of that before..

Slimmeh
07-28-2007, 05:24 PM
It is ANY script I run that I get that error, even srl.scar and setupsrl.scar. But when I just made a short little script it didn't give me the error.

BEKOEKO
07-29-2007, 01:58 PM
I have the same problem.. (FixD) i use SCAR Divi CDE 3.03 tho. PLZ helP!!

Line 274: [Error] (1905:11): Unknown identifier 'FixD' in script C:\Program Files\SCAR 3.03\includes\srl\srl\core\Math.scar
Failed when compiling

So when it said failed to compile i went to script--> compile
But not only that when i go to script --> compile I get this error also


Line 35: [Error] (35:1): Unknown identifier 'Sinearray' in script C:\Program Files\SCAR 3.03\includes\srl\srl\core\Math.scar
Failed when compiling

Markus
07-29-2007, 02:21 PM
Upgrade to scar 3.11