Compare commits

...
5 Commits
Author SHA1 Message Date
Gurge44 74ee3a6a2c fix 2026-03-10 11:30:36 +01:00
Gurge44 e860733a2b ver 2026-03-10 11:07:31 +01:00
Gurge44 52ec903097 a 2026-03-10 11:06:38 +01:00
Gurge44 01ddc03eb7 how did this not work 2026-03-10 11:03:53 +01:00
Gurge44 4595421768 fix language id 2026-03-10 10:49:32 +01:00
7 changed files with 16 additions and 44 deletions

No files matched your search

+2 -31
View File
@@ -3,37 +3,8 @@
> [!CAUTION]
> **Use commands with a `/cmd ` prefix, otherwise your message gets leaked.** So if you were to type `/bt 4 snitch`, you would now type `/cmd bt 4 snitch`. The system will NOT spam the chat after command usage even if it would be required.
- **Fixed translations not loading**
- **Fixed players not dying after meetings**
- **Fixed kill buttons not working in FFA**
- **Fixed shapeshift abilities not working for non-host modded clients**
- Widened the lines in the Preset Explorer so the text fits into the box
- There's now a button to show a preset's description in the Preset Explorer
- Fixed add-on limit ignoring setting
- Deaths due to disasters in Solo PVP, King Of The Zones, and Bed Wars are now temporary (when Natural Disasters is integrated)
- Optimized code for Capture The Flag, Hot Potato, King Of The Zones, and Snowdown
- Fixed incorrect kill cooldowns in Hot Potato, and Snowdown
- Improved role selection logic
- Fixed host being able to kill through walls in some game modes
- Flash, Giant, and Mare no longer bypass freezing abilites
- Auto Team Size adjustments no longer happen if there are no changes in settings
- Fixed Necronomicon hold not syncing for non-host modded clients
- Fixed Stained not syncing with non-host modded clients
- New commands: `/neutralinfo`, `/coveninfo`, does what you think it does
- Drafting options no longer re-send for a player if they've already drafted
- Schrödinger's Cat is now guessable (hopefully)
- Settings UI no longer scrolls while chat is open (by Tommy-XL)
- Search bar scrolls to top in settings UI on ENTER press (by Tommy-XL)
- Fixed player info not showing above the host in a non-host modded client POV
- Fixed missing strings
- Fixed punctuation mistakes in strings (by WaterPanda)
- Fixed devoured players losing their pet when using them as ability triggers
- Fixed Werewolf not getting a kill button as a non-host modded client
- New setting for Simon: `Ability Cooldown`
- New setting for Slenderman: `Blinding Affects Players Inside Vents`
- Fixed system messages not showing when the host is dead
## Lobby Settings Viewer (by Tommy-XL)
- Modded clients can now use the `View` button in lobby to see all modded settings, roles, add-ons, and their current values
- Removed the manual option shower on the left side of the screen
### See changes from v7.3.0 on [the v7.3.1 release page](https://github.com/Gurge44/EndlessHostRoles/releases/tag/v7.3.1)
---
+2 -2
View File
@@ -41,8 +41,8 @@ public class Main : BasePlugin
private const string DebugKeyHash = "c0fd562955ba56af3ae20d7ec9e64c664f0facecef4b3e366e109306adeae29d";
private const string DebugKeySalt = "59687b";
private const string PluginGuid = "com.gurge44.endlesshostroles";
public const string PluginVersion = "7.3.1";
public const string PluginDisplayVersion = "7.3.1";
public const string PluginVersion = "7.3.2";
public const string PluginDisplayVersion = "7.3.2";
public const bool TestBuild = false;
public const string NeutralColor = "#ffab1b";
+4 -2
View File
@@ -1884,7 +1884,8 @@ public static class Utils
IEnumerator DelaySend()
{
while (ReportDeadBodyPatch.MeetingStarted || (MeetingHud.Instance && MeetingHud.Instance.state == MeetingHud.VoteStates.Animating)) yield return null;
if (ReportDeadBodyPatch.MeetingStarted || MeetingHudStartPatch.BlockMsgSend) Logger.Msg($"Waiting for delayed msg send - MeetingStarted: {ReportDeadBodyPatch.MeetingStarted}, BlockMsgSend: {MeetingHudStartPatch.BlockMsgSend}", "TempReviveHost");
while (ReportDeadBodyPatch.MeetingStarted || MeetingHudStartPatch.BlockMsgSend) yield return null;
yield return new WaitForSecondsRealtime(0.3f);
SendMessage(text, sendTo, title, noSplit, writer, final, multiple, importance, addToHistory);
}
@@ -1894,7 +1895,8 @@ public static class Utils
{
TempReviveHostRunning = true;
while (ReportDeadBodyPatch.MeetingStarted || (MeetingHud.Instance && MeetingHud.Instance.state == MeetingHud.VoteStates.Animating)) yield return null;
if (ReportDeadBodyPatch.MeetingStarted || MeetingHudStartPatch.BlockMsgSend) Logger.Msg($"Waiting for host revival - MeetingStarted: {ReportDeadBodyPatch.MeetingStarted}, BlockMsgSend: {MeetingHudStartPatch.BlockMsgSend}", "TempReviveHost");
while (ReportDeadBodyPatch.MeetingStarted || MeetingHudStartPatch.BlockMsgSend) yield return null;
TempReviveHostRevertStopwatch = Stopwatch.StartNew();
TempReviveHostTimeSinceRevivalStopwatch = Stopwatch.StartNew();
+2 -7
View File
@@ -260,13 +260,8 @@ public static class HudSpritePatch
{
newKillButton = CustomButton.Get("Douse");
if (player.IsDouseDone() || (Arsonist.ArsonistCanIgniteAnytime.GetBool() && Utils.GetDousedPlayerCount(player.PlayerId).Item1 >= Arsonist.ArsonistMinPlayersToIgnite.GetInt()))
{
if (Options.UsePets.GetBool())
newPetButton = CustomButton.Get("Ignite");
else
newVentButton = CustomButton.Get("Ignite");
}
if (player.IsDouseDone() || (Arsonist.ArsonistCanIgniteAnytime.GetBool() && Utils.GetDousedPlayerCount(player.PlayerId).Item1 >= Arsonist.ArsonistMinPlayersToIgnite.GetInt()) && HudManager.Instance.KillButton.currentTarget && player.IsDousedPlayer(HudManager.Instance.KillButton.currentTarget))
newKillButton = CustomButton.Get("Ignite");
break;
}
+4
View File
@@ -689,6 +689,8 @@ internal static class ExtendedMeetingHud
[HarmonyPatch(typeof(MeetingHud), nameof(MeetingHud.Start))]
internal static class MeetingHudStartPatch
{
public static bool BlockMsgSend;
private static void NotifyRoleSkillOnMeetingStart()
{
if (!AmongUsClient.Instance.AmHost || GameStates.IsEnded) return;
@@ -858,6 +860,8 @@ internal static class MeetingHudStartPatch
public static void Prefix( /*MeetingHud __instance*/)
{
BlockMsgSend = true;
LateTask.New(() => BlockMsgSend = false, 8f, "BlockMsgSend to false");
Logger.Info("------------Meeting Start------------", "Phase");
GameStates.AlreadyDied |= !Utils.IsAllAlive;
Main.EnumeratePlayerControls().Do(x => ReportDeadBodyPatch.WaitReport[x.PlayerId].Clear());
+1 -1
View File
@@ -2,7 +2,7 @@
/* ==============================
CORE & FREQUENTLY USED STRINGS
============================== */
"LanguageID": "10 ",
"LanguageID": "10",
"HostText": "EHR - Ospite",
"HostColor": "#00ffa5",
"HostIconInMeeting": "HOST: {0}",
+1 -1
View File
@@ -2,7 +2,7 @@
/* ==============================
CORE & FREQUENTLY USED STRINGS
============================== */
"LanguageID": "3",
"LanguageID": "2",
"HostText": "EHR - Anfitrião",
"HostColor": "#00ffa5",
"HostIconInMeeting": "Anfitrião: {0}",