Script and Event checker

  • Are you using those "Sensor" events on that map, or anything like that?

On RPG Maker, on the menu "Game", there's an option to show the console.
Really, you should check your CPU clock speed.
2.3 GHZ

  • Are you using those "Sensor" events on that map, or anything like that?
  • On RPG Maker, on the menu "Game", there's an option to show the console.
I'm not using any sensor events on that map, it's for another dungeon. And what menu "game" are you talking about?
Okay, 2.3 GHZ should definitely yield more than 10 FPS. Could you upload a demo of the map itself?

You have both Khas' light effects script and Zeus81's. Why?
Okay, 2.3 GHZ should definitely yield more than 10 FPS. Could you upload a demo of the map itself?

You have both Khas' light effects script and Zeus81's. Why?
'cause Khas is marvelous but way too laggy. Zeus is a little unreal, but it won't cost too much FPS. I have a "settings" option in my game which allow people to change game's effect from high to low or vice versa. By that way, even a VERY VERY VERY WEAK Computer can play my game smoothly. Like, if high eff option is on, use Khas. if low eff option is on, use Zeus. The map only won't have this problem, so i don't think the demo might work. Maybe something before it... But it's really strange. I means, in a same story process of my game with same environment between everymap, only that map have this problem. (same environment means, a show picture, a tint screen and only 1 switch of the next event on).

Edit: Just to ask, if i play a game with a script, then save. And i open the game, turn the script off, then load the save. Will the save be updated with that script turned off or that script still remain in the save data?
And what menu "game" are you talking about?
The editor's game menu where you turn on the console before playtesting - that is needed for the other scripts to show their output. 

Edit: Just to ask, if i play a game with a script, then save. And i open the game, turn the script off, then load the save. Will the save be updated with that script turned off or that script still remain in the save data?
No - every save will contain the data and status sequences for the game's scripts when it was played.
That is one reason why after every script change you should start a new game and never load an old savefile. in 80% of all scripts (especially the complex scripts, lower risc with simple scripts) loading an old savefile from before the script was entered will result in crashes or other bugs.
Add a new page to your events that have the parallel processes. Make sure it's the highest numbered page. Don't change any of the settings. Then run and see if the lag goes away.
  • Are you using those "Sensor" events on that map, or anything like that?
  • On RPG Maker, on the menu "Game", there's an option to show the console.
Tested. I see a ton of common event update right in the main menu, even before i start the game and those common event shouldn't be turned on...

I detele all of common event listed in that RGSS console, but still no luck. The map still countinously decrease FPS without ANY event or common event being show in the console.

Add a new page to your events that have the parallel processes. Make sure it's the highest numbered page. Don't change any of the settings. Then run and see if the lag goes away.
Tried, but no luck...  ;_;
Does it still lag if you disable Khas' Light script completely?
Does it still lag if you disable Khas' Light script completely?
After disabled Khas's and play the whole game from the start, the lag gone somehow, really strange. I don't even use Khas on that map...
... even a VERY VERY VERY WEAK Computer can play my game smoothly.
Won't happen. Ever.
The default engine (meaning no custom scripts at all) on the default resolution runs only at around 40 FPS with only 3 events on a 30x30 map on my, as you wrote, WEAK laptop. Add in one of the most performance killer scripts (both Khas' and Zeus' Light Systems are devastating to your FPS), and there goes 20 FPS on the mentioned map...


You can not make any kind of optimization based on the default engine, that should be clear from testing on really weak PCs. People without a really weak PC to test often write those things like you, but a PC with 2GHz+ CPU speed (often multi-core, not that it matters with RPG Maker) with 4GB RAM is NOT a weak PC, not even close to that, and test results from these PCs will not be sufficient to effectively optimize your game.


Try it on a PC with around 1GHz CPU speed and 1GB RAM, you will see what it's like to play on a weak PC for real.


Anyway, wouldn't it be much easier to upload your whole game, so that the others could see your maps/events without guessing what the problem could be endlessly?


But seeing that you use 2 lighting scripts, my best guess would be that you changed the gray value in a tint screen command. That alone can halve your FPS. Adding in a rain/storm effect will lower the FPS even more. And these are only from the default engine commands, no scripts involved at all.
After disabled Khas's and play the whole game from the start, the lag gone somehow, really strange. I don't even use Khas on that map...
Read post number five again - it is known that Khas Light script causes a lot of lag, that's why I mentioned it and asked you to check...

Original thread: https://forums.rpgmakerweb.com/threads/script-and-event-checker.41838/