55Aavenue wrote: ↑Mon May 11, 2020 0:39
Hey K1n9_Duk3 if this offer still stands and you've got time, I have a save file now where this happens and I could really use your help, I'm pretty stumped with this. This save file starts you on the top floor of the station. Taking the main elevator back to the middle floor works fine, but then if you try to take the 1st elevator back to the bottom floor, the glitch happens. I just completed 2 levels on the top floor (levels 21 and 22), and the glitch would not happen until after I completed those levels.
https://www.dropbox.com/s/065zvtxb6cxag ... 1.CK5?dl=1
This appears to be a tough nut to crack. In that savegame, the destination coordinates for the elevator in question have been removed entirely. That means the value is 0 and therefore Keen will move to x=0, y=0 when entering that elevator. The question is
why this was set to zero.
The easiest explanation would be that the coordinates had been removed in the GAMEMAPS file you were using while playing up to this point. When Keen returns to the world map, the game always reloads the base level from the GAMEMAPS and then applies changes (like spawning flags, removing the barriers linked to the completed levels, making completed levels inaccessible, spawning Keen at the correct position and also opening or closing the elevator doors based on Keen's position on the world map.
When I load your saved game and enter any level, the elevator works again when I return to the world map (either by getting killed in the level or "finishing" the level with E+F10). I don't know what else you've been doing in between finishing the most recent level and saving your game on the world map. So I guess a "corrupted" GAMEMAPS file would be the easiest explanation (and the problem should actually be fixed by now).
If the GAMEMAPS file is not the problem, then there might be something fishy going on with your patches. I have checked the patched code that is directly related to the elevator doors and there's nothing in there that would mess up the coordinates in the info plane. But it's possible that something else in the code is causing memory corruption and that in turn caused the game to erase the coordinates. Your patch file is huge, so it'll take quite some time to check all of that for possible errors.
And remember, there was that one bug in your the patches for the intro that was causing some kind of memory corruption. I'm not sure if this had anything to do with this error, but it's possible.