Zmieniłem wersję amxmodx i wgrałem nowego Amxbans GM 1.3a wszystko ładnie pięknie, tylko że nie wyszukuje mi na stronie serwera ani bany nie działają.
Wersja amxmodx: v1.8.2
Wersja dproto: v0.9.87
Logi error:
L 08/21/2011 - 07:15:04: Start of error session. L 08/21/2011 - 07:15:04: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110821.log") L 08/21/2011 - 07:15:04: [MySQL] Invalid info tuple handle: 0 L 08/21/2011 - 07:15:04: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "SQL_ThreadQuery") - debug not enabled! L 08/21/2011 - 07:15:04: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 08/21/2011 - 07:27:02: Start of error session. L 08/21/2011 - 07:27:02: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110821.log") L 08/21/2011 - 07:27:02: [MySQL] Invalid info tuple handle: 0 L 08/21/2011 - 07:27:02: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "SQL_ThreadQuery") - debug not enabled! L 08/21/2011 - 07:27:02: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). L 08/21/2011 - 07:34:29: Start of error session. L 08/21/2011 - 07:34:29: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110821.log") L 08/21/2011 - 07:34:29: [MySQL] Invalid info tuple handle: 0 L 08/21/2011 - 07:34:29: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "SQL_ThreadQuery") - debug not enabled! L 08/21/2011 - 07:34:29: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Logi zwykłe dodam w załączniku.
Modules.ini
;;; ; To enable a module, remove the semi-colon (<img src='http://img.amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' /> in front of its name. ; If it's not here, simply add it its name, one per line. ; You don't need to write the _amxx part or the file extension. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; mysql ;sqlite ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; ;; or file extension. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;fun ;engine ;fakemeta ;geoip ;sockets ;regex ;nvault ;hamsandwich
amxbans.cfg
// AMXBans Configuration File // File location: $moddir/addons/amxmodx/configs/amxbans.cfg echo [AMXBans] is starting to execute amxbans.cfg // your sql database prefix // NOTE: The Prefix defined in your sql.cfg is NOT used for AMXBans anymore!!! amx_sql_prefix "amx" // Use the flagging only for this Server, or for all servers? amxbans_flagged_all_server 1 // How AMXBans should handle the admins // 0=sql, 1=users.ini, 2=load no admins amxbans_use_admins_file 1 // AMXBans trys to get the address from the server automatically. // You can set a different one here - ex. "<ip>:<port>" amxbans_server_address "ip serwera gry" // Set this cvar to your favourite ban cmd style // 1 (new): amx_ban <SteamID or Nickname or #authid or IP> <Time in Minutes> <Reason> // 0 (old): amx_ban <Time in Minutes> <SteamID or Nickname or #authid or IP> <Reason> amxbans_use_newbancmd 1 // Number of players in the Disconnected Menu amxbans_discon_players_saved 10 // Bantime to use for custom banreasons, if a user has static bantime <minutes> // -1 to disable custom reasons amxbans_custom_statictime 1440 // 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 hostname from server.cfg amxbans_servernick "Tu wpisałem nazwę serwera" // Set this to 1 / 2 / 3 to enable debug messages from amxbans to amxx logs. // with debug 3 you get the most output, but a bug can flood your logs. 2 should be ok normally amxbans_debug 0 // Don't use http:// in this cvar. The url will be shown to banned players in the console. amxbans_complain_url "Tu wpisałem moją stronę" // Set this to 1 if you want the map name to show in the DB. amxbans_add_mapname_in_servername 1 // If you want to see ban announcments in the HLSW chat, set this to 1 amxbans_show_in_hlsw 1 // Print green hudmessages on the top left when banning amxbans_show_hud_messages 1 // What flag should admins have to get the high ban times. amxbans_higher_ban_time_admin "n" // 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 // Show if a player has been banned before as amx_chat to admins. 0 to disable amxbans_show_prebanned 1 // How many previous offences does the player needs, to be notified in the amx_chat? amxbans_show_prebanned_num 2 // Currently not known amxbans_default_ban_reason unknown // To be able to ban players not in the server. 1 enabled and 0 disabled. amxbans_ban_evenif_disconnected 1 // Flagtimes, like the bantimes below amx_setflagtimes "1 h" "4 h" "10 h" "1 d" "1 w" "4 w" "12 w" "0" // 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 // "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" "3 h" "10 h" "1 d" // 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 // "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" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m" /*********************************************************************************/ // 3rd party amxbans plugins // needs the amxbans_freeze plugin // // "a" = freeze // "b" = strip weapons // "c" = block chat // "d" = player glow red (not testet) amxbans_freeze_mode "abc" /*********************************************************************************/ // AMXBans configuration file echo echo [AMXBans] amxbans.cfg is fully executed[/spoiler] [b]sql.cfg[/b] [spoiler]// 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 "188.165.245.114" amx_sql_user "p85191_raku" amx_sql_pass "haslo" amx_sql_db "p85191_raku" amx_sql_table "amx" amx_sql_type "mysql"
plugins.ini
; AMX Mod X plugins amxbans_core.amxx debug amxbans_main.amxx debug ; Admin Base - Always one has to be activated ;admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; 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) pluginmenu.amxx ; Menus for commands/cvars organized by plugin ; 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 ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here ultimate_sounds_pl.amxx sillyc4.amxx runplanting.amxx join_leave.amxx grenade_sack-0.4.1.amxx dontsayips.amxx automaticknifeduel.amxx amx_exec.amxx nemore_bomb_sound.amxx bf2rank.amxx ghw_floating_weapons.amxx ad_manager.amxx bulletdamage.amxx adminlisten.amxx allow_round_finish.amxx ultimate_ss.amxx amx_banconfig.amxx mutemenu.amxx admin_gag.amxx rules_red.amxx alt_end_round_sounds.amxx ptb.amxx polski_cs.amxx unbanmenu.amxx grenade_trail.amxx raty.amxx spawn_protection_pl.amxx parachute.amxx admin_spec_esp.amxx amx_ip_zmienne.amxx afkbombtransfer.amxx afkkisss.amxx afkkicker2.amxx