can i detect if player is laggy ?
#1

hi
are there any ways to detect player if he is laggy(to be 100 percent sure if hes lag)so admin do not misunderstand him as a health hacker

i made /hh id , it will blow up a player and lose his health like -20 dmg

but it not work well if that player was lagged ?
Reply
#2

Код:
    if(GetPlayerPing(playerid) > 220)
+220 ping is lag(I think)
Reply
#3

Quote:
Originally Posted by omidi
Посмотреть сообщение
so admin do not misunderstand him as a health hacker
Don't let unexperienced administrators to do the job then!

No matter if a player is lagging, the explode will decrease his health.
Reply
#4

You can do it by ping, FPS, or packetloss: https://sampwiki.blast.hk/wiki/GetPlayerNetworkStats
Reply
#5

There is a way to deal with people that have low FPS so they'll never want to join your server again anyways if you set their position to this SetPlayerPos(999999999.0, 999999999.0, 0.0); it will cause a lot of a FPS lag even a good computer. If someone has FPS lag it's likely they would have to restart their computer by shutting it off in fact this feature should probably be fixed by the SAMP team. The reason for that is doing this could potentially lead to physical damage of the persons computer who has their position set by causing processor/video to overheat.
Reply
#6

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
There is a way to deal with people that have low FPS so they'll never want to join your server again anyways if you set their position to this SetPlayerPos(999999999.0, 999999999.0, 0.0); it will cause a lot of a FPS lag even a good computer. If someone has FPS lag it's likely they would have to restart their computer by shutting it off in fact this feature should probably be fixed by the SAMP team. The reason for that is doing this could potentially lead to physical damage of the persons computer who has their position set by causing processor/video to overheat.
I have never read a more amusing comment in here.
It's not even a FPS Lag, it is you being outside of a renderable area -> graphic bug, it looks like extreme blur, this "bug" is existant in like every 3D game if there is nothing to render (You know CounterStrike 1.6 Freecam?).
There is NOTHING SAMP can do to overheat a PC, except: It's a PC without ANY cooling (or bad cooling) inside (in this case every programm could do this).
PS: Ever heard of CTRL ALT DEL to kill a hung program?


OT:
Check the player's ping, FPS or packetloss with a command the admin can type to make sure he's not hacking.

Or use SetPlayerHealth, wait for the next 2-3 updates and if theres still no health change (GetPlayerHealth) it probably is a health hacker.
Reply
#7

Quote:
Originally Posted by NaS
Посмотреть сообщение
I have never read a more amusing comment in here.
It's not even a FPS Lag, it is you being outside of a renderable area -> graphic bug, it looks like extreme blur, this "bug" is existant in like every 3D game if there is nothing to render (You know CounterStrike 1.6 Freecam?).
There is NOTHING SAMP can do to overheat a PC, except: It's a PC without ANY cooling (or bad cooling) inside (in this case every programm could do this).
PS: Ever heard of CTRL ALT DEL to kill a hung program?


OT:
Check the player's ping, FPS or packetloss with a command the admin can type to make sure he's not hacking.

Or use SetPlayerHealth, wait for the next 2-3 updates and if theres still no health change (GetPlayerHealth) it probably is a health hacker.
I can substantiate what I am talking about.



6 FPS that is on my system, people with low FPS that have this happen to them can't even CTRL-ALT-DELETE, it puts extra stress on their system I know from experience and from feedback people have had to restart their computer, and their computer started to heat up. I never said physical damage WOULD result I said their is a potential for it to happen which is low.

Can you prove otherwise?
Reply
#8

Well since you can still press ESC, type in chat and anything else (You can even move, but wont see it), just press CTRL ALT DEL (or ESC) and wait for it, then kill the process - done. Even worked on my 2005 PC (Just don't spam keys like a kid). The overheating stuff is, well possible but you should think about buying some cooling (or better a new PC), anything else could also cause this then (even windows...).
When a system overheats bcuz of GTA San Andreas, how will it handle any other game which is from 2006 or later?
Reply
#9

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
6 FPS that is on my system, people with low FPS that have this happen to them can't even CTRL-ALT-DELETE, it puts extra stress on their system I know from experience and from feedback people have had to restart their computer, and their computer started to heat up. I never said physical damage WOULD result I said their is a potential for it to happen which is low.

Can you prove otherwise?
A computer is perfectly capable recognizing symptoms of overheating. If a component does overheat, it will shut off and likely cause a BSOD. The Blue Screen was specifically implemented to prevent physical damage to the machine.

As for the original question, I think your best bet is measuring packet loss. Anything above 0.0% is already a cause for concern. Up to 1% packet loss is still acceptable. Anything higher than 3% is outright bad.
Reply
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
A computer is perfectly capable recognizing symptoms of overheating. If a component does overheat, it will shut off and likely cause a BSOD. The Blue Screen was specifically implemented to prevent physical damage to the machine.

As for the original question, I think your best bet is measuring packet loss. Anything above 0.0% is already a cause for concern. Up to 1% packet loss is still acceptable. Anything higher than 3% is outright bad.
Agreed Vince, but improper shutdown can mess up you HD and again I would like to stress the possibility of something happening is very small but it doesn't mean that it isn't possible.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)