Game shuts down, no error message

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
So.. I wanted to test a demo version of my Game, already deployed and ran into an issue:


During 2 hours of total gameplay the game shut down twice without any error message, it simply closed.


This never happened in any test play tho.


First time was after entering a battle, second time was during opening "boxes".


I've checked and tested the enemies of that battle encounter and everything seems to be alright.


Sure I use lots of scripts etc, but as there's no error message, I have no idea where to start.


My little hope is, that it's just my PC, as it's an old one.


It runs other games tho, but heavily depending on the game itself (like blizzard games, they run all w/o issues, but when I start apps on bluestack, they can sometimes just shut down, or another game which shuts down would be "Path of Exile")


So has anyone experienced yet, that a PC maybe wouldn't handle an RPG Maker Game?


I can try to run it on another PC, too. Still I wanna ask also here.


Else.. any idea what could cause this happening?


The Shutdown isn't reproduceable atm, I don't see any similarities between both situation except that generally sth was happening (and this is very "vague")
 
Last edited by a moderator:

Faytless

recently unemployed Kung Fu Master
Veteran
Joined
Jan 27, 2013
Messages
244
Reaction score
164
First Language
English
Primarily Uses
N/A
The next thing you'd probably want to do is see if it crashes with someone elses game -- preferb one not using scripts.   If it doesn't crash,  you slowly need to start disabling scripts to find the culprit
 

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
@EternalShadow 4GB, so effectively 3, I think Chrome + Kaspersky also use up relatively much of it


@Faytless Or I try on my husband's PC, which should be fine with 16GB. If it shuts down there, I highly guess, it is the game T_T I'm still not sure, which Plugin as the situations have been too different. One was outside, the other inside (which should exclude scripts like terrax lightning, weather, time, etc.. no?), no overlays in both.. in boxes are no enemies.. on enemy encounter no items (was start of the battle)


Only if it were 2 different plugins maybe? Which would be a bad coincidence, as both were w/o error message.


Uh and disabling scripts one by one will be difficult, I don't know how the error was produced.. so it would be sth like.. disable script -> deploy game -> start playing game from begin, see if it happenes, if not, hope that it's gone (wouldn't be a guarantee aswell, as long I don't know the cause of the error)


Is there the possibility that the game's file could become corrupted while deploying? - Or in worse case, even before?


Or shouldn't that happen usually?
 
Last edited by a moderator:

Faytless

recently unemployed Kung Fu Master
Veteran
Joined
Jan 27, 2013
Messages
244
Reaction score
164
First Language
English
Primarily Uses
N/A
Even if you find out its the game,  you still have to figure out whats causing it.


The only time an application shuts down AND does not give an error is when you make an illegal call that is foreign to the core application.  I mainly deal with Desktop Applications,  but the same can be applied here too.   So say if you have a math program that adds two numbers.  I know that the user might be silly and hit a letter instead of a number.  I will account for this by creating an error message.  Now, in case the client decides to do anything else but a number or a letter. I also account for this by making a universal error message as well.


I know you're reading this and probably thinking,  what does this have to do with my project? 


I'm leaning more towards plugins to be your issue.  As a Developer,  I can only account for problems that I know for sure will happen, and problems that I know the operating system might have with my program.  However, I cannot account for how other programs will integrate with my program.  Plugins can be very powerful,  but one of the issues with using some especially made by deifferent authors is you can't account for the interaction between two plugins.  


For Example,


I make a plugin to remove the title screen.  The way I code it though deletes everything that brings up the title.


Billy Joe Bob decides to make a plugin too that allows you to call a a custom Save/Load Screen.


Although there are many ways to accomplish a title screen skip,  I chose a way that would not work will Billy Joe Bob.  His call does not exist because of my plugin, thus creating a crash.


Here is a little troubleshooting 101 though

  • Play test on a different computer
  • Compile and play test again on a different computer (Does this work fine? Confirm by running the next step)
  • Try different things in your project while running to cause it to crash , i.e. try to break it on purpose
  • Disable ALL background programs that might use Graphics Power ( some laptops offer a "gaming mode", which free memory up except for bare essentials)
  • Compile a new project on the old computer  (Does this fail?  If it does,  Remove RPG Maker MV and all of its contents and reinstall) ( if this works it is definitely your project)
  • Examine all of your plugins specificially ones that are constantly running (i.e. Day Night Cycles, or anything that can loop) Disable these one at a time).
  • Disable ALL of your plugins and play test ( if this still crashes,  your project is likely corrupt)

This assumes that the crash happens at random, and not by an event call.  So if you can't directly replicate it,  its extremely difficult to figure out the exact cause. 


Hope this helps!
 

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
Yep, this will probably keep me busy for a while!


I just pray atm, that it's solved somehow.


I updated a plugin which caused major issues (not the crash, tho.. who knows), deployed the game again, playing it again.


It hasn't crashed so far. If it will crash again.. I gotta move on the other PC and pray it won't crash.


As this version is an inofficial demo among some friends, I can let them try it aswell (if it won't crash on our other PC). If it's stable on theirs aswell, then I was lucky I guess :x


Oh my.. and this at a state of max 10-15% completion of the game :x 


At least the majority of needed plugins are in now...


I see, why so many people don't/can't finish their project.


Anyway, thank you for that detailed answer.


After so much work put in, I'll do my best to get this working right >_< 
 

Derf_Derf

Warper
Member
Joined
Oct 28, 2018
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
I'm having this problem, but nothing is actually helped me
This has never happened before, it worked perfectly, But now it closes for literally no reason. I turned on/off plugins, deleted them ect, it's usually happens when music, or SE is loaded, none of the Audio is corrupted at all, so please somebody help me.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,193
Members
137,772
Latest member
Kirakirna
Top