Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: gozmodeo on October 27, 2006, 06:29:54 PM

Title: strange problem with defeat handler
Post by: gozmodeo on October 27, 2006, 06:29:54 PM
I have a decent enough grasp of how events work but for some reason when I try and create a battle that is supposed to be impossible for the player to beat, it goes to game over even with a defeat handler is set up.  The victory handler works fine but with the defeat handler it just skips it and goes straight to game over. What is wrong with my rm2k3?
-I did check the box that says execute custom handler for defeat instead of gameover.

A friend of mine who has rm2k3 and I did an experiment, on both our computers we made an event like this:

Msg: Hello
Enemy encounter: blah blah, defeat custom handler
-victory
--you win!
-defeat
--you lose!

Our events were exactly the same, and in his game the defeat handler worked.  We also made sure our database settings were exactly the same as well.

I don't know, maybe the coding of my game got messed up or something but if anyone has any insights I would be very grateful.

Thank you very much.
Title:
Post by: Bluhman on October 27, 2006, 10:05:24 PM
Hmm... Can you give us the complete details of what happens in the event by copying and pasting?
Title:
Post by: Anubis_Soldier on October 29, 2006, 04:50:23 PM
Hope you dont mind, but i am having the same problem as well, and making a new topic would be wasteful

Here is how mine is set up
Title:
Post by: gozmodeo on October 30, 2006, 10:19:31 AM
I've attached a screenshot.  And it's good to know I'm not alone in this issue.  Fortunately, at least on a temporary basis I made a workaround involving using a status effect that has the same graphic as death.  I'd still prefer to have the defeat handler actually working though.

About the screenshot, basically everything under defeat handler is complelty ignored and it goes straight from the map to the game over screen.
Thanks again to everyone willing to help.
-Abe
Title: I figured it out on mine atleast
Post by: Anubis_Soldier on October 31, 2006, 01:40:17 AM
All i did was first thing after defeat, was Remove Condition: Death/KO whatever you wanna call it, and make it heal them 1 health, and it worked
Title:
Post by: gozmodeo on October 31, 2006, 04:06:24 AM
Good to hear.  I tried that with mine, but it still goes to game over after the battle.  It seems my version won't let the party walk around with everyone KO'd.
Title:
Post by: thepsynergist on November 02, 2006, 02:51:44 PM
I have experienced the very same problem and I know this is wierd, but this is how I solved it.  The problem occurs when you edit a monster or character data in the database and don't update the event.

Copy the event and paste it anywhere.  Delete the original event, and then cut and paste the copied event to where the original event was.  I hope this works for you, but it worked for me.