Quantcast
Download
(11 Kb)
Download
Updated: 08-31-18 02:51 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-31-18 02:51 PM
Created:09-01-16 02:13 AM
Downloads:2,054
Favorites:8
MD5:
8.0.1

gmExp

Version: 801-2018083101
by: gmarco [More]

gmExp

A very simple LDB player experience display.
It shows in a broker display compatible the actual experience level.
It tracks legion and BFA artifact if equipped.

It shows also a simple un-ordered list of pg with their lvl and ilv.
This can be modified by editing core.lua files:

Lua Code:
  1. local list_enable = true -- false to not show the list of pg
  2. local list_maxpgnum = 23

An unused pg can be deleted using the /gmexp command, like this:
Lua Code:
  1. /gmexp Nemesis-Nomia

The names are case sensitive.

Requires a data broker display like chocolate bar, bazooka, ninjapanel, stat block, titan panel, docking station, buttonbin and more.

If you are interested in helping translating, please visit forum:
http://www.wowinterface.com/download...24174#comments

providing the following entries:

Lua Code:
  1. L["Shift"]          = ""
  2. L["Right-Click"]        = ""
  3. L["Left-Click"]         = ""
  4. L["Middle-Click"]       = ""
  5. L["Max content level"]      = ""
  6. L["Level"]                  = ""
  7. L["Current XP"]             = ""
  8. L["Remaining XP"]           = ""
  9. L["Level Progress %"]       = ""
  10. L["Remaining rested"]       = ""
  11. L["Artifact"]               = ""
  12. L["Rank"]                   = ""
  13. L["Artifact Power"]         = ""
  14. L["Power to next rank"]     = ""
  15. L["Power in excess in rank"]= ""
  16. L["Progress in rank %"]     = ""
  17. L["Knowledge level"]        = ""
  18. L["Knowledge multiplier %"] = ""
  19. L["Short Numbers"]          = ""
  20. L["Long Numbers"]           = ""


Example in Italian:

Lua Code:
  1. L["Shift"]          = "Maiuscola"  
  2. L["Right-Click"]        = "Tasto-Destro"
  3. L["Left-Click"]         = "Tasto-Sinistro"
  4. L["Middle-Click"]       = "Tasto-Centrale"
  5. -- and so on

Actually it supports for the following locale:
- enUS
- itIT
- zhTW and zhCN. Thanks to BNS

801-2018083101
- Localization: frFR. Thanks to Tasunke.

801-2018081901
- Used a better (and locale friendly, I hope :) way to get the "Heart of Azeroth" name

801-2018081801
- Initial release for tracking again legion artifacts and bfa azerite neck.

801-2018072101
- Removed Artifact related informations
- Bump Toc for 8.0

730-2018030401
- Added a simple pg list (name,level,ilv) of some pg (default=24).
It can be enabled/disabled by editing core.lua line 16, i.e:
local list_enable = false

The number of max pg can be modified in line 17 of core.lua, i.e:
local list_maxpgnum = 10

The list is not ordered.

730-2017121701
- Added Left-click to show Artifact

730-2017100801
- Added billions to the short format

730-2017083001
- Bump Toc for 7.3
- Artifact knowledge can't be read from currency (1171) anymore.
http://www.wowinterface.com/forums/showthread.php?t=55690
- Change AK multiplicators according:
http://www.wowhead.com/artifact-knowledge-guide

from:
local multi = {
25, 50, 90, 140, 200,
275, 375, 500, 650, 850,
1100, 1400, 1775, 2250, 2850,
3600, 4550, 5700, 7200, 9000,
11300, 14200, 17800, 22300, 24900,
100000, 130000,170000,220000,290000,
380000,490000,640000,830000,1080000,
1400000,1820000,2370000,3080000,4000000,
5200000,6760000,8790000,11430000,14860000,
19320000,25120000,32660000,42460000,55200000
};

to:
local multi = {
25, 50, 90, 140, 200,
275, 375, 500, 650, 850,
1100, 1400, 1775, 2250, 2850,
3600, 4550, 5700, 7200, 9000,
11300, 14200, 17800, 22300, 24900,
100000, 130000,170000,220000,290000,
380000,490000,640000,830000,1080000,
1400000,1820000,2370000,3080000,4000000,
16000000,20800000,27040000,35150000,45700000,
59400000,77250000,100400000,130500000,169650000,
220550000,286750000,372750000,484600000,630000000
};

At the end I prefer to not display AK anymore being too expensive check it for a value equal for all players.

- Modify the clicks to change options using a + Shift to prevents misclicks.

720-2017051802
- Fixed typo

720-2017042302
- Localization: zhTW and zhCN. Thanks to BNS.

