Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008872opensim[REGION] OpenSim Corepublic2021-03-06 14:592021-03-07 11:40
Assigned To 
PlatformLinuxOperating SystemLinuxOperating System VersionLinux
Product Version 
Target VersionFixed in Version 
Summary0008872: Feature Request: Optional config parameter in OpenSim.ini to recompile all scripts in a simulator instance upon start
DescriptionFeature 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.
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineubODE
Script EngineXEngine
EnvironmentMono / Linux64
Mono VersionOther
Attached Files

- Relationships

-  Notes
danbanner (manager)
2021-03-06 17:48

granted: DeleteScriptsOnStartup = true
nixnerd (reporter)
2021-03-06 18:49
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 :)

nixnerd (reporter)
2021-03-06 18:55

I've checked, we've already got that option enabled, as, who wouldn't? However, it still seems to be an issue :(
nixnerd (reporter)
2021-03-06 19:08

I've not checked, but does viewer cache state play a part, in this?
danbanner (manager)
2021-03-06 19:18

is it uncommented?
it should delete and recompile on startup
BillBlight (developer)
2021-03-06 20:21

ummm ..

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)
2021-03-07 00:19

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.
UbitUmarov (administrator)
2021-03-07 11:40

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.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker