|Anonymous | Login | Signup for a new account||2021-04-14 21:30 PDT|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008872||opensim||[REGION] OpenSim Core||public||2021-03-06 14:59||2021-03-07 11:40|
|Platform||Linux||Operating System||Linux||Operating System Version||Linux|
|Target Version||Fixed in Version|
|Summary||0008872: Feature Request: Optional config parameter in OpenSim.ini to recompile all scripts in a simulator instance upon start|
|Description||Feature Request: Optional config parameter in OpenSim.ini to recompile all scripts in a simulator instance upon start. Helpful when ScriptEngines been cleared, due to mono update.|
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Standalone (1 Region)|
|Environment||Mono / Linux64|
|granted: DeleteScriptsOnStartup = true|
edited on: 2021-03-06 18:49
And that's why you're called Dan, the Man. Plus that made me smile Dan, thanks, I'll give it a go :)
|I've checked, we've already got that option enabled, as, who wouldn't? However, it still seems to be an issue :(|
|I've not checked, but does viewer cache state play a part, in this?|
is it uncommented?
it should delete and recompile on startup
per the request "Helpful when ScriptEngines been cleared, due to mono update."
If you clear ScriptEngines, it will recompile all scripts because you just blasted them all ...
Ferd Frederix (reporter)
Thanks danbanner, I laughed.
FYI: Don't delete the folder ScriptEngines. Your scripted pets will lose all state and die. :-(
If you do, leave just the .STATE files or flip the 'dan' switch.
This information so far is more relative to Xengine.
- On same opensim version updates a full clear of the ScriptEngines folder may be needed. As Ferd tells, this will also delete .state files, causing scripts to lose all values of global variables etc. This may break some objects like some farms things..
- On most updates (mono and/or opensim) only the dlls need to be deleted, so set 'dan' switch to true on first run after update, and the false.
'dan'switch is a performance one. To compile scripts does take a lot of time that is not needed on normal regions restarts.
Think Yengine does not have this at this time
But yengine yobj cache files are not mono/.net generated code, so less dependent on it. They also have a version number that we can use to force full regeneration.
|2021-03-06 14:59||nixnerd||New Issue|
|2021-03-06 17:48||danbanner||Note Added: 0037596|
|2021-03-06 18:49||nixnerd||Note Added: 0037597|
|2021-03-06 18:49||nixnerd||Note Edited: 0037597||View Revisions|
|2021-03-06 18:55||nixnerd||Note Added: 0037598|
|2021-03-06 19:08||nixnerd||Note Added: 0037599|
|2021-03-06 19:18||danbanner||Note Added: 0037600|
|2021-03-06 20:21||BillBlight||Note Added: 0037601|
|2021-03-07 00:19||Ferd Frederix||Note Added: 0037603|
|2021-03-07 11:40||UbitUmarov||Note Added: 0037604|
|Copyright © 2000 - 2012 MantisBT Group|