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,775
Reaction score
8,198
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,332
Reaction score
482
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
810
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,104
Reaction score
13,598
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
810
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,775
Reaction score
8,198
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

Before I am done with even one game, I am going to need Psychiatric assistance after doing all these sprites!
Still I am improving, Spriting not mental fortitude.
It's still early days, and I was going to keep this under wraps until development is a bit further along, but I'm just so damn proud of how robust the integrity-checking in this plugin is that I have to share it.
Do you think the new RPG Maker MZ has support for Android devices ?
JDgoldvox wrote on Mr. Detective's profile.
hey, could u help me with a problem? basically, How do I delete a character from a map after a cut scene is over? I am really new with RPG maker MV. Please help!
The most rewarding part of making custom body character parts is absolutely not making the masks work. Somebody please put me out of my misery.

Forum statistics

Threads
99,265
Messages
963,652
Members
130,863
Latest member
AdamEternal
Top