From fa619bdf8c2e7d935f662a2f9d289c78ce618192 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Thu, 12 Mar 2009 18:51:28 +0000 Subject: From: Christopher Yeoh Patch to RegionReady which adds a field which adds to the message whether the region is ready due to a server startup or due to an oar file loading. --- bin/OpenSim.ini.example | 11 ++++++----- .../region/scripting/regionready.ini.example | 7 ++++--- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'bin') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index ef72dc4..e2ae33c 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -1100,11 +1100,12 @@ InterregionComms = "RESTComms" ; default is false 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 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 diff --git a/bin/config.preview.donotuseyet/region/scripting/regionready.ini.example b/bin/config.preview.donotuseyet/region/scripting/regionready.ini.example index 611b81b..e64139e 100644 --- a/bin/config.preview.donotuseyet/region/scripting/regionready.ini.example +++ b/bin/config.preview.donotuseyet/region/scripting/regionready.ini.example @@ -12,8 +12,9 @@ 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 + ; 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 -- cgit v1.1