diff --git a/GeneralMods/NetworkMod/Class1.cs b/GeneralMods/NetworkMod/Class1.cs deleted file mode 100644 index 8e9d4d9c..00000000 --- a/GeneralMods/NetworkMod/Class1.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace NetworkMod -{ - public class Class1 - { - } -} diff --git a/GeneralMods/NetworkMod/NetworkMod.csproj b/GeneralMods/NetworkMod/NetworkMod.csproj deleted file mode 100644 index 5715ffe6..00000000 --- a/GeneralMods/NetworkMod/NetworkMod.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - 60730e3f-3448-4f0b-9a84-9aa0488061e5 - Library - Properties - NetworkMod - NetworkMod - v4.6.1 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - diff --git a/GeneralMods/NetworkMod/Properties/AssemblyInfo.cs b/GeneralMods/NetworkMod/Properties/AssemblyInfo.cs deleted file mode 100644 index 00ca8a12..00000000 --- a/GeneralMods/NetworkMod/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("NetworkMod")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NetworkMod")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("60730e3f-3448-4f0b-9a84-9aa0488061e5")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GeneralMods/NetworkNightmare/Class1.cs b/GeneralMods/NetworkNightmare/Class1.cs deleted file mode 100644 index 0ccf046c..00000000 --- a/GeneralMods/NetworkNightmare/Class1.cs +++ /dev/null @@ -1,37 +0,0 @@ -using NetworkNightmare.Framework; -using StardewModdingAPI; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace NetworkNightmare -{ - public class NetworkNightmare : Mod - { - public static IModHelper helper; - public static IMonitor monitor; - - public override void Entry(IModHelper helper) - { - helper = this.Helper; - monitor = this.Monitor; - - StardewModdingAPI.Events.MultiplayerEvents.BeforeMainSync += MultiplayerEvents_BeforeMainSync; - - - } - - private void MultiplayerEvents_BeforeMainSync(object sender, EventArgs e) - { - CustomMultiplayer player = new CustomMultiplayer(); - CustomMultiplayer.forceCustomMultiplayer(player); - } - - private void GameEvents_FirstUpdateTick(object sender, EventArgs e) - { - - } - } -} diff --git a/GeneralMods/NetworkNightmare/Framework/CustomMultiplayer.cs b/GeneralMods/NetworkNightmare/Framework/CustomMultiplayer.cs deleted file mode 100644 index 84d28f7d..00000000 --- a/GeneralMods/NetworkNightmare/Framework/CustomMultiplayer.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using StardewModdingAPI; -using StardewValley; -using StardewValley.Network; - -namespace NetworkNightmare.Framework -{ - public class CustomMultiplayer : StardewValley.Multiplayer - { - public CustomMultiplayer() : base() - { - - } - - public override void processIncomingMessage(IncomingMessage msg) - { - base.processIncomingMessage(msg); - } - - public static bool forceCustomMultiplayer(CustomMultiplayer custom) - { - if (custom == null) - { - NetworkNightmare.monitor.Log("WELL I GIVE UP"); - } - // Get a PropertyInfo of specific property type(T).GetProperty(....) - IReflectedField propertyInfo = NetworkNightmare.helper.Reflection.GetField(typeof(StardewValley.Game1), "multiplayer",false); - propertyInfo.SetValue(custom); - - - return true; - } - } -} diff --git a/GeneralMods/NetworkNightmare/Framework/MultiplayerPacket.cs b/GeneralMods/NetworkNightmare/Framework/MultiplayerPacket.cs deleted file mode 100644 index 366ae9be..00000000 --- a/GeneralMods/NetworkNightmare/Framework/MultiplayerPacket.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace NetworkNightmare.Framework -{ - public enum MultiplayerPacket - { - ReadFarmerRoot, - UnusedByte1, - ReceivePlayerIntroduction, - ReadActiveLocation, - ReadWarp, - UnsedByte5, - ReadLocation, - ReadSpritesAtLocation, - WarpNPCS, - UnusedByte9, - ReceiveChatMessage, - UnusedByte11, - ReceiveWorldState, - ReceiveTeamDelta, - ReceiveNewDaySync, - ReceiveChatInfoMessage, - Unused16, - ReceiveFarmerGainExperience, - ParseServerToClientsMessage, - PlayerDisconnected - } -} diff --git a/GeneralMods/NetworkNightmare/NetworkNightmare.csproj b/GeneralMods/NetworkNightmare/NetworkNightmare.csproj deleted file mode 100644 index 4c530347..00000000 --- a/GeneralMods/NetworkNightmare/NetworkNightmare.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Debug - AnyCPU - {27DAB9BB-92E0-4FC1-BC79-F513CE1F3262} - Library - Properties - NetworkNightmare - NetworkNightmare - v4.6.1 - 512 - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - \ No newline at end of file diff --git a/GeneralMods/NetworkNightmare/Properties/AssemblyInfo.cs b/GeneralMods/NetworkNightmare/Properties/AssemblyInfo.cs deleted file mode 100644 index 4feb6b45..00000000 --- a/GeneralMods/NetworkNightmare/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("NetworkNightmare")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NetworkNightmare")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("27dab9bb-92e0-4fc1-bc79-f513ce1f3262")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/GeneralMods/NetworkNightmare/manifest.json b/GeneralMods/NetworkNightmare/manifest.json deleted file mode 100644 index c7cb05b8..00000000 --- a/GeneralMods/NetworkNightmare/manifest.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Name": "Network Nightmare", - "Author": "Alpha_Omegasis", - "Version": "0.0.1", - "Description": "A dumb experiment.", - "UniqueID": "Omegasis.NetworkNightmare", - "EntryDll": "NetworkNightmare.dll", - "MinimumApiVersion": "2.0", - "UpdateKeys": [ "" ] -} diff --git a/GeneralMods/NetworkNightmare/packages.config b/GeneralMods/NetworkNightmare/packages.config deleted file mode 100644 index 3e0bd683..00000000 --- a/GeneralMods/NetworkNightmare/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file