cristimirt Posted April 29, 2014 Share Posted April 29, 2014 KillAnnounce Просмотр файла При смерти игрока около вас появляется сообщение с именем его убийцы. Если убили вас или дружественного вам игрока - цвет сообщения будет красным, если убили вы или ваш друг - цвет будет желтым. Вы можете изменить цвет каждого сообщения, также как и размер текста, при помощи аддона ConfigWindow. /cw - открыть окно ConfigWindow /kacw - окно с настройками KillAnnounce /kadnd - включение/выключение перетаскивания окна /kalocale code - Изменить локализацию аддона. Например : /kalocale rus or /kalocale eng. Если код локализации не указан, будет отображаться текущая локализация.. Доступные коды : eng, eng_eu, rus, fra, ger, tr Аддон поддерживает клиентов ENG_EU, RUS, FRA, GER, TR ------------------------------------------------------ With this addon, everytime a player around you dies, an announcement will appear saying who killed him. If you or a friendly player dies, the announcement will be red, if you kill a player or a friend kills a player, the announcement will be yellow. A chat message will also appear to announce kills. The color will be the same as with the announcement on the screen. You can change the color for each announcement, which announcement to display as well as the size of the text using the addon ConfigWindow. Supported commands: /cw - opens ConfigWindow /kacw - opens ConfigWindow for KillAnnounce (faster than /cw) /kadnd - Enable/Disable Drag'n'Drop /kalocale code - Change localization of the addon. For example : /kalocale rus or /kalocale eng. If no localization code is provided, it will display the current localization. Available codes : eng, eng_eu, rus, fra, ger, tr Addon has support for ENG_EU,RUS,FRA,GER and TR clients. Добавил cristimirt Добавлено 29.04.2014 Категория Аддоны Quote Link to comment Share on other sites More sharing options...
lysonia Posted April 29, 2014 Share Posted April 29, 2014 I have this error in mod.txt Error: addon KillAnnounce: Error: addon KillAnnounce: Error: addon KillAnnounce: func: GetName, field, line: -1, defined: C, line: -1, [C] Error: addon KillAnnounce: func: unitKilled, global, line: 140, defined: Lua, line: 131, [string "Mods/Addons/KillAnnounce/Scripts/KillAnnounce.lua"] Error: addon KillAnnounce: func: OnUnitDamageReceived, global, line: 62, defined: Lua, line: 49, [string "Mods/Addons/KillAnnounce/Scripts/KillAnnounce.lua"] Error: addon KillAnnounce: UI::LuaObjectGetName: param 1 not a class GMUIHelper::ObjectId (type: nil), details: int __cdecl UI::LuaObjectGetName(struct lua_State Quote Link to comment Share on other sites More sharing options...
cristimirt Posted April 29, 2014 Author Share Posted April 29, 2014 How come I never get these errors? I'll add extra checks that should prevent this. But the addon works, right? Quote Link to comment Share on other sites More sharing options...
lysonia Posted April 29, 2014 Share Posted April 29, 2014 (edited) Yes, the addon work Edited April 29, 2014 by lysonia Quote Link to comment Share on other sites More sharing options...
bodia3092 Posted April 30, 2014 Share Posted April 30, 2014 перевести бы на русский, а то на ру серверах на английском пишет...+ как вызвать настройки? значка аддона нету нигде, на страничке аддона чаткоманда на его вызов не указана... Quote Link to comment Share on other sites More sharing options...
cristimirt Posted April 30, 2014 Author Share Posted April 30, 2014 https://alloder.pro/files/file/229-/ Updated to 2.01 . - Attempted to fix log error Lysonia, please tell me if that errors appears again. I'm guessing it happens when the killer is a warden or a summoner, more specifically, when their pet does the kill. перевести бы на русский, а то на ру серверах на английском пишет...+ как вызвать настройки? значка аддона нету нигде, на страничке аддона чаткоманда на его вызов не указана... If you can tell me the translation, I'll add it. To access the settings, you need the ConfigWindow addon (https://alloder.pro/files/file/28-configwindow/) Type "/cw" in chat to open the settings after you installed ConfigWindow Quote Link to comment Share on other sites More sharing options...
bodia3092 Posted April 30, 2014 Share Posted April 30, 2014 Russian localization will?write commands the menu settings in page addonsorry for bad english... google translated) Quote Link to comment Share on other sites More sharing options...
logg Posted April 30, 2014 Share Posted April 30, 2014 if damage.target then if object.IsExist(damage.target) then if object.IsUnit(damage.target) then if unit.IsPlayer(damage.target) then -> if damage.target and object.IsExist(damage.target) and object.IsUnit(damage.target) and unit.IsPlayer(damage.target) then Translate: You were killed by %s! = Вы были убиты %s! You killed %s! = Вы убили %s! %s has killed %s! = %s убил %s! Quote Link to comment Share on other sites More sharing options...
cristimirt Posted April 30, 2014 Author Share Posted April 30, 2014 Thanks logg. I wasn't sure if object.IsUnit will be called if object.IsExist returns false Forgot to fix the code after I learned that. Quote Link to comment Share on other sites More sharing options...
lysonia Posted April 30, 2014 Share Posted April 30, 2014 French localisation: You were killed by %s! = Vous avez \233t\233 tu\233 par %s! You killed %s! = Vous avez tu\233 %s! %s has killed %s! = %s a tu\233 %s! Quote Link to comment Share on other sites More sharing options...
Лютик Posted April 30, 2014 Share Posted April 30, 2014 (edited) Русская версия KillAnnounce.zip Edited April 30, 2014 by Лютик Quote Link to comment Share on other sites More sharing options...
cristimirt Posted May 1, 2014 Author Share Posted May 1, 2014 Very funny, Лютик. https://alloder.pro/files/file/229-/ Updated the addon to 2.1 - Added RUS,FRA,GER and TR localisation - Added DnD. Use command "/kadnd" to turn DnD on/off Quote Link to comment Share on other sites More sharing options...
lysonia Posted May 1, 2014 Share Posted May 1, 2014 I install the last version. Mod.txt error :/ Error: addon KillAnnounce: Error while running the chunk Error: addon KillAnnounce: [string "Mods/Addons/KillAnnounce/Scripts/KillAnnounce.lua"]:124: attempt to call field `IsUnit' (a nil value) Error: addon KillAnnounce: func: IsUnit, field, line: -1, defined: C, line: -1, [C] Error: addon KillAnnounce: func: unitKilled, global, line: 124, defined: Lua, line: 122, [string "Mods/Addons/KillAnnounce/Scripts/KillAnnounce.lua"] Error: addon KillAnnounce: func: OnUnitDamageReceived, global, line: 61, defined: Lua, line: 51, [string "Mods/Addons/KillAnnounce/Scripts/KillAnnounce.lua"] Quote Link to comment Share on other sites More sharing options...
cristimirt Posted May 2, 2014 Author Share Posted May 2, 2014 My bad, I made a syntax error. Download it now https://alloder.pro/files/file/229-/ Quote Link to comment Share on other sites More sharing options...
Moonthug Posted May 2, 2014 Share Posted May 2, 2014 Is there a possibility of increasing the window and font size? Quote Link to comment Share on other sites More sharing options...
cristimirt Posted May 2, 2014 Author Share Posted May 2, 2014 Is there a possibility of increasing the window and font size? You should be able to change the size using the ConfigWindow addon. Install that addon, type "/cw" in chat, and you'll have more options there, including the size. If it doesn't work, tell me. I didn't make the addon, and the original author chose to use ConfigWindow instead of making its own settings window. In the future, maybe I'll make a settings whitout whitout the need of a different addon. But not now. Quote Link to comment Share on other sites More sharing options...
Moonthug Posted May 5, 2014 Share Posted May 5, 2014 Thanks. It helped Quote Link to comment Share on other sites More sharing options...
Draculina Posted May 7, 2014 Share Posted May 7, 2014 Интересный аддон. На ЦС пригодится однозначно :3 Quote Link to comment Share on other sites More sharing options...
Sarge Posted June 5, 2014 Share Posted June 5, 2014 Есть ли возможность оповещение сдвинуть вниз или вверх относительно экрана? Жутко неудобно наложение внутриигровых надписей и текста аддона? Quote Link to comment Share on other sites More sharing options...
Jexon Posted June 5, 2014 Share Posted June 5, 2014 (edited) Аддон очень занятный! Я оценил. Играю на европе, даже как-то и не обращаю внимания на то что он английский. Привычка, наверное. :3 В PvP просто незаменим, особенно когда фанишься на ассе-тепхе. P.S. Thank you, Cristi, it's wonderful add-on. I know it's hard work all time to fix stupid bugs especially when developers change or remove function... (for removing some of them need cut their hands ) But I appreciate your work and I hope in future you will continue to produce good add-ons for us Edited June 5, 2014 by Jexon Quote Link to comment Share on other sites More sharing options...
logg Posted June 5, 2014 Share Posted June 5, 2014 Есть ли возможность оповещение сдвинуть вниз или вверх относительно экрана? Жутко неудобно наложение внутриигровых надписей и текста аддона?Да, файл Announce.(WidgetTextView).xdb по <Y> <Pos>-280</Pos> -280 Это от центра вверх вниз например на 10 пикселей будет -270 Quote Link to comment Share on other sites More sharing options...
ilyaor Posted July 31, 2014 Share Posted July 31, 2014 а фикса не будет на 5.02 ? Quote Link to comment Share on other sites More sharing options...
Artdos Posted August 3, 2014 Share Posted August 3, 2014 (edited) а фикса не будет на 5.02 ? https://yadi.sk/d/ak5C6L8OZZFkh пробуйте(обновил ссылку) Edited August 13, 2014 by Artdos Quote Link to comment Share on other sites More sharing options...
Шквал Posted August 24, 2014 Share Posted August 24, 2014 По инструкции для работы аддона нужно установить последующий аддон ConfigWindow, благодаря которому станет возможным вызывать окно настроек посредством специальной слеш-команды. Верно? Но при введении этой слеш-команды в чат открывается пустое окно, без настроек аддона.Прочитал некоторые особенности ConfigWindow и обнаружил, что он поддерживает далеко не все аддоны, в т.ч. и этот. Это норма? Или я что-то неправильно делаю? И еще вопрос: работа аддона распространяется на все локации? Поподробнее можете разъяснить что к чему?.. Quote Link to comment Share on other sites More sharing options...
Artdos Posted August 25, 2014 Share Posted August 25, 2014 По инструкции для работы аддона нужно установить последующий аддон ConfigWindow, благодаря которому станет возможным вызывать окно настроек посредством специальной слеш-команды. Верно? Но при введении этой слеш-команды в чат открывается пустое окно, без настроек аддона. Прочитал некоторые особенности ConfigWindow и обнаружил, что он поддерживает далеко не все аддоны, в т.ч. и этот. Это норма? Или я что-то неправильно делаю? И еще вопрос: работа аддона распространяется на все локации? Поподробнее можете разъяснить что к чему?.. для включения перемещения окна можно использовать команду /kadnd . Повторный ввод для отключения для открытия настроек используйте команды /kacw или /cw (Необходим аддон ConfigWindow) KillAnnounce.zip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Обязательна информация из \Personal\Logs\mods.txt для диагностики ошибки.
Иначе вам не помочь.
В игре включите в Меню → Интерфейс → Общие настройки → Запись ошибок пользовательских дополнений. Затем запустите аддон в игре.