This addon work mostly of time fine. only error I so far got when rolling on items comes to pass, havent copied code yet as dint went here yet to check if was even planned.
if I find errors and can copy whem ill post them, but wont be playing in group anymore untill later today.
Those changes fixed the lua errors caused by clicking options in the config menu. As far as I can tell, the addon is now fully functional.
I don't know if you wish to update the formal addon on the curse page, but if you do with those two alterations, you could also mark it as working for classic. I am going to share the fixed version with my guildmates. I will not post an updated version to the public without your permission. it's also worth noting that I know nothing about coding.
Those changes fixed the lua errors caused by clicking options in the config menu. As far as I can tell, the addon is now fully functional.
I don't know if you wish to update the formal addon on the curse page, but if you do with those two alterations, you could also mark it as working for classic. I am going to share the fixed version with my guildmates. I will not post an updated version to the public without your permission. it's also worth noting that I know nothing about coding.
You can share it. I was going to push an update, then I found my configuration for pushing updates is broken or out of date, and there's zero documentation for it on curseforge and I couldn't be assed.
Found another error. In dungeons after looting, the Roll window doesn't disappear.
"
292x XLoot\helpers.lua:111: bad argument #2 to 'string_format' (string expected, got nil) [C]: ? XLoot\helpers.lua:111: in function <XLoot\helpers.lua:90> XLoot_Group\Group-Group.lua:640: in function <XLoot_Group\Group.lua:635> XLoot_Group\Group-Group.lua:720: in function <XLoot_Group\Group.lua:669> XLoot_Group\Group-Group.lua:840: in function `OnEnter' XLoot_Group\Group-Group.lua:450: in function `?' XLoot\XLoot-8.1-1.lua:39: in function <XLoot\XLoot.lua:37>
Xuerian told me how to fix this and I modified the .lua per their instructions. I then made them publicly available via google docs. Just download and manually install the mod from this link as usual
This addon work mostly of time fine. only error I so far got when rolling on items comes to pass, havent copied code yet as dint went here yet to check if was even planned.
if I find errors and can copy whem ill post them, but wont be playing in group anymore untill later today.
Those changes fixed the lua errors caused by clicking options in the config menu. As far as I can tell, the addon is now fully functional.
I don't know if you wish to update the formal addon on the curse page, but if you do with those two alterations, you could also mark it as working for classic. I am going to share the fixed version with my guildmates. I will not post an updated version to the public without your permission. it's also worth noting that I know nothing about coding.
Those changes fixed the lua errors caused by clicking options in the config menu. As far as I can tell, the addon is now fully functional.
I don't know if you wish to update the formal addon on the curse page, but if you do with those two alterations, you could also mark it as working for classic. I am going to share the fixed version with my guildmates. I will not post an updated version to the public without your permission. it's also worth noting that I know nothing about coding.
You can share it. I was going to push an update, then I found my configuration for pushing updates is broken or out of date, and there's zero documentation for it on curseforge and I couldn't be assed.
I hope you will update it some day for WOW Classic, Xloot was one of my favorite QOL Addons in the past. <3
i get this error in classic wow, and the Blue rolls do not disappear after the dice.
green rols are ok
271x XLoot\helpers.lua:111: bad argument #2 to 'string_format' (string expected, got nil) [C]: ? XLoot\helpers.lua:111: in function <XLoot\helpers.lua:90> XLoot_Group\Group-Gruppe.lua:640: in function <XLoot_Group\Group.lua:635> XLoot_Group\Group-Gruppe.lua:720: in function <XLoot_Group\Group.lua:669> XLoot_Group\Group-Gruppe.lua:759: in function <XLoot_Group\Group.lua:756>
There is a problem with the integration of the Pawn addon into XLoot.
It doesn't show an upgrade for items with random stats on them. The reason is, that an ItemId doesn't contain informations about the random values, but an ItemLink does. The called function PawnIsItemIDAnUpgrade(id) searches for a link to this item in the cache, but if you didn't loot the Item yet, there is no information in the cache. Therefore, it never shows it as an upgrade.
There is a workaround for this problem: Pawn has two functions (which are called by PawnIsItemIDAnUpgrade(id) after searching the cache) PawnGetItemData(link) and PawnIsItemAnUpgrade(Item). In helpers.lua, the function XLoot.IsItemUpgrade(link) kinda destroys the item link, by reading out its id before calling PawnIsItemIDAnUpgrade(id). So the easy fix will be, to just call PawnGetItemData(link) and PawnIsItemAnUpgrade(Item).
This is reached by replacing the lines
local id = string.match(link, "item:(%d+)")
if PawnIsItemIDAnUpgrade and id and PawnIsItemIDAnUpgrade(id) then
by
local Item = PawnGetItemData(link)
if PawnIsItemAnUpgrade and Item and PawnIsItemAnUpgrade(Item) then
Unfortunately not. When I tried first, it gave lua error at start, I didn't save it, as many addons did the same, I just turned it off. Now I tried again, and at start I didn't get lua error, but when I looting something:
(version info:)
## Interface: 80200 ## Title: XLoot ## Notes: Core module for Loot and Looting-related UI improvements ## Version: 8.2-1
Message: Interface\AddOns\XLoot\skins.lua:192: attempt to call method 'SetBackdrop' (a nil value)
Time: Fri Aug 28 10:44:08 2020
Count: 1
Stack: Interface\AddOns\XLoot\skins.lua:192: attempt to call method 'SetBackdrop' (a nil value)
[string "@Interface\AddOns\XLoot\skins.lua"]:192: in function `Backdrop'
[string "@Interface\AddOns\XLoot\skins.lua"]:204: in function `Skin'
[string "@Interface\AddOns\XLoot\skins.lua"]:347: in function `Skin'
[string "@Interface\AddOns\XLoot_Frame\Frame.lua"]:1017: in function `BuildLootFrame'
[string "@Interface\AddOns\XLoot_Frame\Frame.lua"]:1129: in function `Update'
[string "@Interface\AddOns\XLoot_Frame\Frame.lua"]:1300: in function `?'
[string "@Interface\AddOns\XLoot\XLoot.lua"]:39: in function <Interface\AddOns\XLoot\XLoot.lua:37>
Locals: self = <table> {
current = <table> {
}
Highlight = <function> defined @Interface\AddOns\XLoot\skins.lua:253
UpdateSkin = <function> defined @Interface\AddOns\XLoot\skins.lua:222
SkinRaw = <function> defined @Interface\AddOns\XLoot\skins.lua:218
Backdrop = <function> defined @Interface\AddOns\XLoot\skins.lua:191
masque_tweaks = <table> {
}
Skin = <function> defined @Interface\AddOns\XLoot\skins.lua:198
skins = <table> {
}
Gradient = <function> defined @Interface\AddOns\XLoot\skins.lua:180
base = <table> {
}
UpdateHighlight = <function> defined @Interface\AddOns\XLoot\skins.lua:269
}
frame = <unnamed> {
0 = <userdata>
_skin_options = <table> {
}
}
opt_backdrop = nil
(*temporary) = nil
(*temporary) = <unnamed> {
0 = <userdata>
_skin_options = <table> {
}
}
(*temporary) = <table> {
insets = <table> {
}
bgFile = "Interface\ChatFrame\ChatFrameBackground"
tileSize = 16
tile = true
}
(*temporary) = "attempt to call method 'SetBackdrop' (a nil value)"
backdrop = <table> {
insets = <table> {
}
bgFile = "Interface\ChatFrame\ChatFrameBackground"
tileSize = 16
tile = true
}
bd_color = <table> {
1 = 0
2 = 0
3 = 0
4 = 0.900000
}
Unfortunately not. When I tried first, it gave lua error at start, I didn't save it, as many addons did the same, I just turned it off. Now I tried again, and at start I didn't get lua error, but when I looting something:
I don't think it's going to be practical for me to fix this ahead of time, unless I can access it without a sub.
It's a simple change in concept but will potentially require a bunch of small changes that I can't remember since I really haven't touched the mod in a long time.
You might be able to get some of it working with
skins.lua:192 at the top of lib:backdrop() insert new lines:
skins.lua:192 at the top of lib:backdrop() insert new lines:
if BackdropTemplateMixin then
Mixin(frame, BackdropTemplateMixin)
end
You can access the PTR now without sub. They have the Shadowlands pre-patch on it, which I guess the same environment like the beta\next expansion. I guess they will patch this up to live in a month, so probably is up there for a few weeks.
I've tried to inject this code, but got more lua errors
Message: Interface\SharedXML\Mixin.lua:29: attempt to index local 'object' (a nil value)
Time: Sat Aug 29 09:49:15 2020
Count: 1
Stack: Interface\SharedXML\Mixin.lua:29: attempt to index local 'object' (a nil value)
[string "@Interface\SharedXML\Mixin.lua"]:29: in function `Mixin'
[string "@Interface\AddOns\XLoot\skins.lua"]:193: in main chunk
Locals: object = nil
(for index) = 1
(for limit) = 1
(for step) = 1
i = 1
mixin = <table> {
SetBorderBlendMode = <function> defined @Interface\SharedXML\Backdrop.lua:319
GetEdgeSize = <function> defined @Interface\SharedXML\Backdrop.lua:241
SetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:475
GetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:462
ApplyBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:347
OnBackdropLoaded = <function> defined @Interface\SharedXML\Backdrop.lua:205
ClearBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:335
GetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:400
GetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:443
SetupTextureCoordinates = <function> defined @Interface\SharedXML\Backdrop.lua:267
OnBackdropSizeChanged = <function> defined @Interface\SharedXML\Backdrop.lua:235
HasBackdropInfo = <function> defined @Interface\SharedXML\Backdrop.lua:331
SetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:452
SetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:382
SetupPieceVisuals = <function> defined @Interface\SharedXML\Backdrop.lua:299
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
SetBorderBlendMode = <function> defined @Interface\SharedXML\Backdrop.lua:319
GetEdgeSize = <function> defined @Interface\SharedXML\Backdrop.lua:241
SetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:475
GetBackdropBorderColor = <function> defined @Interface\SharedXML\Backdrop.lua:462
ApplyBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:347
OnBackdropLoaded = <function> defined @Interface\SharedXML\Backdrop.lua:205
ClearBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:335
GetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:400
GetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:443
SetupTextureCoordinates = <function> defined @Interface\SharedXML\Backdrop.lua:267
OnBackdropSizeChanged = <function> defined @Interface\SharedXML\Backdrop.lua:235
HasBackdropInfo = <function> defined @Interface\SharedXML\Backdrop.lua:331
SetBackdropColor = <function> defined @Interface\SharedXML\Backdrop.lua:452
SetBackdrop = <function> defined @Interface\SharedXML\Backdrop.lua:382
SetupPieceVisuals = <function> defined @Interface\SharedXML\Backdrop.lua:299
}
(for control) = "SetBorderBlendMode"
k = "SetBorderBlendMode"
v = <function> defined @Interface\SharedXML\Backdrop.lua:319
(*temporary) = "SetBorderBlendMode"
(*temporary) = "attempt to index local 'object' (a nil value)"
and
Message: Interface\AddOns\XLoot\XLoot.lua:128: attempt to call method 'SkinsOnInitialize' (a nil value)
Time: Sat Aug 29 09:49:15 2020
Count: 1
Stack: Interface\AddOns\XLoot\XLoot.lua:128: attempt to call method 'SkinsOnInitialize' (a nil value)
[string "@Interface\AddOns\XLoot\XLoot.lua"]:128: in function <Interface\AddOns\XLoot\XLoot.lua:120>
[string "=[C]"]: ?
[string "@Interface\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <...ce\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Interface\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:498: in function `InitializeAddon'
[string "@Interface\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:613: in function <...ce\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua:605>
Locals: <none>
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Try this:
XLoot_Frame\Frame.lua:243
Replace
With
And in XLoot\helpers.lua:99
Replace
with
Those changes fixed the lua errors caused by clicking options in the config menu. As far as I can tell, the addon is now fully functional.
I don't know if you wish to update the formal addon on the curse page, but if you do with those two alterations, you could also mark it as working for classic. I am going to share the fixed version with my guildmates. I will not post an updated version to the public without your permission. it's also worth noting that I know nothing about coding.
You can share it. I was going to push an update, then I found my configuration for pushing updates is broken or out of date, and there's zero documentation for it on curseforge and I couldn't be assed.
Found another error. In dungeons after looting, the Roll window doesn't disappear.
"
292x XLoot\helpers.lua:111: bad argument #2 to 'string_format' (string expected, got nil)
[C]: ?
XLoot\helpers.lua:111: in function <XLoot\helpers.lua:90>
XLoot_Group\Group-Group.lua:640: in function <XLoot_Group\Group.lua:635>
XLoot_Group\Group-Group.lua:720: in function <XLoot_Group\Group.lua:669>
XLoot_Group\Group-Group.lua:840: in function `OnEnter'
XLoot_Group\Group-Group.lua:450: in function `?'
XLoot\XLoot-8.1-1.lua:39: in function <XLoot\XLoot.lua:37>
Locals:
(*temporary) = "|TLFGFRAME\LFGROLE:12:12:-1:0:64:16:%s:0:16|t%s"
(*temporary) = nil
(*temporary) = "Portomatic"
(*temporary) = "string expected, got nil""
I've just been reloading the uI and moving on.
works for me now !!
my only problem is: i can't move the tab when rolling for an item. its stuck and I get errors. any fix for that? :)
thx
In reply to Forge_User_33000768:
Xuerian told me how to fix this and I modified the .lua per their instructions. I then made them publicly available via google docs. Just download and manually install the mod from this link as usual
https://drive.google.com/open?id=1tQlXzRd4zuAGdcH65pK2k2O_QdbOeG75
you are my hero :D thanks a lot !! <3
Don't thank me, It's still Xuerian's fix, and his permission for me to share it.
<3
I tried the Version horologue shared and still getting a lua error:
Thanks for Sharing!
I hope you will update it some day for WOW Classic, Xloot was one of my favorite QOL Addons in the past. <3
i get this error in classic wow, and the Blue rolls do not disappear after the dice.
green rols are ok
271x XLoot\helpers.lua:111: bad argument #2 to 'string_format' (string expected, got nil)
[C]: ?
XLoot\helpers.lua:111: in function <XLoot\helpers.lua:90>
XLoot_Group\Group-Gruppe.lua:640: in function <XLoot_Group\Group.lua:635>
XLoot_Group\Group-Gruppe.lua:720: in function <XLoot_Group\Group.lua:669>
XLoot_Group\Group-Gruppe.lua:759: in function <XLoot_Group\Group.lua:756>
Locals:
(*temporary) = "|TLFGFRAME\LFGROLE:12:12:-1:0:64:16:%s:0:16|t%s"
(*temporary) = nil
(*temporary) = "Schibeleköks"
(*temporary) = "string expected, got nil"
Hi!
I'm a new user of Xloot, How can I change the language? Many thanks!
There is a problem with the integration of the Pawn addon into XLoot.
It doesn't show an upgrade for items with random stats on them. The reason is, that an ItemId doesn't contain informations about the random values, but an ItemLink does. The called function PawnIsItemIDAnUpgrade(id) searches for a link to this item in the cache, but if you didn't loot the Item yet, there is no information in the cache. Therefore, it never shows it as an upgrade.
There is a workaround for this problem: Pawn has two functions (which are called by PawnIsItemIDAnUpgrade(id) after searching the cache) PawnGetItemData(link) and PawnIsItemAnUpgrade(Item). In helpers.lua, the function XLoot.IsItemUpgrade(link) kinda destroys the item link, by reading out its id before calling PawnIsItemIDAnUpgrade(id). So the easy fix will be, to just call PawnGetItemData(link) and PawnIsItemAnUpgrade(Item).
This is reached by replacing the lines
by
Is there any way to make auto looting work with items with a comma in them?
For example "Gar'tok, Strength of the Faithful" is being read by the addon as "Gar'tok" and "Strength of the Faithful" and thus not being auto looted.
Hi @xuerian, any chance for Shadowlands beta\PTR version?
Please :)
cheers
Does it not work with it?
Unfortunately not. When I tried first, it gave lua error at start, I didn't save it, as many addons did the same, I just turned it off. Now I tried again, and at start I didn't get lua error, but when I looting something:
(version info:)
## Interface: 80200
## Title: XLoot
## Notes: Core module for Loot and Looting-related UI improvements
## Version: 8.2-1
I don't think it's going to be practical for me to fix this ahead of time, unless I can access it without a sub.
It's a simple change in concept but will potentially require a bunch of small changes that I can't remember since I really haven't touched the mod in a long time.
You might be able to get some of it working with
skins.lua:192 at the top of lib:backdrop() insert new lines:
if BackdropTemplateMixin then
Mixin(frame, BackdropTemplateMixin)
end
You can access the PTR now without sub. They have the Shadowlands pre-patch on it, which I guess the same environment like the beta\next expansion. I guess they will patch this up to live in a month, so probably is up there for a few weeks.
I've tried to inject this code, but got more lua errors
and