diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-16 15:02:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-16 15:02:13 -0300 |
commit | 65b6af61e511f0782d49e96daae27872331ed7fe (patch) | |
tree | 09f2a13838eea804272787a2c3bd47a671007a69 /npc/functions/clientversion.txt | |
parent | c7646d6ede8d7ab2dbb2beb9b09b9c049874f8a0 (diff) | |
download | serverdata-65b6af61e511f0782d49e96daae27872331ed7fe.tar.gz serverdata-65b6af61e511f0782d49e96daae27872331ed7fe.tar.bz2 serverdata-65b6af61e511f0782d49e96daae27872331ed7fe.tar.xz serverdata-65b6af61e511f0782d49e96daae27872331ed7fe.zip |
Remove Russian and reorder languages.
New order is: EN/BR/FR/DE/ES
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 25 |
1 files changed, 24 insertions, 1 deletions
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 //////////////////////////////////// |