Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Is mono scripting stable?

Phate Shepherd
Addicted to code
Join date: 14 Feb 2008
Posts: 96
01-28-2009 10:57
I am scripting an item that really benefits from the expanded memory that mono provides for scripts.

What are the cons to writing for Mono right now? I have heard there is a bug related to resetting mono scripts?

The script is extremely cleanly coded, breaking it up into smaller non-mono sized chunks would deteriorate the interactive nature of the script.
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
01-28-2009 11:28
With them getting server-1.25 up on the production grid, I think they're declaring that Mono is finally more-or-less happy.

Babbage Linden would really be the one to ask, though: http://wiki.secondlife.com/wiki/Office_hours#Babbage_Linden
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-28-2009 12:03
I haven't had any problems with it in the past couple months, and I've been compiling EVERYTHING to Mono. Beware of the "Wow! More memory!" pitfall though. It's not always true that you can fit in more data. Take a look for other threads discussing memory and mono on this forum for more info.
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
01-28-2009 14:11
I've been selling complex scripted items compiled to mono since server 1.23 when it first came out. Was a bit rocky at first, but with 1.25 now out, it's pretty stable. I would recommend you use it. :)
_____________________
Jack Abraham
Lantern By Day
Join date: 11 Apr 2008
Posts: 113
01-29-2009 07:28
Everything I script I do in Mono, and I've had no issues I can identify.
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
01-29-2009 07:43
Mono seems to be pretty stable as far as I can tell. There are still bugs, and still some perfectly valid LSL that won't compile to Mono, but overall I'd encourage you to keep using it.
_____________________
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
01-29-2009 09:01
No problems here, after the first few hiccups (e.g., super slow running state_exit handlers).

It's as stable as anything else in SL. I highly recommend it, esp if you need more memory.
Yingzi Xue
Registered User
Join date: 11 Jun 2008
Posts: 144
01-29-2009 10:37
MONO is great. I haven't had a bit of trouble with my scripts. I haven't compiled an LSL script since the conversion and I'm not looking back. One thing to keep in mind... whenever you edit and save a MONO compiled script in your inventory it reverts back to LSL. You have to put it in an object and recompile it as MONO.
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
01-29-2009 10:45
So far, I have only had one script fail to work correctly after converting it to Mono. The rest ran flawlessly.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-29-2009 12:12
Ah, darn. I spoke a little too soon it seems. Just last night I got an error like this:

From: someone

objectName [scriptName]: System.NullReferenceException: Object reference not set to an instance of an object
at LindenLab.SecondLife.LslUserScript.OnEvent (ScriptEvent evt) [0x00000]-
at LindenLab.SecondLife.Script.Run (ScriptEvent evt) [0x00000]


It was NOT printed as a "script error", but went to my local chat. I don't think the script named was even doing anything at the time (actually I take that back; it might have been in a timer designed to check whether another script's data needs to be reset or not and send a link message if so). I'm not sure if it affected the operation of the script (couldn't test just then), but I reset the script just in case.
Imaze Rhiano
Registered User
Join date: 27 Dec 2007
Posts: 39
01-29-2009 23:27
From: Hewee Zetkin
Ah, darn. I spoke a little too soon it seems. Just last night I got an error like this:



It was NOT printed as a "script error", but went to my local chat. I don't think the script named was even doing anything at the time (actually I take that back; it might have been in a timer designed to check whether another script's data needs to be reset or not and send a link message if so). I'm not sure if it affected the operation of the script (couldn't test just then), but I reset the script just in case.


If possible - please add report to JIRA (http://jira.secondlife.com/browse/SVC-2908) - and if possible - PLEASE: Provide script (object) that is causing problem.

For me MONO has been performing very well - never encountered any problems and I have been using it since release.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-30-2009 10:09
From: Imaze Rhiano
If possible - please add report to JIRA (http://jira.secondlife.com/browse/SVC-2908) - and if possible - PLEASE: Provide script (object) that is causing problem.

For me MONO has been performing very well - never encountered any problems and I have been using it since release.

Can't. No reproduction steps, and I'm not at liberty to disclose the source code on this one. It's also the first time I've seen it, in a script I use all the time. So intermittent to say the least.
Chilly Charlton
Registered User
Join date: 15 Jun 2004
Posts: 483
Mono rocks
01-30-2009 14:29
Mono rocks
Krystal Wrigglesworth
Registered User
Join date: 21 Feb 2008
Posts: 0
01-30-2009 20:47
Thanks all for the replies... I think I'm going to go ahead and stick with Mono.

It greatly simplifies the script.

Ohh I am so dieing to show this puppy off... but got lots more files to upload to complete it. I think SL photographers are gonna flip... then animators ;-)
Phate Shepherd
Addicted to code
Join date: 14 Feb 2008
Posts: 96
01-30-2009 22:35
Thanks all for the replies... I think I'm going to go ahead and stick with Mono.

It greatly simplifies the script.