Error in the 'Cache' script

Hey there,

when I start the playtest it just opens normal, the game is okay too but when I open the menu and select the tab "Quests" I get this error:

Script "Cache" line 95: NomethodError occured.

undefined method `empty?" for true:TrueClass.

So I took a look at the TrueClass from the Quest Journal script and I saw the method ":command_personal" I tried to find this method but couldn't find it. (Maybe because you have to insert it yourself?)

This error didn't occur before I installed "victor's sidebattle view script".

So I deleted everything from victor's script but it still has that error.

Quest journal script links: 

http://rmrk.net/index.php/topic,45127.0.html

http://pastebin.com/4pAz9KG5

If anyone has a clue, I would really appreciate it if you put it in the comments.
the cache script is not the quest journal script - and that specific part of the cache deals with loading a bitmap file.


Basically, when you try to open the quest menu, it tries to load a picture and then reports an error - that picture file is most probably damaged. And you have to identify that missing or damaged picture and replace it, so check what pictures does your menu require on the display.
hmm, I've already deleted the background picture in the quest tab but do icons count too?

I've changed them and didn't check the menu after I've done that...
hmm, I've already deleted the background picture in the quest tab but do icons count too?


I've changed them and didn't check the menu after I've done that...
anything grafically counts, because the engine can't create pictures, it needs to load them.
Okay, I've changed most things that had to do with graphics from true to false so the pictures won't appear in the menu.

I've checked the icons and they were fine. Still doesn't work though 🙁

But i have some questions:

How can I easily see which picture is damaged?

I only get the error on the Quest tab so does that mean I only have to look for damaged pictures in that section?
undefined method empty? for true:TrueClass


just sounds like the method is being called with incorrect parameters, to me. It seems you're passing a true/false value instead of whatever the method is expecting in that spot.

Original thread: https://forums.rpgmakerweb.com/threads/error-in-the-cache-script.24768/