mirror of
https://github.com/OpenSim-NGC/OpenSim-Sasquatch.git
synced 2024-11-21 14:29:10 -07:00
Fixed silly mistakes (#95)
This commit is contained in:
parent
48199f0596
commit
fea07bd0fd
5 changed files with 11 additions and 12 deletions
|
@ -42,14 +42,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Experience
|
|||
IConfig moduleConfig = source.Configs["Modules"];
|
||||
if (moduleConfig != null)
|
||||
{
|
||||
string name = moduleConfig.GetString("InventoryServices", "");
|
||||
string name = moduleConfig.GetString("ExperienceServices", "");
|
||||
if (name == Name)
|
||||
{
|
||||
|
||||
m_remoteConnector = new ExperienceServicesConnector(source);
|
||||
m_Enabled = true;
|
||||
|
||||
m_log.Info("[XINVENTORY CONNECTOR]: Remote ExperienceService enabled");
|
||||
m_log.Info("[EXPERIENCE CONNECTOR]: Remote ExperienceService enabled");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,21 +63,18 @@ namespace OpenSim.Services.ExperienceService
|
|||
lastName = MainConsole.Instance.Prompt("Experience owner last name", "Resident");
|
||||
else lastName = cmdparams[3];
|
||||
|
||||
UUID suggestedKey = UUID.Random();
|
||||
|
||||
if (cmdparams.Length < 5)
|
||||
experienceKey = MainConsole.Instance.Prompt("Experience Key (leave blank for random)", "");
|
||||
experienceKey = MainConsole.Instance.Prompt("Experience Key", suggestedKey.ToString());
|
||||
else experienceKey = cmdparams[4];
|
||||
|
||||
UUID newExperienceKey;
|
||||
|
||||
if (experienceKey == "")
|
||||
newExperienceKey = UUID.Random();
|
||||
else
|
||||
if(!UUID.TryParse(experienceKey, out newExperienceKey))
|
||||
{
|
||||
if(!UUID.TryParse(experienceKey, out newExperienceKey))
|
||||
{
|
||||
MainConsole.Instance.Output("Invalid UUID");
|
||||
return;
|
||||
}
|
||||
MainConsole.Instance.Output("Invalid UUID");
|
||||
return;
|
||||
}
|
||||
|
||||
UserAccount account = m_UserService.GetUserAccount(UUID.Zero, firstName, lastName);
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
MapImageService = "MapImageServiceModule"
|
||||
SearchModule = "BasicSearchModule"
|
||||
MuteListService = "RemoteMuteListServicesConnector"
|
||||
ExperienceServices = "RemoteExperienceServicesConnector"
|
||||
|
||||
LandServiceInConnector = true
|
||||
NeighbourServiceInConnector = true
|
||||
|
|
|
@ -236,7 +236,7 @@
|
|||
MuteListServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
|
||||
|
||||
[ExperienceService]
|
||||
LocalServiceModule = "OpenSim.Services.Connectors.dll:RemoteExperienceServiceConnector"
|
||||
LocalServiceModule = "OpenSim.Services.Connectors.dll:RemoteExperienceServicesConnector"
|
||||
|
||||
;
|
||||
; Change this to your grid-wide experience server
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
UserManagementModule = "HGUserManagementModule"
|
||||
SearchModule = "BasicSearchModule"
|
||||
MuteListService = "RemoteMuteListServicesConnector"
|
||||
ExperienceServices = "RemoteExperienceServicesConnector"
|
||||
|
||||
LandServiceInConnector = true
|
||||
NeighbourServiceInConnector = true
|
||||
|
|
Loading…
Reference in a new issue