Перейти к содержанию

Дайджесты за январь-февраль

Обновления гайдов и аддонов

Январь Февраль

Мониторинг серверов и редактор аддонов

Представляем вам две легенды. То, о чем можно было только мечтать, стало реальностью.

Мониторинг серверов Редактор аддонов

Подсказки из игры на вашем сайте

Теперь вы можете отображать сведения о внутриигровых элементах простым наведением курсора мыши.

Подробнее

Апдейтер аддонов

Представляем вам программу для автообновления аддонов и делимся подробностями.

Подробнее Скачать

cristimirt

Разработчик аддонов
  • Постов

    193
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные cristimirt

  1. 12 hours ago, Pixar said:

    Zurion if you see this, message me. I cant seem to DM you myself. Much love

     

    Pixar

    Seems like I can't send DM's either. Send me a friend request on Discord, username is Zurion.

    PS: For those that are notified for this, I'm sorry for bothering you. Blame the admins for not allowing me to send Direct Messages. 

  2. Unfortunately, I no longer play the game or have it installed so it's hard for me to fix issues. 
    If anyone can provide some logs with the errors I can take a look and hopefully will be able to provide a fix.
    I will try to install the RU version, but it's not easy when I don't speak the language 🙂

    • Нравится 1
  3. 15 часов назад, Olart сказал:

    @cristimirt дополнение KillAnnounce уничтожает все элементы интерфейса (не только свои, а любых дополнений и стандартного интерфейса игры), для которых запускается анимация плавного изменения прозрачности, это ломает многое в стандартном интерфейсе игры. Фикс ниже:

    @cristimirt add-on destroys all interface elements (not only its own, but any add-ons and the standard interface of the game) for which the animation of a smooth change in transparency is triggered, this breaks a lot in the standard interface of the game. Fix below:

    	if event.effectType == ET_FADE then
    		local foundAnnounce = false
    		for _, a in pairs(AnnounceList) do
    			if event.wtOwner:IsEqual(a) then
    				foundAnnounce = true
    				break
    			end
    		end
    		if not foundAnnounce then return end
    		local fadeStatus = event.wtOwner:GetFade()

    image.png.50b6bfdf3fb6adbd337a1ccfd6a7e8ef.png

    I was not expecting this addon to still be used 🙂
    I have applied your fix (with credits as well), but since I'm no longer a developer on this website, the new version has to be approved by a moderator first. In the mean time, I will attach the new version to this comment.
    Also, since I'm no longer playing the game, I can't test it myself, so I'm relying on your fix.

    Thank you for the help!

     

  4. On 3/21/2021 at 3:44 PM, RoZher said:

    В обновлённой версии русская локализация сохранена в неправильной кодировке.

     

    On 3/21/2021 at 5:47 PM, logg said:

    Вот в кодировке Windows-1251

    Localization.lua

    I was afraid this might happen. I was not able to properly test the russian translation before. I've updated the addon now and tested the localization as well.
    I've also added a slash command to change between localizations.
    Please let me know if there are any other problems.

    And thanks for the help, logg 🙂

    • Нравится 1
  5. The addon doesn't work on the english client anymore. The same old problem of using 'eng' instead of 'eng_eu'. I have fixed it myself, if anyone needs it. Also  translated the "Mutual" and "Not Mutual" column for Friends, even if that is not properly working anymore.

    There's also a weird widget appearing on the top left corner of the window, and I can't figure out what that is.
    image.png.c408ebf80f3a77a3e6b2da9ffc765cb5.png

    GuildGui1b.zip

    • Нравится 2
    • Added English Localization
    • Implemented Marker deletion

    I would be grateful if someone can test it on RU client to see if cyrillic characters are properly displayed.

     

  6. Sorry for writing in English, but I don't know Russian.
    Also, I'm sorry if this question was asked and answered already, but it's hard for me to search the forum without know Russian.

    I'm trying to close the panel of my addon by using the ESC key. I know of two ways to bind this key to a function, but each has a drawback.

    • One is to use 'ReactionEsc' in a WidgetEditLine (like it's done in BuildManager). This works but it requires to have a WidgetEditLine in focus, which I don't like, because I can't use it to cancel actions (PicCastbar has this problem)
    • The other one is to use 'bindSections' in a WidgetForm. I can bind the 'esc_pressed' action to a function using common.RegisterReactionHandler. This works without the need to have specialized widgets, but it introduces an annoyance : it also opens the Escape Menu

    By looking a the lua code of the 1.0 addons, I can see that they use a kind of manager that keeps track of what widgets are visible and their order, so when you press the ESC key, the correct one closes, and the Menu only shows if there are no other widgets to hide. But of course, user addons don't have access to this, so we can't add our own widgets to this list.

    I've found a quick hack that allows me to close my panel without triggering the Escape Menu, bit I don't like using it. The idea is to disable the EscMenu addon when I open my addon panel, and then enable it again right after I close my panel. This works ok for when you know your panel is not visible for too long and you're careful to always enable it back, but it might cause unforseen problems.

    So my question is : Is there a proper way to close addon panels by pressing the escape key, without opening the Escape Menu?
     

    PS: You can reply in russian, I will use Google Translate. Thank you!

  7. LibTimer

    Просмотр файла

    LibTimer is a library that allows the use of a timer function. This is intended for developers, not general players.

    The Allods API does not provide a way to call a function after a certain time, at least not without freezing the thread. So I've used something that the API does provide: animation of a widget. To be more exact, when we animate a widget, we can specify the duration of the animation. My library uses that.

    Usage is simple. First, include the file in AddonDesc.(UIAddon).xdb, in the <Scripts> section, but before your main script file.

    You can use the timer function like so:

    StartTimer(functionName,duration,arguments[...])

    functionName is the name of the function that you want to execute.

    duration is the duration in milliseconds after wich the function will execute

    arguments is a list of the arguments that you want to pass to your function. You can pass any number of arguments

    This is an example that will run the function TestTimer 2 seconds after writing "Test Start". 

    function TestTimer(param1, param2, param3)
      common.LogInfo("",param1.." "..param2.." "..param3)
    end
    
    common.LogInfo("","Test Start")
    StartTimer(TestTimer,2000,"First String","Second String","Third String")
    common.LogInfo("","Test End??")

    The result will be the following

    Test Start
    Test End??
    First String Second String Third String

     


     

  8. I have updated the addon and added an experimental fix for 7.0.2

    The problem was that the event that I was relying on, EVENT_UNIT_DAMAGE_RECEIVED, was changed recently and it no longer tracks all the damage around the player. Because of this, the addon would only display a kill message if the player was somehow involved in the kill or was targetting the player that died.

    With the experimental fix, all the kills around the player will be displayed, but if the player did not have any involvment with the kill, the message will be shorter, and it will only say who died. That's a limitation of the Api, not of the addon.

  9. I took the liberty of improving the addon a bit.

    - Fixed english localization (it's eng_eu not eng)

    - Added turkish localization

    - Changed the localization function to something more reliable. Also uses common.GetLocalization() if available

    - Notification will also display the time correctly if it's different than 5 minutes.

    - Users can change the time via a slash command: /cm  (For example, '/cm 15' will change to 15 minutes). Time is saved in Global Config so it's the same for all characters.

     

     

    CalendarTracker 3.1.zip

  10. The localization for the English client is "eng_eu" not "eng". So everytime the addon loads, there will be an error throwed. I fixed that and repackaged the addon.
    Soon, the brazilian server will merge with the european server so I'll be able to provide the brazilian and turkish localization by the end of the month.

    BuildManager.pak

×
×
  • Создать...

Важная информация

Пользуясь сайтом, вы принимаете Условия использования