Skip to content

Commit

Permalink
FIRST COMPILE!
Browse files Browse the repository at this point in the history
Woo HOO! We can publish a tag!
  • Loading branch information
GwynethLlewelyn committed Nov 28, 2021
1 parent 29b1716 commit 904bdf5
Show file tree
Hide file tree
Showing 56 changed files with 1,588 additions and 27,892 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,5 @@ packages/
#*.x86_64
#*.hex

# Mono/.NET things that I'm not sure if we're allowed to distribute or not
dotnet-install.sh

# From Visual Studio
.vs
16 changes: 16 additions & 0 deletions Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true
},
"profiles": {
"RESTbot": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "http://localhost:62945",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
57 changes: 17 additions & 40 deletions RESTbot.csproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFramework>net6.0*</TargetFramework>
<ProductVersion>8.1.3</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{69F6D94E-70AB-481A-8610-B37DCDE23AE9}</ProjectGuid>
<Project Sdk="Microsoft.NET.Sdk.Web" DefaultTargets="Build">
<PropertyGroup Label="Globals">
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>RESTbot</AssemblyName>
<OutputPath>restbot-bin\</OutputPath>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RESTBot</RootNamespace>
<AssemblyName>RESTBot</AssemblyName>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>8.1.3</Version>
<PackageVersion>8.1.3</PackageVersion>
<ReleaseVersion>8.1.3</ReleaseVersion>
<SynchReleaseVersion>false</SynchReleaseVersion>
<ApplicationIcon>assets\images\RESTbot-logo.png</ApplicationIcon>
<ApplicationIcon>assets\images\RESTbot.ico</ApplicationIcon>
<PackageId>RESTbot</PackageId>
<Authors>Gwyneth Llewelyn, Pleiades, others</Authors>
<Copyright>Copyright © Pleiades 2007. Copyright © Gwyneth Llewelyn 2010,2021. Some rights reserved</Copyright>
Expand All @@ -30,7 +23,7 @@
<Title>RESTbot</Title>
<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>
<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>
<NuspecFile>$(AssemblyName).nuspec</NuspecFile>
<ProjectGuid>{F6E2EED5-AE02-45D9-A129-7E759F326D4C}</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -53,36 +46,18 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="restbot-plugins\AvatarsPlugin.cs" />
<Compile Include="restbot-plugins\ChatPlugin.cs" />
<Compile Include="restbot-plugins\GroupsPlugin.cs" />
<Compile Include="restbot-plugins\InventoryPlugin.cs" />
<Compile Include="restbot-plugins\MovementPlugin.cs" />
<Compile Include="restbot-plugins\PrimsPlugin.cs" />
<Compile Include="restbot-plugins\ReaperPlugin.cs" />
<Compile Include="restbot-plugins\StatsPlugin.cs" />
<Compile Include="restbot-src\Configuration.cs" />
<Compile Include="restbot-src\DebugUtilities.cs" />
<Compile Include="restbot-src\Program.cs" />
<Compile Include="restbot-src\RestBot.cs" />
<Compile Include="restbot-src\RestPlugin.cs" />
<Compile Include="restbot-src\Server\HeaderConstructor.cs" />
<Compile Include="restbot-src\Server\HeaderLines.cs" />
<Compile Include="restbot-src\Server\HeaderParser.cs" />
<Compile Include="restbot-src\Server\Router.cs" />
<Compile Include="restbot-src\Server\Server.cs" />
<PackageReference Include="LibreMetaverse" Version="1.9.4.297" />
<PackageReference Include="LibreMetaverse.StructuredData" Version="1.9.4.297" />
<PackageReference Include="LibreMetaverse.Types" Version="1.9.4.297" />
<PackageReference Include="log4net" Version="2.0.13" />
</ItemGroup>
<ItemGroup>
<Reference Include="log4net" />
<Reference Include="System" />
<Reference Include="System.XML" />
<Reference Include="LibreMetaverse" />
<Reference Include="LibreMetaverse.Types" />
<Reference Include="LibreMetaverse.StructuredData" />
<None Remove="assets\*" />
<None Remove="restbot-tools\*" />
</ItemGroup>
<Target Name="Build" Inputs="@(Compile)" Outputs="$(OutputPath)$(AssemblyName).exe">
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe" />
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe" />
</Target>
<Target Name="Clean">
<Delete Files="$(OutputPath)$(AssemblyName).exe" />
Expand All @@ -91,5 +66,7 @@
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
<Copy SourceFiles="assets\configuration\configuration.xml" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
<Copy SourceFiles="assets\configuration\restbot.exe.config" DestinationFolder="$(OutputPath)$(AssemblyName).config" ContinueOnError="true" />
</Target>
</Project>
104 changes: 104 additions & 0 deletions RESTbot.csproj.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ProductVersion>8.1.3</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{69F6D94E-70AB-481A-8610-B37DCDE23AE9}</ProjectGuid>
<AssemblyName>RESTbot</AssemblyName>
<OutputPath>restbot-bin\</OutputPath>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RESTBot</RootNamespace>
<AssemblyName>RESTBot</AssemblyName>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Version>8.1.3</Version>
<PackageVersion>8.1.3</PackageVersion>
<ReleaseVersion>8.1.3</ReleaseVersion>
<SynchReleaseVersion>false</SynchReleaseVersion>
<ApplicationIcon>assets\images\RESTbot-logo.png</ApplicationIcon>
<PackageId>RESTbot</PackageId>
<Authors>Gwyneth Llewelyn, Pleiades, others</Authors>
<Copyright>Copyright © Pleiades 2007. Copyright © Gwyneth Llewelyn 2010,2021. Some rights reserved</Copyright>
<PackageIconUrl>https://github.com/GwynethLlewelyn/restbot/raw/master/assets/images/RESTbot-logo.png</PackageIconUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageLicenseUrl>https://github.com/GwynethLlewelyn/restbot/blob/master/LICENSE.md</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/GwynethLlewelyn/restbot</PackageProjectUrl>
<Owners>Gwyneth Llewelyn</Owners>
<PackageTags>LMV OMV OpenMetaverse OpenSim OpenSimulator Halcyon OpenMetaverseFoundation VirtualWorld Radegast SecondLife</PackageTags>
<RepositoryUrl>https://github.com/GwynethLlewelyn/restbot</RepositoryUrl>
<Title>RESTbot</Title>
<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>
<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>
<NuspecFile>$(AssemblyName).nuspec</NuspecFile>
<TargetFrameworkVersion>net6.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>restbot-bin\RESTBot.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="restbot-plugins\AvatarsPlugin.cs" />
<Compile Include="restbot-plugins\ChatPlugin.cs" />
<Compile Include="restbot-plugins\GroupsPlugin.cs" />
<Compile Include="restbot-plugins\InventoryPlugin.cs" />
<Compile Include="restbot-plugins\MovementPlugin.cs" />
<Compile Include="restbot-plugins\PrimsPlugin.cs" />
<Compile Include="restbot-plugins\ReaperPlugin.cs" />
<Compile Include="restbot-plugins\StatsPlugin.cs" />
<Compile Include="restbot-src\Configuration.cs" />
<Compile Include="restbot-src\DebugUtilities.cs" />
<Compile Include="restbot-src\Program.cs" />
<Compile Include="restbot-src\RestBot.cs" />
<Compile Include="restbot-src\RestPlugin.cs" />
<Compile Include="restbot-src\Server\HeaderConstructor.cs" />
<Compile Include="restbot-src\Server\HeaderLines.cs" />
<Compile Include="restbot-src\Server\HeaderParser.cs" />
<Compile Include="restbot-src\Server\Router.cs" />
<Compile Include="restbot-src\Server\Server.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.XML" />
<Reference Include="LibreMetaverse" />
<Reference Include="LibreMetaverse.Types" />
<Reference Include="LibreMetaverse.StructuredData" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web" />
<Reference Include="log4net">
<HintPath>packages\log4net.2.0.13\lib\net45\log4net.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Target Name="Build" Inputs="@(Compile)" Outputs="$(OutputPath)$(AssemblyName).exe">
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
<Csc Sources="@(Compile)" OutputAssembly="$(OutputPath)$(AssemblyName).exe" />
</Target>
<Target Name="Clean">
<Delete Files="$(OutputPath)$(AssemblyName).exe" />
</Target>
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
</Project>
25 changes: 25 additions & 0 deletions RESTbot.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 25.0.1700.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RESTbot", "RESTbot.csproj", "{F6E2EED5-AE02-45D9-A129-7E759F326D4C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F6E2EED5-AE02-45D9-A129-7E759F326D4C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {392637E4-9121-4800-992C-3912A5535849}
EndGlobalSection
EndGlobal
25 changes: 25 additions & 0 deletions assets/configuration/configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<restbot>
<networking>
<!-- IPv4 address of the machine running RESTbot; leave 127.0.0.1 for running it on yur own laptop/desktop -->
<ip>127.0.0.1</ip>
<port>9080</port>
<!-- Login URI for your grid; default is Linden Lab's main grid -->
<loginuri>http://opensim.betatechnologies.info:8002/</loginuri>
</networking>
<security>
<hostnamelock>false</hostnamelock>
<serverpassword>pass</serverpassword>
</security>
<location>
<!-- initial region for the RESTbot to jump to -->
<sim>GwynWorld</sim>
<x>105</x>
<y>111</y>
<z>22</z>
</location>
<debug>
<!-- this will add extra debugging data to the log -->
<libsl>true</libsl>
<restbot>true</restbot>
</debug>
</restbot>
File renamed without changes.
File renamed without changes.
Binary file added assets/images/RESTbot-logo-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/RESTbot.ico
Binary file not shown.
7 changes: 0 additions & 7 deletions legacy-stuff/LINKS

This file was deleted.

Loading

0 comments on commit 904bdf5

Please sign in to comment.