Download
(9 Kb)
Download
Updated: 11/14/21 02:47 PM
Pictures
File Info
Compatibility:
Deadlands (7.2.5)
Updated:11/14/21 02:47 PM
Created:03/14/14 06:03 PM
Monthly downloads:70
Total downloads:41,207
Favorites:68
MD5:
Categories:Character Advancement, Character Advancement, TradeSkill Mods, Miscellaneous
ins:Mobs2Level  Popular! (More than 5000 hits)
Version: 20211111
by: ins, mra4nii
==========================
insMobs2Level
by: ins@ESOUI
& mra4nii
==========================


Introduction:
==============
Mobs2Level is a simple AddOn that does two things

1. It tells you how many XP gaining events (kills/quests/other events) you need to complete to reach a level up.
2. It tells you how many CraftingXP gaining events you need to complete to reach next craft rank.

It is very customizable and supports 5 colours


Using the AddOn:
================
NOTE: Addon now requires LIBADDONMENU-2.0 to be installed stand-alone.

ins:Mobs2Level comes supplied with one default output.
You can choose to either use the default options or create your own for every event and crafting.
You can enable timestamp and indicate which chat tab should be used.

All configuration is now done from settings.
You can configure every aspect of what to display and how from settings menu.
Pleaae note: ver 20160601 will override all your old settings!

Other Events XP explanation:
========================
The AddOn have separate output for 2 xp givers events: KILL(include finesse exp) and QUEST.
All the rest of XP givers events, like chest lockpick, discover new location, complete Daedra Anchor, are grouped in 3th output: EVENT.
There are some events which, perhaps, should be grouped with KILL(like finesse). Still checking this.

Filter Variables you can use for custom outputs:
=============================
Please note: These are CASE SENSITIVE

<1> = xp gain
<2> = xp to go
<3> = xp to go / xp gain = kills
<4> = Tradeskill name
<999> = Will show either Kill/Quest/Crafting/Event depending on what event occurred.

<cW> - White
<cG> - Green
<cR> - Red
<cT> - Teal
<cY> - Yellow


Examples of filter:
==========================
For skill: <cY>+<cG><1><cY>(<cT><4><cY>)

The output will then for example look like:
+125 (Woodworking) : with colours

For XP: +<1>XP (<2> to go) (<3) kills needed to level)
+156XP (3623 to go) (400 kills needed to level) : with no colours


Known Bugs:
============
Configure chat tab output does not work.


Change Log:
============
20211111
[CHANGE] - API Updated to 100028
[CHANGE] - Discovered Jewelcrafting
[CHANGE] - Got rid of a bug with outputting text
[BUG] - Introduced a bug with printing out text to a selected chat tab (sorry, default for now).
[CHANGE] - Removed libstub/libaddonmenu - Addon now requires LibAddonMenu-2.0
[CHANGE] - Added some more debug text.


20160601
[CHANGE] - update API version (100011 --> 100015)
[CHANGE] - all configuration is done from Settings menu
[CHANGE] - replaced veteran with champion for DB support

20150305
[NEW] - add option to toggle timestamp: /m2l set ts
[NEW] - add option to move output to another chat tab: /m2l set tab <tab_nr>
[CHANGE] - update API version (100010 --> 100011)
[CHANGE] - Menu output formatting
[CHANGE] - Minor code standardization
[BUGFIX] - problem with missing end color tag. Since i use now different way to post in chat, it bypass pChat and the bug is not manifested(but it's still there)
[BUGFIX] - fix menu for event XP display
[BUGFIX] - fix menu for set
[BUGFIX] - fix menu for set custom

20141105
[CHANGE] - update API version (100009 --> 100010)
[CHANGE] - in output VP are gone, everything is XP now
[BUGFIX] - bug with not showing output for VP

20140918
[CHANGE] - update API version (100008 --> 100009)

20140806 -
[CHANGE] - update API version (100007 --> 100008)

20140713
[NEW] - add Event XP output
[NEW] - add debug output, disbled by default
[BUGFIX] - bug with negative max exp for veteran ranks

20140630.1
[CHANGE] - disable debug output left from ver 20140630

20140630
[CHANGE] - update API version (100004 --> 100007)
[NEW] - add Zenimax disclosure statement in manifest
[CHANGE] - compatibility with new API and events return values
[CHANGE] - VPGains are counted for quests

20140427b
[BUGFIX] Finally VPGains for KILLS are counted. Will add the rest later. Thanks a lot Iaotle

20140427
[BUGFIX] Some display output and a if check that shouldn't be

20140426
[BUGFIX] AddOn would fail if users made filters ending with "]"


20140422
[NEW] - Export function for Custom XP/SKILL/QUEST
[NEW] - Quest XP have now optional output
[ADDED] - An extra default output
[CHANGE] - Tried to do some formatting on the menu
[BUGFIX] - Hopefully no 0 skill gain output


20140420 - 100% Rewritten.
[NEW] Custom output for KILLS or SKILLS with/without colours
[NEW] Veteran Points Really should work this time!
[NEW] Localization for French and German clients (not translated, but they are available in the "Strings.lua")
If anyone would care to translate


License:
=========


This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Code:
20211111
[CHANGE] - API Updated to 100028
[CHANGE] - Discovered Jewelcrafting
[CHANGE] - Got rid of a bug with outputting text
[BUG] - Introduced a bug with printing out text to a selected chat tab (sorry, default for now).
[CHANGE] - Removed libstub/libaddonmenu - Addon now requires LibAddonMenu-2.0
[CHANGE] - Added some more debug text.

20160601
[CHANGE] - update API version (100011 --> 100015)
[CHANGE] - all configuration is done from Settings menu
[CHANGE] - replaced veteran with champion for DB support

20150305
[NEW] - add option to toggle timestamp: /m2l set ts
[NEW] - add option to move output to another chat tab: /m2l set tab <tab_nr>
[CHANGE] - update API version (100010 --> 100011)
[CHANGE] - Menu output formatting
[CHANGE] - Minor code standardization
[BUGFIX] - problem with missing end color tag. Since i use now different way to post in chat, it bypass pChat and the bug is not manifested(but it's still there;))
[BUGFIX] - fix menu for event XP display
[BUGFIX] - fix menu for set
[BUGFIX] - fix menu for set custom

20141105
[CHANGE] - update API version (100009 --> 100010)
[CHANGE] - in output VP are gone, everything is XP now
[FIX] - bug with not showing output for VP

20140918
[CHANGE] - update API version (100008 --> 100009)

20140806
[CHANGE] - update API version (100007 --> 100008)

20140713
[NEW] - add Event XP output
[NEW] - add debug output, disabled by default
[BUGFIX] - bug with negative max exp for veteran ranks

20140630.1
[CHANGE] - disable debug output left from ver 20140630

20140630
[CHANGE] - update API version (100004 --> 100007)
[ADDED] - add Zenimax disclosure statement in manifest
[CHANGE] - compatibility with new API and events return values
[CHANGE] - VPGains are counted for quests

20140427.1
[BUGFIX] Finally VPGains for KILLS are counted.  Will add the rest later. Thanks a lot Iaotle :)


20140427
[FIX] Problems with output, and a if check that shouldn't have been there.

20140426
[FIX] Addon would fail if users made filters ending with "]". 

20140422
[NEW] - Export function for Custom XP/SKILL/QUEST 
[NEW] - Quest XP now optionable output
[ADDED]  - An extra default output.
[CHANGE] - Tried to do some formatting on the menu. 
[BUGFIX] - Hopefully no 0 skill gain output.


20140420
[CHANGE] 100% Rewritten.
[NEW] Custom output for KILLS or SKILLS with/without colours
[NEW] Veteran Points Really should work this time! 
[NEW] Localization for French and German clients (not translated, but they are available in the "Strings.lua")
If anyone would care to translate :)
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Uploader
Date
20160601
47kB
mra4nii
06/01/16 10:05 AM
20150305
8kB
mra4nii
03/05/15 06:38 AM
20141105
8kB
mra4nii
11/05/14 12:13 AM
20140918
8kB
mra4nii
09/17/14 03:17 PM
20140806
8kB
mra4nii
08/05/14 07:36 PM
20140713
8kB
mra4nii
07/13/14 03:02 PM
20140630.1
7kB
mra4nii
06/29/14 05:16 PM
20140630
7kB
mra4nii
06/29/14 04:57 PM
20140427.1
7kB
ins
04/27/14 11:45 AM
20140427
7kB
ins
04/27/14 09:47 AM
0.6
3kB
ins
04/17/14 10:00 PM


Post A Reply Comment Options
Unread 11/14/21, 06:53 PM  
ins
AddOn Author - Click to view AddOns

Forum posts: 76
File comments: 84
Uploads: 5
Originally Posted by Baertram
Hey there,

