Thread: Amxbans 6.x
View Single Post
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 10-30-2005 , 10:52  
Reply With Quote #20

Quote:
Originally Posted by Juliooo
lantz69: thx now ATAC working great.

Next problem is if ban player from web interface (add live ban) nobody cant connect to server. All players are banned.

Any ideas ?
First remove the ban from the webpage
Second Don't use live ban on LAN servers.
I don't think amxbans was primarily designed to use on LAN servers.

But there could be a fix for this also, but I leave this for Geesu .
When banning on LAN players steamID should not be entered to the DB as all LAN players have STEAM_ID_LAN or VALVE_ID_LAN

That was what I fixxed for the plugin.

[EDIT] THIS IS ONLY FOR LANSERVERS
you can try this
Add in add_live_ban.php just after line 72
Code:
if ( $_POST['player_id'] == "STEAM_ID_LAN" || $_POST['player_id'] == "VALVE_ID_LAN" )
		$_POST['player_id'] = "";
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline