From f70e580f861e4dc0c3f9224491478d22320cf5f2 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Wed, 11 Feb 2009 14:35:07 +0000 Subject: From: Christopher Yeoh This changeset add the RegionReady module code. The module sends a message on a configurable channel when an oar file has finished loading or if the script engine has emptied its queue for the first time (eg server startup). Config is something like this: [RegionReady] enabled = true channel_notify = -800 The module also knows if there was an error with startup. --- bin/OpenSim.ini.example | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'bin') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 459d3ed..3015392 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -1012,3 +1012,14 @@ InterregionComms = "RESTComms" ; Density of tree population tree_density = 1000.0 + +[RegionReady] + ; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled + enabled = false + + ; Channel on which to signal region readiness through a message + ; formatted as follows: "{0|1},n,[oar error]" + ; - the first number indicating whether the OAR file loaded ok (1 == ok, 0 == error) + ; - the second number indicates how many scrips failed to compile + ; - "oar error" if supplied, provides the error message from the OAR load + channel_notify = -800 -- cgit v1.1