L 01/16/2012 - 07:29:27: Error on Table query: Unknown MySQL server host 'db4free.net' (2)
L 01/16/2012 - 07:29:27: Could not connect to SQL database.
Tak piszę zawsze gdy zmieniam host na inny. Nawet gdy już jestem w 100 % pewny że powinno być dobrze
moj amxx.cfg
Spoiler
]// AMX Mod X Configuration File echo Executing AMX Mod X Configuration File // Default access for all non admin players (see users.ini for access details) // // Default value: "z" amx_default_access "z" // Name of setinfo which should store a password on a client (you should change this) // Note: Always prefix the field with an underscore (aka: "_") // (Example: setinfo _pw "password") // // Default value: "_pw" amx_password_field "_pw" // Mode of logging to a server // 0 - disable logging, players won't be checked (and access won't be set) // 1 - normal mode which obey flags set in accounts // 2 - kick all players not on list // // Default value: 1 amx_mode 1 // Show admins activity // 0 - disabled // 1 - show without admin name // 2 - show with name // // Default value: 2 amx_show_activity 2 // Frequency in seconds and text of scrolling message // // Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600 amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600 // Center typed colored messages (last parameter is a color in RRRGGGBBB format) // // Default values: "Welcome to %hostname%" "000255100" // "This server is using AMX ModX\nVisit [url="http://www.amxmodx.org"]http://www.amxmodx.org"[/url] "000100255" amx_imessage "Welcome to %hostname%" "000255100" amx_imessage "This server is using AMX Mod X\nVisit [url="http://www.amxmodx.org"]http://www.amxmodx.org"[/url] "000100255" // Frequency in seconds of colored messages // // Default value: 180 amx_freq_imessage 180 // Ban times for the main ban menu (amx_banmenu) // Use 0 for permanent ban // Default values: 0 5 10 15 30 45 60 amx_plmenu_bantimes 0 5 10 15 30 45 60 // Slap damage amounts for the main slap menu (amx_slapmenu) // Slay is automaticall inserted as the first option // Default values: 0 1 5 amx_plmenu_slapdmg 0 1 5 // Set in seconds how fast players can chat (chat-flood protection) // // Default value: 0.75 amx_flood_time 0.75 // Amount of slots to reserve. // // Default value: 0 amx_reservation 0 // If you set this to 1, you can hide slots on your server. // If server "full" of public slots and slots hidden, you must manually connect with connect console command // // Default value: 0 amx_hideslots 0 // Displaying of time remaining // a - display white text on bottom // b - use voice // c - don't add "remaining" (only in voice) // d - don't add "hours/minutes/seconds" (only in voice) // e - show/speak if current time is less than this set in parameter // // Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11" amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11" // Announce "say thetime" and "say timeleft" with voice, set to 0 to disable. // // Default value: 1 amx_time_voice 1 // Minimum delay in seconds between two voting sessions // // Default value: 10 amx_vote_delay 10 // How long voting session goes on // // Default value: 10 amx_vote_time 10 // Display who votes for what option, set to 0 to disable, 1 to enable. // // Default value: 1 amx_vote_answers 1 // Some ratios for voting success // Default value: 0.40 amx_votekick_ratio 0.40 // Default value: 0.40 amx_voteban_ratio 0.40 // Default value: 0.40 amx_votemap_ratio 0.40 // Default value: 0.02 amx_vote_ratio 0.02 // Max. time to which map can be extended // // Default value: 90 amx_extendmap_max 90 // Step for each extending // // Default value: 15 amx_extendmap_step 15 // If you set this to 0, clients cannot chose their language, instead they use // whatever language the server is configured to use. // // Default value: 1 amx_client_languages 1 // Plugin Debug mode // 0 - No debugging (garbage line numbers) // 1 - Plugins with "debug" option in plugins.ini are put into debug mode // 2 - All plugins are put in debug mode // Note - debug mode will affect JIT performance // // Default value: 1 amx_debug 1 // Plugin MultiLingual Debug // To debug a language put its 2 letter code between quotes ("en", "de", etc) // "" means disabled // // Default value: "" amx_mldebug "" // // Beginning of Counter-Strike package specific configurations. // // Rank mode // 0 - by nick // 1 - by authid // 2 - by ip // // Default value: 1 csstats_rank 1 // Max size of the stats file // // Default value: 3500 csstats_maxsize 3500 // Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise. // // Default value: 0 csstats_rankbots 0 // Duration of HUD-statistics // // Default value: 12.0 amx_statsx_duration 12.0 // HUD-statistics display limit relative round freeze end // Negative time will clear the HUD-statstics before the round freeze time has ended // // Default value: -2.0 amx_statsx_freeze -2.0 |- AMXSSBAN -| amx_ssdelay "1.0" ///Czas między robionymi screenshot-ami amx_bandelay "10.0" ///Czas w którym ban zostanie dany po zrobieniu screenshoot-ów amx_ssnumber "5" ///Ilość robionych screenshot-ów amx_website "www.cs-piwo.pl" ///Strona na której zbanowany może ubiegać się o Unbana amx_msg_type "3" ///Gdzie ma się pojawić wiadomość dla gracza/admina: 1 - chat | 2- hud | 3- chat+hud (Def.: "3") |- BULLET DAMAGE -| amx_bulletdamage_recieved "1" // 1 - włącza, 0 - wyłacza pokazywanie otrzymanych obrażeń. amx_bulletdamage "2" // 0 - plugin wyłączony, 1 - pokazuje zadane obrażenia, 2 - pokazuje zadane obrażenia, ale nie przez ściane |- AFK KICKER -| afk_kicktime 150 - Po jakim czasie gracz ma być wykopany. afk_slaytime 60 - Po jakim czasie gracz ma być zgładzony. afk_minplayers 4 - Minimalna ilość graczy przy których ma pracować plugin. afk_slayplayers 1 - Czy zabijać gracza gdy jest zbyt długo AFK. afk_adminimmunity 1 - Admin, gracz z immunitetem jest nietykalny. afk_adminkickimmunity 1 - Admin, gracz z immunitetem nie może być wykopany. afk_options 1 - Wykopanie gracza po upływie dozwolonego czasu 0 - przełącza gracza na spec. następnie wykopuje. afk_show_counter 0 - Ustaw na 0 to będzie pokazywać "AFK-Counter" od czasu do czasu. afk_rename 0 - Zmiana nicku gracza na "[AFK] nick" kiedy jest AFK. afk_speckick 1 - Wykopywanie graczy z spec. afk_speckicktime 300 - Czas po jakim gracze będą wykopywani ze spec. ( dobrze uwzględnić więcej sekund ponieważ często gracze kręcą demo oszustom ). |- ex_interp -| amx_interp_style 1 - Włączony 0 - Wyłączony plugin |- Galileo -| amx_extendmap_max 90 //Maksymalny czas jaki mapa może być grana. Jeśli gracze będą wybierać przedłużenie mapy. Tylko do tego czasu będzie to możliwe. amx_extendmap_step 15 //ile mapa ma być przedłużana jeśli gracze wybiorą ta opcje (w minutach) gal_cmd_votemap 0 // Jaki powinny działac wzykłe komendy HL dotyczące Vota 1- Wyłączone 0- wyłączone gal_cmd_listmaps 2 // Jak ma się zachowywać komenda listmaps // 0 - disable // 1 - behave normally // 2 - behave the same as the "gal_listmaps" command (galileo default) gal_banrecent 3 // Ile map ostatnio granych jest niedozwolonych w Vote gal_banrecentstyle 1 // jak maja być wyświetlane mapy po wpisaniu recentmaps // 1 - all maps on one line // 2 - each map on a separate line gal_rtv_commands 3 // na jak komenda ma reagować plugin przy rtv //1- Rockthevote //2-rtv //3 dynamiczna gal_rtv_wait 6 //ile czasu po starcie mapy może być rozpoczęte rtv gal_rtv_ratio 0.60 //Ile % graczy musi wpisać rtv żeby zostało odpalone. gal_nom_playerallowance 2 //ile nominacji może zrobić każdy gracz gal_nom_mapfile mapcycle.txt// skąd maja być sczytywane mapy gal_nom_prefixes 0 // prefix przy mapie wymagany? gal_nom_qtyused 0 // ile nominacji ma być używanych w następnym głosowaniu. //Glosowanie rozstrzygające następuje wtedy kiedy żadna z map nie otrzyma 50% w normalnym glosowaniu. Wtedy dawane są dwie z największym % gal_runoff_enabled 1 //Mozliwe glosowanie rozstrzygające gal_runoff_duration 15 //po ilu sekundach ma się rozpaczać gal_vote_weight 1 //Czy ma być większa waga głosu admina? gal_vote_weightflags y //Flaga z jaka admin ma większy głos (dowolna) gal_endonround 1 //Ma czekać do skończenia rundy ze zmianą mapy? gal_vote_showstatus 1 // postęp głosowania ma być pokazywany gracza? //0-nigdy //1- po zagłosowaniu //2- zawsze gal_vote_showstatustype 2 //Jak ma być to przedstawiane gracza //1- liczba //2- procenty na mapie gal_srv_start 3 // jeśli serwer się zrestartuje lub będzie miał krasza jak ma reagować plugin //0- nic nie robi //1- zmienia mapę na ta przed restartem //2- zmienia mapę na ta która powinna być wybrana //3- robi Vote //4- zmienia na jedna z nominowanych gal_endofmapvote 1 gal_listmaps_paginate 10 // ile map na stronie ma być pokazywanych po użyciu gal_listmaps gal_vote_mapchoices 5 //Ile map ma być dawanych do vote gal_vote_duration 15 // ile sekund powinien trwać vote gal_vote_mapfile mapcycle.txt // skąd ma pobierać mapy gal_vote_expirationcountdown 1 gal_vote_uniqueprefixes 0 gal_vote_announcechoice 1 //pokazuje jaka mapę wybrał gracz? //1- tak //0- Nie gal_emptyserver_wait 0 // ile sekund ma czekać zanim uruchomi emptyserwer mapcykle, gal_emptyserver_mapfile emptycycle.txt // Plik z którego czyta empty serwer mapcyke gal_sounds_mute 0 // wycisza dane dźwięki // 1 - "get ready to choose a map" // 2 - "7", "6", "5", "4", "3", "2", "1" // 4 - "time to choose" // 8 - "runoff voting is required" |- C4 Timer -| amx_showc4timer 3 - Wyłączone | Tylko TT | Tylko CT | Wszyscy (Optymalnie: 3) amx_showc4flash 0 - Sprite flashing (Optymalnie: 0) amx_showc4sprite 1 - Choose from 2 sprites (Optymalnie: 1) amx_showc4msg 0 - Shows a hud message about the timer (Optymalnie: 0) |- Grenade Trail -| grenade_tr 1 ( Optymalnie: 2 ) 0 - wcale 1 - wybrane kolory 2 - odmienny/własny/specyficzny - nie jestem pewien 3 - teamu/druzyny grenade_he "255000000" ustaw kolor dla granatu HE ( 255 000 000 - czerowny) grenade_fb "000000255" ustaw kolor dla Flashbang (000 000 255 - niebieski) grenade_sg "000255000" ustaw kolor dla Smokegrenade (000 255 000 - zielony) |- Minibans -| amx_minibans_forum "http://Cs-Piwo.PL" // okresla forum na ktorym mozna zlozyc zazalenie amx_minibans_hudmsg "1" // okresla czy pokazywac zielony napis na hud amx_minibans_moreinfo "0" // dla developerow, loguje wiecej informacji amx_minibans_logs "1" // wlacza / wylacza logi amx_minibans_logstype "1" // rodzaj logow, 1 - loguje w logach amxx, 2 - loguje w oddzielnym pliku amx_minibans_kickdelay "10.0" // czas, po jakim od odtrzymaniu bana gracz zostanie wykopany amx_minibans_bantype "0" // na co banować graczy? 0 - wykryj automatycznie, 1 - na ip, 2 - na steamid amx_minibans_bantimes 0 15 30 45 60 180 1440 10080 amx_minibans_reason "Czitujesz!" amx_minibans_reason "Wstaw SS!" amx_minibans_reason "Kampisz" amx_minibans_reason "Obrazasz" amx_minibans_reason "Lamisz" amx_minibans_reason "" amx_minibans_reason "" |- Reason Kicker -| amx_kick_r1 "Kampisz" amx_kick_r2 "Obrazasz" amx_kick_r3 "Uwaga 1/3" amx_kick_r4 "Uwaga 2/3" amx_kick_r5 "Uwaga 3/3" amx_kick_r6 "Cele Mapy!" amx_kick_r7 "" diablo_sql_host "db4free.net" diablo_sql_user "diablo_nick" diablo_sql_pass "asdqwe" // tu pamiętać aby wpisać poprawne hasło diablo_sql_database "diablo_vert" diablo_sql_table "diablomod" diablo_sql_save "0" //0 - Nick //1 - IP //2 - STEAMID diablo_xpbonus 20 //Ilość expa za zabicie (standardowo ustawione na 7) diablo_xpbonus2 40 //Ilość expa za wykonania celu mapy (standardowo ustawione na 75) diablo_xpbonus3 20 //Okresla ile dosw. dostajesz za wygranie rundy przez twoj team diablo_durability 10 //Okresla ilosc tracenia jakosci za każdym razem,kiedy uderzy cie przeciwnik diablo_spawnchance 7 //1/x - szansa na zrespienia gracza SaveXp 1 //1/0 zapisywanie doświadczenia diablo_classes abcdefghijkl //które klasy maja być dostępne diablo_avg 0 //zaczynanie od sredniej serwera (liczonego od lvl 1) diablo_dmg_exp 0 //za ile zabranego hp wrogowi dostaje sie 1 exp (domyslnie 20, 0 - off) //Cvarow podanych niżej nie zmieniaj sv_hook "1" sv_hookthrowspeed "2000" sv_hookspeed "600" sv_hookwidth "32" sv_hooksound "1" sv_hookcolor "0" sv_hookplayers "1" sv_hookinterrupt "0" sv_hookadminonly "0" sv_hooksky "1" sv_hookopendoors "1" sv_hookbuttons "1" sv_hookpickweapons "1" sv_hookhostfollow "1" sv_hookinstant "0" sv_hooknoise "0" sv_hookmax "0" sv_hookdelay "0.0"[/quote] modules.ini [quote] ;;; ; 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 cstrike csx hamsandwich
proszę o pomoc