A script cache issue:?

CWells

Storyteller/Artist
Veteran
Joined
Apr 22, 2013
Messages
731
Reaction score
40
First Language
English
Primarily Uses
I was testing battles and with one enemy, I got this suddenly:

Script 'Cache' line 106: RGSSError occurred.

Failed to create bitmap.

Earlier this morning I had a crash on my computer right when it was saving the project! So I had to restore a previous version. Lost only 4 days of work. I wonder if this has something to do with it?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
It's not finding an image that it's expecting to be there. This COULD be an enemy battler, or if your battler shows correctly and the crash comes DURING the battle, it's more likely an animation that it's missing - from a weapon, skill, state, whatever gives you animations in battle.


Go into your Cache script, and add the following immediately before line 106:

Code:
p path
Then turn the console on (Game > Show Console) and play until it crashes again. The last line in the console should be the path and name of the file it's unable to find.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
If the computer crashes (instead of only a program), then any file can be damaged and might be unable to load after the crash - if that's what happened, you need to replace the defective file.

However, in my experience those crashes aren't caused by Ace (or better said, not by ace alone), but either by other programs trying to mess with ace during operations or by data failures due to hardware problems (not neccessarily defective components, could also be overheating, too low power from power supply, high-voltage-peak from external devices or such things)

If your computer crashes often (more than once per month) you should start looking for the cause of those crashes...
 

CWells

Storyteller/Artist
Veteran
Joined
Apr 22, 2013
Messages
731
Reaction score
40
First Language
English
Primarily Uses
Funny. After I put down the P Path and observed the console, the error wouldn't happen again. It just stopped suddenly.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Doesn't mean it's okay. Just means whatever file it was trying to load at that particular time was not requested this time around. Which makes me more inclined to think it's an animation.


Maybe you, or that enemy, didn't use the same item/weapon/skill that was used previously, so the same animation wasn't called. Keep repeating the battle, trying to get it to use all skills that could possibly have been used earlier.
 
Last edited by a moderator:

CWells

Storyteller/Artist
Veteran
Joined
Apr 22, 2013
Messages
731
Reaction score
40
First Language
English
Primarily Uses
Doesn't mean it's okay. Just means whatever file it was trying to load at that particular time was not requested this time around. Which makes me more inclined to think it's an animation.

Maybe you, or that enemy, didn't use the same item/weapon/skill that was used previously, so the same animation wasn't called. Keep repeating the battle, trying to get it to use all skills that could possibly have been used earlier.
There has only been four skills and I never changed them either before the crash or after:

Attack,Guard, Wave, Ice.

I went to check the animations as  well and they were all properly assigned. And in battle, the enemy cast all skills with no issue.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Doesn't mean it's okay. Just means whatever file it was trying to load at that particular time was not requested this time around.
There has only been four skills and I never changed them either before the crash or after:

Attack,Guard, Wave, Ice.
Or it could be that the crash caused an error in the directory structure instead of the file structure.

Windows can repair the directory structure on startup (and usually does so when an error is detected), but it can't replace lost data (damage in a file structure).

I don't want to give you a clean OK, because there had to be a reason for the crash and it could have created more problems that aren't found yet, but it is possible that an error from a crash is detected only after windows start and then repaired in the second windows boot after the crash.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top