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

Invalid TrackerHintStates table -> unable to load tracker completely #459

Closed
fxbx opened this issue Jan 10, 2024 · 5 comments · Fixed by #460
Closed

Invalid TrackerHintStates table -> unable to load tracker completely #459

fxbx opened this issue Jan 10, 2024 · 5 comments · Fixed by #460

Comments

@fxbx
Copy link
Contributor

fxbx commented Jan 10, 2024

Seed & files were created yesterday in app v9.6.1, and after upgrading today to v9.7.0, I was unable to open the tracker associated with it. Exception text from log is attached.

I eventually traced this into the DB storing the tracker saved states, and found the Misery Mire records for the correct TrackerStateID.

Unfortunately I don't have a backup of smz3.db to check how it was originally created yesterday, or before the upgrade took place. If no DB updates would have happened during the app update, something must have changed in the database during tracking in order to cause this.

After editing the two Misery Mire hint tiles to resemble the "The left side of swamp palace" below them (copying over only certain columns), the exception disappeared and I could start everything normally.

I will attempt later to generate seeds with hint tiles to see if this can be re-created.
logged Exception - Hint location NullRef.txt
nullMire - fixed
nullMire

@MattEqualsCoder
Copy link
Collaborator

Admittedly I'm not sure if it would be advised to upgrade SMZ3 versions in the middle of running a seed, but honestly I'm not aware of anything in the recent version that would have caused this particular issue, which is worrisome as it would possibly mean there may be something more underlying with the hint tiles.

I'll take a look in the next day or two to see if I can replicate and dig into the code to see what might have happened here.

@MattEqualsCoder
Copy link
Collaborator

Would you maybe be able to right click on the seed in the list and send over the config string? It'll hopefully make it easier when I try to replicate this.

@fxbx
Copy link
Contributor Author

fxbx commented Jan 10, 2024

Would you maybe be able to right click on the seed in the list and send over the config string? It'll hopefully make it easier when I try to replicate this.

pwcAAB+LCAAAAAAAAAp1VU1z2zgM/Ss7OueQOK2T+mbJsZttnHjNdDrTGypBFscUofLDXjWT/74g9WFvPT14JD+Aj+DjA/SWrKDGNRWYzK6vki/YWtDStSOyhZxfSlAWr5KFtPBDoWhIKjR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52gb40qDetgToM257llTzPA52StX0iaxuKfmnCUeLsfP8PL7yIFqcHAAA=

@fxbx
Copy link
Contributor Author

fxbx commented Jan 10, 2024

I was just able to recreate the issue in two new seeds, editing the table [TrackerHintStates] after generating these as normal.

If any record where LocationKey IN ('Misery Mire', 'Turtle Rock') has HintState=1, then the tracker will fail to completely load with the reported exception.

MessageBox has text = "There was a problem with loading one or more of the tracker modules. Some tracker functionality may be limited."

@MattEqualsCoder
Copy link
Collaborator

Ahhh, I bet you it's probably the hints for stating the medallion requirements for Misery Mire and Turtle Rock are breaking on reloading. Those don't have locations associated with them, but it's probably trying to load the locations like the other hint tiles and is failing. That's some good info, and I'll try to get a fix out for it this week!

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 a pull request may close this issue.

2 participants