The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: darkace77450 on November 28, 2006, 08:51:44 PM

Title: [RESOLVED] Critical Error with Conditional Branch
Post by: darkace77450 on November 28, 2006, 08:51:44 PM
I am on XP.  For some reason, whenever I try to a conditional branch to check for gold before doing a transaction the game crashes and I get the message "Critical Error C0000005 at address 004A6638".  Any idea why?

darkace77450
Title: Re: Critical Error with Conditional Branch
Post by: &&&&&&&&&&&&& on November 28, 2006, 09:54:06 PM
maby a script you are using doesn't get along with it.

~Boe
Title: Re: Critical Error with Conditional Branch
Post by: darkace77450 on November 28, 2006, 11:21:52 PM
To check to see if it was a script interferring with it I opened a new project with no additional scripts and it still crashed.  The crash is occuring the moment I click "OK" in the Conditional Branch menu.  But thanks for the reply.  If anyone else has any ideas I'd be happy to hear them.

darkace77450
Title: Re: Critical Error with Conditional Branch
Post by: &&&&&&&&&&&&& on November 29, 2006, 12:03:46 AM
uh...

Can you take a screen shot of the even or tell me everything in is... I want to recreate it and see if it happens to me...
Title: Re: Critical Error with Conditional Branch
Post by: darkace77450 on November 29, 2006, 04:16:22 AM
I have already deleted the event.  However, it happens no matter what is in the event.  I opened a new event and went straight to a Conditional Branch.  I went to page four of the options and selected Gold.  No matter what amount I enter as soon as I click "enter" the game crashes and I get the critical error listed above.  I tried this with a new project, which will have no additional scripts in it (as far as I know), so I don't think it is a script.  Is it possible that there is a bug with my copy of RPG Maker?  Thanks again for your help.

darkace77450
Title: Re: Critical Error with Conditional Branch
Post by: :) on November 29, 2006, 04:18:25 AM
legal copy of rpg maker?
Title: Re: Critical Error with Conditional Branch
Post by: darkace77450 on November 29, 2006, 06:52:59 AM
Yes indeed it is a legal copy.

darkace77450
Title: Re: Critical Error with Conditional Branch
Post by: Blizzard on November 29, 2006, 08:02:14 AM
I get the same error sometimes when I press F2 to preview a message window. Also legal version. Does itt happen with any conditional branch?
Title: Re: Critical Error with Conditional Branch
Post by: Zeriab on November 30, 2006, 10:16:09 PM
Make sure you have the lastest version (1.02a)
In some versions there are a bug, which makes the program crash when you check gold with a conditional branch.
Title: Re: Critical Error with Conditional Branch
Post by: darkace77450 on November 30, 2006, 10:50:04 PM
It appears this is the problem.  I went to the english rpg maker xp page and the notes on the patch page confirm the problem.  However, when I click on the download button I am transported to the japanese enterbrain page.  Does anyone know where I can download the patch?  And thanks for all your help guys.

darkace77450
Title: Re: Critical Error with Conditional Branch
Post by: Falcon on November 30, 2006, 11:05:03 PM
I believe there is a fix for this....

Here's a workaround, use this in your conditional branch:
$game_party.gold =< X

Where X is the amount you want.
(symbols may be wrong, just mess with it a bit (change the position of the < sign)
Title: Re: Critical Error with Conditional Branch
Post by: Blizzard on December 01, 2006, 08:33:35 AM
Yes, it should be <=. In fact it can be any of these here:

>= (equal or greater)
<= (equal or less)
>  (greater)
<  (less)
!= (not equal)
== (equal)
Title: Re: Critical Error with Conditional Branch
Post by: Twar3Draconis on December 01, 2006, 02:19:42 PM
There is a space at the end of the Eb! download link. It should be http://www.enterbrain.co.jp/tkool/RPG_XP/eng/RXE-UP102a.exe
Title: Re: Critical Error with Conditional Branch
Post by: darkace77450 on December 01, 2006, 10:50:03 PM
That link worked.  It's patched and working fine now.  Thanks to everyone who helped out.

darkace77450