So, based on mithran's error script I've been having a memory leak in my battle scene for a while.
At first I didn't really notice, but in a battle with 3 or more enemies it gets quite noticable (especially if it goes on for a while), at times there's a small few seconds delay before an animation hits and pop-ups show (it's like it gets delayed) and in one case I even had my screen hanging when my boss collapsed.
This is what GOBJ showed.
There's also some other issues with other things not disposing. The biggest culprit there seems to be VE Fog/Overlay script, so going to look for a replacement. Also some Menu Luna stuff is popping up. My biggest concern atm is the memory leak sinceit seems to be messing up my battles.
For obvious reasons I can't upload my scripts file in this thread here due to paid script (Luna Engine for one) assets. But I would like some help. Scripter can contact me in PMs for the datafile.
At first I didn't really notice, but in a battle with 3 or more enemies it gets quite noticable (especially if it goes on for a while), at times there's a small few seconds delay before an animation hits and pop-ups show (it's like it gets delayed) and in one case I even had my screen hanging when my boss collapsed.
This is what GOBJ showed.
Code:
Time: 2020-06-24 13:20:04 +0200
Memory Leak #<Sprite:0x11ddbbdc>
In Scene Scene_Battle
Creation Stack::
Script 0086 -- Window_BattleLog, Line: 58:in `create_back_sprite'
Script 0086 -- Window_BattleLog, Line: 19:in `initialize'
Script 0186 -- Battle Luna, Line: 2696:in `initialize'
Script 0124 -- Mithran - Debugger, Line: 175:in `new'
Script 0124 -- Mithran - Debugger, Line: 175:in `new'
Script 0117 -- Scene_Battle, Line: 187:in `create_log_window'
Script 0117 -- Scene_Battle, Line: 160:in `create_all_windows'
Script 0153 -- YEA - Battle Engine, Line: 2644:in `create_all_windows'
Script 0156 -- YEA/Hudell - Order Gauge, Line: 556:in `create_all_windows'
Script 0210 -- YEA - Victory, Line: 1129:in `create_all_windows'
Script 0225 -- YEA - Battle Command, Line: 759:in `create_all_windows'
Script 0269 -- Venka's Bestiary v1.8, Line: 1660:in `create_all_windows'
Script 0117 -- Scene_Battle, Line: 14:in `start'
Script 0260 -- Galv - Message Background, Line: 136:in `start'
Script 0355 -- ED - Battle Tips, Line: 51:in `start'
Script 0356 -- ED - States Info Window, Line: 121:in `start'
Script 0100 -- Scene_Base, Line: 12:in `main'
Script 0124 -- Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0367 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0367 -- Main, Line: 7:in `<main>'
ruby:in `eval'
There's also some other issues with other things not disposing. The biggest culprit there seems to be VE Fog/Overlay script, so going to look for a replacement. Also some Menu Luna stuff is popping up. My biggest concern atm is the memory leak sinceit seems to be messing up my battles.
For obvious reasons I can't upload my scripts file in this thread here due to paid script (Luna Engine for one) assets. But I would like some help. Scripter can contact me in PMs for the datafile.