Turn the [RegionReady] module on by default and login_disable = true while scripts are loading.
From field experience, we know that simulators can be unstable if a user logs in before the scripts have finished loading. This commit turns login_disable = true in [RegionReady] on by default which prevents this from happening. If you want the old behaviour, please copy these section from OpenSimDefaults.ini into OpenSim.ini and set login_disable = falseiar_mods
parent
169387b390
commit
9d458fdd7f
|
@ -332,6 +332,26 @@
|
|||
DelayBeforeAppearanceSend = 2
|
||||
|
||||
|
||||
[RegionReady]
|
||||
; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled
|
||||
enabled = true
|
||||
|
||||
; Channel on which to signal region readiness through a message
|
||||
; formatted as follows: "{server_startup|oar_file_load},{0|1},n,[oar error]"
|
||||
; - the first field indicating whether this is an initial server startup
|
||||
; - the second field is a number indicating whether the OAR file loaded ok (1 == ok, 0 == error)
|
||||
; - the third field is a number indicating how many scripts failed to compile
|
||||
; - "oar error" if supplied, provides the error message from the OAR load
|
||||
channel_notify = -800
|
||||
|
||||
; - disallow logins while scripts are loading
|
||||
; Instability can occur on regions with 100+ scripts if users enter before they have finished loading
|
||||
login_disable = true
|
||||
|
||||
; - send an alert as json to a service
|
||||
; alert_uri = "http://myappserver.net/my_handler/"
|
||||
|
||||
|
||||
[SMTP]
|
||||
enabled = false
|
||||
|
||||
|
@ -489,6 +509,7 @@
|
|||
;
|
||||
;DisableFacelights = "false"
|
||||
|
||||
|
||||
[ClientStack.LindenCaps]
|
||||
;; Long list of capabilities taken from
|
||||
;; http://wiki.secondlife.com/wiki/Current_Sim_Capabilities
|
||||
|
@ -1304,24 +1325,6 @@
|
|||
broker = "http://broker.place.com/{1}"
|
||||
|
||||
|
||||
[RegionReady]
|
||||
; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled
|
||||
; default is false
|
||||
enabled = false
|
||||
|
||||
; Channel on which to signal region readiness through a message
|
||||
; formatted as follows: "{server_startup|oar_file_load},{0|1},n,[oar error]"
|
||||
; - the first field indicating whether this is an initial server startup
|
||||
; - the second field is a number indicating whether the OAR file loaded ok (1 == ok, 0 == error)
|
||||
; - the third field is a number indicating how many scripts failed to compile
|
||||
; - "oar error" if supplied, provides the error message from the OAR load
|
||||
channel_notify = -800
|
||||
; - disallow logins while scripts are loading
|
||||
login_disable = false
|
||||
; - send an alert as json to a service
|
||||
; alert_uri = "http://myappserver.net/my_handler/"
|
||||
|
||||
|
||||
[MRM]
|
||||
; Enables the Mini Region Modules Script Engine.
|
||||
; default is false
|
||||
|
|
Loading…
Reference in New Issue