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: Shutting down clients (might be late on this)

Previous Thread :: Next Thread 
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
24 Sep 2013 08:58 PM
so i was just messing around with some scripts

one of them checked a global table for their names the instant they are parented to the players service and if it matched, they are kicked (like a server "ban" system)

in start server>start player, the global output read this every time the thread fired

Error while processing packet: The Parent property of [name of player here] is locked

and somehow that causes them to get the "this game has shut down" message

not sure if it's from the lack of server delay but i thought it's pretty interesting so i brought it here (again i might be late with this)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Sep 2013 09:00 PM
It's pretty old.
It's the way I shutdown noobs
Report Abuse
AbsoluteLOL is not online. AbsoluteLOL
Joined: 01 Dec 2012
Total Posts: 3939
24 Sep 2013 09:00 PM
game.Players.AbsoluteLOL:Kick()
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Sep 2013 09:01 PM
NO DON'T KICK YOUR BEAUTIFUL SELF!!!

1 week later...
Kick has been deprecated, please use Shutdown
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
24 Sep 2013 09:01 PM
just use the Kick() function, that came out a while ago. You can use it on RobloxLocked Players as well.
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
24 Sep 2013 09:02 PM
WTF SINCE WHEN WAS THERE A KICK METHOD OMFG
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
24 Sep 2013 09:07 PM
you guys probably think i live under a rock

idc i'm so happy i've been waiting for this FOREVER
Report Abuse
Merely is not online. Merely
Joined: 07 Dec 2010
Total Posts: 17266
24 Sep 2013 11:14 PM
^It came out like 2 days ago.
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
25 Sep 2013 05:47 AM
"It's pretty old."

"just use the Kick() function, that came out a while ago"

>"It came out like 2 days ago."
Report Abuse
Ethancomputermad is not online. Ethancomputermad
Joined: 22 Feb 2010
Total Posts: 533
25 Sep 2013 08:15 AM
"game.Players.AbsoluteLOL:Kick()"
What happens if AbsoluteLOL is an exploiter who has gone game.Players.LocalPlayer.RobloxLocked=true.
Report Abuse
Xeptix is not online. Xeptix
Joined: 14 Mar 2013
Total Posts: 1115
25 Sep 2013 08:34 AM
"You can use it on RobloxLocked Players as well."
Report Abuse
uyjulian is not online. uyjulian
Joined: 29 Nov 2012
Total Posts: 1214
25 Sep 2013 10:47 AM
What happens if the player parented itself to nil, and is connected to the server?
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
25 Sep 2013 10:58 AM
I live under a rock

...and I knew about this.
Report Abuse
Xeptix is not online. Xeptix
Joined: 14 Mar 2013
Total Posts: 1115
25 Sep 2013 12:39 PM
... then how can you call Kick() on them?

game.Players.Player1:Kick()

on "Player1" who isn't parented in "Players", but connected to the server?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
25 Sep 2013 02:45 PM
goes to script builder
inserts model:

    table.foreachi(game.Players:GetPlayers(),function(i,v)v:Kick()end)

???
profit
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
25 Sep 2013 05:38 PM
"foreachi" Never heard of that, is it new?
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
25 Sep 2013 05:50 PM
cmtkillme, noob it's deprecated.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
25 Sep 2013 05:51 PM
Idiot

I know foreach is deprecated, I never heard of foreachi

i
i
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
25 Sep 2013 05:54 PM
What's the difference between foreach and foreachi?
Is it like pairs and ipairs?
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
25 Sep 2013 06:02 PM
foreachi is like ipairs
foreach is like pairs. ok
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