NoMethodError help

Afonzeroni

Warper
Member
Joined
Oct 21, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
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
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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?
 

Afonzeroni

Warper
Member
Joined
Oct 21, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
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
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top