generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Which is the quickest way to end a server?

Previous Thread :: Next Thread 
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
07 Nov 2012 04:38 PM
Instance.new("ManualSurfaceJointInstance")

ypcall(wait)

while true do Instance.new("Part", workspace) end

Instance.new("StringValue", workspace).Value = ("shutdown"):rep(1e10)
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
07 Nov 2012 04:44 PM
Instance.new("StringValue", workspace).Value = ("shutdown"):rep(1e10)
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
07 Nov 2012 04:47 PM
ypcall(wait) in my opinion is the most quickest way.

You only have to type in 12 letters!
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
07 Nov 2012 04:48 PM
@Vit, yus but Instance.new("StringValue", workspace).Value = ("shutdown"):rep(1e10) ends the server faster. :3
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
07 Nov 2012 04:56 PM
I personally think they are the same speed.

But the one that inserts a bunch of string values into the workspace doesn't even crash for me, the string value just rejects all the text.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
07 Nov 2012 04:57 PM
*a string value with a bunch of text in it

Pardon me I'm kind of in a hurry .
Report Abuse
Luc599345 is not online. Luc599345
Joined: 25 Jul 2008
Total Posts: 1169
07 Nov 2012 05:01 PM
If I remember right, a StringValue with a value's which length is over 200k (I'm not sure?) automatically closes the server. Yes, automatically.
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
07 Nov 2012 05:21 PM
@Luc599345

Not exactly.

When a object with a string property containing over 200k characters is replicated to a client, that client instantly disconnects from the game.
Report Abuse
thumper10 is not online. thumper10
Joined: 17 Apr 2009
Total Posts: 3304
07 Nov 2012 06:50 PM
@Julien
Wouldn't that allow for targeted players to be disconnected? Example:
local lol = Instance.new("StringValue", game:service("Players").thumper10)
lol.Value = string.rep("Satan says hai", 1000000000000)

- thumper10, C# Lover
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
07 Nov 2012 07:17 PM
@thumper10

Player objects and their children replicate to every player.
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
08 Nov 2012 12:47 AM
You shouldn't be worrying about the speed of the shutdown. It should be clean, though.

Instance.new("Message", Workspace).Text = "Server Shutdown."
Game.Players:ClearAllChildren()
Game.Players.PlayerAdded:connect(function()
Game.Players:ClearAllChildren()
end)


This way you just can't chat or walk around with a character or use GUIs, and your player is inaccessable. Much more sutle than ROBLOX crashing.

If you're creating an anti-exploit model, use ManualSurfaceJoints. In the workspace for anonymous exploits, in current camera for specific players (like, if they select something).
Report Abuse
Quenty is online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
08 Nov 2012 12:52 AM
If you create an animation object, and don't have the right number of keyframes that match up, then ROBLOX will crash.

I just applied every single method in my admin commands. I wouldn't rely on the string, the manual joints, or stuff.

Don't use SN0X's method either, as it can sometimes leave a server where everyone get's banned who joins, so no one can play, but it still exists.

CRASH DAT THING.

My method is just use up all the memory that ROBLOX has by instancing parts in an infinite loop, after trying to crash it in every way possible way.

while true do
for i=-math.huge, math.huge, 1/math.huge do
Instance.new("Part", Workspace).Size = Vector3.new(1000, 1000, 1000);
end
end

Creating a TON of parts. Which require physics. The for loop itself should kill all script memory.
Report Abuse
liavkr104 is not online. liavkr104
Joined: 02 Nov 2008
Total Posts: 4320
08 Nov 2012 07:10 AM
Pressing the "Shutdown" button.
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
08 Nov 2012 07:47 AM
game.NetworkServer:Destroy()
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
08 Nov 2012 10:26 AM
"Don't use SN0X's method either, as it can sometimes leave a server where everyone get's banned who joins, so no one can play, but it still exists."

If I remember correctly this was fixed, along with the online players > max size servers.

Therefore, the server should shut down within a few seconds of player deletion, but just in case more players join, they are deleted too.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
08 Nov 2012 11:04 AM
Nuke Roblox's server buildings.
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
08 Nov 2012 12:50 PM
^

No, nuke the clients.

Wait, no, implode the world. Insert a 15000x15000 KM diameter vacuum sphere thing into the earth's core, then pop it :D

By nuking the servers, you still have to wait for the data packets to send
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
08 Nov 2012 12:52 PM
Insert antimatter bomb into the Sun's core. You wouldn't have to worry about the data packets, they'd be fried quite quickly in the nova.
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
08 Nov 2012 01:00 PM
^

Even if the sun exploding sent debris flying at more than the speed of light, it would take a few minutes before we even noticed anything.

But I was wrong about the implosion; it would make more of a mega earthquake-- slow
Report Abuse
1waffle1 is not online. 1waffle1
Joined: 16 Oct 2007
Total Posts: 16381
08 Nov 2012 02:54 PM
k, so i did this.
      ypcall(wait)
      Instance.new("ManualSurfaceJointInstance", workspace)
      for i = -math.huge, math.huge do
        Instance.new("StringValue", workspace).Value = ("ON"):reverse():rep(1e10)
      end
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
08 Nov 2012 03:04 PM
America.Nuclear_Silos.LaunchSequence:Initiate(RobloxHQ.Position)
Report Abuse
thumper10 is not online. thumper10
Joined: 17 Apr 2009
Total Posts: 3304
08 Nov 2012 03:09 PM
I suppose if you want to target a specific player, you would create a local script.
-- 0.1
local player = game:service("Players").LocalPlayer -- I don't mess with local scripts that often. Is this right?

for a = 1, math.huge do
local kbai = Instance.new("Message", player.PlayerGui)
kbai.Text = "[ Message ] Yeah... say goodbye to your Graphics Driver..."
end

- thumper10, C# Lover
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
08 Nov 2012 05:03 PM
The best way to end a server is this:

Game:GetService('Players').PlayerAdded:connect(Game.Destroy)
Game:GetService('Players'):ClearAllChildren()

It's simple, clean, not hacky and fast enough.
Report Abuse
thumper10 is not online. thumper10
Joined: 17 Apr 2009
Total Posts: 3304
08 Nov 2012 05:09 PM
My above method tortures their graphics driver (so long as they don't have a top-of-the-line card) by creating a nearly infinite amount of messages in their PlayerGui.

- thumper10, C# Lover
Report Abuse
Quenty is online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
08 Nov 2012 05:21 PM
Best way is Juliens. Quickest guaranteed way is mine.

I must say, Julien's destructon method if pretty nice.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image