Pytanie odnosnie dodawania serwerow.
siwyswirus1
03.12.2010
zainstalowlem amxbans na forum AMXBans - Lista Banów i na serwerze.
jak teraz dodac server do listy serwerow na forum?
pytanie odnosnie:
AmxBans - Nieoficjalny polski support AMX Mod X
Turtle
03.12.2010
Powinieneś tylko wpisać dane bazy do sql.cfg oraz włączyć plugin, reszta powinna zadziałać automatycznie. Jeżeli nie działa, wrzuć logi z amxxa, oczywiście errory ;]
Edited by Turtle, 03.12.2010 23:20.
siwyswirus1
03.12.2010
przyklad;
<?php
// phpBB 2.x auto-generated config file
// Do not change anything in this file!
$dbms = 'mysql4';
$dbhost = 'sds';
$dbname = 'sds';
$dbuser = 'sds';
$dbpasswd = 'sds';
$table_prefix = 'phpbb_';
define('PHPBB_INSTALLED', true);
?
Dodano 03 grudzień 2010 - 22:47:
Na forum jest zainstralowny amxbans: AMXBans - Lista Banów
Na serwerze tez nie wiem co jest zle podaje logi:
L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Polaczenie nieudane! L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 1 L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002) L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Status zapytania: VAC secure mode is activated. L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Polaczenie nieudane! L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 5 L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002) L 12/03/2010 - 22:43:03: [amxbans.amxx] [Amxbans] Status zapytania: Menu item 17 added to Menus Front-End: "Banhistory Menu" from plugin "AMXBans" L 12/03/2010 - 22:43:07: [DPROTO]: Client 0 - Set AuthIdType 1 [Native]; pClient = 0xf52abf08 L 12/03/2010 - 22:43:07: ".:Busho:.<1><STEAM_0:0:29464199><>" connected, address "83.28.48.123:27005" L 12/03/2010 - 22:43:07: [admin.amxx] Login: ".:Busho:.<1><STEAM_0:0:29464199><>" became an admin (account "STEAM_0:0:29464199") (access "bcdfiju") (address "83.28.48.123") [user 1] client auth! L 12/03/2010 - 22:43:08: ".:Busho:.<1><STEAM_0:0:29464199><>" STEAM USERID validated [user 1] wait for joining team ... L 12/03/2010 - 22:43:08: [amxbans.amxx] [Amxbans] Polaczenie nieudane! L 12/03/2010 - 22:43:08: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 16 L 12/03/2010 - 22:43:08: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002) L 12/03/2010 - 22:43:08: [amxbans.amxx] [Amxbans] Status zapytania: L 12/03/2010 - 22:43:09: [amxbans.amxx] [Amxbans] Polaczenie nieudane! L 12/03/2010 - 22:43:09: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 17 L 12/03/2010 - 22:43:09: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002) L 12/03/2010 - 22:43:09: [amxbans.amxx] [Amxbans] Status zapytania: L 12/03/2010 - 22:43:09: World triggered "Round_Start" Warning: Unable to open sound/sound/misc/bomba.wav for transfer L 12/03/2010 - 22:43:10: [DPROTO]: Client 1 - Set AuthIdType 8 [dproto]; pClient = 0xf52b0df0 L 12/03/2010 - 22:43:10: "-[Exile]-MaXeL<2><STEAM_ID_LAN><>" connected, address "79.175.216.107:27005" [user 2] client auth! [user 1] wait for joining team ... L 12/03/2010 - 22:43:11: Server cvar "amx_nextmap" = "[Vot jeszcze nie zostal uruchom" L 12/03/2010 - 22:43:11: ".:Busho:.<1><STEAM_0:0:29464199><>" entered the game [user 2] wait for joining team ... L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Polaczenie nieudane! L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 17 L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002) L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Status zapytania: L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Polaczenie nieudane! L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Blad zapyania, lokacja: 16 L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Wiadomosc: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002) L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Status zapytania:
Turtle
03.12.2010
L 12/03/2010 - 22:43:12: [amxbans.amxx] [Amxbans] Polaczenie nieudane!
musisz na serwerze gdzie masz hlds dopisać do sql.cfg a nie sql.php
cstrike/addons/amxmodx/configs/sql.cfg
plik ma wyglądać tak
amx_sql_host "IP"
amx_sql_user "user_bazy"
amx_sql_pass "hasło"
amx_sql_db "nazwa_bazy"
amx_sql_table "amx"
amx_sql_type "mysql"
siwyswirus1
04.12.2010
podaje zedytowane troszke dane:
tak zroblem:
amx_sql_host "localhost" -> w instalacji jest napisane, zeby niepodawac localhost ale na tym hostingu mam wpisane localhost w cofig.php i wszedzie
amx_sql_user "siwypro" --> nazwe i usera bazdy danyvch mam taka sama na moim hostingu xpag.pl
amx_sql_pass "haslo"
amx_sql_db "siwypro"
amx_sql_table "admins"
amx_sql_type "mysql"
tak mam podane w confing.php
$dbms = 'mysql4';
$dbhost = 'localhost -> w instalacji jest napisane, zeby niepodawac localhost ale na tym hostingu mam wpisane localhost w cofig.php i wszedzie.';
$dbname = 'siwypro'; --> nazwe i usera bazdy danyvch mam taka sama na moim hostingu xpag.pl
$dbuser = 'siwypro';
$dbpasswd = 'haslo';
$table_prefix = 'phpbb_';
dane bazy danych wziąłem z ftp z pliku config.php
Edited by siwyswirus1, 04.12.2010 00:18.
Turtle
04.12.2010
Cześć pluginów nie obsługuje localhosta, lepiej podać IP na sztywno.
Domniemam że serwer gry masz na innym serwerze niż www?? Jeżeli tak adres bazy mysql jest na pewno inny, więc wpisz go z placa!!!
localhost to adres TEGO serwera gdzie masz www, więc całkiem inny?