This commit is contained in:
D1GQ committed 2024-09-07 02:46:43 -05:00
1 parent d948ac040a
commit 045e12003e
2 files changed
+4 -8

No files matched your search

+3 -7
View File
@@ -7,8 +7,8 @@ namespace BetterAmongUs;
enum CustomRPC : int
{
// Cheat RPC's
Sicko = 420,
AUM = 42069,
Sicko = 420, // Results in 164
AUM = 42069, // Results in 85
AUMChat = 101,
// TOHE
@@ -16,8 +16,7 @@ enum CustomRPC : int
RequestRetryVersionCheck = 81,
//Better Among Us
BetterCheck = 150,
AddChat,
BetterCheck = 150,
}
[HarmonyPatch(typeof(PlayerControl), nameof(PlayerControl.HandleRpc))]
@@ -176,9 +175,6 @@ internal static class RPC
SyncAllNames(force: true);
}
break;
case (byte)CustomRPC.AddChat:
Utils.AddChatPrivate(reader.ReadString(), reader.ReadString());
break;
case (byte)CustomRPC.VersionCheck or (byte)CustomRPC.RequestRetryVersionCheck:
if (player.IsHost())
{
+1 -1
View File
@@ -32,7 +32,7 @@ public class PingTrackerPatch
sb.Append($"<color=#00dbdb><size=75%>BetterAmongUs {Main.GetVersionText(true)}</size></color>\n");
// sb.Append("<size=68%><color=#8040bf>By</color> <color=#bc4345>The Enhanced Network</color></size>\n");
sb.Append($"<size=50%><color=#bc4345>{Main.Github}</color></size>\n");
sb.Append($"<size=50%><color=#6a6a6a>{Main.Github}</color></size>\n");
if (Main.BetterHost.Value && GameStates.IsHost)
{