720-2017042301
- Add Localization support
- Localization: itIT
Thanks to phanx for her excellent (as usual) tutorial on addons localization.
https://phanx.net/addons/tutorials/localize

720-2017042101
- Short/long number format also for knowledge multipliers

720-2017033001
- Short/long number format with click.

720-2017032901
- Fixes (hopefully) for new syntax on artifact functions

720-2017032801
- bump toc
- added new artifact multipliers

1.0-2016121501
- code cleanup
- show current artifact power and % progress in the rank if max content level and
have an artifact equipped.
- change icon

1.0-2016113001
- cosmetic change and colors modified

1.0-2016112701
- tooltip layout changes

1.0-2016112101
- minor changes
- added the knownledge level and multipliers
- to do: the artifact fishing pole should be treated differently

1.0-2016102601
- bump toc

1.0-2016090401
- cosmetics

1.0-2016090201
- track artifact (if equipped)

1.0-2016090101
- initial release
Optional Files (0)


Archived Files (22)
File Name
Version
Size
Author
Date
801-2018081901
11kB
gmarco
08-18-18 11:54 PM
801-2018081801
11kB
gmarco
08-18-18 12:45 AM
801-2018072101
10kB
gmarco
07-21-18 06:10 AM
730-2018030401
11kB
gmarco
03-04-18 01:08 AM
730-2017121701
10kB
gmarco
12-16-17 07:04 PM
730-2017100801
10kB
gmarco
10-07-17 10:17 PM
730-2017083001
10kB
gmarco
08-30-17 09:02 PM
720-2017051802
10kB
gmarco
05-18-17 10:09 PM
720-2017042302
10kB
gmarco
04-23-17 11:19 AM
720-2017042301
9kB
gmarco
04-23-17 03:05 AM
720-2017042101
8kB
gmarco
04-20-17 10:57 PM
720-2017033001
8kB
gmarco
03-29-17 11:31 PM
720-2017032901
8kB
gmarco
03-29-17 12:25 AM
720-2017032801
8kB
gmarco
03-28-17 02:49 PM
1.0-2016121501
8kB
gmarco
12-16-16 12:58 AM
1.0-2016113001
7kB
gmarco
11-30-16 02:00 AM
1.0-2016112701
7kB
gmarco
11-27-16 07:05 AM
1.0-2016112101
6kB
gmarco
11-21-16 01:07 AM
1.0-2016102601
6kB
gmarco
10-26-16 12:57 AM
1.0-2016090401
6kB
gmarco
09-04-16 07:15 AM
1.0-2016090201
6kB
gmarco
09-01-16 10:31 PM
1.0-2016090101
6kB
gmarco
09-01-16 02:13 AM


Post A Reply Comment Options
Unread 08-31-18, 02:55 PM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 238
File comments: 189
Uploads: 37
Originally Posted by Tasunke
Code:
L["Shift"]          = "Maj"
L["Right-Click"]        = "Clique droit"
L["Left-Click"]         = "Clique gauche"
L["Middle-Click"]       = "Clique roulette"
L["Max content level"]      = "niveau contenu max"
L["Level"]                  = "niveau"
L["Current XP"]             = "XP actuelle"
L["Remaining XP"]           = "XP restante"
L["Level Progress %"]       = "% du niveau"
L["Remaining rested"]       = "Repos restant"
L["Artifact"]               = "Artéfact"
L["Rank"]                   = "Rang"
L["Artifact Power"]         = "Puissance prodigieuse"
L["Power to next rank"]     = "Puissance pour rang suivant"
L["Power in excess in rank"]= "Puissance en trop au rang"
L["Progress in rank %"]     = "Progrès du rang %"
L["Knowledge level"]        = "Niveau de connaissance"
L["Knowledge multiplier %"] = "Multiplicateur connaissance %"
L["Short Numbers"]          = "Nombres courts"
L["Long Numbers"]           = "Nombres longs"
That's for the frFR client
Thanks so much .
I have added it
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 08-31-18, 12:19 PM  
Tasunke
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Code:
L["Shift"]          = "Maj"
L["Right-Click"]        = "Clique droit"
L["Left-Click"]         = "Clique gauche"
L["Middle-Click"]       = "Clique roulette"
L["Max content level"]      = "niveau contenu max"
L["Level"]                  = "niveau"
L["Current XP"]             = "XP actuelle"
L["Remaining XP"]           = "XP restante"
L["Level Progress %"]       = "% du niveau"
L["Remaining rested"]       = "Repos restant"
L["Artifact"]               = "Artéfact"
L["Rank"]                   = "Rang"
L["Artifact Power"]         = "Puissance prodigieuse"
L["Power to next rank"]     = "Puissance pour rang suivant"
L["Power in excess in rank"]= "Puissance en trop au rang"
L["Progress in rank %"]     = "Progrès du rang %"
L["Knowledge level"]        = "Niveau de connaissance"
L["Knowledge multiplier %"] = "Multiplicateur connaissance %"
L["Short Numbers"]          = "Nombres courts"
L["Long Numbers"]           = "Nombres longs"
That's for the frFR client
Report comment to moderator  
Reply With Quote
Unread 08-18-18, 01:19 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 238
File comments: 189
Uploads: 37
Originally Posted by Kithalaul
is there any plans for a rep tracking support. my other addon is error prone now as it doesnt look to be updated. broker xp bar is the name.
Hi,
thanks for asking.

