Sorry for the double-post.
I've looked into it, but I still cannot understand a few things. I do understand, that there's nothing I can do about system messages issued from and answered by the client without server communication (without client-modding).
But I'd think, that if there is a way to send more than just IDs to the client when we issue a system message ourselves, the system would do so.
In particular I've tried this:
Code: Select all
if (text.equalsIgnoreCase("abc")) { character.sendPacket(SystemMessageId.THE_SERVER_WILL_BE_COMING_DOWN_IN_S1_SECONDS); }
I've put this into a char-handler L2Script, that I've made for something else. I also ensured, that "
SystemMessageLocalisation.xml" file contains a translation for the system message.
Since the abbreviation of the folder the file is in should be "de" (and not "ger"), I changed that and made sure, that my L2JMods.properties contains this:
Code: Select all
# Enable or disable multilingual support.# Default: FalseMultiLangEnable = True # Default language, if not defined.# Default: enMultiLangDefault = en # List of allowed languages, semicolon separated.# Default: en;ruMultiLangAllowed = en;de # Enable or disable voice command .lang for changing languages on the fly.# Default: TrueMultiLangVoiceCommand = True # Enable or disable multilingual SystemMessages support.# Default: FalseMultiLangSystemMessageEnable = True # List of allowed languages for SystemMessages, semicolon separated.# Default: MultiLangSystemMessageAllowed = en;de # Enable or disable multilingual NpcStrings support.# Default: FalseMultiLangNpcStringEnable = True # List of allowed languages for NpcStrings, semicolon separated.# Default: MultiLangNpcStringAllowed = de;en
Now I'd expect to get a German system message once this system message is issued by the server (like in the code excerpt postet at the beginning). However: the command still arrives in English and I'm not entirely sure of what I'm doing wrong here.
Could anyone help me with this issue perhaps using some examples? I know, that I won't be able to make sure all system messages are displayed in German without client-modding - I don't mind that. I just want to try and translate those, that actually ARE issued by the server and hence could be translated.
Thank you in advance, guys

.