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
16,001
Reaction score
8,894
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
3,034
Reaction score
678
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,195
Reaction score
844
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,787
Reaction score
14,582
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,195
Reaction score
844
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
16,001
Reaction score
8,894
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.

Latest Threads

Latest Profile Posts

dd_airport.jpgdd_combat.jpg
dd_town.jpg
I did an experiment to try to solve the art style problem between RTP and 3D models.
But, it feels this grimdark world is going to end even faster. :kaoswt2:
Solovei wrote on caethyril's profile.
Hi, just wanted to say, thank you for helping me fix that event with the step count! I followed your example exactly and it works now:kaojoy:
still waiting for original character contest 3 bust/face dlc release :kaoluv:
Stimpaks and More.png
Continued work. Still a WIP, some need some retouching. Stimpak, Radaway, Psycho, Jet, Mentats, Medex(ish/needs to be purple), bloodpack, glowing bloodpack. Made some Nuka too. Need to make Rad-X.
Nuka Sheet WIP FR.png
Done translating our projects intro sequence : D

Forum statistics

Threads
111,182
Messages
1,059,052
Members
144,426
Latest member
Nyaka
Top