[ROZWIĄZANE] Dodawanie serwera w AMXBans 5.1b
Raintek
14.10.2011
- Wersję AMXMODX 1.8.1
- Wersję serwera: Steam (będzie modyfikowany na ns)
- Logi (szczegolnie te z pliku mającego prefix error_ )
[size=3]
[/b][/b][/size] [b][b]L 10/14/2011 - 10:31:49: -------- Mapchange to de_dust2 --------[/b][/b] [b][b]L 10/14/2011 - 10:32:19: [admin.amxx] Login: "Raintek<2><STEAM_0:1:39332334><>" became an admin (account "STEAM_0:1:39332334") (access "abcdefghijklmnopqrstu") (address "83.21.165.42")[/b][/b] [b][b]L 10/14/2011 - 10:32:38: [plmenu.amxx] Ban: "Raintek<2><STEAM_0:1:39332334><>" ban and kick "Raintek<2><STEAM_0:1:39332334><>" (minutes "10")[/b][/b] [b][b]L 10/14/2011 - 10:40:53: -------- Mapchange to de_dust2 --------[/b][/b] [b][b]L 10/14/2011 - 10:41:37: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 10:41:37: [amxbans.amxx] [Amxbans] Threaded query error, location: 1[/b][/b] [b][b]L 10/14/2011 - 10:41:37: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on 'db385694123.db.1and1.com' (110) (2003)[/b][/b] [b][b]L 10/14/2011 - 10:41:37: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 10:41:58: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 10:41:58: [amxbans.amxx] [Amxbans] Threaded query error, location: 5[/b][/b] [b][b]L 10/14/2011 - 10:41:58: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on 'db385694123.db.1and1.com' (110) (2003)[/b][/b] [b][b]L 10/14/2011 - 10:41:58: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 10:42:19: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 10:42:19: [amxbans.amxx] [Amxbans] Threaded query error, location: 16[/b][/b] [b][b]L 10/14/2011 - 10:42:19: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on 'db385694123.db.1and1.com' (110) (2003)[/b][/b] [b][b]L 10/14/2011 - 10:42:19: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 10:42:41: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 10:42:41: [amxbans.amxx] [Amxbans] Threaded query error, location: 17[/b][/b] [b][b]L 10/14/2011 - 10:42:41: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on 'db385694123.db.1and1.com' (110) (2003)[/b][/b] [b][b]L 10/14/2011 - 10:42:41: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:06:23: -------- Mapchange to de_airstrip --------[/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Threaded query error, location: 1[/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Threaded query error, location: 5[/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:06:25: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Threaded query error, location: 16[/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Threaded query error, location: 17[/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:06:54: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:31:32: -------- Mapchange to cs_havana --------[/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Threaded query error, location: 1[/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Threaded query error, location: 5[/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:31:34: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Threaded query error, location: 16[/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Query statement:[/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Connection failed![/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Threaded query error, location: 17[/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Message: Unknown MySQL server host 'db385694123.db.1and1.com' (1) (2005)[/b][/b] [b][b]L 10/14/2011 - 11:32:03: [amxbans.amxx] [Amxbans] Query statement: [/b][/b][/size][/b][/b] [b][b][size=3][b][b]
- amxbans.cfg
[/b][/b][/size][/b][/b] [b][b][b][b]// Amxbans configuration file[/b][/b][/b][/b] [b][b][b][b]echo [AMXBANS] amxbans.cfg is executed[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Set this to 1 to enable debug messages from amxbans to amxx logs.[/b][/b][/b][/b] [b][b][b][b]// If you dont want to see "[AMXBANS] AMXBans 5.x is online" in the amxx logs set this to 10[/b][/b][/b][/b] [b][b][b][b]amxbans_debug 0[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Set this cvar to what the adminname should be on the webpages if the server make the ban.[/b][/b][/b][/b] [b][b][b][b]// Ie. amxbans_servernick "My Great server" Leave emty if you want to use the default name from server.cfg[/b][/b][/b][/b] [b][b][b][b]amxbans_servernick ""[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Print green hudmessages top left when banning[/b][/b][/b][/b] [b][b][b][b]amxbans_show_hud_messages 1[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// If you want to see ban announcments in the HLSW chat have this set to 1[/b][/b][/b][/b] [b][b][b][b]amxbans_show_in_hlsw 1[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Set this to 1 if you want the map name to show in the DB.[/b][/b][/b][/b] [b][b][b][b]amxbans_add_mapname_in_servername 1[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// To be able to ban players not in the server. 1 enabled and 0 disabled.[/b][/b][/b][/b] [b][b][b][b]amxbans_ban_evenif_disconnected 1[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Dont use http:// in this cvar. The url will show to banned players in the console.[/b][/b][/b][/b] [b][b][b][b]amxbans_complain_url "www.yoururl.de"[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Show if a player has been banned before as amx_chat to admins. 0 to disable[/b][/b][/b][/b] [b][b][b][b]amxbans_show_prebanned 1[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// How many previous offences must the player at least have to notify the admins in amx_chat?[/b][/b][/b][/b] [b][b][b][b]amxbans_show_prebanned_num 2[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// To filter out very old bans you can set how many days must have gone to NOT count.[/b][/b][/b][/b] [b][b][b][b]amxbans_max_time_to_show_preban 9999[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Put the path to your findex.php here if you want to use the banhistory menu[/b][/b][/b][/b] [b][b][b][b]amxbans_banhistmotd_url "http://yoururl/findex.php?steamid=%s"[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Should prebanned count atac bans or NOT in the amx_chat to admins[/b][/b][/b][/b] [b][b][b][b]amxbans_show_prebans_from_atac 1[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// What flag should admins have to NOT get their Nick printed when banning/Unbanning[/b][/b][/b][/b] [b][b][b][b]amxbans_admin_mole_access "r"[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// If an admin has the admin_mole_access should his name be shown when he bans?[/b][/b][/b][/b] [b][b][b][b]amxbans_show_name_evenif_mole 1[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// This is the first bantime (in minutes) that will show in the banmenu.[/b][/b][/b][/b] [b][b][b][b]amxbans_first_banmenu_value 5[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// This is the max value an admin with only the d-flag can ban in the console.[/b][/b][/b][/b] [b][b][b][b]amxbans_consolebanmax 1440[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// How long after a ban has been made can an admin with the d-flag unBan? This is set in minutes.[/b][/b][/b][/b] [b][b][b][b]amxbans_max_time_gone_to_unban 1440[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// What flag should admins have to get the high ban times.[/b][/b][/b][/b] [b][b][b][b]amxbans_higher_ban_time_admin "n"[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Ban times for admins with d-flag, set the highest time in minutes they can ban with "amxbans_consolebanmax"[/b][/b][/b][/b] [b][b][b][b]// IMPORTANT put the lowest value first and the highest value last. You can have 1 to 12 values[/b][/b][/b][/b] [b][b][b][b]// The -1 value is for flagging players, do not remove that![/b][/b][/b][/b] [b][b][b][b]// "0 m" = permanent ban![/b][/b][/b][/b] [b][b][b][b]// Values you can use:[/b][/b][/b][/b] [b][b][b][b]// 1 - 59 with the flag m is for minutes[/b][/b][/b][/b] [b][b][b][b]// 1 - 23 with the flag h is for hours[/b][/b][/b][/b] [b][b][b][b]// 1 - 6 with the flag d is for days[/b][/b][/b][/b] [b][b][b][b]// The w flag is for weeks[/b][/b][/b][/b] [b][b][b][b]// Example:[/b][/b][/b][/b] [b][b][b][b]// "5 m" is 5 minutes[/b][/b][/b][/b] [b][b][b][b]// "1 h" is 1 hour[/b][/b][/b][/b] [b][b][b][b]// "1 d" is 1 day[/b][/b][/b][/b] [b][b][b][b]// "1 w" is 1 week[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]amx_setlowbantimes "5 m" "30 m" "1 h" "8 h" "10 h" "1 d" "-1 m"[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// Ban times for admin with n-flag and d-flag[/b][/b][/b][/b] [b][b][b][b]// IMPORTANT!! put the lowest value first and the highest value last. You can have 1 to 12 values[/b][/b][/b][/b] [b][b][b][b]// The "-1 m" value is for flagging players, do not remove that![/b][/b][/b][/b] [b][b][b][b]// "0 m" = permanent ban![/b][/b][/b][/b] [b][b][b][b]// Values you can use:[/b][/b][/b][/b] [b][b][b][b]// 1 - 59 with the flag m is for minutes[/b][/b][/b][/b] [b][b][b][b]// 1 - 23 with the flag h is for hours[/b][/b][/b][/b] [b][b][b][b]// 1 - 6 with the flag d is for days[/b][/b][/b][/b] [b][b][b][b]// The w flag is for weeks[/b][/b][/b][/b] [b][b][b][b]//[/b][/b][/b][/b] [b][b][b][b]// Example:[/b][/b][/b][/b] [b][b][b][b]// "5 m" is 5 minutes[/b][/b][/b][/b] [b][b][b][b]// "1 h" is 1 hour[/b][/b][/b][/b] [b][b][b][b]// "1 d" is 1 day[/b][/b][/b][/b] [b][b][b][b]// "1 w" is 1 week[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]amx_sethighbantimes "5 m" "1 h" "4 h" "10 h" "1 w" "0 m" "-1 m"[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]
- plugins.ini
[/b][/b][/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]; AMX Mod X plugins[/b][/b][/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Admin Base - Always one has to be activated[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]admin.amxx ; admin base (required for any admin-related)[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b];admin_sql.amxx ; admin base - SQL version (comment admin.amxx)[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Basic[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]admincmd.amxx ; basic admin console commands[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]adminhelp.amxx ; help command for admin console commands[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]adminslots.amxx ; slot reservation[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]multilingual.amxx ; Multi-Lingual management[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Menus[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]menufront.amxx ; front-end for admin menus[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]cmdmenu.amxx ; command menu (speech, settings)[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]plmenu.amxx ; players menu (kick, ban, client cmds.)[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b];telemenu.amxx ; teleport menu (Fun Module required!)[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]mapsmenu.amxx ; maps menu (vote, changelevel)[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]pluginmenu.amxx ; Menus for commands/cvars organized by plugin[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Chat / Messages[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]adminchat.amxx ; console chat commands[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]antiflood.amxx ; prevent clients from chat-flooding the server[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]scrollmsg.amxx ; displays a scrolling message[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]imessage.amxx ; displays information messages[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]adminvote.amxx ; vote commands[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Map related[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]nextmap.amxx ; displays next map in mapcycle[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]mapchooser.amxx ; allows to vote for next map[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]timeleft.amxx ; displays time left on map[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Configuration[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]pausecfg.amxx ; allows to pause and unpause some plugins[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]statscfg.amxx ; allows to manage stats plugins via menu and commands[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Enable to use AMX Mod plugins[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b];amxmod_compat.amxx ; AMX Mod backwards compatibility layer[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]; Custom - Add 3rd party plugins here[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]admin_amxbans.amxx[/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b]amxbans.amxx[/b][/b][/size][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b] [b][b][b][b][b][b][b][b][b][b][size=3][b][b]
- modules.ini
;;; ; To enable a module, remove the semi-colon (<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.png' 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
- sql.cfg
[/b][/b][/size][/b][/b] [b][b][b][b]// SQL configuration file[/b][/b][/b][/b] [b][b][b][b]// File location: $moddir/addons/amxmodx/configs/sql.cfg[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"[/b][/b][/b][/b] [b][b][b][b]// We recommend using your server IP address instead of its name[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]amx_sql_host "db385694123.db.1and1.com"[/b][/b][/b][/b] [b][b][b][b]amx_sql_user "dbo385694123"[/b][/b][/b][/b] [b][b][b][b]amx_sql_pass "*********"[/b][/b][/b][/b] [b][b][b][b]amx_sql_db "db385694123"[/b][/b][/b][/b] [b][b][b][b]amx_sql_table "admins"[/b][/b][/b][/b] [b][b][b][b]amx_sql_type "mysql"[/b][/b][/size][/b][/b][/b][/b] [b][b][b][b][size=3][b][b]
zanatos
14.10.2011
amxbans.amxx
masz na samym dole plugins.ini, nie czytałeś instrukcji instalacji amxbans.
tak powinien wygladac poczatek.
; AMX Mod X plugins
; 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)
amxbans.amxx ;AMXBans
Edited by zanatos, 14.10.2011 12:44.
Raintek
14.10.2011
popraw to bo nie mam ochoty dochodzić co tam jest napisane...
Przepraszam Pana, ale nie zwróciłem uwagi podczas wklejania ,że WYSIWYG wstawił tyle pogrubień a posta nie mogę edytować.
admin_amxbans.amxx
amxbans.amxx
masz na samym dole plugins.ini, nie czytałeś instrukcji instalacji amxbans.
tak powinien wygladac poczatek.
; AMX Mod X plugins
; 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)
amxbans.amxx ;AMXBans
Poprawiłem :
; AMX Mod X plugins ; 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) amxbans.amxx ; AMXBans
Dalej wyskakuje błąd, sądząc po logach nie może się połączyć z bazą danych a strona chodzi normalnie ( mysql z 1and1.pl - 1GB).
Log po zrestartowaniu serwera:
L 10/14/2011 - 15:21:08: -------- Mapchange to de_dust2 -------- L 10/14/2011 - 15:21:10: [amxbans.amxx] [Amxbans] Connection failed! L 10/14/2011 - 15:21:10: [amxbans.amxx] [Amxbans] Threaded query error, location: 1 L 10/14/2011 - 15:21:10: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on '127.0.0.1' (111) (2003) L 10/14/2011 - 15:21:10: [amxbans.amxx] [Amxbans] Query statement: L 10/14/2011 - 15:21:11: [amxbans.amxx] [Amxbans] Connection failed! L 10/14/2011 - 15:21:11: [amxbans.amxx] [Amxbans] Threaded query error, location: 5 L 10/14/2011 - 15:21:11: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on '127.0.0.1' (111) (2003) L 10/14/2011 - 15:21:11: [amxbans.amxx] [Amxbans] Query statement: L 10/14/2011 - 15:21:12: [amxbans.amxx] [Amxbans] Connection failed! L 10/14/2011 - 15:21:12: [amxbans.amxx] [Amxbans] Threaded query error, location: 16 L 10/14/2011 - 15:21:12: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on '127.0.0.1' (111) (2003) L 10/14/2011 - 15:21:12: [amxbans.amxx] [Amxbans] Query statement: L 10/14/2011 - 15:21:13: [amxbans.amxx] [Amxbans] Connection failed! L 10/14/2011 - 15:21:13: [amxbans.amxx] [Amxbans] Threaded query error, location: 17 L 10/14/2011 - 15:21:13: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on '127.0.0.1' (111) (2003) L 10/14/2011 - 15:21:13: [amxbans.amxx] [Amxbans] Query statement:
Wyskakuje za każdym razem. Wiem że widać tutaj local ale przy właściwej też pokazuje błędy.
Edited by Raintek, 14.10.2011 14:28.
zanatos
14.10.2011
napis gdzie masz hlds`a a gdzie baze mysql
Raintek
14.10.2011
Nie wiem czy oto chodzi:
Baza Danych - 1and1.pl / PHPmyadmin/Php 5/ 1024 MB
Serwer - GameRanger - Wawa
Edited by Raintek, 14.10.2011 18:01.
Hiroshima
15.10.2011
poza tym:
L 10/14/2011 - 15:21:13: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on '127.0.0.1' (111) (2003)
podałeś lokalne IP maszyny na której stoi HLDS a nie serwera MySQL - czyli nie ma prawa działać.
Raintek
15.10.2011
to konto www brałeś w promocji "za darmo"? jeśli tak, to nie zezwolisz na połączenie z tą bazą danych z zewnętrznych hostów, ponieważ nie masz do tego uprawnień.
poza tym:
L 10/14/2011 - 15:21:13: [amxbans.amxx] [Amxbans] Message: Can't connect to MySQL server on '127.0.0.1' (111) (2003)
podałeś lokalne IP maszyny na której stoi HLDS a nie serwera MySQL - czyli nie ma prawa działać.
Napisałem poniżej notke, proszę przeczytać całość nie urywek.
Nie jest w promocji za darmo, jest to pakiet DUAL.
Zanatos:
// 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 "db385694123.db.1and1.com" amx_sql_user "dbo385694123" amx_sql_pass "*********" amx_sql_db "db385694123" amx_sql_table "admins" amx_sql_type "mysql"
Edited by Raintek, 15.10.2011 14:05.
Raintek
15.10.2011
Raintek
15.10.2011
Zostaje mi chyba tylko zakupienie bazy na PRoserwer albo netshoot.
Notka z 1and1:
Wskazówki dotyczące stosowania i bezpieczeństwa
- W żadnym wypadku nie stosuj bazy danych MySQL do procedur analizy logowania (np. ivw), dodatków, systemów czatowych, rotacji bannerów lub innych podobnych aplikacji, które ekstremalnie obciążają bazę danych!
- Baza danych MySQL znajduje się w celu ochrony danych na oddzielnym serwerze baz danych, zabezpieczonym zaporą sieciową. Dostęp do tego serwera i tym samym do Twojej bazy danych jest możliwy wyłącznie poprzez własną witrynę internetową. Bezpośredni dostęp do bazy danych MySQL z Twojego lokalnego komputera (zewnętrzne łącze ODBC) nie jest możliwy.
Proserwer, niceshoot, unixstorm?
Edited by Raintek, 15.10.2011 15:09.
Hiroshima
15.10.2011
Hiroshima
15.10.2011
Ten temat został zamknięty przez moderatora.
Powód: Pomoc udzielona
Jeśli się z tym nie zgadzasz, raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.
Z pozdrowieniami,
Zespół AMXX.PL