From 05d9593198f1a688e10ab5be1789b5661ad7d61e Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 13 May 2007 12:25:08 +0000 Subject: Added very basic support for maps (likely to only work in sandbox mode due to the non functioning remote asset server), also currently just uses textures that we already had added to the asset server (this is the first thing that needs fixing) --- OpenSim.Servers/LoginServer.cs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'OpenSim.Servers') diff --git a/OpenSim.Servers/LoginServer.cs b/OpenSim.Servers/LoginServer.cs index 5c829ae..44038ff 100644 --- a/OpenSim.Servers/LoginServer.cs +++ b/OpenSim.Servers/LoginServer.cs @@ -168,21 +168,21 @@ namespace OpenSim.UserServer XmlRpcResponse response = loginResponse.ToXmlRpcResponse(); Hashtable responseData = (Hashtable)response.Value; - // inventory - // ArrayList InventoryList = (ArrayList)responseData["inventory-skeleton"]; - // Hashtable Inventory1 = (Hashtable)InventoryList[0]; - // Hashtable Inventory2 = (Hashtable)InventoryList[1]; - // LLUUID BaseFolderID = LLUUID.Random(); - // LLUUID InventoryFolderID = LLUUID.Random(); - // Inventory2["name"] = "Textures"; - // Inventory2["folder_id"] = BaseFolderID.ToStringHyphenated(); - // Inventory2["type_default"] = 0; - // Inventory1["folder_id"] = InventoryFolderID.ToStringHyphenated(); - - // ArrayList InventoryRoot = (ArrayList)responseData["inventory-root"]; - // Hashtable Inventoryroot = (Hashtable)InventoryRoot[0]; - // Inventoryroot["folder_id"] = InventoryFolderID.ToStringHyphenated(); - + //inventory + /* ArrayList InventoryList = (ArrayList)responseData["inventory-skeleton"]; + Hashtable Inventory1 = (Hashtable)InventoryList[0]; + Hashtable Inventory2 = (Hashtable)InventoryList[1]; + LLUUID BaseFolderID = LLUUID.Random(); + LLUUID InventoryFolderID = LLUUID.Random(); + Inventory2["name"] = "Textures"; + Inventory2["folder_id"] = BaseFolderID.ToStringHyphenated(); + Inventory2["type_default"] = 0; + Inventory1["folder_id"] = InventoryFolderID.ToStringHyphenated(); + + ArrayList InventoryRoot = (ArrayList)responseData["inventory-root"]; + Hashtable Inventoryroot = (Hashtable)InventoryRoot[0]; + Inventoryroot["folder_id"] = InventoryFolderID.ToStringHyphenated(); + */ CustomiseLoginResponse(responseData, first, last); Login _login = new Login(); -- cgit v1.1