From 6a1d9e8da13ed09fa8334db8763854c908742587 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sat, 2 Feb 2008 16:43:57 +0000 Subject: Thank you very much daTwitch for your first contribution to the C# simulator. This is the beginnings of support for storage of region owner in the MySQLManager table and the use of "owner_uuid". --- OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 8429d00..1576bf3 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs @@ -110,6 +110,21 @@ namespace OpenSim.Region.Communications.OGS1 GridParams["remoting_port"] = NetworkServersInfo.RemotingListenerPort.ToString(); GridParams["map-image-id"] = regionInfo.EstateSettings.terrainImageID.ToString(); + + // Added by daTwitch + // part of an initial brutish effort to provide accurate information (as per the xml region spec) + // wrt the ownership of a given region + // the (very bad) assumption is that this value is being read and handled inconsistently or + // not at all. Current strategy is to put the code in place to support the validity of this information + // and to roll forward debugging any issues from that point + // + // this particular section of the mod attempts to supply a value from the region's xml file to the grid + // server for the UUID of the region's owner (master avatar) + // + GridParams["master_avatar_uuid"] = regionInfo.MasterAvatarAssignedUUID.ToString(); + // end of daTwitch's addition to this file + + // Package into an XMLRPC Request ArrayList SendParams = new ArrayList(); SendParams.Add(GridParams); @@ -1297,4 +1312,4 @@ namespace OpenSim.Region.Communications.OGS1 } } -} \ No newline at end of file +} -- cgit v1.1