SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 04/07/2016, 06:13 PM   #1
biker122
Gangsta
 
Join Date: Feb 2014
Posts: 766
Reputation: 59
Default Packets, and timeout

Hi, I just wanna know if it's possible to make a player get timed out of the server? Because we ourself want to get rid of some annoying players which keep spamming when there are no admins.
If there's a possibility of desyncing a player - or just getting them timed out, please let me know how to perform it.
__________________
k
biker122 is offline   Reply With Quote
Old 04/07/2016, 06:15 PM   #2
Flake.
High-roller
 
Flake.'s Avatar
 
Join Date: Sep 2009
Location: 1400
Posts: 1,168
Reputation: 132
Default Re: Packets, and timeout

Why would you want to time the player out? Why not just kick/mute them.

Detect a player returning the same string several times and kick them, I'm sure there are plenty of anti-spam scripts out there.
Flake. is offline   Reply With Quote
Old 04/07/2016, 06:18 PM   #3
biker122
Gangsta
 
Join Date: Feb 2014
Posts: 766
Reputation: 59
Default Re: Packets, and timeout

Using for spamming players is one part; but It's more like a feature for us to silent ban without presenting the "Server Closed the connection" message. Is it possible though?
__________________
k
biker122 is offline   Reply With Quote
Old 04/07/2016, 06:18 PM   #4
Runn3R
Huge Clucker
 
Runn3R's Avatar
 
Join Date: Dec 2013
Location: Croatia, Split
Posts: 396
Reputation: 35
Default Re: Packets, and timeout

You can timeout a player and make them rejoin the server by banning their ip adress and unbanning it.
Runn3R is offline   Reply With Quote
Old 04/07/2016, 06:20 PM   #5
biker122
Gangsta
 
Join Date: Feb 2014
Posts: 766
Reputation: 59
Default Re: Packets, and timeout

Quote:
Originally Posted by Runn3R View Post
You can timeout a player and make them rejoin the server by banning their ip adress and unbanning it.
Is it the only way, or are there any other possibilities aswell?
__________________
k
biker122 is offline   Reply With Quote
Old 04/07/2016, 06:21 PM   #6
Flake.
High-roller
 
Flake.'s Avatar
 
Join Date: Sep 2009
Location: 1400
Posts: 1,168
Reputation: 132
Default Re: Packets, and timeout

It is possible, ban their IP using the rcon ban system then quickly unban them. It'll cause them to lose connection.
Flake. is offline   Reply With Quote
Old 04/07/2016, 06:22 PM   #7
Runn3R
Huge Clucker
 
Runn3R's Avatar
 
Join Date: Dec 2013
Location: Croatia, Split
Posts: 396
Reputation: 35
Default Re: Packets, and timeout

You can crash them if you create an invalid object id infront of them but only for them.
Runn3R is offline   Reply With Quote
Old 04/07/2016, 06:28 PM   #8
biker122
Gangsta
 
Join Date: Feb 2014
Posts: 766
Reputation: 59
Default Re: Packets, and timeout

I know about that crashing technique, you can actually crash them by using invalid single colour usage (only one ~) can also be used to crash 'em.
Alright guys, thanks for the ideas!
__________________
k
biker122 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Question] SA-MP Packets Jastak Scripting Help 3 06/10/2015 10:15 AM
Server loosing packets Banditukas Scripting Help 2 13/01/2015 07:27 PM
Some info regarding UDP packets..? Gill Server Support 2 28/04/2014 04:42 PM
TIMEOUT problem (everyone gets timeout except me) andershh Server Support 1 14/03/2010 05:13 PM
Packets lose... MaTrIx4057 Everything and Nothing 15 30/08/2009 05:10 PM


All times are GMT. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.