wgrałem AMXBANS by defender wedlug tego poradnika Jak wgrać AMXBans ? .
Zrobiłem wszystko ale nie wiem co jest grane. Nie mogę dać bana. Nic się nie wyświetla. Daje bana i pisze powód (przez amxmodmenu) i nic się nie dzieje. Na stronie jest dobrze AMXBans by d3f3nd3r- Lista ban�w .
Oto log z konsoli:
AMX Mod X version 1.8.1.3711 Copyright (c) 2004-2006 AMX Mod X Development Team AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'. This is free software and you are welcome to redistribute it under certain conditions; type 'amxx gpl' for details. [DPROTO]: Version 0.8.73 Linux [DPROTO]: Loading config './dproto.cfg' [DPROTO]: LoggingMode = 2 [DPROTO]: Config sucessfully loaded. [DPROTO]: Done. scandir failed:/home/serwery/27056/./valve/SAVE scandir failed:/home/serwery/27056/./platform/SAVE L 09/15/2012 - 23:11:30: -------- Mapchange to de_dust2 -------- stray key in process_key: item_getiteminfo 63 [AMXX] Loaded 2 admins from file Cmd_AddCommand: say already defined [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway. Executing AMX Mod X Configuration File Scrolling message displaying frequency: 10:00 minutes [AMXBANS] amxbans.cfg is executed Server logging data to file logs/L0915051.log L 09/15/2012 - 23:11:31: Log file started (file logs/L0915051.log) (game cstrike) (version 48/1.1.2.6/Stdio/4883) L 09/15/2012 - 23:11:31: Server cvar mp_logdetail = 3 L 09/15/2012 - 23:11:31: Server cvar sv_logblocks = 1 Connection to Steam servers successful. L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Query failed! L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Threaded query error, location: 1 L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Message: no such table: amx_serverinfo (1) L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Query statement: VAC secure mode is activated. L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Query failed! L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Threaded query error, location: 5 L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Message: no such table: amx_banreasons (1) L 09/15/2012 - 23:11:32: [amxbans.amxx] [Amxbans] Query statement:
A to amxbans.cfg
// 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 4.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 0 // 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.yoursite.com" // 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://pathToYour/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"
A tu plugins ini
; Admin Base - Od zawsze one has to be activated admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) amxbans.amxx ;AMXBans ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) banner.amxx ; FPSplay plugins server_connect_message.amxx ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here vip.amxx upomnij_gracza.amxx ultimate_sounds.amxx sillyc4.amxx runplanting.amxx parachute.amxx napis_vip.amxx GHW_Floating_Weapons.amxx flash.amxx bomba_explode_sound.amxx bf2rank.amxx backweapons.amxx ultimate_ss_log.amxx amx_kickspecs.amxx alltalk_plugin.amxx afkbombtransfer.amxx admin_chat_colors.amxx abd.amxx
Jezeli potrzeba to podam sql.cfg
// SQL configuration file // File location: $moddir/addons/amxmodx/configs/sql.cfg // *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1" // We recommend using your server IP address instead of its name // *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use. amx_sql_host "cs-maniura.xaa.pl" amx_sql_user "uzytkownik bazy" amx_sql_pass "haslo do bazy" amx_sql_db "nazwa bazy" amx_sql_table "admins" amx_sql_type "mysql"
Proszę o pomoc. Zależy ni na tym