Do you have an MV version of this debug script? I have a game crash problem that only happens on IOS devices - details here
Hidden Game.exe Crash Debugger - Graphical Object Global Reference ACE
RGSS3 Scripts (RMVX Ace)I don't. I very much doubt this is the same issue, since the symptoms are different and they don't even run off the same base language.
If my game isn't crashing but in one run through I got a ton of critical objects, is this something I should be worried about? Does this mean it will start crashing?
Maybe not ever for you, but sometime, for someone, yes, it will crash. Anything flagged as a critical issue (outside of the very few false positive cases caused by improper script structure) will be a problem to someone playing, even if it isn't to you right now. The crashes are generally very sporadic, but sometimes all it takes to make it start crashing consistently is a single sprite created or disposed somewhere that shifts garbage collection.
Let me know if you want me to take a look at your log file.
Scary stuff I have been working on this over a year. That is sad news. I use so many scripts i feel bad just asking for you to look a this complicated mess. Anyway if you wouldn't mind I would really appreciate your help. I think perhaps I have to many scripts installed. I am willing to scale back some of my ambitious ideas in terms of more stability but some scripts I really can't do without.
This is a link to my gobj file. Thanks so much for all your efforts Mithran. Don't know what the community would do without you.
https://www.mediafire.com/?2n5wqklnkd32kga
This is a link to my gobj file. Thanks so much for all your efforts Mithran. Don't know what the community would do without you.
https://www.mediafire.com/?2n5wqklnkd32kga
Do you have any other logs? It looks like just a single Sprite_Afterimage from the script "Visual Effect" is throwing the error. It is more than likely either being failed to be cleaned up when the scene closes or double created due to a conflict with one of your the scripts overwriting something. Since it looks like you have a lot of scripts relating to the scene in which it was created, I'll need the project file to see which one has the conflict, but it should hopefully be a simple trace. You can PM me if you like.
Hi @Mithran
I also have this randomly .exe crash bug recently. I kinda believe it's due to a Doodads script i installed
(before i installed it & if i disabled it, it's rarely to see a crash happen).
After i installed your script, after several tests, it hasn't got any crash so far too.
I tried to look into gobj file and checked another case you solved but...
i couldn't see anything unusual.
Can you please help me with it (≧д≦ヾ)
I attached gobj & doodad script files below, thank you
I also have this randomly .exe crash bug recently. I kinda believe it's due to a Doodads script i installed
(before i installed it & if i disabled it, it's rarely to see a crash happen).
After i installed your script, after several tests, it hasn't got any crash so far too.
I tried to look into gobj file and checked another case you solved but...
i couldn't see anything unusual.
Can you please help me with it (≧д≦ヾ)
I attached gobj & doodad script files below, thank you
If that "doodads" script is my Map Objects script, than I can assure you, these crashes you get are not from my script, at least not directly.
There is a reason why we need the whole project to fix these crashes from undisposed or not properly disposed objects. My script alone disposes everything properly, but if you use other custom scripts, those may have modified some methods I used in my script. There is no way to tell without the full project.
I would also appreciate if people wouldn't call my script as "doodads" script. I named it differently for a reason. >.>
I downloaded your attachment, and it turns out, it is not my Map Objects script. Just saw that you posted in my topic too, and assumed you used my script, sorry. 😛
Regardless, without the full project, if the issue is not from that script alone, no one can solve the problem.
There is a reason why we need the whole project to fix these crashes from undisposed or not properly disposed objects. My script alone disposes everything properly, but if you use other custom scripts, those may have modified some methods I used in my script. There is no way to tell without the full project.
I would also appreciate if people wouldn't call my script as "doodads" script. I named it differently for a reason. >.>
I downloaded your attachment, and it turns out, it is not my Map Objects script. Just saw that you posted in my topic too, and assumed you used my script, sorry. 😛
Regardless, without the full project, if the issue is not from that script alone, no one can solve the problem.
Hey @Sixth, no it's not yours, it's Doodads's Editor from newold =) So i called it short by "Doodad"
And thank you for remind me, i will re-attach scripts.rvdata2 too with 2 files above.
I could upload whole project if it's necessary, it will be over 600mb @.@
And thank you for remind me, i will re-attach scripts.rvdata2 too with 2 files above.
I could upload whole project if it's necessary, it will be over 600mb @.@
I see that that script uses a DLL, so yeah, the whole project with everything setup is the way to go here.
But I also see that the script doesn't dispose these doodads when the spriteset is disposed.
You can see this method in that script:
That should be this instead:
At least I think so, but without the required DLL, I can't test it.
But I also see that the script doesn't dispose these doodads when the spriteset is disposed.
You can see this method in that script:
Code:
def dispose
dispose_newold_edit_doodads
end
Code:
def dispose
dispose_doodads
dispose_newold_edit_doodads
end
@Sixth wow that's actually (likely) did it =@
I tested 5 times but no crash so far
i did look into those dispose section several times
but well.. couldn't figure it out until you helped, thanks Sixth (*⌒▽⌒*)θ~♪
I tested 5 times but no crash so far
i did look into those dispose section several times
but well.. couldn't figure it out until you helped, thanks Sixth (*⌒▽⌒*)θ~♪
Hi, I hope this topic is active, I have a "memory leak" problem In Scene Scene_Map and Scene_Battle whose object is "# <Window_Help>" I attach my log and my scripts Note: The names of the scripts are in Spanish, but the content is in English (obviously).
Please help @Sixth @Mithran or anyone.
https://www.mediafire.com/file/hvnkffs7zq3ja0t/gobj_1.txt/file
https://www.mediafire.com/file/ule80gb0slga5ha/Scripts.rvdata2/file
Please help @Sixth @Mithran or anyone.
https://www.mediafire.com/file/hvnkffs7zq3ja0t/gobj_1.txt/file
https://www.mediafire.com/file/ule80gb0slga5ha/Scripts.rvdata2/file
Putting your scripts file into a test project does not give me any errors.
How do you have your battle set up, or what events are you doing that cause the leak to show up.
How do you have your battle set up, or what events are you doing that cause the leak to show up.
I have the battle system set up as it is in the scripts. At the time of the tests I have nothing activated, if it is a parallel event I activate it manually, but what in the maps are events that are activated by action buton o player touch.
EDIT: I have several events with stepping animation, custom movement and with ADD blending.
but I don't think it has to do with the alerts it prints, that is, I think it is a problem of the message windows, in the first topic pages I read of a problem similar to this.
EDIT 2: I have several events scheduled to use the large choices script system, but I don't think, only 1 is activated per common event (using the yahfly menu system and 2 NPCs, but they are also activated at the player's wish.
EDIT 3: I think it's a problem with the large choices script by Modern Algebra and the Yanfly Message system, I disabled it and I don't have any more errors, Reviewing it, he only wrote a "compatibility" in the position of some things and code.
I see the error pop up when the battle starts.
You can either Comment out three lines in ATS: Choice Options
Lines 681-683
This is what I did for my game.
Or use the code mentioned on the first page like you said.
You can either Comment out three lines in ATS: Choice Options
Lines 681-683
Code:
#~ self.help_window = Window_Help.new(lines > 0 ? lines : 1)
#~ help_window.z = self.z
#~ help_window.hide
Or use the code mentioned on the first page like you said.
Code:
class Window_Message
alias dispose_mith_leak_fix_face_window dispose
def dispose
@face_window.dispose if @face_window
dispose_mith_leak_fix_face_window
end
end
class Window_ChoiceList
alias dispose_mith_leak_fix_help_window dispose
def dispose
@help_window.dispose if @help_window
dispose_mith_leak_fix_help_window
end
end
The first option worked! Thanks! 👍🙂👍
Postdata: @Roninator2 I commented the lines of the same script from 1028 to 1057 because the game interpreter was running a "eval script" on line 1037, so I eliminated the function of creating "help windows" from it.
My game started lagging today and when checking GOBJ I'm running into some strange errors.
Now I don't mind uploading my scripts.data in private PM. But not on a publc forum with plenty of paid scripts in it. 😅
Anyone free to give me a hand?
I already tried one of the VE fog fixes (the line 546 one) added in this thread.
But if the script itself turns out to be very problematic, I might just get rid of it all together for a different one.
Edit: My battle screen is also giving me a memory leak error.
Edit2: I managed to fix some venka bestiary bugs by a fix posted earlier in this thread. But some still show up.
Code:
Time: 2020-06-23 21:15:37 +0200
CRITICAL OBJECT #<Sprite:0x1215c338>
In Scene Scene_Bestiary
Creation Stack::
Script 0269 -- Venka's Bestiary v1.8, Line: 1931:in `create_enemy_image'
Script 0269 -- Venka's Bestiary v1.8, Line: 1854:in `create_all_windows'
Script 0269 -- Venka's Bestiary v1.8, Line: 1807: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 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
Time: 2020-06-23 21:15:43 +0200
CRITICAL OBJECT #<Sprite_Screen:0x121487d4>
In Scene Encyclopedia
Creation Stack::
Script 0353 -- Theo - Pause anywhere, Line: 85:in `start'
Script 0328 -- Nova Encyclopedia 2.1, Line: 1136: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 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
Time: 2020-06-23 21:15:50 +0200
CRITICAL OBJECT #<Sprite_Screen:0x121529a0>
In Scene Scene_Menu
Creation Stack::
Script 0353 -- Theo - Pause anywhere, Line: 85:in `start'
Script 0103 -- Scene_MenuBase, Line: 12:in `start'
Script 0104 -- Scene_Menu, Line: 12:in `start'
Script 0148 -- YEA - Menu, Line: 433:in `start'
Script 0187 -- Menu Luna, Line: 2913: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 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
-----
Time: 2020-06-23 21:15:50 +0200
CRITICAL OBJECT #<SpriteMenu_Playtime:0x1206e354>
In Scene Scene_Menu
Creation Stack::
Script 0187 -- Menu Luna, Line: 2949:in `create_menu_status'
Script 0187 -- Menu Luna, Line: 2914: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 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
-----
Time: 2020-06-23 21:15:50 +0200
CRITICAL OBJECT #<Sprite_Screen:0x11dfdc8c>
In Scene Scene_Map
Creation Stack::
Script 0353 -- Theo - Pause anywhere, Line: 85:in `start'
Script 0325 -- BGS自動演奏スクリプトVXA, Line: 208:in `start'
Script 0102 -- Scene_Map, Line: 12: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 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
-----
Time: 2020-06-23 21:15:53 +0200
CRITICAL OBJECT #<Sprite_Fog:0x1b84abb4>
In Scene Scene_Map
Creation Stack::
Script 0249 -- VE - Fogs v1.12, Line: 498:in `block in update_fogs'
Script 0249 -- VE - Fogs v1.12, Line: 762:in `block in each'
Script 0249 -- VE - Fogs v1.12, Line: 762:in `each'
Script 0249 -- VE - Fogs v1.12, Line: 762:in `each'
Script 0249 -- VE - Fogs v1.12, Line: 497:in `update_fogs'
Script 0249 -- VE - Fogs v1.12, Line: 476:in `update'
Script 0279 -- FenixFyreX - Light Effects, Line: 290:in `update'
Script 0102 -- Scene_Map, Line: 90:in `update_for_fade'
Script 0102 -- Scene_Map, Line: 98:in `block in fade_loop'
Script 0102 -- Scene_Map, Line: 96:in `times'
Script 0102 -- Scene_Map, Line: 96:in `fade_loop'
Script 0102 -- Scene_Map, Line: 105:in `fadein'
Script 0102 -- Scene_Map, Line: 227:in `post_transfer'
Script 0152 -- YEA - Core Engine, Line: 929:in `post_transfer'
Script 0237 -- YEA - Event Window, Line: 435:in `post_transfer'
Script 0279 -- FenixFyreX - Light Effects, Line: 803:in `post_transfer'
Script 0102 -- Scene_Map, Line: 206:in `perform_transfer'
Script 0102 -- Scene_Map, Line: 167:in `update_transfer_player'
Script 0102 -- Scene_Map, Line: 79:in `update_scene'
Script 0264 -- Modern Algebra QuestJournal, Line: 2652:in `update_scene'
Script 0102 -- Scene_Map, Line: 66:in `update'
Script 0100 -- Scene_Base, Line: 14:in `main'
Script 0124 -- Mithran - Debugger, Line: 246:in `main'
Script 0006 -- SceneManager, Line: 23:in `run'
Script 0368 -- Main, Line: 7:in `block in <main>'
:1:in `block in rgss_main'
:1:in `loop'
:1:in `rgss_main'
Script 0368 -- Main, Line: 7:in `<main>'
ruby:in `eval'
Now I don't mind uploading my scripts.data in private PM. But not on a publc forum with plenty of paid scripts in it. 😅
Anyone free to give me a hand?
I already tried one of the VE fog fixes (the line 546 one) added in this thread.
But if the script itself turns out to be very problematic, I might just get rid of it all together for a different one.
Edit: My battle screen is also giving me a memory leak error.
Edit2: I managed to fix some venka bestiary bugs by a fix posted earlier in this thread. But some still show up.
Did you, in any way, overwrite the terminate method?
You can try to do a broad search by CTRL + SHIFT + F and then type "def terminate"
not in my script, in particular, but in another script slot below my script. If it's being overridden, then my sprite will not get disposed properly.
Original thread: https://forums.rpgmakerweb.com/threads/hidden-game-exe-crash-debugger-graphical-object-global-reference-ace.17400/