Open valelp opened 4 years ago
Message: ...nterface\AddOns\PetTracker\addons\journal\record.lua:74: attempt to perform arithmetic on local 'date' (a string value) Time: Sat Mar 21 00:09:40 2020 Count: 1 Stack: ...nterface\AddOns\PetTracker\addons\journal\record.lua:74: attempt to perform arithmetic on local 'date' (a string value)
[string "@interface\AddOns\PetTracker\addons\journal\record.lua"]:74: in function
UnpackDate' [string "@Interface\AddOns\PetTracker\addons\journal\record.lua"]:58: in function
Unpack' [string "@interface\AddOns\PetTracker\addons\journal\record.lua"]:28: in functionDisplay' [string "@Interface\AddOns\PetTracker\addons\journal\rivals.lua"]:265: in function
Display' [string "@interface\AddOns\PetTracker\addons\journal\rivals.lua"]:187: in functionUpdate' [string "@Interface\AddOns\PetTracker\addons\journal\rivals.lua"]:125: in function
SetTab'Locals:
Hello!
I found problem in code and solve it like this:
1) go to ..\Interface\AddOns\PetTracker\addons\journal\
2) open record.lua in notepad and find 74 line
3) change floor(date / 31 / 12) + 2014
to floor(tonumber(date, 16) / 31 / 12) + 2014
4) save file
5) enjoy ;)
Message: ...nterface\AddOns\PetTracker\addons\journal\record.lua:74: attempt to perform arithmetic on local 'date' (a string value) Time: Sat Mar 21 00:09:40 2020 Count: 1 Stack: ...nterface\AddOns\PetTracker\addons\journal\record.lua:74: attempt to perform arithmetic on local 'date' (a string value)
[string "@interface\AddOns\PetTracker\addons\journal\record.lua"]:74: in function
UnpackDate' [string "@Interface\AddOns\PetTracker\addons\journal\record.lua"]:58: in function
Unpack' [string "@interface\AddOns\PetTracker\addons\journal\record.lua"]:28: in functionDisplay' [string "@Interface\AddOns\PetTracker\addons\journal\rivals.lua"]:265: in function
Display' [string "@interface\AddOns\PetTracker\addons\journal\rivals.lua"]:187: in functionUpdate' [string "@Interface\AddOns\PetTracker\addons\journal\rivals.lua"]:125: in function
SetTab'Locals:
Hello! I found problem in code and solve it like this:
1. go to ..\Interface\AddOns\PetTracker\addons\journal\ 2. open record.lua in notepad and find 74 line 3. change `floor(date / 31 / 12) + 2014` to `floor(tonumber(date, 16) / 31 / 12) + 2014` 4. save file 5. enjoy ;)
Ty so much!
Message: ...nterface\AddOns\PetTracker\addons\journal\record.lua:74: attempt to perform arithmetic on local 'date' (a string value) Time: Sat Mar 21 00:09:40 2020 Count: 1 Stack: ...nterface\AddOns\PetTracker\addons\journal\record.lua:74: attempt to perform arithmetic on local 'date' (a string value)
[string "@Interface\AddOns\PetTracker\addons\journal\record.lua"]:74: in function
UnpackDate' [string "@Interface\AddOns\PetTracker\addons\journal\record.lua"]:58: in function
Unpack' [string "@Interface\AddOns\PetTracker\addons\journal\record.lua"]:28: in functionDisplay' [string "@Interface\AddOns\PetTracker\addons\journal\rivals.lua"]:265: in function
Display' [string "@Interface\AddOns\PetTracker\addons\journal\rivals.lua"]:187: in functionUpdate' [string "@Interface\AddOns\PetTracker\addons\journal\rivals.lua"]:125: in function
SetTab'Locals: