Skip to content

Tardis Refined Nightly Bug #605

@TheSc0ob

Description

@TheSc0ob

debug-2.log

debug-2.log

Issue description

The Arclight startup timing fix appears to be present saved TARDIS dimensions are restored during ServerStartedEvent, which absolutely avoids the original issue where dimensions were loaded too early.
However, (And the debug log supports this by showing refined only loaded 1 Tardis, but on shutdown 9 Tardis's were saved) there may still be a persistence bug in DimensionHandler. The in-memory DimensionHandler.LEVELS list starts empty each server run. When loadLevels() reads tardis_refined_tardis_info.json, it recreates missing levels, but if a Tardis level already exists, it logs it as loaded without appearing to re-add it to LEVELS. This potentially allows a later write to tardis_refined_tardis_info.json to omit older TARDIS dimension IDs. After working in my server for my players for weeks perfectly, all the sudden i got a ping today about 1 part of the 2 dimensions in their Tardis not loading, as well as their exterior not loading, we can forcibly teleport into the corridors but attempting to do so to the console room sends you into Fools stone. So im wondering if all saved Tardis dimension IDs survive restarts and remain listed in tardis_refined_tardis_info.json as this would track with that and if not, during loadLevels(), ensure every dimension read from tardis_refined_tardis_info.json is re added to the internal saved dimension list before any future writeLevels() call can overwrite the file

Steps to reproduce

Use Tardis Refined Nightly V2.1.6 1.20.1 on an Arclight server
Set up your Tardis, chill, fly, for like, 2-4 weeks.(Hopefully you have a companion)
Leave for a while, leave the server, wait for scheduled restarts and whatnot
Attempt entering Tardis if exterior even exists

Minecraft version

1.20.1

Mod Loader Platform type

Forge

Mod Loader version

Forge version 47.4.10 - Arclight-1.20.1-1.0.6-SNAPSHOT-166b7ad

Tardis Refined version

v2.1.6

Other relevant versions

No response

Mod List

No response

Please confirm that you have searched existing issues in the repo.

  • Yes, I have checked all open issues and am aware my issue will be closed if it is a duplicate of another

Please confirm that if your issue is related to rendering, that you have tested without the following before testing; (Shaders, Optifine, Rubidium, embeddium, Sodium)

  • Yes, I have done testing without these mods before reported a rendering issue or my issue does not relate to rendering

Attach the relevant crash report file or log file: (Don't know how to find a crash report file? See the Minecraft Wiki Tutorial

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions