Trying out the guild tribute feature, and running into an issue. I do the /yalm tribute guild, and the toon navigates to the Personal Tribute master, not the Guild tribute Master I have targeted.
View attachment 58377
Some minor bug fixes: yalm>config>commands>Tribute.lua, line 63
if args[2] ~= "guild" and args[2] == "me" then (old)
if args[2] ~= "guild" and args[2]
~= "me" then (new, should be not equal to "me")
yalm>core>helpers.lua lines 118-128 ( I had to change or to and, then enclose the second and third conditions in a parenthesis)
[CODE lang="lua" highlight="3,4,9,10"]
if
tribute_master == "me"
and (mq.TLO.NearestSpawn('class "Tribute Master"').Class() == "Tribute Master"
or mq.TLO.Target.Class() == "Tribute Master")
then
return helpers.ready_npc_window("TributeMasterWnd", "Tribute Master", travel)
elseif
tribute_master == "guild"
and (mq.TLO.NearestSpawn('class "Guild Tribute Master"').Class() == "Guild Tribute Master"
or mq.TLO.Target.Class() == "Guild Tribute Master")
then
[/CODE]
was
[CODE lang="lua" highlight="3,4,9,10"]
if
tribute_master == "me"
or mq.TLO.NearestSpawn('class "Tribute Master"').Class() == "Tribute Master"
or mq.TLO.Target.Class() == "Tribute Master"
then
return helpers.ready_npc_window("TributeMasterWnd", "Tribute Master", travel)
elseif
tribute_master == "guild"
or mq.TLO.NearestSpawn('class "Guild Tribute Master"').Class() == "Guild Tribute Master"
or mq.TLO.Target.Class() == "Guild Tribute Master"
then
[/CODE]
There was some timing issues with the guild tribute running too fast, so it would skip items, but I am troubleshooting that. I reached the favor cap, so I will keep testing later on. There also seemed to be an issue with items being added to either the all or me list, still trying to verify this issue.
If I did /yalm setitem Tribute me - the YALM.lua was not updated (I am not sure where the character items are stored, if anywhere?)
If I ran the command /yalm setitem Tribute all, the item would appear in the config/YALM.lua file as I expected.