means that the variable on which the code is trying access the method name is actually nil. The error Unable to find method 'name' for nil:NilClass. I take it you deleted a database table, is that right? It is likely that the code still tries to access the 'class' you deleted in the database. ![]() I've worked really hard on this project and I would hate to have to scrap it and start over. If anyone could point me in the right direction, or tell me how to fix this, I would be very appreciative. I have searched for answers but unfortunately most people seem to be using later version of the RPG Maker like Ace or MV, and they're different enough to XP that the answers are not relevant to this issue. (I haven't touched any script on the principle I have no idea how to fix it.) I didn't rewrite or edit any of the actual script so I'm not sure how I have affected the script. I looked at line 335 under the 'Game_Actor' window and saw this: return I've said, I know very little about code and so I can't actually see anything wrong with this. Script 'Game_Actor' line 335 : NoMethodError occured. I had deleted a class in the database (no script editing involved) so that I could rewrite it entirely, and when I finished and opened the game, I found a couldn't open the menu and the game shut down after showing this error message. I've been using RPG Maker XP recently and have been able to fix most issues I've come across by Googling what needs to be done, however I seem to come across something I can't find an answer for.
0 Comments
Leave a Reply. |