Connects to the server. You only need to call this script, when gms_info_isconnected returns false. This script will be executed automatically when the game starts.
Whenever i create a new account in my game and login the loading just goes too long i've been waiting for 30 minutes it shouldn't be that long normally when accounts are getting created it only takes 5 seconds then new account is done
i think this has something to do with the gms or the connection i need help please.
I've had no problems connecting to the server and reading and writing INI files so far. A few hours ago, the game I had working suddenly stopped connecting to the server. Is there something that I don't understand or is there a problem with the server?
You can use gms_logout to log the player out of their account. There's no way to disconnect from the server, strangely enough. I'll add that to my todo list.
When running in android and the app is running in the background, the game is disconnected to the server. In order to solve it, when openning again from background, I have in the controller object: Step event
if room==room_main_centro or room==room_main_izq or room==room_main_dcha or room==room_main_chat or room==room_guarida { if gms_info_isconnected()==false && alarm[3]=-1 { alarm[3]=60 } if gms_info_isconnected()==true && gms_info_isloggedin()==0 { gms_login_set_password(global.pass1) gms_login_set_username(global.usuario) gms_login_execute(scr_login) } }
Alarm 3 event
gms_connect()
This code is not connecting me again to the server. What is wrong?