MMOMinion
Player.experience returning nil - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: I Need Help with LUA coding! (https://www.mmominion.com/forumdisplay.php?fid=104)
+---- Thread: Player.experience returning nil (/showthread.php?tid=23020)



Player.experience returning nil - Tuft - 10-19-2021

Howdy team - quick problem.
Writing an analytics engine for tracking progress over time, and the Player entity's experience table seems to be returning nil.

Any quick ideas - or perhaps a bug?

Code:
local P = Player
local e = P.experience
if(e ~= nil) then
  d(e.current)
else
 d('experience table not available')
end
I have the above on a pretty frequent event and it's only ever returning that it's not available.

Any ideas?