From 65b6af61e511f0782d49e96daae27872331ed7fe Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 Feb 2020 15:02:13 -0300 Subject: Remove Russian and reorder languages. New order is: EN/BR/FR/DE/ES --- npc/functions/clientversion.txt | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'npc/functions/clientversion.txt') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index b674ac833..662647b86 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -756,7 +756,30 @@ function script clientupdater { dispbottom l("Lt. Paul unclaimed rewards REDEEMED."); } } - // TODO: Remove lang > MAX_LANG + if (UPDATE < 1581875670) { + UPDATE=1581875670; + switch (Lang) { + case 0: + break; + case 1: // Old French + Lang=LANG_FR; break; + case 3: // Old Spanish + Lang=LANG_ES; break; + case 4: // Old Portuguese + Lang=LANG_PTBR; break; + case 5: // Old German + Lang=LANG_DE; break; + default: + Lang=99; break; + } + + if (Lang > MAX_LANG) { + .@dg=1; + Lang=0; + asklanguage(); + mes l("Ok, done."); + } + } // :// End of Regular Update System //////////////////////////////////// -- cgit v1.2.3-70-g09d2