if you add libraries/addons to the (Otional)DependsOn lines please also check if the libs got a special version you need to make sure is loaded in order to be able to use that lib's global variables!
e.g. LibAddonMenu-2.0 introduced the global LibAddonMenu2 with version 28 first!
So you should, for new/reviced addons, add the >=28 to the end of the line:
Else some users may have an older version installed, the game thinks everything is alright but it still throws errors then!

Code:
## DependsOn: LibAddonMenu-2.0>=28
But if there are already newer versions released you definately should, at least for new/updated addons, use the most current version (32 in this case of LAM2.0)!
The version is writtten in the lib/Addon's txt file, tag ## AddOnVersion: <unsignedInteger>

Lib versioning and why it is important (as LibSub is not used anymore) is described here:
https://wiki.esoui.com/Libraries#Library_versioning


Also think about the SavedVariables please if you revive addons. If there is no need to mifrate them from old ones or if the version of SV increases and they are reset, please use the GetWorldName() function and use it in ZO_SavedVars parameter for "profile" e.g. to distinguish the settings for different ESO servers (NA Megaserver, EU Megaserver, PTS).
And if addons still use ZO_SavedVars:NewCharacterNameSettings or ZO_SavedVars:New (will use the same cahracter names!) change it to ZO_SavedVars:NewCharacterIdSettings please so the SV are saved with the server's characerId -> rename safe!

Here you can see what the "profile" parameter is:
Code:
ZO_SavedVars:NewAccountWide(savedVariableTable, version, namespace, defaults, profile, displayName)
--displayName could be used to overwrite your currently logged in @accountName! You can specify something like "AllAccountsSaveTheSame" to --save it all teh same for all acounts e.g.!
ZO_SavedVars:NewCharacterIdSettings(savedVariableTable, version, namespace, defaults, profile)
Cheers.

I'll have a look and update accordingly.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 11/14/21, 04:41 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Hey there,

if you add libraries/addons to the (Otional)DependsOn lines please also check if the libs got a special version you need to make sure is loaded in order to be able to use that lib's global variables!
e.g. LibAddonMenu-2.0 introduced the global LibAddonMenu2 with version 28 first!
So you should, for new/reviced addons, add the >=28 to the end of the line:
Else some users may have an older version installed, the game thinks everything is alright but it still throws errors then!

Code:
## DependsOn: LibAddonMenu-2.0>=28
But if there are already newer versions released you definately should, at least for new/updated addons, use the most current version (32 in this case of LAM2.0)!
The version is writtten in the lib/Addon's txt file, tag ## AddOnVersion: <unsignedInteger>

Lib versioning and why it is important (as LibSub is not used anymore) is described here:
https://wiki.esoui.com/Libraries#Library_versioning


Also think about the SavedVariables please if you revive addons. If there is no need to mifrate them from old ones or if the version of SV increases and they are reset, please use the GetWorldName() function and use it in ZO_SavedVars parameter for "profile" e.g. to distinguish the settings for different ESO servers (NA Megaserver, EU Megaserver, PTS).
And if addons still use ZO_SavedVars:NewCharacterNameSettings or ZO_SavedVars:New (will use the same cahracter names!) change it to ZO_SavedVars:NewCharacterIdSettings please so the SV are saved with the server's characerId -> rename safe!

Here you can see what the "profile" parameter is:
Code:
ZO_SavedVars:NewAccountWide(savedVariableTable, version, namespace, defaults, profile, displayName)
--displayName could be used to overwrite your currently logged in @accountName! You can specify something like "AllAccountsSaveTheSame" to --save it all teh same for all acounts e.g.!
ZO_SavedVars:NewCharacterIdSettings(savedVariableTable, version, namespace, defaults, profile)
Last edited by Baertram : 11/14/21 at 04:49 PM.
Report comment to moderator  
Reply With Quote
Unread 01/27/15, 11:16 AM  
mra4nii
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 87
Uploads: 2
Just a head-up. I have not so much time for addons, but still i didn't forget about this problem.
Most probably i'll fix it with new version i'm preparing. It will include some new features as well: ability to enable/disable timestamp, ability to move the output to another chat tab.
And as a side note, Ayantir did a enormous work in his addon pChat regarding the problem with missing end color tag. Technically the problem is gone now. Still, i will fix it as well.
Originally Posted by Spudd
I went through the lua files and added the |r to close off all of the color text, and it worked perfectly.

