SA-MP Forums Archive
Restart GTA launcher to reconnect - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Restart GTA launcher to reconnect (/showthread.php?tid=607510)



Restart GTA launcher to reconnect - justjamie - 20.05.2016

Hello.

Whenever i GMX, i have to restart my client, and i can't regulary reconnect to my server.
Can someone help me?


Re: Restart GTA launcher to reconnect - Micko123 - 20.05.2016

that is not problem. many players have same thing as you.
But what you think when you say you can't reconnect regulary?


Re: Restart GTA launcher to reconnect - justjamie - 20.05.2016

Quote:
Originally Posted by Micko123
View Post
that is not problem. many players have same thing as you.
But what you think when you say you can't reconnect regulary?
just says "server restarting", and it doesn't do anything after that.
I need to close the server manually, and then connect again.


Re: Restart GTA launcher to reconnect - Micko123 - 20.05.2016

Is that on host or it is on your home server??
If it is on host tell me on what host it is


Re: Restart GTA launcher to reconnect - justjamie - 20.05.2016

Quote:
Originally Posted by Micko123
View Post
Is that on host or it is on your home server??
If it is on host tell me on what host it is
it's on my home server


Re: Restart GTA launcher to reconnect - Micko123 - 20.05.2016

Then how can you do GMX on your home server?


Re: Restart GTA launcher to reconnect - justjamie - 20.05.2016

Quote:
Originally Posted by Micko123
View Post
Then how can you do GMX on your home server?
oh you can't?
xd


Re: Restart GTA launcher to reconnect - Micko123 - 20.05.2016

For GMX you need host so it can restart server. On your home server you turn on that samp-server.exe program to start server. So if you want to restart it you need to turn it off and then turn it on again.
In host process is similar just it is automatic (it is complexer a bit but this is just to show you how it works).

PS:Unless you don't have this problem on online server on host there is nothing to worry about


Re: Restart GTA launcher to reconnect - justjamie - 20.05.2016

Quote:
Originally Posted by Micko123
View Post
For GMX you need host so it can restart server. On your home server you turn on that samp-server.exe program to start server. So if you want to restart it you need to turn it off and then turn it on again.
In host process is similar just it is automatic (it is complexer a bit but this is just to show you how it works).

PS:Unless you don't have this problem on online server on host there is nothing to worry about
ah.
isn't there a way to make this work?


Re: Restart GTA launcher to reconnect - Micko123 - 20.05.2016

I don't think so.


Re: Restart GTA launcher to reconnect - PrO.GameR - 20.05.2016

Quote:
Originally Posted by Micko123
View Post
For GMX you need host so it can restart server. On your home server you turn on that samp-server.exe program to start server. So if you want to restart it you need to turn it off and then turn it on again.
In host process is similar just it is automatic (it is complexer a bit but this is just to show you how it works).

PS:Unless you don't have this problem on online server on host there is nothing to worry about
What the hell are you talking about? Like seriously, do you even know ANYTHING about sa-mp server?? GMX is an rcon cmd which loads the next GM in your GM list, if there is 1, it restarts it.

OT: While I don't really like this rcon command, one thing I know is players are connected when OnGameModeInit is called, so I think it doesn't call OnPlayerConnect and your code is under OPC, so you could check that.