NoMethodError help

Hey there. I'm relatively new to RPG Maker and I decided to use an Earthbound script I found online to make the battle system similar. But now when I enter into a battle, a NoMethodError comes up.

http://rmrk.net/index.php?topic=47693.0 <- Website used. (I used the 1st script only).

I know it has something to do with the Windows_base script and not the base script itself, but I don't know what it's asking to find.

Any help is greatly appreciated and I'm more than willing to provide any more relevant information if needed. Thank you for your time.

NoMethodError.png
I've moved this thread to Script support. Please be sure to post your threads in the correct forum next time. Thank you.


That looks like you made a mistake either installing or configuring the script, or loaded an incompatible savefile.


Please follow the link "How to use a script" in my signature and check if you have done everything as outlined in that tutorial.
That is referring to icon_index, which means something has called the draw_icon method and passed in nil for the icon.


A quick look through the script and the RTP script ... any chance you've added a new actor command and haven't added it to the ActorIcons hash?
I have two different skill types that both actors use which don't have icons. I looked into it and found that by adding   ActorIcons.default = 0  to line 36 of my code, it worked (Although without an icon for my skill types which I assume I need to script in). Although now my issue is that the game freezes every time I defeat an enemy during battle when there are multiple enemies
different issue, different thread. Can we sort this one out?


It's showing no icon because you haven't defined what icon should be shown, as I said above. I don't know if it goes off a skill name or a command name or what - I assume since you added the extra option(s) you would probably be able to determine what should go there.

Original thread: https://forums.rpgmakerweb.com/threads/nomethoderror-help.46240/