Online version of game made new character went to save in game on browser annnd

Screenshot_13.jpg

its asking for something im not using . . . YET it not a problem offline?

Screenshot_14.jpg
Are you using SRD character creator? I've heard some SRD plugins don't work on web or Android
Screenshot_13.jpg

i tested it with the new menu and was able to save on browser before with no issue
Have you played other RPG Maker browser games? If I recall correctly, all of your browser saves go to the same place. So if you have saves from another game that used RedHead.png, this will crash because it's trying to display the save file from that other game.
Have you played other RPG Maker browser games? If I recall correctly, all of your browser saves go to the same place. So if you have saves from another game that used RedHead.png, this will crash because it's trying to display the save file from that other game.
is there a way to delete the save files? and no i have not
[Edit: see my next post!]

To delete all saves, you could try this via the console (usually F12) when the game is running:
JavaScript:
for (let n = DataManager.maxSavefiles(); n--;)
  StorageManager.remove(n);
This also deletes save 0, the game's global save info, used for checking which save files exist. I suggest refreshing the page afterwards to reload the game.

To delete only save slots 3+, you could try this instead:
JavaScript:
for (let n = DataManager.maxSavefiles(); --n >= 3;)
  StorageManager.remove(n);
DataManager.saveGlobalInfo(DataManager.loadGlobalInfo());
loadGlobalInfo culls any entries for non-existent files, then we save it so the deleted saves are, in theory, removed from the global info.

So if you have saves from another game that used RedHead.png, this will crash because it's trying to display the save file from that other game.
As far as I'm aware that should only be an issue if you have played multiple games with the same title (cf DataManager.isThisGameFile).
As far as I'm aware that should only be an issue if you have played multiple games with the same title
Okay, good to know.
OK, I'm not super familiar with web deployment stuff, so take this all with a dose of salt. 😴

I was reviewing the core scripts and playing around with things and I noticed some stuff:
  1. Without plugins, an MV game might overwrite web saves from another MV game because it only actually includes the save slot ID in the web storage key. It seems local storage is separated by origin, so I think this would only be apparent for 2 games hosted on the same site, e.g. itch. In that case, if you saved to slot 1 with one game, then saved to (or deleted) slot 1 with another game, the first save may be lost. As mentioned, though, it does still do a game title check for display purposes. (MZ fixes this by including the game ID in the key.)

  2. If your game is hosted in an <iframe> (which is common) then I don't think you can access its code via the console, due to security restrictions. Even if you could, I believe you'd need to do something different to what I suggested, e.g. (based on an itch game I tried):

    document.getElementById("game_drop").contentWindow.StorageManager // etc
    I think the code in my previous post ought to work from an in-game Script command, though. So if it's your game, you could deploy a version with an event or something to clear a player's saves?

Original thread: https://forums.rpgmakerweb.com/threads/online-version-of-game-made-new-character-went-to-save-in-game-on-browser-annnd.160430/