[Opensim-users] Script Engine Messages
Edmund Edgar
ed at avatarclassroom.com
Mon Jun 25 10:35:52 UTC 2012
Hi Ai.
We had this with a lot of the sloodle scripts - the problem was that
they had a comment in the first line that OpenSim would interpret as
telling it the script engine. I think anything looking like this will
set it off:
// This is a comment: It's nothing to do with the script engine but
OpenSim thinks it is.
Replacing that with just two slashes then a line return seems to fix it.
In our case we had a lot of scripts with comments that it choked on,
so I fixed them by exporting the whole thing as an iar, untarring it,
running the following, retarring it and importing it back:
find * -name '*.lsl' -exec sh -c "if ! grep -q \"The line above
should\" {}; then mv {} {}.tmp; echo \"//\n// The line above should be
left blank to avoid script errors in OpenSim.\n\" >> {}; cat {}.tmp >>
{}; rm {}.tmp; fi" \;
Edmund
On 25 June 2012 19:20, Ai Austin <ai.ai.austin at gmail.com> wrote:
> I seem to get a lot of messages like this "Selected engine unavailable
> running on Xengine".
--
Edmund Edgar
Avatar Classroom
Your classroom, on the web, in a virtual world.
ed at avatarclassroom.com
+81 090 3912 3380
Skype: edmundedgar
Second Life: Edmund Earp
Linked In: edmundedgar
Twitter: @edmundedgar
http://www.avatarclassroom.com
More information about the Opensim-users
mailing list