It seems to be working in all other zones and worked prior to the patch. Here's the message from gatherer...
ERROR: Interface\AddOns\Gatherer\Gatherer.lua:1321: attempt to index a local 'r' (a nil value)
~Gifted
Gatherer AddOn Busted in Winterspring
Re: Gatherer AddOn Busted in Winterspring
Sorry, I'm helping with testing the new patch, so most players will be unaffected by this bug. I've posted on the Turtle WoW discord under 'patch qa'.
~Gifted
~Gifted
Re: Gatherer AddOn Busted in Winterspring
I had a similar error in line 1401.
Solved the problem by adding a check for nil.
Here is the code and the fix
function Gatherer_AbsCoord(continent, zone, x, y)
if ((continent == 0) or (zone == 0)) then return x, y; end
local r = GatherRegionData[continent][zone];
if (r == nil) then return 0,0; end -- fix
local absX = x * r.scale + r.xoffset;
local absY = y * r.scale + r.yoffset;
return absX, absY;
end
Solved the problem by adding a check for nil.
Here is the code and the fix
function Gatherer_AbsCoord(continent, zone, x, y)
if ((continent == 0) or (zone == 0)) then return x, y; end
local r = GatherRegionData[continent][zone];
if (r == nil) then return 0,0; end -- fix
local absX = x * r.scale + r.xoffset;
local absY = y * r.scale + r.yoffset;
return absX, absY;
end
Re: Gatherer AddOn Busted in Winterspring
Hey folks,
I made a TurtleWoW specific Gatherer with the fix, find it here:
https://github.com/caniko/TurtleWoW-Gatherer
Kind regards
I made a TurtleWoW specific Gatherer with the fix, find it here:
https://github.com/caniko/TurtleWoW-Gatherer
Kind regards
Re: Gatherer AddOn Busted in Winterspring
Man amazing thanksCaniko wrote: ↑Sat Aug 06, 2022 1:30 pmHey folks,
I made a TurtleWoW specific Gatherer with the fix, find it here:
https://github.com/caniko/TurtleWoW-Gatherer
Kind regards


