Skip to content

Commit 904bdf5

Browse files
FIRST COMPILE!
Woo HOO! We can publish a tag!
1 parent 29b1716 commit 904bdf5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1588
-27892
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,5 @@ packages/
7474
#*.x86_64
7575
#*.hex
7676

77-
# Mono/.NET things that I'm not sure if we're allowed to distribute or not
78-
dotnet-install.sh
79-
8077
# From Visual Studio
8178
.vs

Properties/launchSettings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"iisSettings": {
3+
"windowsAuthentication": false,
4+
"anonymousAuthentication": true
5+
},
6+
"profiles": {
7+
"RESTbot": {
8+
"commandName": "Project",
9+
"launchBrowser": true,
10+
"applicationUrl": "http://localhost:62945",
11+
"environmentVariables": {
12+
"ASPNETCORE_ENVIRONMENT": "Development"
13+
}
14+
}
15+
}
16+
}

RESTbot.csproj

Lines changed: 17 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<TargetFramework>net6.0*</TargetFramework>
5-
<ProductVersion>8.1.3</ProductVersion>
6-
<SchemaVersion>2.0</SchemaVersion>
7-
<ProjectGuid>{69F6D94E-70AB-481A-8610-B37DCDE23AE9}</ProjectGuid>
2+
<Project Sdk="Microsoft.NET.Sdk.Web" DefaultTargets="Build">
3+
<PropertyGroup Label="Globals">
4+
<TargetFramework>net6.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
87
<AssemblyName>RESTbot</AssemblyName>
98
<OutputPath>restbot-bin\</OutputPath>
109
<OutputType>Exe</OutputType>
11-
<AppDesignerFolder>Properties</AppDesignerFolder>
12-
<RootNamespace>RESTBot</RootNamespace>
13-
<AssemblyName>RESTBot</AssemblyName>
1410
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
1511
<Version>8.1.3</Version>
16-
<PackageVersion>8.1.3</PackageVersion>
17-
<ReleaseVersion>8.1.3</ReleaseVersion>
18-
<SynchReleaseVersion>false</SynchReleaseVersion>
19-
<ApplicationIcon>assets\images\RESTbot-logo.png</ApplicationIcon>
12+
<ApplicationIcon>assets\images\RESTbot.ico</ApplicationIcon>
2013
<PackageId>RESTbot</PackageId>
2114
<Authors>Gwyneth Llewelyn, Pleiades, others</Authors>
2215
<Copyright>Copyright © Pleiades 2007. Copyright © Gwyneth Llewelyn 2010,2021. Some rights reserved</Copyright>
@@ -30,7 +23,7 @@
3023
<Title>RESTbot</Title>
3124
<Summary>RESTBot is a C# webserver that uses RESTful transactions to interact with a bot in Second Life or OpenSimulator. It relies on LibreMetaverse.</Summary>
3225
<Description>RESTBot is a C# webserver that uses RESTful transactions to interact with a bot in Second Life or OpenSimulator. It relies on LibreMetaverse.</Description>
33-
<NuspecFile>$(AssemblyName).nuspec</NuspecFile>
26+
<ProjectGuid>{F6E2EED5-AE02-45D9-A129-7E759F326D4C}</ProjectGuid>
3427
</PropertyGroup>
3528
<PropertyGroup>
3629
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -53,36 +46,18 @@
5346
<WarningLevel>4</WarningLevel>
5447
</PropertyGroup>
5548
<ItemGroup>
56-
<Compile Include="restbot-plugins\AvatarsPlugin.cs" />
57-
<Compile Include="restbot-plugins\ChatPlugin.cs" />
58-
<Compile Include="restbot-plugins\GroupsPlugin.cs" />
59-
<Compile Include="restbot-plugins\InventoryPlugin.cs" />
60-
<Compile Include="restbot-plugins\MovementPlugin.cs" />
61-
<Compile Include="restbot-plugins\PrimsPlugin.cs" />
62-
<Compile Include="restbot-plugins\ReaperPlugin.cs" />
63-
<Compile Include="restbot-plugins\StatsPlugin.cs" />
64-
<Compile Include="restbot-src\Configuration.cs" />
65-
<Compile Include="restbot-src\DebugUtilities.cs" />
66-
<Compile Include="restbot-src\Program.cs" />
67-
<Compile Include="restbot-src\RestBot.cs" />
68-
<Compile Include="restbot-src\RestPlugin.cs" />
69-
<Compile Include="restbot-src\Server\HeaderConstructor.cs" />
70-
<Compile Include="restbot-src\Server\HeaderLines.cs" />
71-
<Compile Include="restbot-src\Server\HeaderParser.cs" />
72-
<Compile Include="restbot-src\Server\Router.cs" />
73-
<Compile Include="restbot-src\Server\Server.cs" />
49+
<PackageReference Include="LibreMetaverse" Version="1.9.4.297" />
50+
<PackageReference Include="LibreMetaverse.StructuredData" Version="1.9.4.297" />
51+
<PackageReference Include="LibreMetaverse.Types" Version="1.9.4.297" />
52+
<PackageReference Include="log4net" Version="2.0.13" />
7453
</ItemGroup>
7554
<ItemGroup>
76-
<Reference Include="log4net" />
77-
<Reference Include="System" />
78-
<Reference Include="System.XML" />
79-
<Reference Include="LibreMetaverse" />
80-
<Reference Include="LibreMetaverse.Types" />
81-
<Reference Include="LibreMetaverse.StructuredData" />
55+
<None Remove="assets\*" />
56+
<None Remove="restbot-tools\*" />
8257
</ItemGroup>
8358
<Target Name="Build" Inputs="@(Compile)" Outputs="$(OutputPath)$(AssemblyName).exe">
84-
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
85-
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe" />
59+
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
60+
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe" />
8661
</Target>
8762
<Target Name="Clean">
8863
<Delete Files="$(OutputPath)$(AssemblyName).exe" />
@@ -91,5 +66,7 @@
9166
<Target Name="BeforeBuild">
9267
</Target>
9368
<Target Name="AfterBuild">
69+
<Copy SourceFiles="assets\configuration\configuration.xml" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
70+
<Copy SourceFiles="assets\configuration\restbot.exe.config" DestinationFolder="$(OutputPath)$(AssemblyName).config" ContinueOnError="true" />
9471
</Target>
9572
</Project>

