Quantcast
Download
(7 Kb)
Download
Updated: 01/12/21 09:17 AM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Updated:01/12/21 09:17 AM
Created:01/06/21 05:55 AM
Monthly downloads:384
Total downloads:385
Favorites:6
MD5:
6.2.5
Next Boss Stage  Updated this week!
Version: 1.0.8.2
by: awfuldead [More]
At the moment, the addon works correctly only with the English and Russian clients, you can speed up the appearance of support for your language by adding the corresponding boss names in the
Code:
translate.txt
file and sending it to me here or in discord
Code:
AwfulDead (Artem)#8284
The addon can track the current health of the bosses and show the percentage of the next key phase (the release of mini bosses in the cloudrest, etc.) (Idea by HOFT). There are 2 modes:
- Separate simple (text frame)
- Draw phases on a custom LUI addon bossframe (does not affect files, just draws on top)

This addon requires the LibAddonMenu-2.0 library to work.
1.0.8-1.0.8.2

-- Fixed error of rendering condition on custom LUI frame

1.0.7

-- Fixed a bug that appeared in 1.0.6

1.0.6

-- Added support for the Russian client (the names of the bosses are taken from the Internet, so if someone sees an error in one of them, please let me know)

1.0.5

-- Added stages for some number of bosses


1.0.4

-- Fixes by Baertram(ty again)

1.0.3

-- Removed permanent update of addon (outside of boss and combat)

1.0.2

-- Made the functions local (thanks Baertram)
-- Added to the description information about the library needed for the addon to function

1.0.1

-- Fixed a bug with moving frames
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Uploader
Date
1.0.8.1
7kB
awfuldead
01/12/21 05:21 AM
1.0.8.1
7kB
awfuldead
01/12/21 05:02 AM
1.0.7
7kB
awfuldead
01/10/21 03:18 PM
1.0.6
7kB
awfuldead
01/10/21 12:36 PM
1.0.5
6kB
awfuldead
01/07/21 05:48 AM
1.0.5
5kB
awfuldead
01/07/21 05:47 AM
1.0.4
5kB
awfuldead
01/06/21 04:07 PM


Post A Reply Comment Options
Unread 01/06/21, 03:02 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3277
File comments: 3969
Uploads: 64
Your txt file is missing the space after the :

Code:
## OptionalDependsOn:LuiExtended
->
Code:
## OptionalDependsOn: LuiExtended
Without the space the addon name won't be recognized properly and your addon might load before LuiExtended.


Your function here is leaking the variable name "number" to global namespace! Very dangerous!
Code:
local function LineA(name, parent, dims, anchor, color, thickness, hidden)
	--Validate arguments
	if not name then name="UnnamedFrame"..number number=number+1 end
number was not defined anywhere so it will be global.

You should do this e.g.

Lua Code:
  1. local number = 0
  2. local function LineA(name, parent, dims, anchor, color, thickness, hidden)
  3.     --Validate arguments
  4.     if not name then name="UnnamedFrame"..number number=number+1 end
  5. ...
  6. end
Last edited by Baertram : 01/06/21 at 03:05 PM.
Report comment to moderator  
Reply With Quote
Unread 01/06/21, 09:18 AM  
Targets

Forum posts: 7
File comments: 35
Uploads: 0
Should add option to move all the locations at once
Report comment to moderator  
Reply With Quote
Unread 01/06/21, 08:31 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3277
File comments: 3969
Uploads: 64
Re: Error

Originally Posted by Targets
BNSFrame_MoveStop:3: attempt to index a nil value
stack traceback:
BNSFrame_MoveStop:3: in function '(main chunk)'
<Locals> self = ud </Locals>
Change file ZBNS.xml, line 22:
<OnMoveStop>
ZBNS.OnMoveStop()
</OnMoveStop>
Report comment to moderator  
Reply With Quote
Unread 01/06/21, 08:29 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3277
File comments: 3969
Uploads: 64
Please always add the neede dependencies in the addon description so that one sees at Minin/esoui already what to install as well:
LibAddonMenu-2.0

And the same about the global leaking variables and function names as with you other addon MyDung applies here (please read the other addon#s comments).

function LineA
LabelA
ControlA
...

etc. they are all too generic and might overwrite other addons! Add local up inf ront OR add them to your global table ZBNS properly, so they are "unique".

Many thanks.
Last edited by Baertram : 01/06/21 at 08:29 AM.
Report comment to moderator  
Reply With Quote
Unread 01/06/21, 08:18 AM  
Targets

Forum posts: 7
File comments: 35
Uploads: 0
Error

BNSFrame_MoveStop:3: attempt to index a nil value
stack traceback:
BNSFrame_MoveStop:3: in function '(main chunk)'
<Locals> self = ud </Locals>
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: