The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Mjustin on June 24, 2008, 05:59:53 AM

Title: Multiple Errors
Post by: Mjustin on June 24, 2008, 05:59:53 AM
I stopped working on a game for a couple months, and now I started working on it and there are a couple errors. They never happened before, and I'm not sure what I did to cause them.

Custom Scripts:
Advanced Debug System (by Slipknot)
SP Recovery (by Namkcor)
Leon's Shopping System (presumably by Leon)
Letter by Letter Message Window (by Slipknot)
Death Watch Condition (by Namkcor)



Errors:


I get this one when trying to open the equip menu:

Script 'Window_EquipRight' line 44: NoMethodError occurred.
undefined method `draw_item_name' for #<Window_EquipRight:0x1401e10>


I get this one when trying to use the advanced debug:

Script 'Advanced_Debug' line 439: NoMethodError occurred.
undefined method `draw_item_name' for #<Window_Debug_Items:0x13d8488>



Please help!
Title: Re: Multiple Errors
Post by: Falcon on June 24, 2008, 03:01:36 PM
Try removing the Advanced Debug System. If that doesn't work, keep removing scripts one by one until you find the one that is the source of the problem.
Title: Re: Multiple Errors
Post by: Mjustin on June 25, 2008, 12:03:44 AM
I removed the Advanced Debug, but it just took away the debug error. I tried removing the various scripts one by one, buy none of them worked so I still have the Window_EquipRight error.
Title: Re: Multiple Errors
Post by: Caesis on July 10, 2008, 07:06:36 PM
Are you using default scripts? (besides the gamer-made ones you have listed)
Title: Re: Multiple Errors
Post by: Mjustin on July 10, 2008, 11:11:05 PM
Yes.
Title: Re: Multiple Errors
Post by: modern algebra on July 10, 2008, 11:59:04 PM
Well, some scripts require you (for some reason) to delete default scripts and put in the custom scripts in their place. Since you haven't worked on the game for a while, it's possible that this is the case. Replace the entire scripts.rxdata file with a clean one from a new project. Check that out - if there is still an error, ask for a clean one in this topic and we'll give you one that ought to work. If that doesn't work, well then you'll probably need to reinstall the program. In any case, if along the way you do get a working game, try introducing each script in one by one and see where the error occurs.