diff --git a/README.md b/README.md index 5ef98cae..18e44cb9 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ We will seek to implement CI/CD in the repository so that developers have a good - Orbit Helper Quick Login: Adds a button to navigate to Orbit Helper from the menu. By @orbithelper - Simple Galaxy Gate: Supports ABG, Delta, Epsilon, Zeta, Hades, Kuiper, LoW, Invasion, Mimesis, EBG, GoP, Treacherous, DSE, Fiesta, Trinity and Voyagers. By @do-gamer - Autobuy: Automatically buys boosters and special items from the shop at a configured interval. By @do-gamer -- Log Overlay: Displays the latest in-game log messages on the canvas (top-center, auto-fade after 5s). Built-in keyword whitelist limits the displayed lines to gains and errors so the canvas does not get cluttered. By @Halizeur +- Log Overlay: Displays the latest in-game log messages on the canvas (top-center, auto-fade after 5s). Built-in keyword whitelist limits the displayed lines to gains and errors so the canvas does not get cluttered. By @Haluzer ## Contributing diff --git a/src/main/java/dev/shared/halizeur/log_overlay/LogOverlay.java b/src/main/java/dev/shared/haluzer/log_overlay/LogOverlay.java similarity index 99% rename from src/main/java/dev/shared/halizeur/log_overlay/LogOverlay.java rename to src/main/java/dev/shared/haluzer/log_overlay/LogOverlay.java index 58d0b882..bf460b8f 100644 --- a/src/main/java/dev/shared/halizeur/log_overlay/LogOverlay.java +++ b/src/main/java/dev/shared/haluzer/log_overlay/LogOverlay.java @@ -1,4 +1,4 @@ -package dev.shared.halizeur.log_overlay; +package dev.shared.haluzer.log_overlay; import java.util.ArrayDeque; import java.util.ArrayList; diff --git a/src/main/java/dev/shared/halizeur/log_overlay/LogOverlayConfig.java b/src/main/java/dev/shared/haluzer/log_overlay/LogOverlayConfig.java similarity index 57% rename from src/main/java/dev/shared/halizeur/log_overlay/LogOverlayConfig.java rename to src/main/java/dev/shared/haluzer/log_overlay/LogOverlayConfig.java index 24c82f36..5a44cd87 100644 --- a/src/main/java/dev/shared/halizeur/log_overlay/LogOverlayConfig.java +++ b/src/main/java/dev/shared/haluzer/log_overlay/LogOverlayConfig.java @@ -1,11 +1,11 @@ -package dev.shared.halizeur.log_overlay; +package dev.shared.haluzer.log_overlay; import eu.darkbot.api.config.annotations.Configuration; import eu.darkbot.api.config.annotations.Option; -@Configuration("halizeur.log_overlay.config") +@Configuration("haluzer.log_overlay.config") public class LogOverlayConfig { - @Option("halizeur.log_overlay.enabled") + @Option("haluzer.log_overlay.enabled") public boolean enabled = false; } diff --git a/src/main/java/dev/shared/haluzer/revive_loop_watchdog/ReviveLoopWatchdog.java b/src/main/java/dev/shared/haluzer/revive_loop_watchdog/ReviveLoopWatchdog.java new file mode 100644 index 00000000..31f0fb4e --- /dev/null +++ b/src/main/java/dev/shared/haluzer/revive_loop_watchdog/ReviveLoopWatchdog.java @@ -0,0 +1,97 @@ +package dev.shared.haluzer.revive_loop_watchdog; + +import eu.darkbot.api.config.ConfigSetting; +import eu.darkbot.api.config.annotations.Configuration; +import eu.darkbot.api.config.annotations.Number; +import eu.darkbot.api.config.annotations.Option; +import eu.darkbot.api.extensions.Behavior; +import eu.darkbot.api.extensions.Configurable; +import eu.darkbot.api.extensions.Feature; +import eu.darkbot.api.managers.BotAPI; +import eu.darkbot.api.managers.HeroAPI; +import eu.darkbot.api.managers.RepairAPI; + +import java.time.Instant; +import java.time.Duration; + +@Feature(name = "Revive Loop Watchdog", description = + "Detects the stuck-on-revive refresh loop bug, pauses the bot, and auto-resumes once it recovers.", + enabledByDefault = false) +public class ReviveLoopWatchdog implements Behavior, Configurable { + + private final HeroAPI hero; + private final BotAPI bot; + private final RepairAPI repair; + + private Config config = new Config(); + + private Instant deadSince = null; + private boolean pausedByWatchdog = false; + + public ReviveLoopWatchdog(HeroAPI hero, BotAPI bot, RepairAPI repair) { + this.hero = hero; + this.bot = bot; + this.repair = repair; + } + + @Configuration("revive_loop_watchdog.config") + public static class Config { + @Option("revive_loop_watchdog.config.stuckthresholdminutes") + @Number(min = 1, max = 30, step = 1) + public int stuckThresholdMinutes = 3; + } + + @Override + public void setConfig(ConfigSetting config) { + this.config = config.getValue(); + } + + @Override + public void onTickBehavior() { + deadSince = null; + } + + @Override + public void onStoppedBehavior() { + if (pausedByWatchdog) { + checkForRecovery(); + return; + } + + if (repair.isDestroyed()) { + if (deadSince == null) { + deadSince = Instant.now(); + } + + long stuckMinutes = Duration.between(deadSince, Instant.now()).toMinutes(); + if (stuckMinutes >= config.stuckThresholdMinutes) { + pauseForStuckLoop(stuckMinutes); + } + } else { + deadSince = null; + } + } + + private void pauseForStuckLoop(long stuckMinutes) { + if (!bot.isRunning()) { + return; + } + + System.out.println("Revive Loop Watchdog: ship destroyed for " + stuckMinutes + + "+ minute(s) with no successful revive, pausing bot to stop wasted refreshing."); + bot.setRunning(false); + pausedByWatchdog = true; + } + + private void checkForRecovery() { + boolean loaded = hero.getLocationInfo() != null && hero.getLocationInfo().isInitialized(); + boolean alive = !repair.isDestroyed(); + + if (loaded && alive) { + System.out.println("Revive Loop Watchdog: game loaded and ship alive again, resuming bot."); + pausedByWatchdog = false; + deadSince = null; + bot.setRunning(true); + } + } +} diff --git a/src/main/resources/dev/shared/lang/strings_bg.properties b/src/main/resources/dev/shared/lang/strings_bg.properties index ad0559e8..4bb1b15b 100644 --- a/src/main/resources/dev/shared/lang/strings_bg.properties +++ b/src/main/resources/dev/shared/lang/strings_bg.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Активиране -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Ремонт на HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Ремонт на щита (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_cs.properties b/src/main/resources/dev/shared/lang/strings_cs.properties index c0fa10a9..c557f23a 100644 --- a/src/main/resources/dev/shared/lang/strings_cs.properties +++ b/src/main/resources/dev/shared/lang/strings_cs.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Povolit -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Oprava HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Oprava štítu (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_de.properties b/src/main/resources/dev/shared/lang/strings_de.properties index ea443333..90d673b6 100644 --- a/src/main/resources/dev/shared/lang/strings_de.properties +++ b/src/main/resources/dev/shared/lang/strings_de.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Aktivieren -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=HP-Reparatur (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Schildreparatur (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_el.properties b/src/main/resources/dev/shared/lang/strings_el.properties index dc664545..baf56769 100644 --- a/src/main/resources/dev/shared/lang/strings_el.properties +++ b/src/main/resources/dev/shared/lang/strings_el.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Ενεργοποίηση -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Επισκευή HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Επισκευή ασπίδας (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_en.properties b/src/main/resources/dev/shared/lang/strings_en.properties index 35da6b6d..ed5bf9de 100644 --- a/src/main/resources/dev/shared/lang/strings_en.properties +++ b/src/main/resources/dev/shared/lang/strings_en.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Enable -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=HP Repair (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Shield Repair (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_es.properties b/src/main/resources/dev/shared/lang/strings_es.properties index 5a072643..1e51fc15 100644 --- a/src/main/resources/dev/shared/lang/strings_es.properties +++ b/src/main/resources/dev/shared/lang/strings_es.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Activar -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Reparación de HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Reparación de escudo (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_fr.properties b/src/main/resources/dev/shared/lang/strings_fr.properties index 09409cb8..a2d706fe 100644 --- a/src/main/resources/dev/shared/lang/strings_fr.properties +++ b/src/main/resources/dev/shared/lang/strings_fr.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Activer -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Activé +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Activé do_gamer.simple_healing.hp_repair=Réparation des PV (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Réparation du bouclier (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_hu.properties b/src/main/resources/dev/shared/lang/strings_hu.properties index f9275c97..e6563c7e 100644 --- a/src/main/resources/dev/shared/lang/strings_hu.properties +++ b/src/main/resources/dev/shared/lang/strings_hu.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Engedélyezés -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=HP javítás (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Pajzs javítás (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_it.properties b/src/main/resources/dev/shared/lang/strings_it.properties index 50997394..e35cb39c 100644 --- a/src/main/resources/dev/shared/lang/strings_it.properties +++ b/src/main/resources/dev/shared/lang/strings_it.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Abilita -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Riparazione HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Riparazione scudo (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_lt.properties b/src/main/resources/dev/shared/lang/strings_lt.properties index c0f555e7..de814d45 100644 --- a/src/main/resources/dev/shared/lang/strings_lt.properties +++ b/src/main/resources/dev/shared/lang/strings_lt.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Įjungti -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=HP taisymas (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Skydo taisymas (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_pl.properties b/src/main/resources/dev/shared/lang/strings_pl.properties index 97d8225f..5b77c6a8 100644 --- a/src/main/resources/dev/shared/lang/strings_pl.properties +++ b/src/main/resources/dev/shared/lang/strings_pl.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Włącz -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Naprawa HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Naprawa osłon (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_pt.properties b/src/main/resources/dev/shared/lang/strings_pt.properties index 7052043b..1564df2c 100644 --- a/src/main/resources/dev/shared/lang/strings_pt.properties +++ b/src/main/resources/dev/shared/lang/strings_pt.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Ativar -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Reparo de HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Reparo de escudo (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_ro.properties b/src/main/resources/dev/shared/lang/strings_ro.properties index 213aa12d..9a2bd425 100644 --- a/src/main/resources/dev/shared/lang/strings_ro.properties +++ b/src/main/resources/dev/shared/lang/strings_ro.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Activează -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Reparare HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Reparare scut (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_ru.properties b/src/main/resources/dev/shared/lang/strings_ru.properties index 9c369ac6..9f63487e 100644 --- a/src/main/resources/dev/shared/lang/strings_ru.properties +++ b/src/main/resources/dev/shared/lang/strings_ru.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Включить -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Ремонт HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Ремонт щита (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_tr.properties b/src/main/resources/dev/shared/lang/strings_tr.properties index 4f07a24f..1940c2a0 100644 --- a/src/main/resources/dev/shared/lang/strings_tr.properties +++ b/src/main/resources/dev/shared/lang/strings_tr.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Etkinleştir -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=HP Onarımı (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Kalkan Onarımı (Aegis, Hammerclaw) diff --git a/src/main/resources/dev/shared/lang/strings_uk.properties b/src/main/resources/dev/shared/lang/strings_uk.properties index 5aef0406..053f84b2 100644 --- a/src/main/resources/dev/shared/lang/strings_uk.properties +++ b/src/main/resources/dev/shared/lang/strings_uk.properties @@ -3,9 +3,14 @@ example.translation=Example translation general.enabled=Увімкнути -# ----- Halizeur : Log Overlay ----- -halizeur.log_overlay.config=Log Overlay -halizeur.log_overlay.enabled=Enabled +# ----- Haluzer : Revive Loop Watchdog ----- +revive_loop_watchdog.config=Revive Loop Watchdog +revive_loop_watchdog.config.stuckthresholdminutes=Stuck threshold (min) +revive_loop_watchdog.config.stuckthresholdminutes.desc=Minutes of continuous destruction before the watchdog pauses the bot + +# ----- Haluzer : Log Overlay ----- +haluzer.log_overlay.config=Log Overlay +haluzer.log_overlay.enabled=Enabled do_gamer.simple_healing.hp_repair=Ремонт HP (Solace, Orcus, Aegis, Hammerclaw) do_gamer.simple_healing.shield_repair=Ремонт щита (Aegis, Hammerclaw) diff --git a/src/main/resources/plugin.json b/src/main/resources/plugin.json index f8d30a0e..a5edf927 100644 --- a/src/main/resources/plugin.json +++ b/src/main/resources/plugin.json @@ -19,8 +19,9 @@ "dev.shared.orbithelper.behaviours.fast_travel.FastTravel", "dev.shared.do_gamer.module.simple_galaxy_gate.SimpleGalaxyGate", "dev.shared.do_gamer.task.autobuy.Autobuy", - "dev.shared.halizeur.log_overlay.LogOverlay" + "dev.shared.haluzer.log_overlay.LogOverlay", + "dev.shared.haluzer.revive_loop_watchdog.ReviveLoopWatchdog" ], "update": "https://raw.githubusercontent.com/Darkbot-Plugins/SharedPlugin/main/src/main/resources/plugin.json", "download": "https://github.com/Darkbot-Plugins/SharedPlugin/releases/latest/download/SharedPlugin.jar" -} \ No newline at end of file +}