|
| 13 May 2010 01:05 PM |
| Is there any way to detect whether a player is lagging your server, and then take appropriate actions. |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 May 2010 01:30 PM |
| That would detect laggy games, not laggy players. |
|
|
| Report Abuse |
|
|
|
| 13 May 2010 01:31 PM |
| FPS on laggy computers. Local scripts. |
|
|
| Report Abuse |
|
|
|
| 13 May 2010 01:45 PM |
How's a first person shooter gonna help?
Joke. ;)
Yeah, using an FPS checker, it should work... |
|
|
| Report Abuse |
|
|
|
| 13 May 2010 01:59 PM |
FPS per local script would measure how well they're doing, but kicking them is not a solution. Removing pieces of their physics would fix it though. |
|
|
| Report Abuse |
|
|
Havemeat
|
  |
| Joined: 08 Jan 2008 |
| Total Posts: 18081 |
|
|
| 13 May 2010 02:34 PM |
| Making the entire game local, then include details based on there fps. |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 13 May 2010 02:46 PM |
| Make IntValues in the workspace (or some other place) and have a LocalScript in everyones backpack. Use that to get each FPS number and then store it in the next empty Int. Use math.min() to find the lowest. |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 May 2010 05:25 PM |
That's it! Why didn't I think of just pinging the server.
So is this possible?
In Server side script:
Player.PackageReceiver.ChildAdded:connect(function (Package) local time = tick() local Ping = tick() - Package.Value if Ping > 0.5 then Player:Remove() else Package:Remove() end end)
In local side script:
function Ping() local Package = Instance.new("NumberValue") Package.Value = tick() Package.Parent = Player.PackageReceiver end |
|
|
| Report Abuse |
|
|
|
| 13 May 2010 05:26 PM |
Warning: Unused local variable 'time': Server side script : Line 2
I hate it when that happens. |
|
|
| Report Abuse |
|
|
drummerp
|
  |
| Joined: 10 Jan 2009 |
| Total Posts: 4892 |
|
|
| 13 May 2010 06:41 PM |
| You actually have an IDE/compiler/interpreter/whatever that does warnings as well as errors? |
|
|
| Report Abuse |
|
|
|
| 13 May 2010 08:18 PM |
Not in Lua, but in other languages.
I should find a better Lua Editor than the Roblox flavour. Problem is, I'm used to Lua looking like it does on Roblox, so I find it hard to change. |
|
|
| Report Abuse |
|
|
cats247
|
  |
| Joined: 04 Jul 2009 |
| Total Posts: 1424 |
|
|
| 13 May 2010 09:21 PM |
| Universe Stick FTW! Anyways, I havent seen you post in a long time! Welcome back! |
|
|
| Report Abuse |
|
|
wiiplay
|
  |
| Joined: 28 May 2008 |
| Total Posts: 17801 |
|
|
| 14 May 2010 08:50 AM |
| O_O HOW DO YOU MAKE A SERVER-SIE SCRIPT!!! TELL ME! |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 May 2010 09:38 AM |
One person lagging will make other people lag too. The game runs at the speed of the slowest client. any network is like this.
|
|
|
| Report Abuse |
|
|
|
| 14 May 2010 09:39 AM |
| By lag do you mean ping, fps or cpu/physics? |
|
|
| Report Abuse |
|
|
|
| 14 May 2010 09:40 AM |
| Any of them will slow ALL players... |
|
|
| Report Abuse |
|
|
|
| 14 May 2010 09:43 AM |
| Well how come I can stand on a laggy player's head who spends 20 seconds in the air from one jump? |
|
|
| Report Abuse |
|
|
gama2xo
|
  |
| Joined: 20 Feb 2016 |
| Total Posts: 10039 |
|
| |
|
|
| 14 May 2010 10:39 AM |
| http://www.roblox.com/Game-Pane-v1-6-Autoenter-item?id=26844018 |
|
|
| Report Abuse |
|
|
wiiplay
|
  |
| Joined: 28 May 2008 |
| Total Posts: 17801 |
|
|
| 14 May 2010 11:21 AM |
| How did you get it to say "Server-Side Script" then? :o Is it a hidden thing? :D |
|
|
| Report Abuse |
|
|
Wyoming
|
  |
| Joined: 05 Feb 2008 |
| Total Posts: 8453 |
|
|
| 14 May 2010 11:22 AM |
It doesn't dude...
A normal script IS a server side script. Think about it. If it isn't a LOCALScript then where could it just possibly run... |
|
|
| Report Abuse |
|
|
Akartas
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 2771 |
|
|
| 14 May 2010 02:49 PM |
Hmm.
All I know is how to get the server FPS, not the clientside. :\ print(wait()) |
|
|
| Report Abuse |
|
|