Go to Page... |
Compatibility: | Embers of Neltharion (10.1.0) |
Updated: | 05-09-23 01:02 AM |
Created: | 07-09-16 05:41 AM |
Downloads: | 4,791 |
Favorites: | 5 |
MD5: |
gmDurability
A minimal LDB plugin that displays durability, sells your junks (grey items) and auto-repairs (with guild funds or not).
It shows in a broker display compatible the lowest durability and in its tooltip all the equipment durabilities.
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....html#comments
providing the following entries:
L["Right-Click"] = "" L["Left-Click"] = "" L["Middle-Click"] = "" L["%s: selling %s %s for %s"] = "" L["repair with guild funds"] = "" L["repair"] = "" L["no repair, need more money"] = "" L["Total %.1f - Equipped %.1f"] = "" L["Auto repair"] = "" L["Auto sell junk"] = "" L["Toggle auto repair"] = "" L["Toggle use of guild funds"] = "" L["Toggle auto sell"] = "" L["below"] = "" L["above"] = "" L["average equipped"] = ""
L["Shift"] = "Maiuscola" L["Right-Click"] = "Tasto-Destro" L["Left-Click"] = "Tasto-Sinistro" L["Middle-Click"] = "Tasto-Centrale" L["%s: selling %s %s for %s"] = "%s: vendita %s %s per %s" L["repair with guild funds"] = "riparazione con fondi di gilda" ... etc etc
File Name |
Version |
Size |
Author |
Date |
1000-2022111701 |
27kB |
gmarco |
11-16-22 11:43 PM |
|
1000-2022110601 |
26kB |
gmarco |
11-06-22 01:58 AM |
|
915-2021110401 |
26kB |
gmarco |
11-04-21 12:40 AM |
|
915-2021110301 |
26kB |
gmarco |
11-03-21 02:27 PM |
![]() |
Comment Options |
Wizardling |
View Public Profile |
Send a private message to Wizardling |
Find More Posts by Wizardling |
Add Wizardling to Your Buddy List |
gmarco |
View Public Profile |
Send a private message to gmarco |
Find More Posts by gmarco |
Add gmarco to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
From the bugsack
Code:
2x gmDurability\core.lua:322: attempt to compare nil with number [string "@gmDurability\core.lua"]:322: in function <gmDurability\core.lua:266> [string "@gmDurability\core.lua"]:374: in function `OnEnter' [string "@Bazooka\Bazooka-v2.9.6.lua"]:1583: in function `showTip' [string "@Bazooka\Bazooka-v2.9.6.lua"]:1388: in function <Bazooka\Bazooka.lua:1379> Locals: self = BazookaPlugin_gmDurability { 0 = <userdata> tooltip = <unnamed> { } bzkPlugin = <table> { } } row = 4 col = 2 tooltip = <unnamed> { 0 = <userdata> lines = <table> { } OnRelease = <function> defined @gmDurability\core.lua:254 OnLeave = <function> defined @gmDurability\core.lua:259 headerFont = GameTooltipHeaderText { } autoHideTimerFrame = <unnamed> { } backdropInfo = <table> { } TopRightCorner = <unnamed> { } TopLeftCorner = <unnamed> { } RightEdge = <unnamed> { } scrollFrame = <unnamed> { } BottomLeftCorner = <unnamed> { } height = 26 columns = <table> { } cell_margin_v = 3 TopEdge = <unnamed> { } BottomEdge = <unnamed> { } regularFont = GameTooltipText { } width = 12 cell_margin_h = 6 colspans = <table> { } labelProvider = <table> { } key = "gmDurabilitytip" BottomRightCorner = <unnamed> { } scrollChild = <unnamed> { } LeftEdge = <unnamed> { } Center = <unnamed> { } } (for index) = 1 (for limit) = 16 (for step) = 1 idx = 1 tempdurability = 1 (*temporary) = nil (*temporary) = 63.500000 (*temporary) = 2 (*temporary) = 63.500000 (*temporary) = 63.500000 (*temporary) = 63.784843 (*temporary) = 63.784843 (*temporary) = false (*temporary) = nil (*temporary) = 3 (*temporary) = "attempt to compare nil with number" arg = <table> { } LibQTip = <table> { activeTooltips = <table> { } LabelPrototype = <table> { } tooltipHeap = <table> { } cellPrototype = <table> { } tableHeap = <table> { } providerMetatable = <table> { } timerHeap = <table> { } providerPrototype = <table> { } onReleaseHandlers = <table> { } LabelProvider = <table> { } tipMetatable = <table> { } frameHeap = <table> { } IterateTooltips = <function> defined @Rematch_TSMPetValues\Libs\LibQTip-1.0\LibQTip-1.0.lua:167 CreateCellProvider = <function> defined @Rematch_TSMPetValues\Libs\LibQTip-1.0\LibQTip-1.0.lua:284 layoutCleaner = <unnamed> { } tipPrototype = <table> { } IsAcquired = <function> defined @Rematch_TSMPetValues\Libs\LibQTip-1.0\LibQTip-1.0.lua:159 Release = <function> defined @Rematch_TSMPetValues\Libs\LibQTip-1.0\LibQTip-1.0.lua:148 Acquire = <function> defined @Rematch_TSMPetValues\Libs\LibQTip-1.0\LibQTip-1.0.lua:123 cellMetatable = <table> { } frameMetatable = <table> { } } ADDON = "gmDurability" OnRelease = <function> defined @gmDurability\core.lua:254 OnLeave = <function> defined @gmDurability\core.lua:259 string_format = <function> defined =[C]:-1 L = <table> { Total %.1f - Equipped %.1f = "Total %.1f - Equipped %.1f" } milv = nil oilv = nil ailv = nil slots = <table> { 1 = "HeadSlot" 2 = "NeckSlot" 3 = "ShoulderSlot" 4 = "BackSlot" 5 = "ChestSlot" 6 = "WristSlot" 7 = "HandsSlot" 8 = "WaistSlot" 9 = "LegsSlot" 10 = "FeetSlot" 11 = "Finger0Slot" 12 = "Finger1Slot" 13 = "Trinket0Slot" 14 = "Trinket1Slot" 15 = "MainHandSlot" 16 = "SecondaryHandSlot" } colorperc = <function> defined @gmDurability\core.lua:82 durabilities = <table> { 1 = "100" 2 = "100" 3 = "100" 4 = "100" 5 = "100" 6 = "100" 7 = "100" 8 = "100" 9 = "100" 10 = "100" 11 = "100" 12 = "100" 13 = "100" 14 = "100" 15 = "100" 16 = "100" } GetDetailedItemLevel = nil format_color = "|cff%02x%02x%02x%s" unescape = <function> defined @gmDurability\core.lua:31 text_color = <table> { 1 = <table> { } 2 = <table> { } 3 = <table> { } 4 = <table> { } 5 = <table> { } } Button_OnClick = <function> defined @gmDurability\core.lua:223 YesNo = <function> defined @gmDurability\core.lua:94 LeftButton = " |TTUTORIALFRAME\UI-TUTORIAL-FRAME:13:11:0:-1:512:512:12:66:230:307|t " |
![]() |
![]() |
markinat0r |
View Public Profile |
Send a private message to markinat0r |
Find More Posts by markinat0r |
Add markinat0r to Your Buddy List |
![]() |
|||
|
Thanks so much, I'll change the code to reflect this in the next update ![]() Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. |
||
![]() |
![]() |
gmarco |
View Public Profile |
Send a private message to gmarco |
Find More Posts by gmarco |
Add gmarco to Your Buddy List |
![]() |
||
|
Re: French translation
Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. |
|
![]() |
![]() |
gmarco |
View Public Profile |
Send a private message to gmarco |
Find More Posts by gmarco |
Add gmarco to Your Buddy List |
![]() |
|
A Kobold Labourer
Forum posts: 0
File comments: 1
Uploads: 0
|
French translation
Please add these code lines for the French translation:
if LOCALE == "frFR" then -- French translations by Xandoria ![]() L["Shift"] = "Majuscule" L["Right-Click"] = "Clic-droit" L["Left-Click"] = "Clic-gauche" L["Middle-Click"] = "Clic-bouton-central" L["%s: selling %s %s for %s"] = "%s: vendu %s %s pour %s" L["repair with guild funds"] = "réparation avec les fonds de la guilde" L["repair"] = "réparation" L["no repair, need more money"] = "pas de réparation, fonds insuffisants" L["Total %.1f - Equipped %.1f"] = "Total %.1f - Equipé %.1f" L["Auto repair"] = "Réparation automatique" L["Use guild funds"] = "Utiliser les fonds de la guilde" L["Auto sell junk"] = "Vente automatique des objets gris" L["Toggle auto repair"] = "Modifier la réparation automatique" L["Toggle use of guild funds"] = "Modifier l'utilisation des fonds de la guilde" L["Toggle auto sell"] = "Modifier la vente automatique" L["below"] = "inférieur" L["above"] = "supérieur" L["average equipped"] = "au niveau moyen d'équipement" L["Durability"] = "Durabilité'" L["DataBroker"] = "Data Broker" return end |
![]() |
![]() |
Xandoria |
View Public Profile |
Send a private message to Xandoria |
Find More Posts by Xandoria |
Add Xandoria to Your Buddy List |
![]() |
||
|
|
|
![]() |
![]() |
myrroddin |
View Public Profile |
Send a private message to myrroddin |
Visit myrroddin's homepage! |
Find More Posts by myrroddin |
Add myrroddin to Your Buddy List |
![]() |
|
|
Thanks for your inputs.
I have changed the localization files and addon accordingly . Really thanks again. Much appreciated.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. |
![]() |
![]() |
gmarco |
View Public Profile |
Send a private message to gmarco |
Visit gmarco's homepage! |
Find More Posts by gmarco |
Add gmarco to Your Buddy List |
![]() |
|
|
Some of your translations are not necessary, and are already translated via the global strings. As examples: "Yes" and "No" are YES and NO, which the game will localize for you. Same with "Item Level" is the global string ITEM_UPGRADE_STAT_AVERAGE_ITEM_LEVEL. This will save you quite a lot of work.
|
![]() |
![]() |
myrroddin |
View Public Profile |
Send a private message to myrroddin |
Visit myrroddin's homepage! |
Find More Posts by myrroddin |
Add myrroddin to Your Buddy List |
![]() |
||
|
[quote=gmarco]
|
|
![]() |
![]() |
BNS |
View Public Profile |
Send a private message to BNS |
Visit BNS's homepage! |
Find More Posts by BNS |
Add BNS to Your Buddy List |
![]() |
||
|
Hi, first if all thanks for the translations. Am I wrong or they seems equals to me ![]() Something like: Lua Code:
or I have to put them in 2 distinct sections ? Really thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 05-18-17 at 12:58 PM.
|
|
![]() |
![]() |
gmarco |
View Public Profile |
Send a private message to gmarco |
Visit gmarco's homepage! |
Find More Posts by gmarco |
Add gmarco to Your Buddy List |
![]() |
|
|
zhTW:
L["Shift"] = "Shift" L["Right-Click"] = "右鍵" L["Left-Click"] = "左鍵" L["Middle-Click"] = "中鍵" L["YES"] = "是" L["NO"] = "不" L["%s: selling %s %s for %s"] = "%s:出售%s %s 獲得%s" L["repair with guild funds"] = "修理使用公會資金" L["repair"] = "修理" L["no repair, need more money"] = "沒有修理,需要更多金錢" L["Item Level: Total %.1f - Equipped %.1f"] = "物品等級:總計 %.1f - 已裝備 %.1f" L["Auto repair"] = "自動修理" L["Use guild funds"] = "使用公會資金" L["Auto sell junk"] = "自動出售垃圾" L["Toggle auto repair"] = "切換自動修理" L["Toggle use of guild funds"] = "切換使用公會資金" L["Toggle auto sell"] = "切換自動出售" L["ItemLevel"] = "物品等級" L["below"] = "以下" L["above"] = "以上" L["average equipped"] = "平均已裝備" L["Durability"] = "耐久度" zhCN: L["Shift"] = "Shift" L["Right-Click"] = "右键" L["Left-Click"] = "左键" L["Middle-Click"] = "中键" L["YES"] = "是" L["NO"] = "不" L["%s: selling %s %s for %s"] = "%s:出售%s %s 获得%s" L["repair with guild funds"] = "修理使用公会资金" L["repair"] = "修理" L["no repair, need more money"] = "没有修理,需要更多金钱" L["Item Level: Total %.1f - Equipped %.1f"] = "物品等级:总计 %.1f - 已装备 %.1f" L["Auto repair"] = "自动修理" L["Use guild funds"] = "使用公会资金" L["Auto sell junk"] = "自动出售垃圾" L["Toggle auto repair"] = "切换自动修理" L["Toggle use of guild funds"] = "切换使用公会资金" L["Toggle auto sell"] = "切换自动出售" L["ItemLevel"] = "物品等级" L["below"] = "以下" L["above"] = "以上" L["average equipped"] = "平均已装备" L["Durability"] = "耐久度" |
![]() |
![]() |
BNS |
View Public Profile |
Send a private message to BNS |
Visit BNS's homepage! |
Find More Posts by BNS |
Add BNS to Your Buddy List |
![]() |
||
|
I have committed a new version implementing this. Thanks again.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot. |
|
![]() |
![]() |
gmarco |
View Public Profile |
Send a private message to gmarco |
Visit gmarco's homepage! |
Find More Posts by gmarco |
Add gmarco to Your Buddy List |
![]() |
|
A Wyrmkin Dreamwalker
Forum posts: 50
File comments: 93
Uploads: 0
|
Do you think you could change the modifiers that turn of auto repair, guild repair and sell junk to require a shift plus a click? I have accidentally clicked these so many times it would be great.
line 126-129 would just be changed like this to do the actual code Code:
if button == "LeftButton" and IsShiftKeyDown() then GMDURABILITY["AUTOREPAIR"] = not GMDURABILITY["AUTOREPAIR"] elseif button == "MiddleButton" and IsShiftKeyDown() then GMDURABILITY["GUILDREPAIR"] = not GMDURABILITY["GUILDREPAIR"] elseif button == "RightButton" and IsShiftKeyDown() then GMDURABILITY["AUTOSELL"] = not GMDURABILITY["AUTOSELL"] end
Last edited by ceylina : 05-16-17 at 09:27 PM.
|
![]() |
![]() |
ceylina |
View Public Profile |
Send a private message to ceylina |
Visit ceylina's homepage! |
Find More Posts by ceylina |
Add ceylina to Your Buddy List |
![]() |