NoMethodError

RXLAzokzged

Warper
Member
Joined
Dec 26, 2016
Messages
1
Reaction score
0
First Language
Indonesia
Primarily Uses
Before reading :


I'm using Falcao's Pearl Action Battle System


https://falcaorgss.wordpress.com/2012/12/02/falcao-pearl-abs-liquid-v1/


So the problem I'm having is that every time my character collides with a monster (another actor), the test run immediately crashes and an error popped up saying


Line 180 NoMethodError occurred undefined method `tool_data' for nil; nil class


And Line 180 redirects to this picture below


I got no idea what it does, but I do think that it has something to do with the Action Battle System, somewhere. Any idea what the problem might be ?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
Tech-support is for getting the editors to run, not for help with scripts.


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



That said, those errors are usually the result of an incompatible savefile or two incompatible scripts - have you started a new game on the titlescreen after installing falcao's script?


I suggest you follow the link "how to use a script" in my signature and check out if you did everything correct, and if that doesn't solve the problem give us a screenshot of the backtracer's console output.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
tool_data is a method for items/skills/weapons/armors/actors/enemies/states.


This means that the code tried to call that method on a non-existing database object (on one of the above mentioned types).


Check if your enemies only use existing database objects in their movement routes (that's where you set up what tools they use).


For example, if your database has 25 skills set up (the maximum skill amount is set to 25), but an enemy tries to use skill 26, you will get that error.


Or if you use an enemy ID in your event names which is not set up in the database, you will get that error too.


For example, you use <enemy: 44> in the event name, but you only have 30 enemies set up in your database, the error pops up.


In short, it is a database error or an incorrect note-tag/event name/script call usage (depends from where we look at it).
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Your error message should also have provided the name of the script.


I also don't see a picture in your first post.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,358
Members
137,803
Latest member
andrewcole
Top