RESTbot.csproj.bak

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<ProductVersion>8.1.3</ProductVersion>
6+
<SchemaVersion>2.0</SchemaVersion>
7+
<ProjectGuid>{69F6D94E-70AB-481A-8610-B37DCDE23AE9}</ProjectGuid>
8+
<AssemblyName>RESTbot</AssemblyName>
9+
<OutputPath>restbot-bin\</OutputPath>
10+
<OutputType>Exe</OutputType>
11+
<AppDesignerFolder>Properties</AppDesignerFolder>
12+
<RootNamespace>RESTBot</RootNamespace>
13+
<AssemblyName>RESTBot</AssemblyName>
14+
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
15+
<Version>8.1.3</Version>
16+
<PackageVersion>8.1.3</PackageVersion>
17+
<ReleaseVersion>8.1.3</ReleaseVersion>
18+
<SynchReleaseVersion>false</SynchReleaseVersion>
19+
<ApplicationIcon>assets\images\RESTbot-logo.png</ApplicationIcon>
20+
<PackageId>RESTbot</PackageId>
21+
<Authors>Gwyneth Llewelyn, Pleiades, others</Authors>
22+
<Copyright>Copyright © Pleiades 2007. Copyright © Gwyneth Llewelyn 2010,2021. Some rights reserved</Copyright>
23+
<PackageIconUrl>https://github.com/GwynethLlewelyn/restbot/raw/master/assets/images/RESTbot-logo.png</PackageIconUrl>
24+
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
25+
<PackageLicenseUrl>https://github.com/GwynethLlewelyn/restbot/blob/master/LICENSE.md</PackageLicenseUrl>
26+
<PackageProjectUrl>https://github.com/GwynethLlewelyn/restbot</PackageProjectUrl>
27+
<Owners>Gwyneth Llewelyn</Owners>
28+
<PackageTags>LMV OMV OpenMetaverse OpenSim OpenSimulator Halcyon OpenMetaverseFoundation VirtualWorld Radegast SecondLife</PackageTags>
29+
<RepositoryUrl>https://github.com/GwynethLlewelyn/restbot</RepositoryUrl>
30+
<Title>RESTbot</Title>
31+
<Summary>RESTBot is a C# webserver that uses RESTful transactions to interact with a bot in Second Life or OpenSimulator. It relies on LibreMetaverse.</Summary>
32+
<Description>RESTBot is a C# webserver that uses RESTful transactions to interact with a bot in Second Life or OpenSimulator. It relies on LibreMetaverse.</Description>
33+
<NuspecFile>$(AssemblyName).nuspec</NuspecFile>
34+
<TargetFrameworkVersion>net6.0</TargetFrameworkVersion>
35+
</PropertyGroup>
36+
<PropertyGroup>
37+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
38+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
39+
</PropertyGroup>
40+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
41+
<DebugSymbols>true</DebugSymbols>
42+
<DebugType>full</DebugType>
43+
<Optimize>false</Optimize>
44+
<DefineConstants>DEBUG;TRACE</DefineConstants>
45+
<ErrorReport>prompt</ErrorReport>
46+
<WarningLevel>4</WarningLevel>
47+
<DocumentationFile>restbot-bin\RESTBot.xml</DocumentationFile>
48+
</PropertyGroup>
49+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
50+
<DebugType>pdbonly</DebugType>
51+
<Optimize>true</Optimize>
52+
<DefineConstants>TRACE</DefineConstants>
53+
<ErrorReport>prompt</ErrorReport>
54+
<WarningLevel>4</WarningLevel>
55+
</PropertyGroup>
56+
<ItemGroup>
57+
<Compile Include="restbot-plugins\AvatarsPlugin.cs" />
58+
<Compile Include="restbot-plugins\ChatPlugin.cs" />
59+
<Compile Include="restbot-plugins\GroupsPlugin.cs" />
60+
<Compile Include="restbot-plugins\InventoryPlugin.cs" />
61+
<Compile Include="restbot-plugins\MovementPlugin.cs" />
62+
<Compile Include="restbot-plugins\PrimsPlugin.cs" />
63+
<Compile Include="restbot-plugins\ReaperPlugin.cs" />
64+
<Compile Include="restbot-plugins\StatsPlugin.cs" />
65+
<Compile Include="restbot-src\Configuration.cs" />
66+
<Compile Include="restbot-src\DebugUtilities.cs" />
67+
<Compile Include="restbot-src\Program.cs" />
68+
<Compile Include="restbot-src\RestBot.cs" />
69+
<Compile Include="restbot-src\RestPlugin.cs" />
70+
<Compile Include="restbot-src\Server\HeaderConstructor.cs" />
71+
<Compile Include="restbot-src\Server\HeaderLines.cs" />
72+
<Compile Include="restbot-src\Server\HeaderParser.cs" />
73+
<Compile Include="restbot-src\Server\Router.cs" />
74+
<Compile Include="restbot-src\Server\Server.cs" />
75+
</ItemGroup>
76+
<ItemGroup>
77+
<Reference Include="System" />
78+
<Reference Include="System.XML" />
79+
<Reference Include="LibreMetaverse" />
80+
<Reference Include="LibreMetaverse.Types" />
81+
<Reference Include="LibreMetaverse.StructuredData" />
82+
<Reference Include="System.Configuration" />
83+
<Reference Include="System.Web" />
84+
<Reference Include="log4net">
85+
<HintPath>packages\log4net.2.0.13\lib\net45\log4net.dll</HintPath>
86+
<Private>False</Private>
87+
</Reference>
88+
</ItemGroup>
89+
<ItemGroup>
90+
<None Include="packages.config" />
91+
</ItemGroup>
92+
<Target Name="Build" Inputs="@(Compile)" Outputs="$(OutputPath)$(AssemblyName).exe">
93+
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
94+
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe" />
95+
</Target>
96+
<Target Name="Clean">
97+
<Delete Files="$(OutputPath)$(AssemblyName).exe" />
98+
</Target>
99+
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
100+
<Target Name="BeforeBuild">
101+
</Target>
102+
<Target Name="AfterBuild">
103+
</Target>
104+
</Project>

