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
15,354
Reaction score
8,533
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,660
Reaction score
563
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,162
Reaction score
822
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,522
Reaction score
14,255
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,162
Reaction score
822
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
15,354
Reaction score
8,533
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 Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top