Cant reconnect to the game

Posted by FluxxStd
when the game got disconnected i want to have a auto reconnect when network is detected but when i try to connect again the debug messag come up

ioctlsocket failed with error: -1
Error (0x 2736): Could not set socket option
Socket timeout connecting
Socket failed to connect to server!

Replies (10)

Last message on 12 Jun 2021

Unknown_god on 3 May 2021, 12:08:22
So no luck on anything and I did a full internet reset with unplugging both router and modem, if I was banned that's my fault but I would how ever like to know.
Size43 (Administrator) on 4 Apr 2021, 16:31:01
Apologies for the delay. Those look like GM:Studio networking messages. My guess would be that you still have no internet when you try to connect again. If you add a delay (say ~5 seconds) before reconnecting, does that help solve the problem?
GellertGrindelwald on 3 May 2021, 12:34:09
It is beginning to annoy me, i was able to log in fine earlier but now i cannot
Unknown_god on 3 May 2021, 12:35:56
same, last 2 days i had no problems but now i cant get in at all.
FluxxStd (Topicstarter) on 13 Apr 2021, 19:08:43
actually i intentionally disconnect to internet and connect again just to test if it will reconnect to the game when i use gms_connect() but its not reconnecting even i already enable the internet connection , its give that error , but when i restart the game it connect and works fine , but i dont want that for my players, when the game is not connected with the server i run alarm for trying to reconnect again but its not solve my problem
Size43 (Administrator) on 24 Apr 2021, 19:13:12
Strange. Could you try adding the following code right before the gms_connect call you do when reconnecting?

global.__socket = network_create_socket(network_socket_tcp);

Does that fix the issue? Or does the console output maybe change?
FluxxStd (Topicstarter) on 21 May 2021, 17:16:41
No this doesnt fix the issue i just saw console output "Sending connection request" but thats it, It still not reconnected to the server
Size43 (Administrator) on 12 Jun 2021, 21:13:47
Alright, that at least means you're able to connect to the server. Just to make sure: you are logging in again after reconnecting, right?
GellertGrindelwald on 3 May 2021, 11:42:03
It would appear we are having the same issue, I am attempting to log into Dont Forget Connected, however when i imput my password all that happens is the box goes empty and nothing happens. I have tried to disconnect the internet and reconnect it, and also have restarted my laptop but with no posative result. I feared i had been banned, but if i had it would have shown a message, and i have done nothing to be banned.
Unknown_god on 3 May 2021, 12:34:55
ya so i have tried anything, let me know if you find or hear anything because i havnt seen any reports against me and if i was banned then hey my fault but at the very least i would wanna know so i can stop stressing lol.