Skip to content

Commit

Permalink
configured for server
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeessppeer committed Dec 2, 2023
1 parent 4b1699a commit c867c72
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
2 changes: 1 addition & 1 deletion MatchHistoryMod/MatchHistoryMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class MatchHistoryMod : BaseUnityPlugin
{
public const string pluginGuid = "whereami.matchhistory.mod";
public const string pluginName = "Match History Mod";
public const string pluginVersion = "0.2.0";
public const string pluginVersion = "1.0.0";

public void Awake()
{
Expand Down
44 changes: 23 additions & 21 deletions MatchHistoryMod/MatchHistoryMod.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,50 +32,50 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>..\Libraries\0Harmony.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\Libraries\Assembly-CSharp.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\Libraries\Assembly-CSharp-firstpass.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="Assembly-UnityScript-firstpass">
<HintPath>..\Libraries\Assembly-UnityScript-firstpass.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Assembly-UnityScript-firstpass.dll</HintPath>
</Reference>
<Reference Include="BepInEx">
<HintPath>..\Libraries\BepInEx.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\BepInEx.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Harmony">
<HintPath>..\Libraries\BepInEx.Harmony.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\BepInEx.Harmony.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Preloader">
<HintPath>..\Libraries\BepInEx.Preloader.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\BepInEx.Preloader.dll</HintPath>
</Reference>
<Reference Include="Common">
<HintPath>..\Libraries\Common.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Common.dll</HintPath>
</Reference>
<Reference Include="Goi2.Entity">
<HintPath>..\Libraries\Goi2.Entity.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Goi2.Entity.dll</HintPath>
</Reference>
<Reference Include="HarmonyXInterop">
<HintPath>..\Libraries\HarmonyXInterop.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\HarmonyXInterop.dll</HintPath>
</Reference>
<Reference Include="Icarus.Common">
<HintPath>..\Libraries\Icarus.Common.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Icarus.Common.dll</HintPath>
</Reference>
<Reference Include="Math">
<HintPath>..\Libraries\Math.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Math.dll</HintPath>
</Reference>
<Reference Include="MuseBase">
<HintPath>..\Libraries\MuseBase.dll</HintPath>
</Reference>
<Reference Include="Netcode">
<HintPath>..\Libraries\Netcode.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Netcode.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Libraries\Newtonsoft.Json.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Photon3Unity3D">
<HintPath>..\Libraries\Photon3Unity3D.dll</HintPath>
Expand All @@ -88,27 +88,29 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine">
<HintPath>..\Libraries\UnityEngine.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Networking">
<HintPath>..\Libraries\UnityEngine.Networking.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\UnityEngine.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>..\Libraries\UnityEngine.UI.dll</HintPath>
<HintPath>C:\Users\jjees\source\repos\MatchHistoryMod\Libraries\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityScript.Lang">
<HintPath>..\Libraries\UnityScript.Lang.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="ActiveMatchStats.cs" />
<Compile Include="HitData.cs" />
<Compile Include="ActiveStats\ActiveMatchStats.cs" />
<Compile Include="ActiveStats\ShipPositions.cs" />
<Compile Include="ObjectListTransposer.cs" />
<Compile Include="ActiveStats\HitData.cs" />
<Compile Include="LobbyData.cs" />
<Compile Include="MatchData.cs" />
<Compile Include="ActiveStats\GunneryData.cs" />
<Compile Include="MatchHistoryRecorder.cs" />
<Compile Include="MatchHistoryMod.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ShotData.cs" />
<Compile Include="ActiveStats\ShotData.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
4 changes: 2 additions & 2 deletions MatchHistoryMod/MatchHistoryRecorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public static class MatchHistoryRecorder
public static void UploadMatchData(UploadPacket packet)
{
MuseWorldClient.Instance.ChatHandler.AddMessage(ChatMessage.Console("Uploading match history..."));
//const string _UploadURL = "http://statsoficarus.xyz/submit_match_history";
const string _UploadURL = "http://localhost/submit_match_history";
const string _UploadURL = "http://statsoficarus.xyz/submit_match_history";
//const string _UploadURL = "http://localhost/submit_match_history";
var request = (HttpWebRequest)WebRequest.Create(_UploadURL);
var data = packet.GetByteEncoded();
request.Method = "POST";
Expand Down

0 comments on commit c867c72

Please sign in to comment.