For example:
Code:
"<cW>ins|r<cY>:|r<cG>Mobs2Level|r<cW> has loaded. Type |r<cY>/m2l|r<cW> for help.|r"
No idea how to do it programmatically so you don't have to edit the lua by hand, but this solution covers me.

Thanks for the heads up Garkin!

....and thanks to mra4nii for maintaining this great add-on!
Report comment to moderator  
Reply With Quote
Unread 01/12/15, 09:35 PM  
Spudd

Forum posts: 1
File comments: 16
Uploads: 0
I went through the lua files and added the |r to close off all of the color text, and it worked perfectly.

For example:
Code:
"<cW>ins|r<cY>:|r<cG>Mobs2Level|r<cW> has loaded. Type |r<cY>/m2l|r<cW> for help.|r"
No idea how to do it programmatically so you don't have to edit the lua by hand, but this solution covers me.

Thanks for the heads up Garkin!

....and thanks to mra4nii for maintaining this great add-on!
Report comment to moderator  
Reply With Quote
Unread 01/11/15, 12:25 PM  
mra4nii
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 87
Uploads: 2
i'll take a look in next few days on this
Report comment to moderator  
Reply With Quote
Unread 01/10/15, 09:14 PM  
Spudd

Forum posts: 1
File comments: 16
Uploads: 0
Originally Posted by Garkin
Originally Posted by Spudd
Originally Posted by Garkin
Originally Posted by Spudd
Ok I found the issue. The "rh" is coming from the pchat add-on. No idea why, but when I disable that add on, I don't get the "rh" any more.
It works for me together with pChat, maybe some settings or old version of pChat?
Hrm...I've got the latest version of pchat, but maybe a clean install will help. I'll try that next.
I think I have found the issue. there is rh printed when you use incomplete color code. Addon adds start tag |c<hexavalue> but it will not add end tag |r.

Your examples should look like this:
Set output xp <cG>XP:|r <1>
Shows: XP: 1234

Set output xp XP gained: <cW><1>|r
Shows: XP gained: 1234

Set output xp XP gained: <cW><1>|r <cG>Good job!|r
Shows: XP gained 123 Good job!

But I'd preffer using color codes directly:
Code:
/m2l set custom xp |cFFFFFF+|r|c00FF00<1>|r|cFFFFFFXP (|r|c00FFFF<3>|r |cFFFFFFto level up)|r
/m2l set custom quest |cFFFFFF+|r|c00FF00<1>|r |cFFFFFFfrom|r |c00FFFF<999>|r
/m2l set custom skill |cFFFFFF+|r|c00FF00<1>|r |cFFFFFFin|r |c00FFFF<4>|r |cFFFFFF(|r|c00FF00<3>|r |cFFFFFFto level up)|r
/m2l set output 999
Hmm... Wouldn't it be possible to tweak m2l lua where colors are handled to include the |r?
Report comment to moderator  
Reply With Quote
Unread 01/10/15, 05:21 PM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 832
File comments: 1097
Uploads: 33
Originally Posted by Spudd
Originally Posted by Garkin
Originally Posted by Spudd
Ok I found the issue. The "rh" is coming from the pchat add-on. No idea why, but when I disable that add on, I don't get the "rh" any more.
It works for me together with pChat, maybe some settings or old version of pChat?
Hrm...I've got the latest version of pchat, but maybe a clean install will help. I'll try that next.
I think I have found the issue. there is rh printed when you use incomplete color code. Addon adds start tag |c<hexavalue> but it will not add end tag |r.

Your examples should look like this:
Set output xp <cG>XP:|r <1>
Shows: XP: 1234

Set output xp XP gained: <cW><1>|r
Shows: XP gained: 1234

Set output xp XP gained: <cW><1>|r <cG>Good job!|r
Shows: XP gained 123 Good job!

But I'd preffer using color codes directly:
Code:
/m2l set custom xp |cFFFFFF+|r|c00FF00<1>|r|cFFFFFFXP (|r|c00FFFF<3>|r |cFFFFFFto level up)|r
/m2l set custom quest |cFFFFFF+|r|c00FF00<1>|r |cFFFFFFfrom|r |c00FFFF<999>|r
/m2l set custom skill |cFFFFFF+|r|c00FF00<1>|r |cFFFFFFin|r |c00FFFF<4>|r |cFFFFFF(|r|c00FF00<3>|r |cFFFFFFto level up)|r
/m2l set output 999
Last edited by Garkin : 01/10/15 at 05:54 PM.
Report comment to moderator  
Reply With Quote
Unread 01/10/15, 03:38 PM  
Spudd

