mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 11:39:54 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74ee3a6a2c | ||
|
|
e860733a2b | ||
|
|
52ec903097 | ||
|
|
01ddc03eb7 | ||
|
|
4595421768 |
No files matched your search
+2
-31
@@ -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)
|
||||
|
||||
---
|
||||
@@ -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
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* ==============================
|
||||
CORE & FREQUENTLY USED STRINGS
|
||||
============================== */
|
||||
"LanguageID": "10 ",
|
||||
"LanguageID": "10",
|
||||
"HostText": "EHR - Ospite",
|
||||
"HostColor": "#00ffa5",
|
||||
"HostIconInMeeting": "HOST: {0}",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* ==============================
|
||||
CORE & FREQUENTLY USED STRINGS
|
||||
============================== */
|
||||
"LanguageID": "3",
|
||||
"LanguageID": "2",
|
||||
"HostText": "EHR - Anfitrião",
|
||||
"HostColor": "#00ffa5",
|
||||
"HostIconInMeeting": "Anfitrião: {0}",
|
||||
|
||||
Reference in new issue
Block a user