Change font size
It is currently Wed Nov 20, 2019 9:19 am

Forum rules


{L_IMAGE}



Post a new topicPost a reply Page 1 of 1   [ 2 posts ]
Author Message
 Post subject: lsl scripts stop running in opensim
PostPosted: Tue Aug 09, 2011 2:23 pm 

Joined: Tue Aug 09, 2011 2:12 pm
Posts: 1
Hi,

My problem is : lsl script stop running after a short time.

Basically, it's a endless loop. it stop without error messages after 3 or 4 loop, sometime 5 (if i add a short delay between loops). I added debug info via llOwnerSay, so i'm sure the script is not running after some time...

I tried to modify OpenSim.ini and put theses parameters in XEngine section:
EventLimit = 0 but without success
I've also set AppDomainLoading = false for performance boost (great!!! but problem still here, script stop).

The scripts works very well in SL grid, my goal is only to test in a faster environment, and if possible without any internet connexion (is there a viewer wich can run without internet? Phoenix cannot log you in your local opensim without active connection...?)

Trying to recode with llResetScript to simulate endless loop is impossible because of lots of initialization. timer will be bad too... i tried lots of variants for the loop : while, for, jump... all stop after some loop.
The problem isnt the script, it works well in SL grid. it's not any special incompatibility between the two environment because the 3 or 4 first loop works well and use all the code.
Maybe a memory problem, i had to split code in two script ( all code is about 100k and i had to make lots of memory optimisations for make it workin in sl grid without "stack heap error"...), i dont know...

ask me for more details if you need...
opensim version is 0.7.1.1

thx for your help

edit:
i tried to modify opensim.ini as suggested int this post : http://forums.osgrid.org/viewtopic.php?f=9&t=2919&start=10 .
it's better, but script still stop after a time, now after 10 or 12 loops (instead of 3 or 4)


Top
 Profile  
 
 Post subject: Re: lsl scripts stop running in opensim
PostPosted: Sat Aug 13, 2011 5:20 am 
Furious Typer

Joined: Sat Jan 24, 2009 8:49 am
Posts: 64
Hi Barbidule,

Have you tried higher EventLimit values than default?

Dene


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 2 posts ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net