Raised This Month: $ Target: $400
 0% 

Blocking specific STEAM ID's


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-25-2011 , 06:48   Blocking specific STEAM ID's
Reply With Quote #1

Hey guys
I want to make a mod that blocks specific STEAM IDs from connecting to my server, how can I make that mod? how will it look like?

Example: I want to block STEAM_0:0:1241251251 from connection to my server, it will say something like "Blocked" when he tries to connect.
Diegorkable is offline
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 06-25-2011 , 06:49   Re: Blocking specific STEAM ID's
Reply With Quote #2

AMX_BAN ?
Dr7sTyLe is offline
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 06-25-2011 , 06:53   Re: Blocking specific STEAM ID's
Reply With Quote #3

no no.... people usually go over that. I used to amx_ban people and they still came back.
I want to block ANY type of connection from them, pinging my server, connecting, anything like that.

The reason for this is that someone keeps pinging my server or something like that, I don't know if he's bug abusing the server or something to make it fall all the time and crash....
I ban him and he comes back just a second after.

I installed the following protections:

HLShield
Anti F1 Abuse Bug

I tried to ask here and other places, people told me that if my server is original server (which it is) and not from the cracked version, it shouldnt crash, but suprisingly it does by some little kids messing with my server, and i'm totally helpless, I need a professional's advice in scripting of how to protect my server...

Last edited by Diegorkable; 06-25-2011 at 06:55.
Diegorkable is offline
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 06-25-2011 , 09:13   Re: Blocking specific STEAM ID's
Reply With Quote #4

Quote:
Originally Posted by Diegorkable View Post
no no.... people usually go over that. I used to amx_ban people and they still came back.
I want to block ANY type of connection from them, pinging my server, connecting, anything like that.

The reason for this is that someone keeps pinging my server or something like that, I don't know if he's bug abusing the server or something to make it fall all the time and crash....
I ban him and he comes back just a second after.

I installed the following protections:

HLShield
Anti F1 Abuse Bug

I tried to ask here and other places, people told me that if my server is original server (which it is) and not from the cracked version, it shouldnt crash, but suprisingly it does by some little kids messing with my server, and i'm totally helpless, I need a professional's advice in scripting of how to protect my server...
its me -_-
im crashing it, but im not even on the server
Dr7sTyLe is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-25-2011 , 09:51   Re: Blocking specific STEAM ID's
Reply With Quote #5

Quote:
Originally Posted by Diegorkable View Post
no no.... people usually go over that. I used to amx_ban people and they still came back.
I want to block ANY type of connection from them, pinging my server, connecting, anything like that.
amx_ban bans people from by their SteamID, but getting SteamID can take a while... sometimes it happens before player even starts to load and sometimes even minutes after they joined... it's up to the steam connection.
And unless you have a non-steam server it's not a problem since they'll be banned again once the SteamID is confirmed.

If you got DoS problems, use a (better) firewall.



Quote:
Originally Posted by Dr7sTyLe View Post
its me -_-
im crashing it, but im not even on the server
nice, I think you deserve a sledgehammer swing at your PC as a reward.

Seriously, just leave the guy's server alone and go play somewhere else if you don't like it.
__________________
Hunter-Digital is offline
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 06-25-2011 , 11:07   Re: Blocking specific STEAM ID's
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
amx_ban bans people from by their SteamID, but getting SteamID can take a while... sometimes it happens before player even starts to load and sometimes even minutes after they joined... it's up to the steam connection.
And unless you have a non-steam server it's not a problem since they'll be banned again once the SteamID is confirmed.

If you got DoS problems, use a (better) firewall.




nice, I think you deserve a sledgehammer swing at your PC as a reward.

Seriously, just leave the guy's server alone and go play somewhere else if you don't like it.
Bot They Are Getting Into My Server With Their Server Ip
And I Dont Want To Use Anti-Commerce Their Problem..
and they are creating confernce calls and flooding the chat with the fucking ip -_-
Dr7sTyLe is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-25-2011 , 11:34   Re: Blocking specific STEAM ID's
Reply With Quote #7

Quote:
Originally Posted by Diegorkable View Post
no no.... people usually go over that. I used to amx_ban people and they still came back.
I want to block ANY type of connection from them, pinging my server, connecting, anything like that.

The reason for this is that someone keeps pinging my server or something like that, I don't know if he's bug abusing the server or something to make it fall all the time and crash....
I ban him and he comes back just a second after.

I installed the following protections:

HLShield
Anti F1 Abuse Bug

I tried to ask here and other places, people told me that if my server is original server (which it is) and not from the cracked version, it shouldnt crash, but suprisingly it does by some little kids messing with my server, and i'm totally helpless, I need a professional's advice in scripting of how to protect my server...
1. Is your server Non-Steam?
2. If your server is Steam, are you running dproto?
3. If your server is Steam without dproto, have you tried the fixed amx_ban which properly bans players?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 06-25-2011 , 13:14   Re: Blocking specific STEAM ID's
Reply With Quote #8

Its easy man
just ban them using Iptables or IPsec policy management in MMC on Windows!
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 03-07-2014 , 08:08   Re: Blocking specific STEAM ID's
Reply With Quote #9

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Block A Specific Steamid"
#define VERSION "1.0"
#define AUTHOR "Spawner20"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
}
public 
client_authorized(client)
{
    static 
Steamid[33]
    
get_user_authid(client,Steamid,32)
    if (
equali(Steamid,"STEAM_0:0:1241251251"))
    
client_cmd(client,"disconnect",get_user_userid(client));

Spawner30 is offline
Send a message via Skype™ to Spawner30
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 03-07-2014 , 08:12   Re: Blocking specific STEAM ID's
Reply With Quote #10

You Can Add
PHP Code:
client_cmd(client,"echo Your Steam Id Has Been Blocked",get_user_userid(client)); 
Or Something Like That
Spawner30 is offline
Send a message via Skype™ to Spawner30
Reply



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 23:23.


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