I didn't even thought about it.
gmexp is a very simple addon and I am a basic lua programmer

But I can check your idea and see what I succeded in doing in the next releases (or in a next addon if any
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 08-17-18, 05:18 PM  
Kithalaul
A Kobold Labourer

Forum posts: 0
File comments: 15
Uploads: 0
is there any plans for a rep tracking support. my other addon is error prone now as it doesnt look to be updated. broker xp bar is the name.
Report comment to moderator  
Reply With Quote
Unread 08-10-18, 07:31 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 1
Originally Posted by gmarco
Hi,

I surely look at that, but being in vacation and not having played the beta, I'll look at it after the beginning of the expansion.

(I just removed the artifact power from this last version
Thank you! I wish you a happy vacation!
Report comment to moderator  
Reply With Quote
Unread 08-10-18, 02:30 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 238
File comments: 189
Uploads: 37
Hi,

I surely look at that, but being in vacation and not having played the beta, I'll look at it after the beginning of the expansion.

(I just removed the artifact power from this last version
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 08-10-18 at 02:32 AM.
Report comment to moderator  
Reply With Quote
Unread 08-10-18, 02:09 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 1
Hello~!
Will there be any plans to add the Azerite power? Just like the power of the Artifact, Thanks!
Report comment to moderator  
Reply With Quote
Unread 04-23-17, 08:40 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 1
Originally Posted by gmarco
Originally Posted by BNS
Code:
        L["Right-Click"] 		= "右鍵-點擊"
        L["Left-Click"]         	= "左鍵-點擊"
        L["Middle-Click"]       	= "中鍵-點擊"
Hi,

are these the correct locale ?

Lua Code:
  1. if LOCALE == "zhTW" or LOCALE == "zh-CN" then
  2. -- chinese translations by BNS
  3.     L["Right-Click"]            = "右鍵-點擊"
  4.     L["Left-Click"]             = "左鍵-點擊"

Ciaoooo and thanks
zhTW & zhCN
Last edited by BNS : 04-23-17 at 08:41 AM.
Report comment to moderator  
Reply With Quote
Unread 04-23-17, 06:58 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 238
File comments: 189
Uploads: 37
Originally Posted by BNS
Code:
        L["Right-Click"] 		= "右鍵-點擊"
        L["Left-Click"]         	= "左鍵-點擊"
        L["Middle-Click"]       	= "中鍵-點擊"
Hi,

are these the correct locale ?

Lua Code:
  1. if LOCALE == "zhTW" or LOCALE == "zh-CN" then
  2. -- chinese translations by BNS
  3.     L["Right-Click"]            = "右鍵-點擊"
  4.     L["Left-Click"]             = "左鍵-點擊"

Ciaoooo and thanks
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 04-23-17, 03:38 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 1
Code:
        L["Right-Click"] 		= "右鍵-點擊"
        L["Left-Click"]         	= "左鍵-點擊"
        L["Middle-Click"]       	= "中鍵-點擊"
        
        L["Max content level"]    = "最大滿等級"
        L["Level"]                  	= "等級"
        L["Current XP"]             	= "目前經驗值"
        L["Remaining XP"]           = "剩餘經驗值"
        L["Level Progress %"]      = "等級進度 %"
        L["Remaining rested"]     = "剩餘休息獎勵"
        L["Artifact"]              	= "神兵"
        L["Rank"]                   	= "等級"
        L["Artifact Power"]            = "神兵之力"
        L["Power to next rank"]     = "神兵升級還剩"
        L["Power in excess in rank"]= "神兵之力過量"
        L["Progress in rank %"]      = "等級進度 %"
        L["Knownledge level"]       = "知識等級"
        L["Knownledge multiplier %"]= "知識乘數 %"
        
        L["Short Numbers"]           = "簡短數字"
        L["Long Numbers"]           = "完整數字"
Report comment to moderator  
Reply With Quote
Unread 04-23-17, 02:14 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 238
File comments: 189
Uploads: 37
Originally Posted by BNS
I finally know where the problem is, I follow the old version of the Chinese translation(My own previous translation), did not notice the code has changed, so will it be, thank you very much! If you are interested in translating into Chinese, I have been translated and ready to join.
I'll upload soon the new version with the locale support.
If you want to contribute in the meantime pls edit this (changing the italian translations :

Lua Code:
  1. L["Right-Click"]        = "Tasto-Destro"
  2.     L["Left-Click"]         = "Tasto-Sinistro"
  3.     L["Middle-Click"]       = "Tasto-Centrale"
  4.    
  5.     L["Max content level"]      = "Livello Massimo"
  6.     L["Level"]                  = "Livello"
  7.     L["Current XP"]             = "XP Attuale"
  8.     L["Remaining XP"]           = "XP Rimanente"
  9.     L["Level Progress %"]       = "Progresso Livello %"
  10.     L["Remaining rested"]       = "Bonux XP Rimanente"
  11.     L["Artifact"]               = "Artefatto"
  12.     L["Rank"]                   = "Rango"
  13.     L["Artifact Power"]         = "Potenza Artefatto"
  14.     L["Power to next rank"]     = "Potenza per prossimo rango"
  15.     L["Power in excess in rank"]= "Potenza in eccesso nel rango"
  16.     L["Progress in rank %"]     = "Progresso nel rango %"
  17.     L["Knownledge level"]       = "Livello Conoscenza"
  18.     L["Knownledge multiplier %"]= "Moltiplicatore Conoscenza %"
  19.    
  20.     L["Short Numbers"]          = "Numberi Abbreviati"
  21.     L["Long Numbers"]           = "Numeri Standard"

Thanks !!!
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 04-22-17, 10:11 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 1
I finally know where the problem is, I follow the old version of the Chinese translation(My own previous translation), did not notice the code has changed, so will it be, thank you very much! If you are interested in translating into Chinese, I have been translated and ready to join.
Report comment to moderator  
Reply With Quote
Unread 04-22-17, 07:59 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 238
File comments: 189
Uploads: 37
Hi,

This is not my last version.

As you can see you have 290000% while my addon will have printed something like:



with the "%" sign in the left part and not after the number (to not do something like 290K%).

Also for the "Progress in rank" you have the % in the wrong place

Try to update.
There is not any reason why it should not work in a non english client (as I said I tested on an italian client).

Please let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 04-22-17 at 08:01 AM.
Report comment to moderator  
Reply With Quote
Unread 04-22-17, 04:05 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 64
Uploads: 1
Originally Posted by gmarco
Originally Posted by BNS
I tried a lot of times, that is no effect, always show the full number.
if you change this in this way ... does it works ?

Lua Code:
  1. local number = function(v)
  2.  
  3.     -- if GMEXP_LONGNRFMT then return v end
  4.  
  5.     if v <= 9999 then return
  6.     elseif v >= 1000000 then return format("%.1fM", v/1000000)
  7.     elseif v >= 10000 then return format("%.1fK", v/1000)
  8.     end
  9.    
  10. end

In this way it forces the number to be shown only in short form.

Please let me know.

P.s.
Can you provide me a screenshot ?!
Do not work..., Still only show the full number, I have tried to translate the English interface into Chinese, so you will see Chinese.
https://1drv.ms/i/s!AjBpwkN7IiISgdkUNw8hCIjAL3l5Ig
Report comment to moderator  
Reply With Quote
Unread 04-22-17, 12:50 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 238
File comments: 189
Uploads: 37
Originally Posted by BNS
I tried a lot of times, that is no effect, always show the full number.
This is odd because I don't understand why it happens.

The long/short number is a so simple called to a function.
This only verify the long/short variable and then return the right numbers.

This is the original code in core.lua:

Lua Code:
  1. local number = function(v)
  2.  
  3.     if GMEXP_LONGNRFMT then return v end
  4.  
  5.     if v <= 9999 then return
  6.     elseif v >= 1000000 then return format("%.1fM", v/1000000)
  7.     elseif v >= 10000 then return format("%.1fK", v/1000)
  8.     end
  9.    
  10. end

if you change this in this way ... does it works ?

Lua Code:
  1. local number = function(v)
  2.  
  3.     -- if GMEXP_LONGNRFMT then return v end
  4.  
  5.     if v <= 9999 then return
  6.     elseif v >= 1000000 then return format("%.1fM", v/1000000)
  7.     elseif v >= 10000 then return format("%.1fK", v/1000)
  8.     end
  9.    
  10. end

In this way it forces the number to be shown only in short form.

Please let me know.

P.s.
Can you provide me a screenshot ?!
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: