[Opensim-users] Method not found: llKey2Name (Ferd Frederix)

Fred Beckhusen fred at mitsi.com
Wed Oct 13 15:25:27 UTC 2021


The script was compiled into a DLL in the older software.  The old DLL 
from the prior version is still in the Opensim\bin\ScriptCache folder.  
After the update, the old DLL's no longer know how to find the method. 
Recompiling the script recreates the DLL with the correct pointers.

There is a DeleteScriptsOnStartup setting in Opensim.ini that will clear 
out all script DLLs. Toggle the variable to True and boot one region. 
The DLL's will be regenerated on startup. Then you can disable the 
script deletion by setting it to false. This action leaves the .state 
files in place.   The .state files persist the state of the script.  
This is so virtual pets and other scripts do not lose their data.

You can also just delete the contents of the Scriptcache folder.

DreamGrid has a set of Cache Delete buttons for manual deletion, and it 
also detects that Opensim has changed revs and will delete just the old 
DLLS as needed, leaving the state files behind.

;# {DeleteScriptsOnStartup} {} {Delete previously compiled script DLLs 
on startup?} {true false} true
;; Controls whether previously compiled scripts DLLs are deleted on sim 
restart. If you set this to false
;; then startup will be considerably faster since scripts won't need to 
be recompiled. However, then it becomes your responsibility to delete the
;; compiled scripts if you're recompiling OpenSim from source code and 
internal interfaces used
;; by scripts have changed.
DeleteScriptsOnStartup=False
;



More information about the Opensim-users mailing list