[Opensim-users] Script Engine Messages
Justin Clark-Casey
jjustincc at googlemail.com
Mon Jun 25 23:58:27 UTC 2012
I don't like the way script language/desired engine detection was done - a clash with existing scripts could have been
avoided by requiring some special preceeding chracters rather than simple c#, lsl:DotNetEngine, etc (like #! in shell
scripts, for instance).
However, as it is I think I can see a way to stop these messages being output if the first comment is not trying to set
a script language/engine.
On 25/06/12 16:40, Nebadon Izumi wrote:
> you can write comments on the 1st line just do not use a colon, anytime you use a colon on the 1st line of a script in
> opensim, it triggers the engine selection routine so if you plan on writing any comments on line 1 just leave the ":"
> off that line and problem solved!
>
> On Mon, Jun 25, 2012 at 8:27 AM, Shaun Erickson <ste at smxy.org <mailto:ste at smxy.org>> wrote:
>
> There is nothing to be fixed. Either correctly set the script engine in the first line, or leave the first line
> blank. It's not broken - it's a feature.
>
> -ste
>
> On Jun 25, 2012, at 10:43 AM, Ai Austin <ai.ai.austin at gmail.com <mailto:ai.ai.austin at gmail.com>> wrote:
>
> > Wow.. that will affect a LOT of scripts. No wonder I am seeing these message all the time.. and when uploading
> thongs from Stored Inventory.
> >
> > I hope this can be fixed. I should think most of my scripts start with comments!
> >
> > At 14:40 25/06/2012, opensim-users-request at lists.berlios.de <mailto:opensim-users-request at lists.berlios.de> wrote:
> >> 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.
> >
> > _______________________________________________
> > Opensim-users mailing list
> > Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
> > https://lists.berlios.de/mailman/listinfo/opensim-users
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
>
>
> --
> Michael Emory Cerquoni - Nebadon Izumi @ http://osgrid.org
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
More information about the Opensim-users
mailing list