RESTbot.sln

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 25.0.1700.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RESTbot", "RESTbot.csproj", "{F6E2EED5-AE02-45D9-A129-7E759F326D4C}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {392637E4-9121-4800-992C-3912A5535849}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<restbot>
2+
<networking>
3+
<!-- IPv4 address of the machine running RESTbot; leave 127.0.0.1 for running it on yur own laptop/desktop -->
4+
<ip>127.0.0.1</ip>
5+
<port>9080</port>
6+
<!-- Login URI for your grid; default is Linden Lab's main grid -->
7+
<loginuri>http://opensim.betatechnologies.info:8002/</loginuri>
8+
</networking>
9+
<security>
10+
<hostnamelock>false</hostnamelock>
11+
<serverpassword>pass</serverpassword>
12+
</security>
13+
<location>
14+
<!-- initial region for the RESTbot to jump to -->
15+
<sim>GwynWorld</sim>
16+
<x>105</x>
17+
<y>111</y>
18+
<z>22</z>
19+
</location>
20+
<debug>
21+
<!-- this will add extra debugging data to the log -->
22+
<libsl>true</libsl>
23+
<restbot>true</restbot>
24+
</debug>
25+
</restbot>
28 KB
Loading

assets/images/RESTbot.ico

21.8 KB
Binary file not shown.

legacy-stuff/LINKS

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)