diff --git a/README.md b/README.md index 9779082..eaab8df 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # phasmophobia-8player-mod-mono -The changes ive made to the assembly (MONO) for 8 player co-op soon the game will change to IL2CPP +The changes ive made to the assembly (MONO) for 8 player co-op soon the game will change to IL2CPP. + +## Installation + +Place the dll files in your "gamefolder"\Phasmophobia_Data\Managed\ Check out the steam guide [here](https://steamcommunity.com/sharedfiles/filedetails/?id=2252444415) . + +the official download link can be found [here](https://community.diodematrix.com/viewtopic.php?f=13&t=219) Or in the [releases tab](https://github.com/SEPPDROID/phasmophobia-8player-mod-mono/releases) \ No newline at end of file diff --git a/binaries/Assembly-CSharp.dll b/binaries/Assembly-CSharp.dll new file mode 100644 index 0000000..15179ae Binary files /dev/null and b/binaries/Assembly-CSharp.dll differ diff --git a/binaries/Assembly-CSharp.dll_backup b/binaries/Assembly-CSharp.dll_backup new file mode 100644 index 0000000..7fa873f Binary files /dev/null and b/binaries/Assembly-CSharp.dll_backup differ diff --git a/changes.cs b/changes.cs new file mode 100644 index 0000000..8a42920 --- /dev/null +++ b/changes.cs @@ -0,0 +1,66 @@ +// +// +// all the changes in one list. This isnt a compilable csharp file. Im just using this for the syntax highlighting. +// As you can see it was a low effort ctrl+f mod changing all the max player variables i could find +// Modifying games is allot of fun but NEVER EVER steal someones work. NEVER. It's fun to learn how the Unity scripting engine works +// Let me know if i forgot one, it was some time ago... Never knew my low effort mod would reach that many players. +// +// + + +// change to + +// --- + +// Constants.cs +// line 10 +public const int serverMaxPlayers = 8; + +// --- + +// LobbyManager.cs +// line 181 + if (!info.IsOpen || info.PlayerCount == 8 || !info.IsVisible) + +// line 221 + MaxPlayers = 8, + +// --- + +// ServerListItem.cs / is optional, only changes the /4 max players to /8 on the lobby Canvas screen (UI). +// line 25 + this.serverPopulation.text = population + "/8"; + +//--- + +// MainManager.cs +// line 224 + MaxPlayers = 8, + +// line 239 + MaxPlayers = 8, + +// line 275 + MaxPlayers = 8, + +// --- + +// MultiplayerController.cs +// line 40 + MaxPlayers = 8 + +// --- + + +// +// This last patch is something im not really sure of... It should be handled better but it works. I havent found any issues with this one... (yet) If you can find a better way then that's more prefferable. +// +// The issue is that players 5 - 8 dont get their ready statement checked, thus preventing the game to load. +// Note that empty slots always have a ready status +// + +// ServerManager.cs +// line 453 + this.startGameButton.interactable = true; + +// i cant remember if i forgot one. if thats the case let me know. \ No newline at end of file