Download
(15 Kb)
Download
Updated: 07/08/14 08:38 AM
Pictures
File Info
Compatibility:
Veteran Crypt of Hearts (1.2.3)
Craglorn (1.1)
Live (1.0)
Updated:07/08/14 08:38 AM
Created:04/15/14 05:45 PM
Monthly downloads:22
Total downloads:11,326
Favorites:23
MD5:
Categories:Discontinued & Outdated, Chat Mods
XP Notifier  Popular! (More than 5000 hits)
Version: 1.4.7
by: Azilarir [More]
XP Notifier will log a message to a new window (or optionally your chat window) whenever you receive character XP, tradeskill, or other skill XP. The chat messages are considerably cleaner than insMobs2Level (or they are to me, anyway -- I'm very particular about formatting and usability). Additionally, the colors and which notifiers are enabled are all configurable and the add-on supports English, French, and German, although feel free to yell at me if I've got the translations wrong -- I only speak English personally.

Version 1.4.7 released 7/8/2014

Enjoy.

Concept for this mod is inspired by insMobs2Level by ins.
Version 1.4.7 - July 8, 2014
* Consistent with the latest API version from Veteran Crypt of Hearts patch, version ID 100007.


Version 1.4.6 - June 6, 2014
* Consistent with the latest API version from Craglorn patch, version ID 100004.


Version 1.4.5 - April 23, 2014
* Fixed an issue where 1 repeat remaining would sometimes tell you that you leveled up prematurely.
* More German translations from DaBear78.


Version 1.4.4 - April 23, 2014
* Fixed an add-on crash when levels were being tracked without XP gains and adventure XP was turned off.


Version 1.4.3 - April 22, 2014
* Fixed erroneous veteran level gain. Should display at appropriate times only now.


Version 1.4.2 - April 22, 2014
* Fixed an instance of some skills not being cleaned of their masculine/feminine descriptors (^m and ^f, etc.) for French and German translations when a skill level increased that wasn't being tracked.
* Additional and better translations (courtesy of DaBear78).


Version 1.4.1 - April 22, 2014
* Quick fix for settings not saving -- the per-character save adjustment in 1.4 got botched.
* Moved around some code so that the settings panel appears right away, not delayed like the load message.

Version 1.4 - April 21, 2014
* Settings are now saved on a per-character basis, which is important because alts may not want to track the same skills. This may cause some of your prior preferences to reset -- sorry in advance!
* A new feature was added to allow you to get notifications on level ups even when a specific XP or skill type wasn't being tracked.
* A bug was fixed for when learning new skill lines that would crash the client. My last fix in version 1.3.3 wasn't enough. This one has been tested thoroughly.
* Some fixes and tweaks to how and when leveling up is calculated, so messages display correctly.
* No known issues now: XP, VP, skills, and level detection should all be working correctly with any and all combination of options.


Version 1.3.6 - April 21, 2014
* Final fix for veteran XP. Thanks to umarmung and sayaraven for helping me work out the kinks!


Version 1.3.5 - April 20, 2014
* Fixed veteran XP... again. I think. I want cookies.


Version 1.3.4 - April 20, 2014
* Another fix for XP not showing anymore after level.
* Fixed veteran XP (I think -- can someone test this?).


Version 1.3.3 - April 20, 2014
* Fixed a bug causing the add-on to fail to load if other add-ons weren't also present (I was loading a library incorrectly).
* Fixed a bug where XP gain messages stopped showing up if you gained a level (affected adventuring, tradeskill, and other skill levels).
* Fixed a bug where learning new skill lines would cause popup errors. Now, the errors will not show up, although you will need to reload the UI to update the settings panel with the new skill line. This is a limitation of how the ESO API works and while there's possibly a convoluted work-around to it, there are few times where you gain entirely new skill lines and that it's just super inconvenient to reload your UI.


Version 1.3.2 - April 19, 2014
* Fixed a bug where the slider controlling the separate XP Notifier window text fadeout wasn't actually doing anything... oops.


Version 1.3.1 - April 19, 2014
* Added an option to configure the text fade timeout in the separate XP Notifier window.
* Quick adjustment to the formatting around a parenthesis (oops).


Version 1.3 - April 19, 2014
* Added options to toggle off the repeat counts in messages per section (character XP, tradeskill XP, and other skill XP).
* Added configurable prefix text. The default is still just a plus symbol (+).
* Added more localization support (should cover everything now -- had left some level up messages in there that were English-only from the last version).
* Added developer debug messages (very bottom option in the settings panel).
* Corrected some German translations with credits to DaBear78 for his assistance.


Version 1.2 - April 18, 2014
* Fixed a bug that would sometimes cause character XP to not be tracked.
* Added language support for French and German -- please be kind about the translations, though! I just Googled around and did the best I could without actually speaking those languages. Feel free to correct me in the comments.


Version 1.1 - April 18, 2014
* Fixed a bug that would tell you to repeat -0 times whenever you leveled or skilled up. Now a message will indicate that you gained XP and a level.
* Added an optional new window to send XP notification messages to, including options to hide while in settings/menus, fade out when no mouse hover, etc.
* Cleaned up the default options some and refactored code.

Note: the optional new window has a message fade-out timer of 60 seconds. After this time, there is no way to retrieve scroll-back messages, even with the wheel mouse. Please let me know if you have any thoughts or concerns about this (and remember that you can always log XP to both the new window and your chat window).


Version 1.01 - April 16, 2014
* Split tradeskills into individual skills and added dynamic notifiers for all skills you have unlocked.
* Added color customization for each basic type (character XP, tradeskill XP, and other skill XP).

Please note that other skill XP (armor, weapons, etc.) are very spammy during fights -- you may only want to enable this to see what kinds of gains you're getting for testing or confirmation that gains are what you expected.


Version 1.00 - April 15, 2014
* Initial release.
Archived Files (18)
File Name
Version
Size
Uploader
Date
1.4.6
15kB
Azilarir
06/06/14 04:48 PM
1.4.5
15kB
Azilarir
04/23/14 04:38 PM
1.4.4
15kB
Azilarir
04/23/14 04:31 PM
1.4.3
15kB
Azilarir
04/22/14 02:11 PM
1.4.2
16kB
Azilarir
04/22/14 12:55 PM
1.4.1
16kB
Azilarir
04/22/14 12:49 PM
1.4
16kB
Azilarir
04/21/14 04:45 PM
1.3.6
15kB
Azilarir
04/21/14 10:36 AM
1.3.5
15kB
Azilarir
04/20/14 06:40 PM
1.3.4
15kB
Azilarir
04/20/14 12:46 PM
1.3.3
15kB
Azilarir
04/20/14 08:58 AM
1.3.2
15kB
Azilarir
04/19/14 03:22 PM
1.3.1
15kB
Azilarir
04/19/14 03:13 PM
1.3
14kB
Azilarir
04/19/14 10:41 AM
1.2
14kB
Azilarir
04/18/14 10:09 PM
1.1
11kB
Azilarir
04/18/14 01:38 PM
1.01
9kB
Azilarir
04/16/14 01:09 PM
1.00
8kB
Azilarir
04/15/14 05:45 PM


Post A Reply Comment Options
Unread 08/17/14, 10:53 PM  
xaade

Forum posts: 0
File comments: 1
Uploads: 0
I have a fix

In the main.lua

Change the code to this

function XPN.GainedSkillXP(eventID, skillType, skillLine, reason, rank, lastXP, currentXP)
local skillName, currentLevel = GetSkillLineInfo(skillType, skillLine)
local lastRankXP, nextRankXP, curXP = GetSkillLineXPInfo(skillType, skillLine)

XPN.AddSkillIfNotExist(skillName, skillType, skillLine)

if (XPN.DevDebug) then
if (skillName == nil) then skillName = '(nil)' end
if (currentLevel == nil) then currentLevel = '(nil)' end
if (XPN.Skills[skillType][skillLine].Level == nil) then XPN.Skills[skillType][skillLine].Level = currentLevel end
if (eventID == nil) then eventID = '(nil)' end
if (skillLine == nil) then skillLine = '(nil)' end
if (lastRankXP == nil) then lastRankXP = '(nil)' end
if (nextRankXP == nil) then nextRankXP = '(nil)' end
if (currentXP == nil) then currentXP = '(nil)' end
if (lastXP == nil) then lastXP = '(nil)' end
XPN.Message(XPN.title .. "|r|c888888 :: skill XP gained debug :: " .. CleanName(skillName) .. ", " .. currentLevel .. ", " .. XPN.Skills[skillType][skillLine].Level .. ", " .. eventID .. ", " .. skillType .. ", " .. skillLine .. ", " .. lastRankXP .. ", " .. nextRankXP .. ", " .. lastXP ..", " .. currentXP .."|r")
end
Report comment to moderator  
Reply With Quote
Unread 07/08/14, 12:35 PM  
Illuminia

Forum posts: 0
File comments: 1
Uploads: 0
Thanks for updating this addon!
I am not sure if this is a bug or not, but I have the show repeat count enabled for the Character XP, Tradeskills, and Other Skills categories. However the Character XP is the only category that correctly shows the repeat count properly.

for example it shows this for me.
+100 Heavy Armor XP (new skill level: 10!)
+100 XP (repeat 74 times to level)

In the above example the heavy armor line is not showing the repeat count like the XP is. Instead it just keeps showing (new skill level 10!) every time i get XP in the heavy armor line.
Report comment to moderator  
Reply With Quote
Unread 07/08/14, 09:20 AM  
Azilarir
 
Azilarir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 23
Uploads: 2
Originally Posted by Scoren
hey any new on when we will get an update? thanks
Updated!

Sorry, I stopped playing a few months ago, so I don't check for messages here that often or know when there's major API updates.
Report comment to moderator  
Reply With Quote
Unread 06/29/14, 10:35 AM  
Scoren

Forum posts: 0
File comments: 4
Uploads: 0
hey any new on when we will get an update? thanks
Report comment to moderator  
Reply With Quote
Unread 06/07/14, 02:23 AM  
DeanGrey
 
DeanGrey's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 89
Uploads: 3
Re: Re: Update?

Thanks for the update.
Report comment to moderator  
Reply With Quote
Unread 06/06/14, 04:49 PM  
Azilarir
 
Azilarir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 23
Uploads: 2
Re: Update?

Originally Posted by unworthyboot
It's been a while since your last release, are you going to update the mod to make it compatible with the latest patch?
All set!
Report comment to moderator  
Reply With Quote
Unread 05/30/14, 10:22 AM  
unworthyboot

Forum posts: 0
File comments: 2
Uploads: 0
Update?

It's been a while since your last release, are you going to update the mod to make it compatible with the latest patch?
Report comment to moderator  
Reply With Quote
Unread 05/04/14, 06:15 PM  
rotatorkuf

Forum posts: 0
File comments: 81
Uploads: 0
would it be possible to be able to see previous xp when you hover over the window when set to show to separate window?

sometimes i miss the xp notification and i'd like be able to scroll back through whatever xp i've gotten
Report comment to moderator  
Reply With Quote
Unread 04/25/14, 05:04 AM  
DaBear78
 
DaBear78's Avatar

Forum posts: 1
File comments: 120
Uploads: 0
Originally Posted by Azilarir
I haven't given any consideration to this yet -- foreign language support was something I quickly threw together at your request and didn't check if there was something like this baked into the API.
You're version also works, so no need for a change, I was just wondering if you did it because there were bugs in the build in function or just because you didn't know about it

Originally Posted by Azilarir
Quite possibly there's some better way to do it, such as the above. I'm sure other add-ons use that kind of method. You said you get the message every loading screen? I don't. I get it every time I reload my add-ons (or restart the entire game client), but that's it.
The message showing after every loading screen would only be the case if you would have used my version and forgot to unregister the function after the first call. With your addon right now it only shows after a reload (and not at first start ^^).

Originally Posted by Azilarir
I originally tried this exact code from a snippet in another add-on. It prevented me from logging in with a generic error (tried both French and English) -- it didn't just crash the add-on, it was literally the GetCVar() call that broke game logins for me. I wasn't willing to spend time debugging why if the client is so tempermental that an add-on can potentially crash it out, so I just left it as a configurable option instead of detection.
Must be a problem with 'en' and 'fr' or it's fixed right now, because I use this call in my own "tests" (I have to call them tests, because they are no real addons right now, maybe later ) without a problem, but I only tested the german client. On second thought, the dropdown version you use may even be a lot better because you can choose which language you want and are not tied to the language of your client
Report comment to moderator  
Reply With Quote
Unread 04/24/14, 02:59 PM  
Azilarir
 
Azilarir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 23
Uploads: 2
Originally Posted by DaBear78
Have you tried using
Lua Code:
  1. zo_strformat(<<1>>,skillName)
instead of your own function
Lua Code:
  1. CleanName(skillName)
?
This transforms the string specified in 'skillName' to the right format the game wants. It works flawlessly for items (I tested it with a lot of items while trying to write my own loot addon). Maybe it will also work for skills? But please don't stone me to death if you try it and it does not work
I haven't given any consideration to this yet -- foreign language support was something I quickly threw together at your request and didn't check if there was something like this baked into the API.


Originally Posted by DaBear78
EDIT: Something I want to now, maybe you can answer (maybe you have tried ^^):

You use:
Lua Code:
  1. zo_callLater(XPN.FullyLoadedUp, 3000)
which seems to be a good idea if you want to read this loading message, but would it also be possible to register the function XPN.FullyLoadedUp for EVENT_PLAYER_ACTIVATED and alter the function to unregister itself, so that message is not shown everytime I have a loading screen? So the function would look something like this:

Lua Code:
  1. function XPN.FullyLoadedUp()
  2.     XPN.Message(XPN.title .. XPN.Colors.cText .. XPN.Lang.Localization.NowLoadedFor .. XPN.Colors.cNumber .. GetDisplayName() .. "|r" .. XPN.Colors.cText .. ".|r")
  3.     EVENT_MANAGER:UnregisterForEvent(XPN.AddonFolder, EVENT_PLAYER_ACTIVATED)
  4. end

And of course you would have to register this function just under the EVENT_ADD_ON_LOADED.

Lua Code:
  1. EVENT_MANAGER:RegisterForEvent(XPN.AddonFolder, EVENT_PLAYER_ACTIVATED, XPN.FullyLoadedUp)

If you don't know the answer, I'll try for myself
Quite possibly there's some better way to do it, such as the above. I'm sure other add-ons use that kind of method. You said you get the message every loading screen? I don't. I get it every time I reload my add-ons (or restart the entire game client), but that's it.


Originally Posted by DaBear78
EDIT 2: One last thing... Ever thought of your addon to automatically select the same language that the client uses? So english players would see the english version, german players the german version and french players the french version...

If you use

Lua Code:
  1. local loc = (GetCVar('language.2') or 'en')

the variable 'loc' will contain 'de' or 'fr' or 'en', and thats all the info you need ^^

But that's all just crazy ideas from me, if you don't like them or don't want them then just ignore me
I originally tried this exact code from a snippet in another add-on. It prevented me from logging in with a generic error (tried both French and English) -- it didn't just crash the add-on, it was literally the GetCVar() call that broke game logins for me. I wasn't willing to spend time debugging why if the client is so tempermental that an add-on can potentially crash it out, so I just left it as a configurable option instead of detection.
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 05:01 PM  
DaBear78
 
DaBear78's Avatar

Forum posts: 1
File comments: 120
Uploads: 0
Have you tried using
Lua Code:
  1. zo_strformat(<<1>>,skillName)
instead of your own function
Lua Code:
  1. CleanName(skillName)
?
This transforms the string specified in 'skillName' to the right format the game wants. It works flawlessly for items (I tested it with a lot of items while trying to write my own loot addon). Maybe it will also work for skills? But please don't stone me to death if you try it and it does not work

EDIT: Something I want to now, maybe you can answer (maybe you have tried ^^):

You use:
Lua Code:
  1. zo_callLater(XPN.FullyLoadedUp, 3000)
which seems to be a good idea if you want to read this loading message, but would it also be possible to register the function XPN.FullyLoadedUp for EVENT_PLAYER_ACTIVATED and alter the function to unregister itself, so that message is not shown everytime I have a loading screen? So the function would look something like this:

Lua Code:
  1. function XPN.FullyLoadedUp()
  2.     XPN.Message(XPN.title .. XPN.Colors.cText .. XPN.Lang.Localization.NowLoadedFor .. XPN.Colors.cNumber .. GetDisplayName() .. "|r" .. XPN.Colors.cText .. ".|r")
  3.     EVENT_MANAGER:UnregisterForEvent(XPN.AddonFolder, EVENT_PLAYER_ACTIVATED)
  4. end

And of course you would have to register this function just under the EVENT_ADD_ON_LOADED.

Lua Code:
  1. EVENT_MANAGER:RegisterForEvent(XPN.AddonFolder, EVENT_PLAYER_ACTIVATED, XPN.FullyLoadedUp)

If you don't know the answer, I'll try for myself

EDIT 2: One last thing... Ever thought of your addon to automatically select the same language that the client uses? So english players would see the english version, german players the german version and french players the french version...

If you use

Lua Code:
  1. local loc = (GetCVar('language.2') or 'en')

the variable 'loc' will contain 'de' or 'fr' or 'en', and thats all the info you need ^^

But that's all just crazy ideas from me, if you don't like them or don't want them then just ignore me
Last edited by DaBear78 : 04/23/14 at 05:49 PM.
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 04:38 PM  
Azilarir
 
Azilarir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 23
Uploads: 2
Thanks for the updated translations, DaBear78. All of the reported issues should be fixed now in version 1.4.5.
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 04:26 PM  
DaBear78
 
DaBear78's Avatar

Forum posts: 1
File comments: 120
Uploads: 0
The addon lies to me I became lvl 21 and it told me that I have a new level: 20! ^^

Some translations I missed the last time (I forgot to look at the settings.lua )
Warning: Spoiler
Report comment to moderator  
Reply With Quote
Unread 04/23/14, 02:21 AM  
Veideon

Forum posts: 0
File comments: 34
Uploads: 0
After updating to 1.4.3, when I set "Notify on character XP gain" to "OFF" it shows me following error every time i get XP:


Report comment to moderator  
Reply With Quote
Unread 04/22/14, 03:01 PM  
Fakedawg

Forum posts: 1
File comments: 7
Uploads: 0
Updated to 1.4.3 and now it works just fine - included another debug screenshot for comparison just in case you have any use for it:

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.