aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-23 02:31:00 +0100
committerJustin Clark-Casey (justincc)2011-07-23 02:31:00 +0100
commitea58aee338a1e1fa0b1ecc8898c38686c12be44c (patch)
tree9b8d04518a6868e93cd17abf6200851c10508cf5 /bin
parentFixed serverside_object_permission default value confliction (diff)
downloadopensim-SC_OLD-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.zip
opensim-SC_OLD-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.tar.gz
opensim-SC_OLD-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.tar.bz2
opensim-SC_OLD-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.tar.xz
Change default AllowScriptCrossings config setting to true.
When this setting is false and other defaults haven't been changed, scripts entering the simulator from another sim are automatically restarted but their state is not preserved. When this setting is true, state that accompanies the script is reloaded (e.g. if a script had a variable i = 1 when leaving the source region, it will still have i = 1 on the destination region). This setting does not affect crossings when regions are run in the same simulator. In this case, state is already preserved.
Diffstat (limited to 'bin')
-rw-r--r--bin/OpenSim.ini.example8
-rw-r--r--bin/OpenSimDefaults.ini6
2 files changed, 9 insertions, 5 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 2fe4db7..e3b127f 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -80,9 +80,11 @@
80 ;; This can be overriden in the region config file. 80 ;; This can be overriden in the region config file.
81 ; ClampPrimSize = false 81 ; ClampPrimSize = false
82 82
83 ;# {AllowScriptCrossing} {} {Allow scripts to cross into this region} {true false} false 83 ;# {AllowScriptCrossing} {} {Allow scripts to cross into this region} {true false} true
84 ;; Allow scripts to keep running when they cross region boundaries, rather than being restarted. Script code is recompiled on the destination region and the state reloaded. 84 ;; Allow scripts to keep running when they cross region boundaries, rather than being restarted. State is reloaded on the destination region.
85 ; AllowScriptCrossing = false 85 ;; This only applies when crossing to a region running in a different simulator.
86 ;; For crossings where the regions are on the same simulator the script is always kept running.
87 ; AllowScriptCrossing = true
86 88
87 ;# {TrustBinaries} {AllowScriptCrossing:true} {Accept compiled binary script code? (DANGEROUS!)} {true false} false 89 ;# {TrustBinaries} {AllowScriptCrossing:true} {Accept compiled binary script code? (DANGEROUS!)} {true false} false
88 ;; Allow compiled script binary code to cross region boundaries. 90 ;; Allow compiled script binary code to cross region boundaries.
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index a7e40db..b689f88 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -77,8 +77,10 @@
77 ; This can be overriden in the region config file. 77 ; This can be overriden in the region config file.
78 ClampPrimSize = false 78 ClampPrimSize = false
79 79
80 ; Allow scripts to keep running when they cross region boundaries, rather than being restarted. Script code is recompiled on the destination region and the state reloaded. 80 ; Allow scripts to keep running when they cross region boundaries, rather than being restarted. State is reloaded on the destination region.
81 AllowScriptCrossing = false 81 ; This only applies when crossing to a region running in a different simulator.
82 ; For crossings where the regions are on the same simulator the script is always kept running.
83 AllowScriptCrossing = true
82 84
83 ; Allow compiled script binary code to cross region boundaries. 85 ; Allow compiled script binary code to cross region boundaries.
84 ; If you set this to "true", any region that can teleport to you can 86 ; If you set this to "true", any region that can teleport to you can