Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix uninitialized variable crash #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Dramacydal
Copy link

No description provided.

@Arcitec
Copy link

Arcitec commented Jun 27, 2021

@beren12 Hi, I came here from the CurseForge page, where people are talking about this error too. Does this pull request look correct to you?

Edit: To clarify. The changes in this pull request got rid of the crash for me. But I dunno if the changes are in the correct spirit of that function.

@Arcitec
Copy link

Arcitec commented Jun 27, 2021

People at https://www.curseforge.com/wow/addons/enhanced-flight-map are also mentioning another Lua error, by the way:

Message: Interface\AddOns\EnhancedFlightMap\nodeinfo.lua:201: attempt to index local 'myNode' (a nil value)

@Arcitec
Copy link

Arcitec commented Jun 27, 2021

By the way @beren12 I highly recommend getting these tools:

Bug catching becomes extremely easy with these tools.

@beren12
Copy link
Owner

beren12 commented Jun 29, 2021

Thanks I'll check this when the servers come back up. Sorry I've been so busy, I thought I fixed all the bugs when you didn't import/cleared the saved setting.

@beren12
Copy link
Owner

beren12 commented Jun 29, 2021

I had done a similar fix it just punts the error down farther. I'll look into it some more.

@Arcitec
Copy link

Arcitec commented Jun 29, 2021

@beren12 Hey, that's understandable. Thanks for updating this addon for TBC, it's awesome. :-) Question btw: What's the preloaded flight data from? Did someone update it for TBC? Because the official addon (unmaintained version) has a note saying that all flight data is outdated.

@beren12
Copy link
Owner

beren12 commented Jun 29, 2021

That’s the old note from way back in original TBC and wrath. I did all the alliance points for classic and gave them to the Dev and redid every point for alliance and hoard for TBC so it’s accurate

@beren12
Copy link
Owner

beren12 commented Jun 29, 2021

It was many hours of flying

@Arcitec
Copy link

Arcitec commented Jun 29, 2021

@beren12 WoW, thank you, I can imagine like 7 hours of flying. Amazing job!

@Dramacydal
Copy link
Author

@Bananaman the fix is too simple and too straight not to be sure about anything :)

@Arcitec
Copy link

Arcitec commented Jul 31, 2021

@Dramacydal Yeah but I haven't read through the code literally at all, so I don't know that. 😂

@beren12 I've been playing with the proposed fix since June 3rd and everything in Enhanced Flight Map has been working. I don't notice any issues at all. Any chance of investigating this pull request soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants