Jump to content

Restarting a MTA Server without disconnect the players


Recommended Posts

Posted

Does someone know how do shutdown the MTA Server and then start it again without the players being disconnected. I mean, when the server is back, they synchronize again.

I am using Winodws

350x20_FFFFFF_FFFFFF_000000_000000.png

http://i.imgur.com/CSE28MJ.png

Don't hesitate to contact me for anything! If I can help, I will for sure!

Education is the most powerful weapon which you can use to change the world. - Castillo

Posted

No option for that. Since the MTA server is needed to connect players. But you can still restart some resources. But the MTA server if closed, the players will be disconnected.

Posted

Not possible at all, if server stopped that mean is not working , then the server will be without connextion and if server without an connextion for sure players will lose it too

Posted
Does someone know how do shutdown the MTA Server and then start it again without the players being disconnected. I mean, when the server is back, they synchronize again.

I am using Winodws

funny question

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted

You could make this if you have 2 servers for example (but it's impossible without disconnecting the players)

e.g when server 1 restarts, before it restarts it redirects players to server 2 with redirectPlayer function

and when server fully restarts, server 2 gets notified about it and redirects players back to server 1

though above method may be complicated and i wouldn't use it

If you find my post useful or if it helped you, please like my post :)
Ingame name: ZoeN

560x95_FFFFFF_FF9900_000000_000000.png

Posted
You could make this if you have 2 servers for example (but it's impossible without disconnecting the players)

e.g when server 1 restarts, before it restarts it redirects players to server 2 with redirectPlayer function

and when server fully restarts, server 2 gets notified about it and redirects players back to server 1

though above method may be complicated and i wouldn't use it

waste of time

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted
I see in some servers....

You get NT and then you connect back (in that while, it's suposed that the server restarted)

They might use the command 'refreshall' or maybe even 'refresh' when that happens.

Or just simply run a server-sided code which takes a lot of time. (Like I've seen on DayZ servers about ~2 years ago)

Posted
I see in some servers....

You get NT and then you connect back (in that while, it's suposed that the server restarted)

They might use the command 'refreshall' or maybe even 'refresh' when that happens.

Or just simply run a server-sided code which takes a lot of time. (Like I've seen on DayZ servers about ~2 years ago)

Yee it's a nice startpoint... but if I run the code, the server will only stop when the code ends, so it's the same thing...

/refreshall won't work in this case, as I want to restart the server to update it's MTA version, and not resources.

350x20_FFFFFF_FFFFFF_000000_000000.png

http://i.imgur.com/CSE28MJ.png

Don't hesitate to contact me for anything! If I can help, I will for sure!

Education is the most powerful weapon which you can use to change the world. - Castillo

Posted

I understood you ,already i made an discution with a guy had good experiences about that to be sure of your point but there's no way for that

Posted

You don't need virtual machines. Just open another server with different port.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted
You don't need virtual machines. Just open another server with different port.

You haven't understood him well, he asked can he run the MTA Client two or more times.

A unique GangWar gamemode waiting for you!
Click here for more information.

560x95_FFFFFF_FF9900_000000_000000.png

Posted
You don't need virtual machines. Just open another server with different port.

You haven't understood him well, he asked can he run the MTA Client two or more times.

Exactly. Because without virtual machine, you cant run 2 mta client at a time on 1 pc because a program will pop-up if you want to terminate the running GTASA program. Thats why Im asking for some ISO needed in virtual machine. Like WindowsXPSP3.iso.

Posted

Oh, I thought the discussion in this topic is about MTA server. Well, I suggest you to use VMWare running Windows 7. Inbuilt (In Windows 8 Pro) Hyper-V Manager could be used too, I think.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...