Need immediate support for bug

I finally released my game, just to find that it can't render the overworld due to a coding bug.


This pops up every time you try to leave town.


It's failing to create the bitmap, which it didn't have a problem with until now. The event transfers the player to the main overworld, which is 57x155 tiles.


#--------------------------------------------------------------------------
# * Create/Get Normal Bitmap
#--------------------------------------------------------------------------
def self.normal_bitmap(path)
@cache[path] = Bitmap.new(path) unless include?(path)
@cache[path]
end


It's having a problem with the second line of coding (@cache[path] = Bitmap.new(path) unless include?(path))


I don't know what's wrong, and I would like immediate help on this! Would the size of the overworld have anything to do with this or the amount of events in it?


EDIT: I have deleted any events or graphics I found left over or unused to see if file size effects anything as well.
You think it might be something in the transition event and not the main script itself?
You think it might be something in the transition event and not the main script itself?

The event is set to go to the main overworld, but the game is having trouble rendering it or something.
I fixed it. Kinda. I had to include the main RPG Maker project in order for the world to render, which I'm fine with. People can dig through the files if they want, so long as they don't try to distribute mine or the RPG Maker's content as their own.
I have a guess what happened, you might want to keep that in mind for later.


There are two different script functions to load data from the project, and only one of them can access an encrypted archive. That is no problem as long as you're using the default engine, because in that case the correct function is used.


However, I've heard of problems with several scripts where the scripter used the wrong function to load its data, and that always results in the load only functioning without encryption.


I suggest you check which of your scripts loads its data independently - only that data needs to be outside the archive, the rest can be encrypted (which is a legal requirement in case you've used shop resources). Or you can rewrite the script to use the correct function for loading encrypted files if you know about scripting yourself (or request it)

Original thread: https://forums.rpgmakerweb.com/threads/need-immediate-support-for-bug.58957/