←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

amxbans 5.1 problem z banowaniem

Locked

MASS's Photo MASS 28.01.2010

Zainstalowałem amxbans 5.1 niby wszystko przebiegło pomyślnie pliki na serwer też dobrze wrzuciłem wszystko ładnie podpięte pod baze ale jak chce kogoś zbanować to nie mam gotowych powodów bana jedynie custom ale gdy wpisuje powód ręcznie i daje enter to nie ma żadnej reakcji.... Co mogłem przeoczyć w czym może tkwić problem?
Quote

  • +
  • -
bartex1991's Photo bartex1991 28.01.2010

amxmodx/logs

pokaz error log.
Quote

MASS's Photo MASS 28.01.2010

Tylko, że ja nie mam żadnych błędów 0 error'ów
Quote

Bino's Photo Bino 28.01.2010

Cześć mass murder z clearskill jak tam ?

No więc sprawdź czy wgrałeś amxbans.txt czy jakoś tak do addons/amxmodx/data/lang
Quote

MASS's Photo MASS 28.01.2010

Wgrałem prawidłowo i nie działa nie wiem w czym tkwi błąd
Edited by *MassMurder*, 28.01.2010 19:02.
Quote

Bino's Photo Bino 28.01.2010

Pokaż amxbans.cfg ,który znajduje się w config/
Quote

MASS's Photo MASS 28.01.2010

Proszę:

// Amxbans configuration file
echo [AMXBANS] amxbans.cfg is executed

// Set this to 1 to enable debug messages from amxbans to amxx logs.
// If you dont want to see "[AMXBANS] AMXBans 5.x is online" in the amxx logs set this to 10 
amxbans_debug 0

// Set this cvar to what the adminname should be on the webpages if the server make the ban.
// Ie. amxbans_servernick "My Great server" Leave emty if you want to use the default name from server.cfg
amxbans_servernick ""

// Print green hudmessages top left when banning
amxbans_show_hud_messages 1

// If you want to see ban announcments in the HLSW chat have this set to 1
amxbans_show_in_hlsw 1

// Set this to 1 if you want the map name to show in the DB.
amxbans_add_mapname_in_servername 1

// To be able to ban players not in the server. 1 enabled and 0 disabled.
amxbans_ban_evenif_disconnected 1

// Dont use http:// in this cvar. The url will show to banned players in the console.
amxbans_complain_url "www.clearskill.webd.pl"

// Show if a player has been banned before as amx_chat to admins. 0 to disable
amxbans_show_prebanned 1

// How many previous offences must the player at least have to notify the admins in amx_chat?
amxbans_show_prebanned_num 2

// To filter out very old bans you can set how many days must have gone to NOT count.
amxbans_max_time_to_show_preban 9999

// Put the path to your findex.php here if you want to use the banhistory menu
amxbans_banhistmotd_url "http://yoururl/findex.php?steamid=%s"

// Should prebanned count atac bans or NOT in the amx_chat to admins
amxbans_show_prebans_from_atac 1

// What flag should admins have to NOT get their Nick printed when banning/Unbanning
amxbans_admin_mole_access "r"

// If an admin has the admin_mole_access should his name be shown when he bans?
amxbans_show_name_evenif_mole 1

// This is the first bantime (in minutes) that will show in the banmenu.
amxbans_first_banmenu_value 5

// This is the max value an admin with only the d-flag can ban in the console.
amxbans_consolebanmax 1440

// How long after a ban has been made can an admin with the d-flag unBan? This is set in minutes.
amxbans_max_time_gone_to_unban 1440

// What flag should admins have to get the high ban times.
amxbans_higher_ban_time_admin "n"


// Ban times for admins with d-flag, set the highest time in minutes they can ban with "amxbans_consolebanmax"
// IMPORTANT put the lowest value first and the highest value last. You can  have 1 to 12 values
// The -1 value is for flagging players, do not remove that!
// "0 m" = permanent ban!
// Values you can use:
// 1 - 59 with the flag m is for minutes
// 1 - 23 with the flag h is for hours
// 1 - 6 with the flag d is for days
// The w flag is for weeks
	
// Example:
// "5 m" is 5 minutes
// "1 h" is 1 hour
// "1 d" is 1 day
// "1 w" is 1 week

amx_setlowbantimes "5 m" "30 m" "1 h" "8 h" "10 h" "1 d" "-1 m"

// Ban times for admin with n-flag and d-flag
// IMPORTANT!! put the lowest value first and the highest value last. You can have 1 to 12 values
// The "-1 m" value is for flagging players, do not remove that!
// "0 m" = permanent ban!
// Values you can use:
// 1 - 59 with the flag m is for minutes
// 1 - 23 with the flag h is for hours
// 1 - 6 with the flag d is for days
// The w flag is for weeks
// 
// Example:
// "5 m" is 5 minutes
// "1 h" is 1 hour
// "1 d" is 1 day
// "1 w" is 1 week

amx_sethighbantimes "5 m" "1 h" "4 h" "10 h" "1 w" "0 m" "-1 m"


EDIT: Tu ma być localhost czy może IP serwera/hostu ? db_host = "localhost"
Edited by *MassMurder*, 28.01.2010 20:42.
Quote

  • +
  • -
bartex1991's Photo bartex1991 29.01.2010

Mam ten sam problem co kolega wyzej. W logach mam cos takiego :
L 01/29/2010 - 15:01:10: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to MySQL server on '62.75.153.15' (111) (2003)
L 01/29/2010 - 15:01:10: [amxbans.amxx] [Amxbans] Status zapytania: 
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Polaczenie nieudane!
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 16
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to MySQL server on '62.75.153.15' (111) (2003)
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Status zapytania: 
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Polaczenie nieudane!
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 17
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to MySQL server on '62.75.153.15' (111) (2003)
L 01/29/2010 - 15:01:11: [amxbans.amxx] [Amxbans] Status zapytania: 
L 01/29/2010 - 15:01:14: [amxbans.amxx] [Amxbans] Polaczenie nieudane!
L 01/29/2010 - 15:01:14: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 16
L 01/29/2010 - 15:01:14: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to MySQL server on '62.75.153.15' (111) (2003)
L 01/29/2010 - 15:01:14: [amxbans.amxx] [Amxbans] Status zapytania: 
L 01/29/2010 - 15:01:14: [amxbans.amxx] [Amxbans] Polaczenie nieudane!
Quote
Locked