Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Kahinuva on December 28, 2011, 01:41:21 pm

Title: [XP]Error with Tons of Add-Ons Script
Post by: Kahinuva on December 28, 2011, 01:41:21 pm
I'm getting an error whenever I run my game in RMXP recently. I have not enabled anything in the scripts yet, and while I do have other scripts, the game worked perfectly fine for a while. Then I had to take a break from the game for school, and when I returned, every time I tried to use a save file or start a new game, this error came up:

QuoteScript 'Tons of Add-Ons Part 2' line 3175: NoMethodError occured.

undefined method '> ' for nil:NilClass


Because of this, the game is rendered unplayable. If someone could give me a fix, that would be great.

My current list of scripts are:

*Advanced Message Script
*Tons of Add-Ons Part 1
*Tons of Add-Ons Part 2
*Tons of Add-Ons Part 3
* (*)Bestiary
* (*)Scene_PartySwitcher

Again, it would be great if someone could give me a fix to this so I could continue working on my current project. Thanks!
Title: Re: [XP]Error with Tons of Add-Ons Script
Post by: Blizzard on December 28, 2011, 01:57:23 pm
Line 3175 is this one in the original script:

class Scene_Map


Double-check your scripts, because the error you are getting doesn't make any sense.
Title: Re: [XP]Error with Tons of Add-Ons Script
Post by: Kahinuva on December 28, 2011, 02:49:12 pm
In the version I have, line 3175 is:

Quote@minimap = Minimap.new if $game_system.minimap_mode > 0


The version I'm using is 7.41b. I'll check if there's an updated version available, but it still puzzles as to why it would work for a while, and then suddenly not work for no apparent reason.

EDIT: Updated to the new version, 7.50b. I guess it has been a while since I updated, I should have checked more often. However, it now gives me a new error when I just click the "Playtest" button:

QuoteScript 'Tons of Add-Ons Part 1' line 2917: SyntaxError occurred


Line 2917 is listed below:

Quotepassable?(@x, @y, 4) && passable?(@x - 1, @y


Is there a fix to this?
Title: Re: [XP]Error with Tons of Add-Ons Script
Post by: Blizzard on December 28, 2011, 02:58:54 pm
I don't think you copied everything right. That line is missing a ")" at the end. Maybe you copied the script before your browser loaded the whole file. Try right-clicking on the download link and select "Save target as" instead of opening it in the browser.

Also, the previous error was caused by old save games.