This is an annoying bug that happens in my game sometimes, under certain conditions if the player dies, then they load, they immediattely die again, even if they load ANOTHER save and not the last one. The player doesn't die third time.
Dying twice
RPG Maker VXAce SupportLooks like some plugin isn't properly clearing all it's data when loading a game.
what script is causing those conditions?
if you disable that script does it still happen?
Is this for VX Ace or MV?
if you disable that script does it still happen?
Is this for VX Ace or MV?
I posted this on RPG Maker VX Ace support.
No idea what script could be the culript.
then give a screenshot of the materials-list in the script editor, and we can give you guesses as which script might cause this (assuming you gave the slots names that would tell us which scripts they contain)
urg - that is one extreme list, although I have to congratulate you on organizing it.
There are several cases of script combinations that are known to cause compatibility issues (for example it is very rare that someone manages to mix Yanfly's and Victor's scripts), but there are too much of them to point out a single solution.
The only direct script that jumps into mind is the "new Game+" as that is making modifications on loading for the title screen, so test if that error remains if that script is disabled (as you need to start a new game after disabling that, I suggest making a new test map and redirecting the starting point temporarily there).
If that is not the case, you'll need to start systematic testing by disabling one script after the other until you find the culpit(s) - plural because most likely it is a combination of scripts that work alone without problems.
You might want to follow the link "how to use a script" in my signature to the bughunting section.
There are several cases of script combinations that are known to cause compatibility issues (for example it is very rare that someone manages to mix Yanfly's and Victor's scripts), but there are too much of them to point out a single solution.
The only direct script that jumps into mind is the "new Game+" as that is making modifications on loading for the title screen, so test if that error remains if that script is disabled (as you need to start a new game after disabling that, I suggest making a new test map and redirecting the starting point temporarily there).
If that is not the case, you'll need to start systematic testing by disabling one script after the other until you find the culpit(s) - plural because most likely it is a combination of scripts that work alone without problems.
You might want to follow the link "how to use a script" in my signature to the bughunting section.
Use this to help with fault finding by disabling scripts
http://www.rpgmakercentral.com/topic/18669-disable-scripts/
You list of scripts is quite long. I have the same. I also am one of the few people that managed to get yanfly and vicor sant to work together. Just like you it seems.
Andar is probably right, the new game+ is the likely first thing to try.
The script order may have an effect as well.
I have a different order than you.
Yanfly
Victor sant
Galv
MOG
Dekyde
And a ton of other ones, just like you. I count 94 scripts for you. I have 233. I'll have to test your problem in my game and see if it does it for me.
So play game, something happens, character dies, save, load, character dies again.
Is that right? What is the something (if I can ask without revealing your game mechanics)
I'm also curious about the steam stuff as well. Is this a game on steam now? I am hoping to get to that point eventually.
http://www.rpgmakercentral.com/topic/18669-disable-scripts/
You list of scripts is quite long. I have the same. I also am one of the few people that managed to get yanfly and vicor sant to work together. Just like you it seems.
Andar is probably right, the new game+ is the likely first thing to try.
The script order may have an effect as well.
I have a different order than you.
Yanfly
Victor sant
Galv
MOG
Dekyde
And a ton of other ones, just like you. I count 94 scripts for you. I have 233. I'll have to test your problem in my game and see if it does it for me.
So play game, something happens, character dies, save, load, character dies again.
Is that right? What is the something (if I can ask without revealing your game mechanics)
I'm also curious about the steam stuff as well. Is this a game on steam now? I am hoping to get to that point eventually.
@Roninator2 Queries about Steam stuff are not relevant to the content of the query. Perhaps this sort of conversation is best done by pm if the OP is happy to have such a discussion.
I think it's actually only happening in two special cases, with the lava casket mini game and these spikes that go up and down if you die to the spikes, it can trigger but dying in combat doesn't cause this. I think since in both cases player loses control of the character momentarily (the casket automaticly moves down and the ice makes you move in direction) is somehow related to the second death but I'm not yet sure.
Yes, the game is on Steam.
Sorry Kes, it was not to have a discussion, I was just curious if it was on steam, which he said it is. So cool! I'll get to talking about that stuff in the very far future.
I cannot tell if any of those scripts are for a lava casket mini game. Is it the ICE script? Is this free and where can it be found so it can be looked at.
The spikes are just evented, are they? I can try the spike thing. So stand on spike, die and load game? OK.
EDIT * Done, the spike thing doesn't happen for me. I stood on spikes, I died, I loaded the game back and good to go.
Is Error Log the backtrace script by HIME? If so, that's probably the error, as it causes two instances of Main to be running. Chances are the first KO only registers on the first instance due to how the KO is being done, so when you load, the 2nd instance then catches the KO and goes to Game Over right away.
Huh, yeah. So, what do I do? Remove the old Main?
Nope, remove the backtrace script. Removing the old main is dangerous and will probably make your game not work.
The backtrace script should replace the main. That's what other people recommended to me and I have not had any issues.
Or you can use the rycochet script to disable either one.
Or you can use the rycochet script to disable either one.
I'll try with the replaced Main but I'm running it in beta only and see if anything breaks before uploading this update.
@Tuomo L : Can you let me know if that works please? I was always told to not touch Main, but if it works for you I might do the same with my game.
Yeah, me too. That's why I had the duplicate there. So far, so good. I've not had any errors or anything weird going on.
Thread closed IgnoreMe
Original thread: https://forums.rpgmakerweb.com/threads/dying-twice.79865/