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!
Line 3175 is this one in the original script:
Double-check your scripts, because the error you are getting doesn't make any sense.
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?
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.