Log in

View Full Version : weird error



fatmess
05-17-2012, 03:12 PM
I setup simba correctly and im still getting this error when running scripts




[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
[Error] (37:3): Duplicate identifier 'xP' at line 36

Rich
05-17-2012, 03:16 PM
What script are you using?

fatmess
05-17-2012, 03:23 PM
http://villavu.com/forum/showthread.php?t=72888

but it happens with every script

Hero
05-17-2012, 03:27 PM
program S1NMaples;
{$DEFINE SMART}
{$Define Crashsmart}
{$include srl/srl/misc/smart.simba}
{$include srl/srl.simba}
{$i SRL/SRL/misc/paintsmart.simba}
var
StartTime:Integer;
//progress variables
XP,XPH,Sec,value2:Integer;
{================================================= ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
=============================S1NMaples============ ===============
=============================Version 1.6=========================
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============
================================================== ===============}
const
SRLStats_User = 'Anonymous'; // Your SRL Stats ID (If you dont have one then just leave it as it is)
SRLStats_Password = 'Anon1337'; // Your SRL Stats Password (If you dont have one then just leave it as it is)
var
knifeDTM2,logDTM,lBowDTM,knifeDTM,DTM,bowCount:Int eger;
xP,StartTime,BowsPH,XPH,Sec:integer;
t:integer;
whichBank,cUser:String;
BankNumber:Integer;

Remove the first set of variables.

Edit: Sorry if this was an anti.

fatmess
05-17-2012, 03:43 PM
nvm fixed it but im now getting this error, i also get this error with every other script i try >.<"


[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256


managed to get a script running now but still with the same error and the jar doesn't load, only the script runs

Hero
05-17-2012, 06:02 PM
Those aren't errors. That is basically telling you that you have a spare set of variables that are not used. They shouldn't effect the script.