OverLord 4 Posted July 14, 2014 (edited) <p>Someone could make a plugin that supports Linux (I use a server with CentOS6). To check the account db and load different translated NPC files ?</p> Edited July 14, 2014 by OverLord Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted July 15, 2014 Load different npc? maybe you can add checks like if (LANG == 1) fetch all english texts, and save to variable, if (LANG==2) fetch other lamg texts. and use those variables in mes. Quote Share this post Link to post Share on other sites
0 ZelosAvalon 14 Posted March 8, 2017 Load different npc? maybe you can add checks like if (LANG == 1) fetch all english texts, and save to variable, if (LANG==2) fetch other lamg texts. and use those variables in mes. But the variable LANG, where should I declare it? this is already declared when i create an account and choose my country ? Quote Share this post Link to post Share on other sites
0 Zarbony 1 Posted May 14, 2019 Hey there, i see this is an Old Topic but i will explain my Solution for this I wrote an NPC who asked the Player whish Language the player will use at his first Login (even if they are an old player and dont set an variable) the player choose an option and got the var #langset,1. and #lang. if the player hasnt set anything, he dont got the var #langset and OnPCLoginEvent detect this one so the Player will ask. if the player choose one, the #lang var will set 0 or 1(Different Languages, 0 is the default one) and the npc detect this while i use: mes(!#lang)?"Hey there i am the Default Language!:Hey there i am the Second Language!"; Mes scriptcommand - (var)? "If the var is triggered:if the var isnt triggered"; this works fine for me Sorry for my bad english :X Quote Share this post Link to post Share on other sites
1 Ridley 295 Posted May 15, 2019 or simply use HULD Quote Share this post Link to post Share on other sites
0 Freeeee 0 Posted May 20, 2019 On 5/14/2019 at 9:41 PM, Ridley said: or simply use HULD This exist since 2015 and me didnt know. -.- I did started in 2016 a project in my old server like Zarbony and other comments in this topic. My team did translater many NPCs... Y-Y Quote Share this post Link to post Share on other sites
<p>Someone could make a plugin that supports Linux (I use a server with CentOS6). To check the account db and load different translated NPC files ?</p>
Edited by OverLordShare this post
Link to post
Share on other sites