Quantcast
Download
(34 Kb)
Download
Updated: 08/06/19 04:17 AM
Pictures
File Info
Compatibility:
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:08/06/19 04:17 AM
Created:02/09/19 06:08 AM
Monthly downloads:387
Total downloads:1,512
Favorites:8
MD5:
Categories:Raid Mods, Action Bar Mods, Combat Mods
5.1.5
Medusa
Version: 1.4.0
by: Aaxc [More]
Medusa Trial helper

Sunspire NEW
Yolnahkriin
- Focused Fire timer and length
- Emberstorm cast and Fire Atronach spawns
- Cataclysm cast and boss landing timer

Lokkestiiz
- Storm Fury timers and boss landing

Nahviintaas
- FireStorm cast and hide timer
- Open Time Shift(Time Breach) duration

Cloudrest
Z'Maja
- Incoming Kite (Crushing Darkness) timers
- Portal spawn timers (timers are correct only for +3)
- Portal close timers
- Portal inside large timer with delivered orbs
Version 1.4.0
Added missing translations
Fixed Time Breach timers (sometimes fails for 3rd breach)
Fixed most of the strict LUA errors when a player dies and gets resurrected during an ability cast

Version 1.3.7

Added Storm Fury for Lokkestiiz
Added open Time Shift duration for Nahviintaas
Cleaned up code

Version 1.3.5

Fixed language strings
Fixed debug mode checkbox

Version 1.3.4

Added Sunspire events for Yolnahkriin (Fire) and test event for Nahviintaas (Gold)

Version 1.2.1

Fixed multiple language support
Added language texts for DE and FR clients (Big thanks to @Revanforce and @VeritableBijar for the translations)
Added menu (LibAddonMenu) to turn on/off kite notifications (and adjust the bar)
Added check for ZMaja room
Added option to show also in normal trial version (default only shows on veteran)

1.1.9 Fixed Crushing darkness kite reset after a wipe

1.1.8 Wrathstone update

1.1.7 Fixed minor UI errors

1.1.6 Initial version
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Uploader
Date
1.3.7
38kB
Aaxc
07/14/19 04:53 PM
1.3.6
73kB
Aaxc
05/25/19 03:00 PM
1.3.4
73kB
Aaxc
05/25/19 12:30 PM
1.2.1
227kB
Aaxc
03/16/19 01:40 PM
1.1.8 Beta
227kB
Aaxc
02/25/19 08:22 AM
1.1.7 Beta
83kB
Aaxc
02/10/19 11:30 AM
1.1.6 Beta
83kB
02/09/19 06:08 AM


Post A Reply Comment Options
Unread 02/10/19, 11:02 AM  
wambo

Forum posts: 10
File comments: 268
Uploads: 0
I like it. Kind of limited use (kiter healer), but thats not a bad thing.

Ok, portal open might also be really useful to check progress downstairs

But it kept popping up errors more and more so I had to deactivate it quite fast.
Its beta though, but I thought I'd let you know.
Last edited by wambo : 02/10/19 at 12:12 PM.
Report comment to moderator  
Reply With Quote
Unread 02/10/19, 03:26 PM  
Aaxc
 
Aaxc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 8
Uploads: 3
Thank you, I updated it and need testers response. I have no errors, but have gotten reports of people having the addon crashes.


Originally Posted by wambo
I like it. Kind of limited use (kiter healer), but thats not a bad thing.

Ok, portal open might also be really useful to check progress downstairs

But it kept popping up errors more and more so I had to deactivate it quite fast.
Its beta though, but I thought I'd let you know.
Report comment to moderator  
Reply With Quote
Unread 02/12/19, 05:34 AM  
Actosh

Forum posts: 1
File comments: 50
Uploads: 0
Gonna Test it the next 2 days and see if i get errors on anything. Looks good btw
Report comment to moderator  
Reply With Quote
Unread 03/08/19, 07:22 AM  
Letho
AddOn Author - Click to view AddOns

Forum posts: 227
File comments: 109
Uploads: 1
Localized?

Does it only work with an english client? I tried it and nothing happens.
Report comment to moderator  
Reply With Quote
Unread 03/19/19, 04:02 PM  
Aaxc
 
Aaxc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 8
Uploads: 3
Re: Localized?

Originally Posted by Letho
Does it only work with an english client? I tried it and nothing happens.
Yes, current version checks strictly location "Cloudrest". I did not know there are multiple names when I made that, but I have adjusted changes in new version already that should come out next week, once I get it tested correctly.
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 04:45 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2282
File comments: 2518
Uploads: 57
Thanks for your addon!

An imporvement idea for the languages:
You do not need to load all of them. Tehre is a dynamic variable called $(language) available in the txt manifest file.
Sou you only need to load one of the language files, e.g. /lang/en.lua as "standard" and then the clientLanguage file via /lang/$/language).lua as second language.

See here: https://wiki.esoui.com/Addon_manifes...able_Expansion

Example:
Code:
## Title: Medusa
## Description: Medusa Trial Helper. Break command example: "/md break 5"
## Author: |c8BC34AAaxc|r
## Version: 1.3.7
## APIVersion: 100028
## SavedVariables: MedusaVars
## DependsOn: LibAddonMenu-2.0

Medusa.lua
Settings.lua
Medusa.xml

Lang/en.lua
Lang/$(language).lua ##will load client's language, e.g. de or fr automatically
Just make sure the texts inside are defined as e.g. language constants for ESO, so you can use them via GetString(languageConstant) ingame.

e.g. if you want to keep your tables Medusa.LangEn, Medusa.LangDe and Medusa.LangFr you could transfer them to the language constants like this. Starting with the /Lang/en.lua file as this is always loaded (so this is the "fallback" language).

Below the table Medusa.langEn:
Lua Code:
  1. for stringId, stringValue in pairs(Medusa.LangEn) do
  2.    ZO_CreateStringId("MEDUSA"..stringId, stringValue) -- added MEDUSA as prefix so the names are "unique" in the global languageConstants table
  3.    SafeAddVersion(stringId, 1)
  4. end
This will create language constants like "MedusaSettings_General_Header" and "MedusaSettings_General_Debug" and so on.
You are able to read them ingame via
Lua Code:
  1. GetString(MedusaSettings_General_Debug)
then.


And below your other language tables like Medusa.LangDe or Medusa.LangFr add this code to overwrite the predefined En languageConstants with the new de or fr strings:

Lua Code:
  1. for stringId, stringValue in pairs(Medusa.LangDe) do
  2.     SafeAddString("MEDUSA"..stringId, stringValue , 1)
  3. end

This will overwrite the predefined languageConstants with a newer version so getString will take these texts instead of the EN ones.

Now change all occurances of the fixes name tables like Medusa.LangEn etc. to use the GetString(MEDUSASETTINGS_GENERAL_DEBUG) lang constants in your code. (be sure to use the uppercase values).

And if you name the tables Medusa.LangEn LangDe and LangFr all the same in their files it will make your life way easier to copy&paste a file, just exchange the name of teh file from de.lua to e.g. ru.lua and change the Strings for Russian. That's all to include a new language "dynamically".

P.S.
The language constants are transfered to UpperCase afaik that's why I've added the "MEDUSA" uppercase prefix. You should also use the uppercase text if you use GetString so they will be found correctly.
Last edited by Baertram : 07/15/19 at 04:49 AM.
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 06:22 AM  
Aaxc
 
Aaxc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 8
Uploads: 3
Thank you, but will this not break if the language is, ie, JP or RU?
I know there are clients that support these languages too.
Report comment to moderator  
Reply With Quote
Unread 07/15/19, 07:57 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2282
File comments: 2518
Uploads: 57
Originally Posted by Aaxc
Thank you, but will this not break if the language is, ie, JP or RU?
I know there are clients that support these languages too.
Nope, as the EN.lua is always loaded (like described to be added "fixed" into the manifest txt first as "fallback" language) this language Strings will just be taken.
Non existing files like ru.lua, jp.lua, es.lua, it.lua, pt.lua, pl.lua etc. will just not be found, thus not loaded and there won't be any error message.
If you add the file it will be loaded for the appropriate client language automatically.
Last edited by Baertram : 07/15/19 at 07:59 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.