You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Voukras had 465 saves and making a new hardsave caused an older one to be overwritten (maybe specifically a save of the same map?).
We should:
have a warning when starting a new game about having too many saves, offering to delete old saves
an in-game button to delete old saves, and even all saves?
the installer could maybe have an option to backup old saves into a folder or zip file, similar to keeping dated backups of configs
we could maybe fix MenuScreenSaveGame::PerformSave()
function PerformSave()
{
local DeusExRootWindow localRoot;
local DeusExPlayer localPlayer;
local int gameIndex;
local String saveName;
// Get the save index if this is an existing savegame
gameIndex = int(lstGames.GetFieldValue(saveRowID, 4));
// If gameIndex is -2, this is our New Save Game and we
// need to set gameIndex to 0, which is not a valid
// gameIndex, in which case the DeusExGameEngine::SaveGame()
// code will be kind and get us a new GameIndex (Really!
// If you don't believe me, go look at the code!)
if (gameIndex == -2)
gameIndex = 0;
saveName = editName.GetText();
localPlayer = player;
localRoot = root;
localRoot.ClearWindowStack();
localPlayer.SaveGame(gameIndex, saveName);
localRoot.Show();
}
it uses save slot 0 to ask the game engine for an unused slot, but I think we could just search all the saves and find a slot ourselves in UnrealScript. For an example of looping through all saves see DXRVanilla\DeusEx\Classes\Player.uc::LoadLatestConfirmed()
The text was updated successfully, but these errors were encountered:
This sounds like a bug I've had a few times, where new saves just overwrite the last one. It doesn't seem related to number of saves. There's always a save that causes it, and deleting that one particular save makes the problem go away. Narrowing down which one it is can be a big pain.
Voukras had 465 saves and making a new hardsave caused an older one to be overwritten (maybe specifically a save of the same map?).
We should:
it uses save slot 0 to ask the game engine for an unused slot, but I think we could just search all the saves and find a slot ourselves in UnrealScript. For an example of looping through all saves see
DXRVanilla\DeusEx\Classes\Player.uc::LoadLatestConfirmed()
The text was updated successfully, but these errors were encountered: