HandyNotes: Achievements

HandyNotes: Achievements

637k Downloads

Problem calling GetFactionInfoByID

sauljaffe opened this issue · 11 comments

commented

The following has been appearing a lot in my chat log in Pandaria Remix:

HandyNotes _Achieverents Error: ...
HandyNotes Achievements/
HandyNotes Achievements.lua:378: attempt to call global
"'GetFactionInfoByID' (a nil value)

I don't know what is causing it... and I don't know why BugSack/BugGrabber doesn't catch it. But it has been appearing for the last several days.

commented

The same issue with the last updates of the game.

commented

Dont know much about coding but seems that GetFactionInfoByID was changed to C_Reputation.GetFactionDataByID. https://warcraft.wiki.gg/wiki/API_C_Reputation.GetFactionDataByID

commented

I have replaced GetFactionInfoByID with C_Reputation.GetFactionDataByID in two lines and for now it is working.

commented

@22raider can you make a pull request?

commented
commented

if you replace GetFactionInfoByID with C_Reputation.GetFactionDataByID it wil be fixed.

commented
commented

It doesn't look like anyone is maintaining this any more. It's been 3 months...

commented

My line 378 looks like this

local _, _, standing = C_Reputation.GetFactionDataByID(row.faction)

And this line isnt producing error for me. Not sure what to tell you.

commented
commented

Same issues. Everytime I load into a new zone (especially main cont like kalimdor, etc) the errors flood my screen.

I went and replaced the old line with C_Reputation.GetFactionDataByID and it fixed it, for me at least.