From ad0b1ec6af79367aba7020b14425066e27611e47 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 11 Jul 2024 11:43:45 -0300 Subject: Last fix for the change in Hardcore server and now we're good to go! \o/ --- npc/functions/clientversion.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 4d25fb608..b61863dc4 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -29,7 +29,7 @@ function script clientupdater { .@ti = max(60000, .@ti - ((##HARDCORE_JAILTIME+1) * 60000)); //sc_end SC_JAILED; sc_start4 SC_JAILED, .@ti, .@v1, .@v2, .@v3, .@v4, 10000, SCFLAG_FIXEDRATE|SCFLAG_FIXEDTICK|SCFLAG_NOAVOID; - dispbottom l("Information: Your sentence was reduced in %d minute(s). Sentence left: %s", (##HARDCORE_JAILTIME-1), FuzzyTime(gettimetick(2)+.@v1)); + dispbottom l("Information: Your sentence was reduced in %d minute(s). Sentence left: %s", (##HARDCORE_JAILTIME-1), FuzzyTime(gettimetick(2)+(.@v1*60))); ##HARDCORE_JAILTIME=-1; // Ensure cleanup, should be overriden soon } else { dispbottom l("You will revive automatically. Use %s to see remaining jail time.", b("@jailtime")); -- cgit v1.2.3-70-g09d2