About the game
News
Sign in
Register
Top Players
Forum
12:21
4391
 online
Authorization required
You are not logged in
   Forums-->Off-game forum-->

Authorediting the "Silentio's Mod" script
the mod that shows progress bars under the corresponding guilds and faction is not working properly for me, i think that it is because the tribal faction was introduced after the mod came out. so i'm trying to edit the mod myself to have it include the tribals faction, everything is clear, except when i get to this part:

var lang_ru = new Array();
lang_ru['Knight'] = '\u0420\u044B\u0446\u0430\u0440\u044C';
lang_ru['Necromancer'] = '\u041D\u0435\u043A\u0440\u043E\u043C\u0430\u043D\u0442';
lang_ru['Wizard'] = '\u041C\u0430\u0433';
lang_ru['Elf'] = '\u042D\u043B\u044C\u0444';
lang_ru['Barbarian'] = '\u0412\u0430\u0440\u0432\u0430\u0440';
lang_ru['Dark elf'] = '\u0422\u0435\u043C\u043D\u044B\u0439 \u044D\u043B\u044C\u0444';
lang_ru['Demon'] = '\u0414\u0435\u043C\u043E\u043D';
lang_ru['Dwarf'] = '\u0413\u043D\u043E\u043C';
lang_ru['Tribal'] =
lang_ru['Combat level'] = '\u0411\u043E\u0435\u0432\u043E\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C';
lang_ru['Hunters\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u041E\u0445\u043E\u0442\u043D\u0438\u043A\u043E\u0432';
lang_ru['Laborers\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u0420\u0430\u0431\u043E\u0447\u0438\u0445';
lang_ru['Gamblers\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u041A\u0430\u0440\u0442\u0435\u0436\u043D\u0438\u043A\u043E\u0432';
lang_ru['Thieves\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u0412\u043E\u0440\u043E\u0432';
lang_ru['Rangers\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u0420\u0435\u0439\u043D\u0434\u0436\u0435\u0440\u043E\u0432';
lang_ru['Mercenaries\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u041D\u0430\u0435\u043C\u043D\u0438\u043A\u043E\u0432';
lang_ru['Commanders\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u0422\u0430\u043A\u0442\u0438\u043A\u043E\u0432';
lang_ru['Smiths\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u041A\u0443\u0437\u043D\u0435\u0446\u043E\u0432';
lang_ru['Enchanters\' guild'] = '\u0413\u0438\u043B\u044C\u0434\u0438\u044F \u041E\u0440\u0443\u0436\u0435\u0439\u043D\u0438\u043A\u043E\u0432';
lang_ru['Progress Bar'] = '\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441 \u0411\u0430\u0440';
lang_ru['Toggle'] = '\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u0435\u043C';


i have no idea what to put for the ['Tribal'] = part of the script.

which numbers and letters do i type for this part? or how can i find out?
This is Cyrillic to unicode in java source code

You can login from the ru side to find out the name for tribal there
(for some reason, I can't submit a reply containing russian text)

You can use this: http://en.wikipedia.org/wiki/Cyrillic_script_in_Unicode
or find some converter

I got
'\u0421\u0442\u0435\u043F\u043D\u043E\u0439 \u0412\u0430\u0440\u0432\u0430\u0440';
ok thanks, i fixed that part.but the script is still not functioning :(

i don't know what's wrong.

i logged in on the russian server and it's working perfectly. but not here. anyone know what to do?
+
Back to topics list
2008-2024, online games LordsWM