lordasukuu;
havent yet Written any scripts for OSR so i cant help you there but im sure if you take a look at some tutorials on OSR you probably can get it to work but i dont know
in response to your error
find any occurances of SMART_DebugTPA
and make sure the line contains the following
if ( DEBUGSMART = True ) and not ( Length(THE-VAR) = 0 )
you must change THE-VAR to the var name in SMART_DebugTPA
heres an example
Simba Code:
SMART_DebugTPA(True,TarCpoints);
SMART_DebugTPA(false,i);
Would then become
Simba Code:
if ( DEBUGSMART = True ) and not ( Length(TarCpoints) = 0 ) then SMART_DebugTPA(True,TarCpoints);
^ TarCpoints is the var to add as its the var ^ here that contains the data for DebugTPA
if ( DEBUGSMART = True ) and not ( Length(i) = 0 ) then SMART_DebugTPA(false,i);
here ^ add i because i is the variable ^ here for DebugTPA
this should have been done allready but your error basicly says i missed one
as the error is because at some point the data SMART is trying to print to debug dosent exist
in this case i believe is probably the red dots on the minimap or rather the lack of
when you see this error
you may find that some lines look like this
Simba Code:
if ( DEBUGSMART = True ) then SMART_DebugTPA(True,TarCpoints);
if ( DEBUGSMART = True ) then SMART_DebugTPA(false,i);
its the same idea here but add
and not ( Length(THE-VAR) = 0 ) inside the if statement like this
Simba Code:
if ( DEBUGSMART = True ) and not ( Length(TarCpoints) = 0 ) then SMART_DebugTPA(True,TarCpoints);
Again ^ here i added TarCpoints as it is the variable ^ here containing the
data for DebugTPA