Changeset 512


Ignore:
Timestamp:
May 21, 2026, 2:16:22 PM (3 months ago)
Author:
alloc
Message:

Migrated WebServer, MapRendering and HttpListener to core game with v3, leaving just the example mods for Markers and additional commands

Location:
TFP-WebServer
Files:
6 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • TFP-WebServer/7dtd-binaries/README.txt

    r422 r512  
    11Put the following files from your dedicated server in this folder:
    2 - 0Harmony.dll
    32- Assembly-CSharp.dll
    43- Assembly-CSharp-firstpass.dll
    5 - com.rlabrecque.steamworks.net.dll
    64- LogLibrary.dll
    75- mscorlib.dll
    86- System.dll
    9 - System.Xml.dll
    10 - System.Xml.Linq.dll
    117- UnityEngine.CoreModule.dll
    128- UnityEngine.dll
    13 - UnityEngine.ImageConversionModule.dll
    149- Utf8Json.dll
  • TFP-WebServer/CommandExtensions/CommandExtensions.csproj

    r510 r512  
    1313  </PropertyGroup>
    1414  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    15     <DebugType>none</DebugType>
     15    <DebugType>embedded</DebugType>
    1616    <Optimize>true</Optimize>
    1717    <OutputPath>..\bin\Mods\TFP_CommandExtensions\</OutputPath>
     
    2020    <ConsolePause>false</ConsolePause>
    2121    <NoStdLib>true</NoStdLib>
     22    <DebugSymbols>true</DebugSymbols>
    2223  </PropertyGroup>
    2324  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Profiler|AnyCPU' ">
  • TFP-WebServer/CommandExtensions/ModInfo.xml

    r510 r512  
    55        <Description value="Additional commands for server operation" />
    66        <Author value="The Fun Pimps LLC" />
    7         <Version value="2.1.0.0" />
     7        <Version value="1.3.0.0" />
    88        <Website value="" />
    99</xml>
  • TFP-WebServer/MarkersMod/MarkersMod.csproj

    r510 r512  
    1414  </PropertyGroup>
    1515  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    16     <DebugType>none</DebugType>
     16    <DebugType>embedded</DebugType>
    1717    <Optimize>true</Optimize>
    1818    <OutputPath>..\bin\Mods\Xample_MarkersMod\</OutputPath>
     
    2121    <ConsolePause>false</ConsolePause>
    2222    <NoStdLib>true</NoStdLib>
     23    <DebugSymbols>true</DebugSymbols>
    2324  </PropertyGroup>
    2425  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Profiler|AnyCPU' ">
     
    8182  </ItemGroup>
    8283  <ItemGroup>
    83     <ProjectReference Include="..\WebServer\WebServer.csproj">
    84       <Project>{01b5f981-b9fd-4364-8f9e-9127130d2542}</Project>
    85       <Name>WebServer</Name>
    86       <Private>False</Private>
    87     </ProjectReference>
    88   </ItemGroup>
    89   <ItemGroup>
    9084    <None Include="WebMod\**" CopyToOutputDirectory="Always" LinkBase="WebMod\" />
    9185  </ItemGroup>
  • TFP-WebServer/MarkersMod/ModInfo.xml

    r510 r512  
    55        <Description value="Allows placing custom markers on the web map" />
    66        <Author value="Catalysm and Alloc" />
    7         <Version value="1.1.1.0" />
     7        <Version value="1.3.0.0" />
    88        <Website value="" />
    99</xml>
  • TFP-WebServer/MarkersMod/src/Markers.cs

    r487 r512  
    3737                private static readonly byte[] jsonKeyIcon = JsonWriter.GetEncodedPropertyNameWithPrefixValueSeparator ("icon");
    3838
    39                 protected override void HandleRestGet (RequestContext _context) {
     39                public override void HandleRestGet (RequestContext _context) {
    4040                        string id = _context.RequestPath;
    4141                       
     
    9191                }
    9292
    93                 protected override void HandleRestPost (RequestContext _context, IDictionary<string, object> _jsonInput, byte[] _jsonInputData) {
     93                public override void HandleRestPost (RequestContext _context, IDictionary<string, object> _jsonInput, byte[] _jsonInputData) {
    9494                        if (!JsonCommons.TryGetJsonField (_jsonInput, "x", out int x)) {
    9595                                SendEmptyResponse (_context, HttpStatusCode.BadRequest, _jsonInputData, "NO_OR_INVALID_X");
     
    120120                }
    121121
    122                 protected override void HandleRestPut (RequestContext _context, IDictionary<string, object> _jsonInput, byte[] _jsonInputData) {
     122                public override void HandleRestPut (RequestContext _context, IDictionary<string, object> _jsonInput, byte[] _jsonInputData) {
    123123                        if (!JsonCommons.TryGetJsonField (_jsonInput, "x", out int x)) {
    124124                                SendEmptyResponse (_context, HttpStatusCode.BadRequest, _jsonInputData, "NO_OR_INVALID_X");
     
    158158                }
    159159
    160                 protected override void HandleRestDelete (RequestContext _context) {
     160                public override void HandleRestDelete (RequestContext _context) {
    161161                        string id = _context.RequestPath;
    162162
  • TFP-WebServer/TFP-WebDashboard.sln

    r453 r512  
    44Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandExtensions", "CommandExtensions\CommandExtensions.csproj", "{E273D042-57F9-4E2E-8268-5053527E5287}"
    55EndProject
    6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MapRendering", "MapRendering\MapRendering.csproj", "{A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}"
    7 EndProject
    8 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpaceWizards.HttpListener", "SpaceWizards.HttpListener\SpaceWizards.HttpListener.csproj", "{E273D042-57F9-4E2E-8268-5053527E5287}"
    9 EndProject
    106Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MarkersMod", "MarkersMod\MarkersMod.csproj", "{2A008E16-6EB8-4B85-A175-3CB89D9FF4AE}"
    11 EndProject
    12 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebServer", "WebServer\WebServer.csproj", "{01B5F981-B9FD-4364-8F9E-9127130D2542}"
    137EndProject
    148Global
     
    2115        EndGlobalSection
    2216        GlobalSection(ProjectConfigurationPlatforms) = postSolution
    23                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Release_Version|Any CPU.ActiveCfg = Release|Any CPU
    24                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Release_Version|Any CPU.Build.0 = Release|Any CPU
    25                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Release|Any CPU.ActiveCfg = Release|Any CPU
    26                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Release|Any CPU.Build.0 = Release|Any CPU
    27                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Release_Profiler|Any CPU.ActiveCfg = Release_Profiler|Any CPU
    28                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Release_Profiler|Any CPU.Build.0 = Release_Profiler|Any CPU
    29                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    30                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Debug|Any CPU.Build.0 = Debug|Any CPU
    31                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Debug_Profiler|Any CPU.ActiveCfg = Debug_Profiler|Any CPU
    32                 {A1847B5F-7BFC-4BCD-94AA-A6C9FB7E7C54}.Debug_Profiler|Any CPU.Build.0 = Debug_Profiler|Any CPU
    33                 {E273D042-57F9-4E2E-8268-5053527E5287}.Release_Version|Any CPU.ActiveCfg = Release|Any CPU
    34                 {E273D042-57F9-4E2E-8268-5053527E5287}.Release_Version|Any CPU.Build.0 = Release|Any CPU
    35                 {E273D042-57F9-4E2E-8268-5053527E5287}.Release|Any CPU.ActiveCfg = Release|Any CPU
    36                 {E273D042-57F9-4E2E-8268-5053527E5287}.Release|Any CPU.Build.0 = Release|Any CPU
    37                 {E273D042-57F9-4E2E-8268-5053527E5287}.Release_Profiler|Any CPU.ActiveCfg = Release_Profiler|Any CPU
    38                 {E273D042-57F9-4E2E-8268-5053527E5287}.Release_Profiler|Any CPU.Build.0 = Release_Profiler|Any CPU
    39                 {E273D042-57F9-4E2E-8268-5053527E5287}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    40                 {E273D042-57F9-4E2E-8268-5053527E5287}.Debug|Any CPU.Build.0 = Debug|Any CPU
    41                 {E273D042-57F9-4E2E-8268-5053527E5287}.Debug_Profiler|Any CPU.ActiveCfg = Debug_Profiler|Any CPU
    42                 {E273D042-57F9-4E2E-8268-5053527E5287}.Debug_Profiler|Any CPU.Build.0 = Debug_Profiler|Any CPU
    4317                {2A008E16-6EB8-4B85-A175-3CB89D9FF4AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
    4418                {2A008E16-6EB8-4B85-A175-3CB89D9FF4AE}.Release|Any CPU.Build.0 = Release|Any CPU
     
    5125                {2A008E16-6EB8-4B85-A175-3CB89D9FF4AE}.Debug_Profiler|Any CPU.ActiveCfg = Debug_Profiler|Any CPU
    5226                {2A008E16-6EB8-4B85-A175-3CB89D9FF4AE}.Debug_Profiler|Any CPU.Build.0 = Debug_Profiler|Any CPU
    53                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Release|Any CPU.ActiveCfg = Release|Any CPU
    54                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Release|Any CPU.Build.0 = Release|Any CPU
    55                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Release_Version|Any CPU.ActiveCfg = Release|Any CPU
    56                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Release_Version|Any CPU.Build.0 = Release|Any CPU
    57                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    58                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Debug|Any CPU.Build.0 = Debug|Any CPU
    59                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Release_Profiler|Any CPU.ActiveCfg = Release_Profiler|Any CPU
    60                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Release_Profiler|Any CPU.Build.0 = Release_Profiler|Any CPU
    61                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Debug_Profiler|Any CPU.ActiveCfg = Debug_Profiler|Any CPU
    62                 {01B5F981-B9FD-4364-8F9E-9127130D2542}.Debug_Profiler|Any CPU.Build.0 = Debug_Profiler|Any CPU
     27                {E273D042-57F9-4E2E-8268-5053527E5287}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
     28                {E273D042-57F9-4E2E-8268-5053527E5287}.Debug|Any CPU.Build.0 = Debug|Any CPU
     29                {E273D042-57F9-4E2E-8268-5053527E5287}.Release|Any CPU.ActiveCfg = Debug|Any CPU
     30                {E273D042-57F9-4E2E-8268-5053527E5287}.Release|Any CPU.Build.0 = Debug|Any CPU
    6331        EndGlobalSection
    6432        GlobalSection(MonoDevelopProperties) = preSolution
  • TFP-WebServer/bin/Mods/TFP_CommandExtensions/ModInfo.xml

    r510 r512  
    55        <Description value="Additional commands for server operation" />
    66        <Author value="The Fun Pimps LLC" />
    7         <Version value="2.1.0.0" />
     7        <Version value="1.3.0.0" />
    88        <Website value="" />
    99</xml>
  • TFP-WebServer/bin/Mods/Xample_MarkersMod/ModInfo.xml

    r510 r512  
    55        <Description value="Allows placing custom markers on the web map" />
    66        <Author value="Catalysm and Alloc" />
    7         <Version value="1.1.1.0" />
     7        <Version value="1.3.0.0" />
    88        <Website value="" />
    99</xml>
Note: See TracChangeset for help on using the changeset viewer.