Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f6eadacb5e | |||
| ef34176935 |
@@ -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.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Release Notes v0.4.1
|
||||
|
||||
- Patched Photon's lobby creation to allow for more players. (Note this is untested) #1
|
||||
@@ -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
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user