Exit in titlescreen moves me to titlescreen

Status
Not open for further replies.

RPGVeir

Veteran
Veteran
Joined
May 31, 2015
Messages
70
Reaction score
0
First Language
Polish
Primarily Uses
RMVXA
I got informed of this bug by my friend, who was testing the game. Whenever I press exit in titlescreen it wont exit but restart titlescreen instead.

It should go like this:
Open .exe -> title screen -> press exit -> game quits

But it goes like this instead:
Open .exe -> title screen -> press exit -> game restarts title screen -> press exit second time -> game quits.

I am using Luna Engine but I doubt its the source of my problem. =.=
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,881
Reaction score
8,241
First Language
English
Primarily Uses
RMMV

I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,402
Reaction score
499
First Language
English
Primarily Uses
RMVXA
You will need to diagnose it more. Luna engine would not cause that, unless you did something extra to cause it.
*I use Luna engine.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
811
First Language
Hungarian
Primarily Uses
RMVXA
Do a search for rgss_main in your script editor with CTRL+SHIFT+F.
If you find 2 of them, that's your problem. Only 1 should be there, otherwise it will exit one loop, and start the other one after that, which is basically restarting the game.

If that's not the issue, than I'm out of guesses.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,223
Reaction score
13,759
First Language
English
Primarily Uses
RMVXA
If you have the backtrace script installed, that always happens as it causes two instances of main to occur. You should remove it before having others play it unless you want it there for debugging, in which case you will need to tell them to just x out the window for now until we are past that stage.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
811
First Language
Hungarian
Primarily Uses
RMVXA
The proper way of installing that backtrace script is to replace the default Main script with that one, in which case it will exit the game properly.
If he added it in a new script slot, than that's the issue right there.
 

RPGVeir

Veteran
Veteran
Joined
May 31, 2015
Messages
70
Reaction score
0
First Language
Polish
Primarily Uses
RMVXA
Oh yeah, silly me. I had double main. Thanks a lot
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,881
Reaction score
8,241
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

Would Jump into Javascript be best off continuing to break down the MV core files, or would people prefer a quick detour to cover everything that's changed in the core from MV to MZ?
Not going to lie... PIXI Particles make fantastic graphics... But predicting the hitbox of something with a "fixed size" but whose graphics can stick out past that, is quite challenging. :kaoswt:
Would you like a glass of spiders?
Besides my Might and Magic inspired project, I have always wanted to make a Fire Emblem-like game. Time is the culprit... Between life, composing music packs, and working on a game can it be done!? The tactical plugins for MV work quite well based on what I have tested.

Forum statistics

Threads
100,530
Messages
976,884
Members
132,081
Latest member
Kaezyelnatz
Top