Medacorp / Luigi-s-Mansion

The Luigi's Mansion map for Minecraft: Java Edition.
MIT License
11 stars 0 forks source link

Game crash can result in forceloaded chunks no longer being forceloaded #76

Closed Zediax closed 1 year ago

Zediax commented 2 years ago

Describe the bug The map map (ridiculous description i know) does not show if the rooms are visited, cleared or not. It does that on the 3rd floor and the fortune-telling room.

Expected behavior Seen and cleared rooms should hae their color shown.

Map version: Still 2.2

Additional context I just realized that (the map shows only gray rooms on the 3rd floor and the basement and a light gray room on the fortune-telling room and the light switch room) I did all these rooms already but the map just don't shows that :/

Screenshots 2022-08-31_19 02 46 2022-08-31_19 02 32 2022-08-31_19 02 27

Dhranios commented 2 years ago

How did the map get opened? Just the usual way via GBH menu/double use?

The map area only updates if no player was looking at the map, and the map gets opened, or if the map is opened by a player and a room/door status changes.

Is it possible the game didn't save the chunks? (I see you re-entered the world in the map area, because of the luigi model present in the image).

Zediax commented 2 years ago

i opened the map the usual way of course and yeah my game crashed while i was on the map screen

Zediax commented 2 years ago

and i don't think the map didn't saved the chuckns since i regularly check the map so i know where i can go/have things to do but without the color display doing that is unpraticable

Dhranios commented 2 years ago

Then the crash explains it, and there's nothing I can do to fix the map, as it's quite literally the game just not saving block changes. Simply re-opening it will correct it.

Trust me, game crashes can revert chunks to really old states if the world wasn't forcibly saved in the meantime.

Dhranios commented 2 years ago

I will write up a little fix for the player heads being in the inventory though. :)

Zediax commented 2 years ago

also each time i exit the map screen i get a head of myself

Zediax commented 2 years ago

re-entring the map does nothing tho :/

Dhranios commented 2 years ago

Hmm, could you send the data/command_storage_luigis_mansion.dat file?

Zediax commented 2 years ago

yeah sure

Zediax commented 2 years ago

wait it seems that i don't have that file ?

Zediax commented 2 years ago

really weird

Zediax commented 2 years ago

nvm i do

Zediax commented 2 years ago

i'll upload it on mega again since github doesn't accept it -_-

Dhranios commented 2 years ago

I couldn't download from MEGA last time, so I'd prefer if you put it on another site, EG, google drive

Zediax commented 2 years ago

oh okay then google drive

Zediax commented 2 years ago

https://drive.google.com/file/d/1hd39G9D7AV-c5i5BGZnG2Icso0E02DuP/view?usp=sharing

here

Zediax commented 2 years ago

hope it works this time

Dhranios commented 2 years ago

Yeah, that works

Dhranios commented 2 years ago

hmm, the map data appears to be fine...

Could you tell me if you have the "cancel" tag? (/tag @s remove (space included), see if it is suggested)

Run the following command to force the map to update: function luigis_mansion:items/gameboy_horror/map/display/normal/generate

Zediax commented 2 years ago

i don't have the "cancel" tag

Zediax commented 2 years ago

do i run that command while being on the map screen ?

Dhranios commented 2 years ago

If you close the map, do you have the "looking_at_map" tag? (If not, I have no idea what causes your issue)

Yes.

Zediax commented 2 years ago

i don't have it sadly i'll do the command right away

Zediax commented 2 years ago

okay it worked thanks