Bring back the Hyperlinker to the Robust console. Moved the config to [GridService]. Changed all HG-related .inis, including HyperSimianGrid. No changes in user-facing inis.
parent
5aad1f7afe
commit
5d8ed077bc
|
@ -102,21 +102,17 @@ namespace OpenSim.Services.GridService
|
||||||
|
|
||||||
public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db)
|
public HypergridLinker(IConfigSource config, GridService gridService, IRegionData db)
|
||||||
{
|
{
|
||||||
IConfig modulesConfig = config.Configs["Modules"];
|
IConfig gridConfig = config.Configs["GridService"];
|
||||||
if (modulesConfig == null)
|
if (gridConfig == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (modulesConfig.GetString("HypergridLinker", "") != "HypergridLinker")
|
if (!gridConfig.GetBoolean("HypergridLinker", false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType());
|
|
||||||
|
|
||||||
m_Database = db;
|
m_Database = db;
|
||||||
m_GridService = gridService;
|
m_GridService = gridService;
|
||||||
|
m_log.DebugFormat("[HYPERGRID LINKER]: Starting with db {0}", db.GetType());
|
||||||
|
|
||||||
IConfig gridConfig = config.Configs["GridService"];
|
|
||||||
if (gridConfig != null)
|
|
||||||
{
|
|
||||||
string assetService = gridConfig.GetString("AssetService", string.Empty);
|
string assetService = gridConfig.GetString("AssetService", string.Empty);
|
||||||
|
|
||||||
Object[] args = new Object[] { config };
|
Object[] args = new Object[] { config };
|
||||||
|
@ -145,7 +141,6 @@ namespace OpenSim.Services.GridService
|
||||||
m_GatekeeperConnector = new GatekeeperServiceConnector(m_AssetService);
|
m_GatekeeperConnector = new GatekeeperServiceConnector(m_AssetService);
|
||||||
|
|
||||||
m_log.Debug("[HYPERGRID LINKER]: Loaded all services...");
|
m_log.Debug("[HYPERGRID LINKER]: Loaded all services...");
|
||||||
}
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(m_MapTileDirectory))
|
if (!string.IsNullOrEmpty(m_MapTileDirectory))
|
||||||
{
|
{
|
||||||
|
|
|
@ -82,6 +82,8 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003
|
||||||
; *
|
; *
|
||||||
[GridService]
|
[GridService]
|
||||||
LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
|
LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
|
||||||
|
HypergridLinker = true
|
||||||
|
|
||||||
; Realm = "regions"
|
; Realm = "regions"
|
||||||
; AllowDuplicateNames = "True"
|
; AllowDuplicateNames = "True"
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
LandServices = "RemoteLandServicesConnector"
|
LandServices = "RemoteLandServicesConnector"
|
||||||
FriendsModule = "HGFriendsModule"
|
FriendsModule = "HGFriendsModule"
|
||||||
MapImageService = "MapImageServiceModule"
|
MapImageService = "MapImageServiceModule"
|
||||||
HypergridLinker = "HypergridLinker"
|
|
||||||
|
|
||||||
LandServiceInConnector = true
|
LandServiceInConnector = true
|
||||||
NeighbourServiceInConnector = true
|
NeighbourServiceInConnector = true
|
||||||
|
@ -60,6 +59,7 @@
|
||||||
; Needed to display non-default map tile images for linked regions
|
; Needed to display non-default map tile images for linked regions
|
||||||
AssetService = "OpenSim.Services.Connectors.dll:AssetServicesConnector"
|
AssetService = "OpenSim.Services.Connectors.dll:AssetServicesConnector"
|
||||||
|
|
||||||
|
HypergridLinker = true
|
||||||
AllowHypergridMapSearch = true
|
AllowHypergridMapSearch = true
|
||||||
|
|
||||||
[LibraryService]
|
[LibraryService]
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
LibraryModule = false
|
LibraryModule = false
|
||||||
|
|
||||||
AssetCaching = "FlotsamAssetCache"
|
AssetCaching = "FlotsamAssetCache"
|
||||||
HypergridLinker = "HypergridLinker"
|
|
||||||
|
|
||||||
[SimulationDataStore]
|
[SimulationDataStore]
|
||||||
LocalServiceModule = "OpenSim.Services.Connectors.dll:SimulationDataService"
|
LocalServiceModule = "OpenSim.Services.Connectors.dll:SimulationDataService"
|
||||||
|
@ -56,6 +55,7 @@
|
||||||
StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
|
StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
|
||||||
NetworkConnector = "OpenSim.Services.Connectors.dll:SimianGridServiceConnector"
|
NetworkConnector = "OpenSim.Services.Connectors.dll:SimianGridServiceConnector"
|
||||||
|
|
||||||
|
HypergridLinker = true
|
||||||
AllowHypergridMapSearch = true
|
AllowHypergridMapSearch = true
|
||||||
|
|
||||||
[LibraryService]
|
[LibraryService]
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
EntityTransferModule = "HGEntityTransferModule"
|
EntityTransferModule = "HGEntityTransferModule"
|
||||||
InventoryAccessModule = "HGInventoryAccessModule"
|
InventoryAccessModule = "HGInventoryAccessModule"
|
||||||
FriendsModule = "HGFriendsModule"
|
FriendsModule = "HGFriendsModule"
|
||||||
HypergridLinker = "HypergridLinker"
|
|
||||||
|
|
||||||
InventoryServiceInConnector = true
|
InventoryServiceInConnector = true
|
||||||
AssetServiceInConnector = true
|
AssetServiceInConnector = true
|
||||||
|
@ -84,6 +83,7 @@
|
||||||
; Needed to display non-default map tile images for remote regions
|
; Needed to display non-default map tile images for remote regions
|
||||||
AssetService = "OpenSim.Services.AssetService.dll:AssetService"
|
AssetService = "OpenSim.Services.AssetService.dll:AssetService"
|
||||||
|
|
||||||
|
HypergridLinker = true
|
||||||
AllowHypergridMapSearch = true
|
AllowHypergridMapSearch = true
|
||||||
|
|
||||||
[PresenceService]
|
[PresenceService]
|
||||||
|
|
Loading…
Reference in New Issue