Raised This Month: $66 Target: $400
 16% 

hltv_kick


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Xanimos (85)
hjvl
Member
Join Date: Oct 2005
Location: Almere
Old 08-21-2006 , 11:18   hltv_kick
Reply With Quote #1

This is my third plugin posted here, so please shoot


This plugin kicks illegal hltv connections to the server.
We had several incidents where a clan established a (0 seconds delayed) hltv connection to one of the servers during a war.

Code:
/*
		hltvkick.sma


Depends on addons/amxmodx/configs/hltvallow.ini

Waits for new hltv connections from which he looks up the ip in hltvallow.ini
If the ip or part of it is not in hltvallow.ini, he kicks the connection

File format of hltvallow.ini:
;addons/amxmodx/configs/hltvallow.ini
127.0.0.1
85.196.80.
85.196.81.

Which means that connections of the following ip-addresses are allowed:
127.0.0.1
85.196.80.1 - 85.196.81.255

*/
Attached Files
File Type: sma Get Plugin or Get Source (hltv_kick.sma - 1933 views - 1.4 KB)

Last edited by hjvl; 10-03-2006 at 03:11.
hjvl is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 08-21-2006 , 11:58   Re: hltv_kick
Reply With Quote #2

Quote:
#include <engine>
not needed
Deviance is offline
hjvl
Member
Join Date: Oct 2005
Location: Almere
Old 08-21-2006 , 13:05   Re: hltv_kick
Reply With Quote #3

Ok thanks!
Have removed it.
hjvl is offline
godlike
Senior Member
Join Date: Apr 2005
Old 08-23-2006 , 09:31   Re: hltv_kick
Reply With Quote #4

This looks handy.
godlike is offline
hjvl
Member
Join Date: Oct 2005
Location: Almere
Old 08-23-2006 , 16:05   Re: hltv_kick
Reply With Quote #5

Works great for me
The only thing now is that people switch on auto reconnect wich cause a constant flow of "kicks".
But i don't notiche any lag-problems on the server caused by that.
hjvl is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 09-22-2006 , 00:35   Re: hltv_kick
Reply With Quote #6

don't post the entire code. Other than that, looks great. It's a pretty good idea too.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
bigman11
Member
Join Date: Jun 2006
Location: Computer
Old 09-22-2006 , 23:01   Re: hltv_kick
Reply With Quote #7

Cant you set a cvar to like mp_proxies 0 or something?
__________________
bigman11 is offline
Send a message via MSN to bigman11
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 09-23-2006 , 00:34   Re: hltv_kick
Reply With Quote #8

Great idea. I've had people join with a HLTV server just to cause trouble, text messaging stuff with rcon chat.
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
Hit-Me
Junior Member
Join Date: Sep 2006
Old 09-24-2006 , 18:07   Re: hltv_kick
Reply With Quote #9

Quote:
Originally Posted by bigman11 View Post
Cant you set a cvar to like mp_proxies 0 or something?
exactly
Hit-Me is offline
s p l i t
Senior Member
Join Date: May 2006
Location: US, NC
Old 09-24-2006 , 18:59   Re: hltv_kick
Reply With Quote #10

What would be the point of having hltv in a public server? I wouldn't imagine you would run AMX X on a private. So I don't really get this plugin...
s p l i t is offline
Send a message via AIM to s p l i t Send a message via MSN to s p l i t
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

Forum Jump


All times are GMT -4. The time now is 04:29.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode