Download
(38 Kb)
Download
Updated: 09/04/21 07:33 AM
Pictures
File Info
Compatibility:
Waking Flame (7.1.5)
Updated:09/04/21 07:33 AM
Created:02/09/19 06:08 AM
Monthly downloads:74
Total downloads:21,573
Favorites:16
MD5:
Categories:Raid Mods, Action Bar Mods, Combat Mods
Medusa - OUTDATED  Popular! (More than 5000 hits)
Version: 1.6.3
by: Aaxc [More]
Medusa Trial helper

Required Add-Ons:
  • LibAddonMenu-2.0

As this addon has been on life support for last two Chapters, I'm stopping support for it and might remove it. Thank you all, who used it over all these years.

As per popular demand, I updated with the changes suggested by the community.
Version 1.6.3
- Waking Flame update

Version 1.6.1
- Fully removed break bar

Version 1.6.0
- Blackwood update
- Set break bar as deprecated
- Set all chat outputs debug state only

Version 1.5.0
- Flames of Ambition update
- Removed deprecated LibStub dependency

Version 1.4.4
- Markarth update

Version 1.4.2
- Harrowstorm update

Version 1.4.1
- API Version update

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 (16)
File Name
Version
Size
Uploader
Date
1.6.2
38kB
Aaxc
07/01/21 01:27 AM
1.6.1
31kB
Aaxc
06/07/21 01:18 PM
1.6.0
34kB
Aaxc
06/06/21 06:41 AM
1.5.0
34kB
Aaxc
03/06/21 08:29 AM
1.4.4
34kB
Aaxc
11/02/20 03:13 AM
1.4.3
35kB
Aaxc
05/26/20 01:58 AM
1.4.2
34kB
Aaxc
02/24/20 03:25 AM
1.4.1
34kB
Aaxc
10/20/19 12:51 PM
1.4.0
34kB
Aaxc
08/06/19 04:17 AM
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
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 456
Uploads: 3
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: 19
File comments: 13
Uploads: 5
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: 56
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: 238
File comments: 120
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: 19
File comments: 13
Uploads: 5
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
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
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: 19
File comments: 13
Uploads: 5
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
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5988
Uploads: 78
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
Unread 10/31/19, 03:01 AM  
wambo
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 456
Uploads: 3
Feature request:

Inerrupt timer for cloudrest:
- Zmaja "send ppl flying" to squeeze out a bit of time (downtsairs?)
- if possible some kind of cooldown for relequen / galenwe interruptible channels (prevent me from running to zmaja for stacking, only to turn back and see them channel at the other end of the room)
Report comment to moderator  
Reply With Quote
Unread 11/07/19, 03:18 AM  
Aaxc
 
Aaxc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 13
Uploads: 5
Originally Posted by wambo
Feature request:

Inerrupt timer for cloudrest:
- Zmaja "send ppl flying" to squeeze out a bit of time (downtsairs?)
- if possible some kind of cooldown for relequen / galenwe interruptible channels (prevent me from running to zmaja for stacking, only to turn back and see them channel at the other end of the room)
I'm not sure you can add a timer like that since they re kind of random. If you can provide me the minimum cooldown times for that skill, I can take a look at it.
Report comment to moderator  
Reply With Quote
Unread 03/03/20, 09:50 AM  
TypicalPrior

Forum posts: 7
File comments: 76
Uploads: 0
Is there any way to hide the portal open and portal group and break bars?
Report comment to moderator  
Reply With Quote
Unread 05/03/20, 06:20 AM  
Aaxc
 
Aaxc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 13
Uploads: 5
Originally Posted by TypicalPrior
Is there any way to hide the portal open and portal group and break bars?
Hmm.. apparently not. Will check why those settings are not there.
Report comment to moderator  
Reply With Quote
Unread 12/10/20, 10:02 AM  
thatlaurachick

Forum posts: 0
File comments: 109
Uploads: 0
Errors on lodaing

I'm not a LUA programmer so I'm not sure what the issue is with this array, and I don't see any obvious issues (punctuation, spacing etc). Medusa is loading... but there are no settings and the display bars are just permanently on my screen. Would really like to use this since Open Glaza just doesn't work, and doesn't even throw errors. D:

user:/AddOns/Medusa/Medusa.lua:160: function expected instead of nil
stack traceback:
user:/AddOns/Medusa/Medusa.lua:160: in function 'Medusa:Initialize'
|caaaaaa<Locals> self = [table:1]{debugTime = 0, TRIAL_HALLS_OF_FABRICATION = 975, bossLanding = 0, language = "en", version = "1.4.4", name = "Medusa", TRIAL_BLACKROSE_PRISON = 1082, stormFury = 0, TRIAL_MAW_OF_LORKHAJ = 725, characterId = "8796093034053145", inCombat = F, difficulty = 0, debug = F, exitCombat = 0, debugInfo = "", author = "@Aaxc", TRIAL_SUNSPIRE = 1121, TRIAL_SANCTUM_OPHIDIA = 639, TRIAL_ASYLUM_SANCTORIUM = 1000, TRIAL_DRAGONSTAR_ARENA = 635, location = "Tamriel", TRIAL_HEL_RA_CITADEL = 636, TRIAL_MAELSTROM_ARENA = 677, TRIAL_AETHERIAN_ARCHIVE = 638, TRIAL_CLOUDREST = 1051, logStarted = F, variableVersion = 3} </Locals>|r
user:/AddOns/Medusa/Medusa.lua:199: in function 'Medusa.OnAddOnLoaded'
|caaaaaa<Locals> event = 65536, addonName = "Medusa" </Locals>|r
user:/AddOns/Medusa/Settings.lua:6: attempt to index a nil value
stack traceback:
user:/AddOns/Medusa/Settings.lua:6: in function '(main chunk)'
Report comment to moderator  
Reply With Quote
Unread 12/14/20, 09:33 AM  
thatlaurachick

Forum posts: 0
File comments: 109
Uploads: 0
Re: Errors on lodaing

Ah, finally got it! LibSTub Reference. LibStub has been deprecated! The fix is to change:


-------------------------------------------------------------------------------------------------
-- Libraries --
-------------------------------------------------------------------------------------------------
local LAM2 = LibStub:GetLibrary("LibAddonMenu-2.0")

TO
-------------------------------------------------------------------------------------------------
-- Libraries --
-------------------------------------------------------------------------------------------------
local LAM2 = LibAddonMenu2

Originally Posted by thatlaurachick
I'm not a LUA programmer so I'm not sure what the issue is with this array, and I don't see any obvious issues (punctuation, spacing etc). Medusa is loading... but there are no settings and the display bars are just permanently on my screen. Would really like to use this since Open Glaza just doesn't work, and doesn't even throw errors. D:
Report comment to moderator  
Reply With Quote
Unread 03/08/21, 08:05 AM  
Aaxc
 
Aaxc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 13
Uploads: 5
Re: Re: Errors on lodaing

Originally Posted by thatlaurachick
Ah, finally got it! LibSTub Reference. LibStub has been deprecated!
Sorry I missed your comment, I fixed this with the latest release.
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.