Two issues I would like solved...

Issue 1: Is the inability to test chunks of my program, as can be seen in the error image. Every time I select 'test' by right-clicking in any area of the program, I get this error message. I don't know what the problem is or what caused it, and I don't recall having this problem before.

Type Error (Tile Map).PNG


Issue 2: Blinking sprites are becoming a hassle for cutscenes and various event animations in my game. For example, when I swap between two different animated sprites using a variable (which I use to progress the animation in stages) the sprite always blinks in and out of existence when I swap between it and a different one. This also happens when the player changes skin, but it doesn't happen as frequently when compared to events. The player can change their appearance when they equip certain effects in my game, which is made possible through item use that calls upon a common event. Is there any way to stop this from happening for both event sprites and player skins?
"of undefined" always means that the engine is trying to access a data object that does not exist.
This usually happens if you delete parts from the database that are still referenced somewhere.

There is a reason why a new project has already entries into the database - and that is because those entries are needed for the engine to function. You can only delete them after you know what they are for and after replacing them with the parts where your game is.

If you gave a full console output (the one you get with F8) we might be able to point to what has been deleted, but from the error I would guess you deleted tilesets and one of your maps had used that tileset.

As for your other problem:
that sounds as if you have problems with loading delay of files. All pictures need to be loaded before they can displayed, and if either the pictures are too big or if you have already filled the cache to maximum, then that takes a delay.
Theoretically you can preload pictures to prevent that, but preloading needs your precise guidance or it will cause memory leaks and even more lag.
I don't know how to preload sprites. How would this be done?

Also, here is more information about the errors:
Error Information.PNG
Error Information 2.PNG

Be sure to click and zoom in on this one. I am not expecting anyone to tell me every single detail. A general guide on what to do next should suffice.
in this case it means that one of your plugins, either QPlus or Mog_WeatherEX, is not correctly configured.
it has nothing to do with the database like I originally thought.

as for preloading, it needs a plugin that should give you commands to load files into cache and unload them again after use. Then you give the command to load all the sprites you expect to need in the next few second of the event sequence, and unload them again after they are no longer needed.

The problem is that every sprite needs RAM and if you load too many you create the opposite effect of what you want: lag due to insufficient RAM instead of loading lag. And solving that requires experience - there will never be instructions to tell you how, you'll have to experiment to find the correct timing for those preload commands.
Well, both QPlus and Mog_WeatherEX work just fine. So, I don't know how they could be having configuration problems. What does that mean exactly?

Also, does anyone know of any good plugins for image loading commands?
You may already have thought about this, but when you swap an event sprite, are you making sure the last page has an image?
Yes of course. The last page always has an image.
Well, both QPlus and Mog_WeatherEX work just fine.
They can't work fine, because QPlus is the plugin that caused/reported that error - it says so in the top line of the error trace of your screenshot. And Mog's plugin is involved in that error, or it wouldn't be listed in the trace as well.

Original thread: https://forums.rpgmakerweb.com/threads/two-issues-i-would-like-solved.143855/