Originally Posted by p3lim
Make sure you log out or /reload before copying the contents of the savedvariable file, the one you linked is almost empty.
|
I did, I only visited the required vendors for hunters. I did a /reload after each place to make sure data was saved.
EDIT: I think there's a bug in your collector, every reload it somehow clears the database for the current class...
lua Code:
if(#ExonumiaDB[playerClass] == 0) then
for _, tokenID in pairs(tokenIDs) do
ExonumiaDB[playerClass][tokenID] = ''
end
end
should probably be:
lua Code:
--if(#ExonumiaDB[playerClass] == 0) then
for _, tokenID in pairs(tokenIDs) do
ExonumiaDB[playerClass][tokenID] = ExonumiaDB[playerClass][tokenID] or ''
end
--end
You can not get the table length of a hash table right?