AMXBans ( nie łączy mimo że wszystko dobrz...
^Szeregowy^
04.12.2014
W pliku
addons/amxmodx/configs/plugins.ini
Wstaw średnik przed:
admin.amxx ; admin base (required for any admin-related)
I dopisz na samej górze
amxbans_core.amxx ; amxbansamxbans_main.amxx debug ; amxbans
Użytkownik ^Szeregowy^ edytował ten post 04.12.2014 10:57
Shot97
04.12.2014
; dodalem juz dawno modules ini tez odblokowane amxbans core i main tez dawno dodany
^Szeregowy^
04.12.2014
pokaz plugin.ini i modules .ini oraz amxbans.cfg sql.cfg ja zaraz sam ci to ustawie
KochamFootball
04.12.2014
Przecież ja już mu to powiedziałem.
Wina leży po stronie ustawień w CPanelu.
Shot97
04.12.2014
Panowie pisze z telefonu gdyz jestem w szkole gdziej po 15 będę na kompie to dam dokladniesze dane
IsRiN
04.12.2014
dobra wracając do mnie , wszystko w sql.cfg jest dobrze ponieważ w logach nie ma że serwer się nie łączy, mam problem z tym że admina mi nie czyta.
takie mam logi.
[AMXBans] No Reasons found L 12/04/2014 - 11:49:31: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead. [AMXBans] Loaded 1 admin from database L 12/04/2014 - 11:49:31: [amxbans_main.amxx] [AMXBans] AMXBans Gm 1.6 is online, date: 14:25 26.04.2011 Menu item 17 added to Menus Front-End: "AMXBans: Player-Flagging" from plugin "AMXBans: Main" Menu item 18 added to Menus Front-End: "AMXBans: Disconnected Players" from plugin "AMXBans: Main" Menu item 19 added to Menus Front-End: "AMXBans: Banhistory" from plugin "AMXBans: Main" Menu item 20 added to Menus Front-End: "AMXBans: Screens" from plugin "AMXBans: Screens"
to jest mój plugins.ini
; AMX Mod X plugins ; Admin Base - Always one has to be activated amxbans_core.amxx amxbans_main.amxx ;admin.amxx ; admin base (required for any admin-related); ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ( gdy było bez średnika wywalało dodatkowy log. ) ; 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 ; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;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
to jest moje sql.cfg
amx_sql_host "fire-head.xaa.pl" amx_sql_user "firehead_xxx" amx_sql_pass "xxxxxx" amx_sql_db "firehead_xxx" amx_sql_table "admins" amx_sql_type "mysql"
To jest mój modules.ini
mysql sqlite Gdy miałem mysql ;sqlite Cały czas wywalało te same logi co wyżej czyli to sqlite chyba nic nie daje :/
w Cpanelu
127.0.0.1 91.185.189.21 <-- To mi pokazywało w konsoli gdy wpisałem hosta . "mojanazwa.xaa.pl"
amxbans.cfg
// Wczytywanie adminów // 0 z bazy SQL, 1 = z pliku users.ini, 2 = nie ładuje adminów amxbans_use_admins_file 0 // AMXBans próbuje pobierać Ip automatycznie (Tak, widać ;/) // Możesz ustawić inne iP -np. "<ip>:<port>" amxbans_server_address "31.186.83.188:27041" <-- to IP to IP mojego serwera Cs
Coś mam wam jeszcze pokazać ??
KochamFootball
04.12.2014
Ustaw amx_sql_host na IP: 91.185.189.21.
A potem zamiast tego hosta w zewnętrznych wpisz: 31.186.83.188
IsRiN
04.12.2014
[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on '91.185.189.21' (111)' [AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on '91.185.189.21' (111)'
Nie łączy się z bazą danych chyba.
jeszcze tam było coś że amxbans_main nie łączy się ale nie dało się skopiować bug konsoli
Użytkownik SiN edytował ten post 04.12.2014 12:26
IsRiN
04.12.2014
[AMXBans] No Reasons found L 12/04/2014 - 13:06:38: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead. [AMXBans] Loaded 1 admin from database L 12/04/2014 - 13:06:39: [amxbans_main.amxx] [AMXBans] AMXBans Gm 1.6 is online, date: 14:25 26.04.2011
Logi mam takie / nie czyta mi adminów co mam zrobić ??
^Szeregowy^
04.12.2014
usun ; z przed admins_sql.amxx bo nie ma z czego czytac wylaczyles nawet admins.amxx
KochamFootball
04.12.2014
Bo do amxbans trzeba wyłączyć admin_sql.amxx "znawco" amxbans
Przede wszystkim:
[AMXBans] Loaded 1 admin from database L 12/04/2014 - 13:06:39: [amxbans_main.amxx] [AMXBans] AMXBans Gm 1.6 is online, date: 14:25 26.04.2011
Wygląda na to, że odczytało 1 admina. Wejdź na serwer i w konsoli hostingu wpisz amx_who.
IsRiN
04.12.2014
wpisałem to amx_who i
Clients on server: # nick authid userid imm res access 1 Carlos STEAM_0:1:30302254 2 No Yes bcdefghijklmnopqrst Total 1 L 12/04/2014 - 14:08:01: [admincmd.amxx] Cmd: "Fire-Head.pl [Only_DD2] @pukawk<0><><>" ask for players list
I co dalej ??
sprawdziłem czy mam adma i go nadal nie ma
Użytkownik SiN edytował ten post 04.12.2014 14:10
WeBsteR
04.12.2014
OMG człowieku masz admina tylko nie dodałeś sobie flagi "u" czyli amxmodmenu, więc nie masz prawa z tego menu korzystać, ale np. przez konsole możesz zbanować.
Shot97
04.12.2014
Wracając do mnie macie wycinki
sql.cfg
-----------------------------------
modules.ini
Użytkownik Shot97 edytował ten post 04.12.2014 15:00
IsRiN
04.12.2014
Dzięki nie widziałem myślałem że dodałem wszystkie
A wiesz może dlaczego jak naciskam przy dodawaniu admina
w rubryce Uprawnienia ( tam gdzie daje się flagi ) taki przycisk że mogę dodać wszystkie flagi naraz to wywala mi taki błąd.
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
i też w logach ( error ) mam takie coś , jak to naprawić ?
L 12/03/2014 - 16:13:01: Start of error session. L 12/03/2014 - 16:13:01: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20141203.log") L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_core.amxx") L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_main.amxx") L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_freeze.amxx") L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_flagged.amxx") L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "amxbans_ssban.amxx") L 12/03/2014 - 16:13:01: [AMXX] Plugin file open error (plugin "adb.amxx")
Użytkownik SiN edytował ten post 04.12.2014 15:04
WeBsteR
04.12.2014
Wystarczy poszukać:
zrób kopie zapasową i wywal .htacces na web
A dokładnie to tutaj masz odpowiedzi:
http://amxx.pl/topic...l-server-error/
http://amxx.pl/topic...l-server-error/