Boreas
2010-03-16 00:21:19
Script that tests plugins have been moved and all the other common errors. Basically just logs in and does nothing else (that can be effected by updates etc), meaning it will always work, unless user did not set up everything correctly. Would be good if it writelns 'yay' etc if set up correctly, and just craps out if not. Would be great if it also had individual messages for each kind of error, using 'try except' or something, giving instructions how to fix instead of crapping out. Then add it to all the setup tuts, and say run this before attempting to run a script.
Hopefully it will cut down on all the posts on script threads about errors that have nothing to do with that script, from people running a script for the first time after incorrectly setting everything up.
Sir R. M8gic1an
2010-03-16 06:33:57
TestMe.scar in SRL ? Sounds like a really good idea :)
~RM
Wanted
2010-03-16 15:00:21
I'd wait til SRL 5. For best results you would need to put defines in all the plugins… include files… and then the script could writeln exactly what you need to do. That's the only good way of doing it… other wise they would just get compiling issues.
Sir R. M8gic1an
2010-03-16 15:06:38
From: IceFire908
I'd wait til SRL 5. For best results you would need to put defines in all the plugins… include files… and then the script could writeln exactly what you need to do. That's the only good way of doing it… other wise they would just get compiling issues.
try IsMazeActive except writeln('Maze plugin in wrong place') end;
~RM
Wizzup?
2010-03-16 16:16:23
From: Rasta Magician
try IsMazeActive except writeln('Maze plugin in wrong place') end;
~RM
No, that function won't even exist if the plugin is not there, thus will throw compiling errors.
From: Wizzup?
No, that function won't even exist if the plugin is not there, thus will throw compiling errors.
Even in a try..except?
Seems like it should handle that.
Wizzup?
2010-03-16 18:11:25
From: NCDS
Even in a try..except?
Seems like it should handle that.
The script won't even start.
Ohh I see what your saying.