Log in

View Full Version : Errors when trying to load scripts



mikeyx81
07-30-2012, 03:58 AM
Whenever I try to load a script i fill in my info then save then click run (the green arrow) but then I ended up getting a error

[Error] C:\Users\Mike\Downloads\Ivy Chopper by Giant_Panda (1.07).simba(114:3): Unknown identifier 'Smart_Signed' at line 113

At first i was getting the error

SmartgetFieldObject(1488,'crash'); error at line 137

but looked around and it said to update the SRL which i did even did a tools - force update.

but it ended up giving me the first error I posted. What am I doing wrong? This really confuses me :D

YoHoJo
07-30-2012, 05:45 AM
Remove all lines line Smart_server, Smart_Signed, Smart_world, and try again.

P1ng
07-30-2012, 06:03 AM
The latest update has altered the way a script need to load SMART.
List of changes and alterations that need to be made can be found here: http://villavu.com/forum/showthread.php?t=84334

But in order to fix the specific error you are displaying, where you find this in your script:
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
Replace it with:
{$IFDEF SMART}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}

Hopefully that fixes things up for you :)