2 Commits

Author SHA1 Message Date
Lachlan Leone f6eadacb5e Added Photon Patch 2026-05-13 18:10:36 +10:00
Lachlan Leone ef34176935 Added issue template(s) 2026-04-12 12:18:37 +10:00
6 changed files with 65 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
### What happened?
Briefly describe the issue.
---
### How to reproduce
1.
2.
3.
---
### What did you expect?
What should have happened?
---
### Game & Mod Version
- Game Version:
- Mod Version:
---
### Extra info (optional)
Logs, screenshots, or anything else helpful.
+17
View File
@@ -0,0 +1,17 @@
### What do you want?
Briefly describe the feature.
---
### How should it work?
Explain how the feature would behave in-game.
---
### Why is this useful?
What problem does this solve or what does it improve?
---
### Extra info (optional)
Screenshots, examples, or additional context.
+3
View File
@@ -0,0 +1,3 @@
# Release Notes v0.4.1
- Patched Photon's lobby creation to allow for more players. (Note this is untested) #1
+3
View File
@@ -0,0 +1,3 @@
[h1]Release Notes v0.4.1[/h1]
- Patched Photon's lobby creation to allow for more players. (Note this is untested) #1
+1 -1
View File
@@ -14,7 +14,7 @@ namespace MMOKitchen
{
public const string MOD_GUID = "com.starfluxgames.mmokitchen";
public const string MOD_NAME = "MMO Kitchen";
public const string MOD_VERSION = "0.4.0";
public const string MOD_VERSION = "0.4.1";
public const string MOD_AUTHOR = "StarFluxGames";
public const string MOD_GAMEVERSION = ">=1.2.0";
+16
View File
@@ -0,0 +1,16 @@
using HarmonyLib;
using Photon.Realtime;
namespace MMOKitchen.Patches
{
[HarmonyPatch(typeof(LoadBalancingClient), "OpCreateRoom")]
public class PhotonNetworkServicePatch
{
static void Prefix(EnterRoomParams enterRoomParams)
{
if (enterRoomParams == null) return;
if (enterRoomParams.RoomOptions == null) return;
enterRoomParams.RoomOptions.MaxPlayers = Mod.MaxPlayers;
}
}
}