Script Cache line 106: RGSSError occurred.

Whenever I enter a battle it says “Script ‘Cache’ line 106: RGSSError occurred. Failed to create bitmap”

I’m using the first two scripts here:

http://rmrk.net/index.php?topic=47693.0

The battle core and Odometer Roll

Can someone please help?
where did you put those scripts. They work fine.
Under materials and under (insert here)
Maybe you missed a part of the script? Like I said it works fine. I just copied them into a project and it works.
The error usually comes from corrupted image, image being too large, or simply can't load.
Try to insert this to identify which file is that.
Code:
module Cache
  def self.normal_bitmap(path)
    begin
      @cache[path] = Bitmap.new(path) unless include?(path)
      return @cache[path]
    rescue
      msgbox path
      exit
    end
  end
end
The error usually comes from corrupted image, image being too large, or simply can't load.
Try to insert this to identify which file is that.
Code:
module Cache
  def self.normal_bitmap(path)
    begin
      @cache[path] = Bitmap.new(path) unless include?(path)
      return @cache[path]
    rescue
      msgbox path
      exit
    end
  end
end

Insert it to where?
Just like how you insert a script.
Great now a new problem came. It says RGSS3 Player isn’t working! Is there a forum that describes how to fix this?
lmao. Here try alternative.
Code:
module Cache
  def self.normal_bitmap(path)
     p path
     @cache[path] = Bitmap.new(path) unless include?(path)
     @cache[path]
  end
end
But, you need to turn on the console. Game > Show console
It will print path ALL of the image loaded on your game. Since you will be loading images, it will spam the console. But what you need to note is the last loaded image when the crash happens
What console? Where do I find it?
Again, as I said
Game > Show Console
656a9f4892cb3321981d4d0b21dc29ab.png
Again, as I said
Game > Show Console
656a9f4892cb3321981d4d0b21dc29ab.png

Sorry, I’m an idiot at this. I’ll try.
It's ok, maybe I'm too much assuming you know everything.
I closed out and when I tried to go back in it said the RPG maker vx ace editor stopped working. I’m getting really frustrated at this.

I've moved this thread to Script Support. Thank you.

Moved to: Script Support

Really?
This is what you’re concerned about when I can’t even access my game?
Really?
This is what you’re concerned about when I can’t even access my game?

Its a moderator bro, and their job is to moderate posts, please don't vent out on them.

anyway, your problem seems to have gone out of simple script problem to a more chaotic one. Can you open other projects or your RM really errors out no matter what?
I can’t open games made by other developers on the same engine and I was stupid. I was mad at the time because I spent 10+ hours on the project and they just moved the post without giving any help and it made me mad.

Edit: I just checked and I can’t upload any other game I made on the same engine.
I can’t open games made by other developers on the same engine and I was stupid. I was mad at the time because I spent 10+ hours on the project and they just moved the post without giving any help and it made me mad.

Edit: I just checked and I can’t upload any other game I made on the same engine.

I know I’m double posting but please Please! I need help! I don’t wanna lose all the work I put into this project.

Edit: I think it’s just the Odometer script. I took it out and it worked perfectly but when I put it in then all the problems began.

I also figured out how to get back on. Power off my computer, wait a minute, restart it, go to the Enterbrain folder and then open the game.

Edit: OK so It’s not just that one I tried the Yanfly Message Engine and it didn’t work! Please help!
I know I’m double posting but please Please! I need help! I don’t wanna lose all the work I put into this project.

Edit: I think it’s just the Odometer script. I took it out and it worked perfectly but when I put it in then all the problems began.

I also figured out how to get back on. Power off my computer, wait a minute, restart it, go to the Enterbrain folder and then open the game.

Edit: OK so It’s not just that one I tried the Yanfly Message Engine and it didn’t work! Please help!

Backup your current game files somewhere, either on a drive, usb key, or through sites like Dropbox, Google Drive, Mediafire, etc.
You should do that first before trying anything else.


https://forums.rpgmakerweb.com/index.php?threads/script-disabler.3687/
Use this, read the instructions on how to set up this script and disable all your scripts, and try running your game on a map just for the sake of testing. Then write down whatever you experience + anything that might pop up in your VX Ace game console.
Of course make sure you don't accidentally disable the Main script slot, since that's needed to start up your game

Original thread: https://forums.rpgmakerweb.com/threads/script-cache-line-106-rgsserror-occurred.97673/