correct parcel commands issue

This commit is contained in:
Madpeterz 2021-02-25 03:07:15 +00:00
parent 622189ccfd
commit d73497dff4
7 changed files with 12 additions and 11 deletions

View file

@ -10,6 +10,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project Items", "Project Items", "{C343303B-F9BF-46B3-BBB5-5596823EC71C}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project Items", "Project Items", "{C343303B-F9BF-46B3-BBB5-5596823EC71C}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore .gitignore = .gitignore
Dockerfile = Dockerfile
NuGet.Config = NuGet.Config NuGet.Config = NuGet.Config
README.md = README.md README.md = README.md
EndProjectSection EndProjectSection

View file

@ -39,6 +39,7 @@ ENV Setting_AllowFunds='false'
ENV Setting_LogCommands='false' ENV Setting_LogCommands='false'
ENV Setting_DefaultSit_UUID='' ENV Setting_DefaultSit_UUID=''
ENV Setting_loginURI='secondlife' ENV Setting_loginURI='secondlife'
ENV Setting_Tracker='false'
ENV DiscordFull_Enable='false' ENV DiscordFull_Enable='false'
ENV DiscordFull_Token='' ENV DiscordFull_Token=''

View file

@ -439,7 +439,7 @@ namespace BetterSecondBot.HttpService
return new KeyValuePair<bool, string>(false, "Parcel data not ready"); return new KeyValuePair<bool, string>(false, "Parcel data not ready");
} }
} }
Parcel targetparcel = bot.GetClient.Network.CurrentSim.Parcels[localid]; targetparcel = bot.GetClient.Network.CurrentSim.Parcels[localid];
return new KeyValuePair<bool, string>(true, ""); return new KeyValuePair<bool, string>(true, "");
} }

View file

@ -274,7 +274,7 @@ namespace BetterSecondBot.bottypes
if (group_members_storage.ContainsKey(group) == true) if (group_members_storage.ContainsKey(group) == true)
{ {
long dif = last_cleanup - group_members_storage[group].Key; long dif = last_cleanup - group_members_storage[group].Key;
if (dif < 60) if (dif < 240)
{ {
result= false; result= false;
} }

View file

@ -37,12 +37,10 @@ ENV Security_WebUIKey=''
ENV Setting_AllowRLV='false' ENV Setting_AllowRLV='false'
ENV Setting_AllowFunds='false' ENV Setting_AllowFunds='false'
ENV Setting_LogCommands='false' ENV Setting_LogCommands='false'
ENV Setting_RelayImToAvatarUUID=''
ENV Setting_DefaultSit_UUID='' ENV Setting_DefaultSit_UUID=''
ENV Setting_loginURI='secondlife' ENV Setting_loginURI='secondlife'
ENV Setting_Tracker='false'
ENV DiscordRelay_URL=''
ENV DiscordRelay_GroupUUID=''
ENV DiscordFull_Enable='false' ENV DiscordFull_Enable='false'
ENV DiscordFull_Token='' ENV DiscordFull_Token=''
ENV DiscordFull_ServerID='' ENV DiscordFull_ServerID=''
@ -55,12 +53,6 @@ ENV Name2Key_Enable='false'
ENV Name2Key_Url='http://localhost:1234' ENV Name2Key_Url='http://localhost:1234'
ENV Name2Key_Key='magic' ENV Name2Key_Key='magic'
ENV DiscordTTS_Enable='false'
ENV DiscordTTS_server_id=''
ENV DiscordTTS_channel_name=''
ENV DiscordTTS_avatar_uuid=''
ENV DiscordTTS_Nickname=''
ENV Log2File_Enable='false' ENV Log2File_Enable='false'
ENV Log2File_Level=1 ENV Log2File_Level=1

View file

@ -43,6 +43,8 @@ namespace BetterSecondBotShared.Json
public string Setting_DefaultSit_UUID { get; set; } public string Setting_DefaultSit_UUID { get; set; }
public string Setting_loginURI { get; set; } public string Setting_loginURI { get; set; }
public string Setting_Tracker { get; set; }
// Discord FullFat // Discord FullFat
public bool DiscordFull_Enable { get; set; } public bool DiscordFull_Enable { get; set; }
public string DiscordFull_Token { get; set; } public string DiscordFull_Token { get; set; }

View file

@ -84,6 +84,10 @@ namespace BetterSecondBotShared.Json
{ {
return "Allow the bot to send command to console and discord full if enabled"; return "Allow the bot to send command to console and discord full if enabled";
} }
else if(cmd == "Setting_Tracker")
{
return "should the avatar tracker be enabled (anything but \"false\") and if so where should it go: (Channel number or a url)";
}
return ""; return "";
} }
protected string GetHelp_Discord(string cmd) protected string GetHelp_Discord(string cmd)
@ -209,6 +213,7 @@ namespace BetterSecondBotShared.Json
else if (cmd == "Setting_DefaultSit_UUID") { return ""; } else if (cmd == "Setting_DefaultSit_UUID") { return ""; }
else if (cmd == "Setting_loginURI") { return "secondlife"; } else if (cmd == "Setting_loginURI") { return "secondlife"; }
else if (cmd == "Setting_LogCommands") { return "True"; } else if (cmd == "Setting_LogCommands") { return "True"; }
else if(cmd == "Setting_Tracker") { return "False"; }
return ""; return "";
} }
protected string GetValueHint_Discord(string cmd) protected string GetValueHint_Discord(string cmd)