Forum posts: 1
File comments: 16
Uploads: 0
Originally Posted by Garkin
Originally Posted by Spudd
Ok I found the issue. The "rh" is coming from the pchat add-on. No idea why, but when I disable that add on, I don't get the "rh" any more.
It works for me together with pChat, maybe some settings or old version of pChat?
Hrm...I've got the latest version of pchat, but maybe a clean install will help. I'll try that next.
Report comment to moderator  
Reply With Quote
Unread 01/10/15, 02:57 PM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 832
File comments: 1097
Uploads: 33
Originally Posted by Spudd
Ok I found the issue. The "rh" is coming from the pchat add-on. No idea why, but when I disable that add on, I don't get the "rh" any more.
It works for me together with pChat, maybe some settings or old version of pChat?
Report comment to moderator  
Reply With Quote
Unread 01/10/15, 09:06 AM  
Spudd

Forum posts: 1
File comments: 16
Uploads: 0
Originally Posted by mra4nii
Hello,

Please try to remove addon settings file(game must be stopped). Its location: C:\Users\<username>\Documents\Elder Scrolls Online\<build>\SavedVariables\insMobs2Level.lua.
It will reset to default addon settings. And make sure you use latest version of addon.

Originally Posted by Spudd
Any idea why I get "rh" on every line when the first color is changed?

For example:

Set output xp <cG> XP: <1>
Shows: rhXP: 1234

Set output xp XP gained: <cW><1>
Shows: XP gained: rh1234

Set output xp XP gained: <cW><1> <cG> Good job!
Shows: XP gained rh123 Good job!

The colors change properly but the first one always shows rh.
I removed the entire add-on and deleted the lua file in the path you listed. I re-installed,

Just to be clear, it happens on every line that the add-on sends to the chat window. Including when the game first loads, when I display the add-on's help, everything.

...

Ok I found the issue. The "rh" is coming from the pchat add-on. No idea why, but when I disable that add on, I don't get the "rh" any more.
Report comment to moderator  
Reply With Quote
Unread 01/09/15, 01:42 AM  
mra4nii
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 87
Uploads: 2
Hello,

Please try to remove addon settings file(game must be stopped). Its location: C:\Users\<username>\Documents\Elder Scrolls Online\<build>\SavedVariables\insMobs2Level.lua.
It will reset to default addon settings. And make sure you use latest version of addon.

Originally Posted by Spudd
Any idea why I get "rh" on every line when the first color is changed?

For example:

Set output xp <cG> XP: <1>
Shows: rhXP: 1234

Set output xp XP gained: <cW><1>
Shows: XP gained: rh1234

Set output xp XP gained: <cW><1> <cG> Good job!
Shows: XP gained rh123 Good job!

The colors change properly but the first one always shows rh.
Report comment to moderator  
Reply With Quote
Unread 12/26/14, 02:51 PM  
Spudd

Forum posts: 1
File comments: 16
Uploads: 0
Any idea why I get "rh" on every line when the first color is changed?

For example:

Set output xp <cG> XP: <1>
Shows: rhXP: 1234

Set output xp XP gained: <cW><1>
Shows: XP gained: rh1234

Set output xp XP gained: <cW><1> <cG> Good job!
Shows: XP gained rh123 Good job!

The colors change properly but the first one always shows rh.
Report comment to moderator  
Reply With Quote
Unread 08/25/14, 05:43 AM  
mra4nii
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 87
Uploads: 2
No plans for settings menu for now. There are not enough settings to move the to a menu
Originally Posted by Subotai
Great Addon. Hope this gets a lot of support. Is there a Settings menu in the works? Would be nice to be able to make adjustments from the options menu. Either way, great addon!
Report comment to moderator  
Reply With Quote
Unread 08/22/14, 07:00 AM  
Subotai
 
Subotai's Avatar

Forum posts: 3
File comments: 28
Uploads: 0
Great Addon. Hope this gets a lot of support. Is there a Settings menu in the works? Would be nice to be able to make adjustments from the options menu. Either way, great addon!
Report comment to moderator  
Reply With Quote
Unread 07/13/14, 03:04 PM  
mra4nii
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 87
Uploads: 2
Fixed in latest version. At least i strongly believe in this
Originally Posted by Mortosk
FYI - thanks for the update. It is functional as far as telling me what current XP I got for killing whatever mob I just killed, but the XP to level for me is showing a negative number, -6,947,000 or so.

Any idea how to fix this issue?
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.