robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 30 Mar 2014 02:35 AM |
Seen people do it before, I have no method of doing so other than lagging out all of the clients. -=Robo=- |
|
|
| Report Abuse |
|
|
iYoshiFox
|
  |
| Joined: 14 Apr 2012 |
| Total Posts: 1058 |
|
|
| 30 Mar 2014 02:35 AM |
| game.Players:ClearAllChildren() |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2014 02:36 AM |
while true do g = Instance.new("ManualSurfaceJointInstance", workspace) end
|
|
|
| Report Abuse |
|
|
iYoshiFox
|
  |
| Joined: 14 Apr 2012 |
| Total Posts: 1058 |
|
|
| 30 Mar 2014 02:38 AM |
^^^^^ Don't do that.. ._. It can crash the entire game. (break it) |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2014 02:38 AM |
| Also if your an owner of a game you can click shutdown on a server in the games tab showing all the different servers on YOUR game underneath your game. |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 30 Mar 2014 02:49 AM |
@rockandgreen that's a pointless amount of effort when i could just code an automatic method of it everytime it's updated rather than shutting down every individual server -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2014 02:53 AM |
| Oh ok I didn't know that's what you needed. Was wondering why you were on scripting helpers forum. Now I know. |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2014 03:05 AM |
@iYoshi
This will not work because someone can join the game right after this happens.
|
|
|
| Report Abuse |
|
|
|
| 30 Mar 2014 05:06 AM |
while wait() do for i,v in pairs(game.Players:GetPlayers()) do v:Kick() end end
#nerdsunited |
|
|
| Report Abuse |
|
|
compy111
|
  |
| Joined: 02 Apr 2009 |
| Total Posts: 583 |
|
|
| 30 Mar 2014 06:59 AM |
while true do print("bye bye") end
This will also shutdown the server lol |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 30 Mar 2014 10:42 AM |
Guys, these all work and all but I need a method that'll prevent people from entering after it's been shutdown and won't crash everyone. In other words, I need to know how to lock the server. -=Robo=- |
|
|
| Report Abuse |
|
|
compy111
|
  |
| Joined: 02 Apr 2009 |
| Total Posts: 583 |
|
|
| 30 Mar 2014 10:45 AM |
ooh, that way.
Go to your roblox profile. Below the list of your places there is a button called: 'Manage places'. Click on that and you will see all your places. Go to the place you want and click on 'Active' beneath the name. This will shutdown all servers properly and nowone is able to enter anymore. |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 30 Mar 2014 10:47 AM |
compy, i knew how to do that, dude, that's not what i meant. xD What I'm talking about is say I created a mechanism using data store that recognized when there was a new version available. It would notify all players in the server that 10 minutes post notification the server would be shut down and it does it for me so I don't have to do it myself. I know it's possible to remove all the players but I can't think of anyway to efficiently keep a server empty until it's removed other than crash banning everyone who tries to enter. -=Robo=- |
|
|
| Report Abuse |
|
|
compy111
|
  |
| Joined: 02 Apr 2009 |
| Total Posts: 583 |
|
|
| 30 Mar 2014 11:10 AM |
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOHHHHHHHHHHHHHH Now I got it (at least I think so)
game:Shutdown() |
|
|
| Report Abuse |
|
|
spearman2
|
  |
| Joined: 28 May 2010 |
| Total Posts: 2938 |
|
|
| 30 Mar 2014 11:12 AM |
game:Shutdown() is locked
Like all other very useful things. |
|
|
| Report Abuse |
|
|
compy111
|
  |
| Joined: 02 Apr 2009 |
| Total Posts: 583 |
|
|
| 30 Mar 2014 11:14 AM |
right... Doesn't kicking all player remove a server? Otherwise I don't think it is possible. |
|
|
| Report Abuse |
|
|
|
| 30 Mar 2014 11:15 AM |
game.Players:ClearAllChildren() game.Players.PlayerAdded:connect(function(p) p:Destroy() end)
I won a math debate |
|
|
| Report Abuse |
|
|
spearman2
|
  |
| Joined: 28 May 2010 |
| Total Posts: 2938 |
|
|
| 30 Mar 2014 11:22 AM |
p = game.Players:GetPlayers() for i = 1,#p do p[i]:Kick() end
Won't shut the game down instantly...but...it's disconnect every player..close enough right.. |
|
|
| Report Abuse |
|
|