mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532
This commit is contained in:
@@ -374,7 +374,7 @@ namespace OpenSim.Region.Communications.Local
|
||||
regData["status"] = "active";
|
||||
regData["handle"] = region.ToString();
|
||||
|
||||
respData[reg.RegionID.ToStringHyphenated()] = regData;
|
||||
respData[reg.RegionID.ToString()] = regData;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -177,10 +177,10 @@ namespace OpenSim.Region.Communications.Local
|
||||
}
|
||||
TempHash = new Hashtable();
|
||||
TempHash["name"] = InvFolder.name;
|
||||
TempHash["parent_id"] = InvFolder.parentID.ToStringHyphenated();
|
||||
TempHash["parent_id"] = InvFolder.parentID.ToString();
|
||||
TempHash["version"] = (Int32) InvFolder.version;
|
||||
TempHash["type_default"] = (Int32) InvFolder.type;
|
||||
TempHash["folder_id"] = InvFolder.folderID.ToStringHyphenated();
|
||||
TempHash["folder_id"] = InvFolder.folderID.ToString();
|
||||
AgentInventoryArray.Add(TempHash);
|
||||
}
|
||||
return new InventoryData(AgentInventoryArray, rootID);
|
||||
@@ -196,10 +196,10 @@ namespace OpenSim.Region.Communications.Local
|
||||
{
|
||||
TempHash = new Hashtable();
|
||||
TempHash["name"] = InvFolder.FolderName;
|
||||
TempHash["parent_id"] = InvFolder.ParentID.ToStringHyphenated();
|
||||
TempHash["parent_id"] = InvFolder.ParentID.ToString();
|
||||
TempHash["version"] = (Int32) InvFolder.Version;
|
||||
TempHash["type_default"] = (Int32) InvFolder.DefaultType;
|
||||
TempHash["folder_id"] = InvFolder.FolderID.ToStringHyphenated();
|
||||
TempHash["folder_id"] = InvFolder.FolderID.ToString();
|
||||
AgentInventoryArray.Add(TempHash);
|
||||
}
|
||||
|
||||
@@ -207,4 +207,4 @@ namespace OpenSim.Region.Communications.Local
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
// Login / Authentication
|
||||
|
||||
GridParams["authkey"] = serversInfo.GridSendKey;
|
||||
GridParams["UUID"] = regionInfo.RegionID.ToStringHyphenated();
|
||||
GridParams["UUID"] = regionInfo.RegionID.ToString();
|
||||
GridParams["sim_ip"] = regionInfo.ExternalHostName;
|
||||
GridParams["sim_port"] = regionInfo.InternalEndPoint.Port.ToString();
|
||||
GridParams["region_locx"] = regionInfo.RegionLocX.ToString();
|
||||
@@ -111,7 +111,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
GridParams["sim_name"] = regionInfo.RegionName;
|
||||
GridParams["http_port"] = serversInfo.HttpListenerPort.ToString();
|
||||
GridParams["remoting_port"] = NetworkServersInfo.RemotingListenerPort.ToString();
|
||||
GridParams["map-image-id"] = regionInfo.EstateSettings.terrainImageID.ToStringHyphenated();
|
||||
GridParams["map-image-id"] = regionInfo.EstateSettings.terrainImageID.ToString();
|
||||
|
||||
// Package into an XMLRPC Request
|
||||
ArrayList SendParams = new ArrayList();
|
||||
@@ -191,7 +191,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
{
|
||||
RegionInfo regionInfo;
|
||||
Hashtable requestData = new Hashtable();
|
||||
requestData["region_UUID"] = Region_UUID.ToStringHyphenated();
|
||||
requestData["region_UUID"] = Region_UUID.ToString();
|
||||
requestData["authkey"] = serversInfo.GridSendKey;
|
||||
ArrayList SendParams = new ArrayList();
|
||||
SendParams.Add(requestData);
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
{
|
||||
try
|
||||
{
|
||||
Console.WriteLine("Requesting Inventory from Inventory server ( " + _inventoryServerUrl + "/GetInventory/" +" ) for " + userID.ToStringHyphenated());
|
||||
Console.WriteLine("Requesting Inventory from Inventory server ( " + _inventoryServerUrl + "/GetInventory/" +" ) for " + userID.ToString());
|
||||
RestObjectPosterResponse<InventoryCollection> requester = new RestObjectPosterResponse<InventoryCollection>();
|
||||
requester.ResponseCallback = InventoryResponse;
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace OpenSim.Region.Communications.OGS1
|
||||
try
|
||||
{
|
||||
Hashtable param = new Hashtable();
|
||||
param["queryid"] = (string)queryID.ToStringHyphenated();
|
||||
param["queryid"] = (string)queryID.ToString();
|
||||
param["avquery"] = objAlphaNumericPattern.Replace(query, "");
|
||||
IList parameters = new ArrayList();
|
||||
parameters.Add(param);
|
||||
|
||||
Reference in New Issue
Block a user