After a series of errors and bugfixes, this error reared its ugly head. Checked help forums, nothing i could find there. Tried recreating the problem, didn't work. Scripts seemed to be in order, but i think it's something with my project. The error is "Script 'Window_Base' line 373: NoMethodError occurred. undefined method '%' for nil:NilClass". Script that seems to be causing the issue is the first one on http://rmrk.net/index.php?topic=47693.0 . Link to my game files: https://www.dropbox.com/s/s0qiiw4las3jd8s/Project2.zip?dl=0 (name of the game is Sandwich Quest)
Script 'Window_Base' line 373: NoMethodError occurred. undefined method '%' for nil:NilClass
● ARCHIVED · READ-ONLY
-
-
Please follow the link "how to use a script" in my signature to the bughunting section and install the backtracer. Then give a screenshot of the console output when this error happens.
-
Well, like @Andar said in his thread...
Make sure you make a new save file.If you get an error reading like "undefined (whatever) for NIL-Class", then in 80% of all cases that error is caused by loading an old savefile after adding a script that needs the new game function to set itself up properly. -
That means that your settings are probably missing something.
Most scripts are not plug-and-play, they need to be configured correctly for each project. I see that the author claimed them to be "plug-and-play", but they are not.
Check the ActorIcons settings in the script you linked.
You must add all of your command names there, which means all of your skill type names too, for example.
The error you get is related to the missing icon settings. Since there are no settings for one or more skill types there, it can't really get an icon index, therefore your game will crash.