Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

SuperOnyx - zdjęcie

SuperOnyx

Rejestracja: 16.05.2025
Aktualnie: Nieaktywny
Poza forum Ostatnio: 01.06.2025 07:08
-----

Moje posty

W temacie: AMX-X Bans - Nowoczesny rework standardowego Amxbansa

16.05.2025 18:50

 

Hej, mam błąd z łączeniem się z bazą po stronie serwera cs 1.6

To pojawia się w konsoli po starcie:

couldn't exec banned.cfg
couldn't exec listip.cfg
[AMX-X Bans] Bledny klucz serwera (#2.2)

A to mam uzupełnione w amxbansx.cfg (oczywiście dane do bazy tj. db, pass, host i user są prawidłowe i sprawdzane (te same co web)) - po stronie bazy danych też dopuściłem ip serwera cs

Uzupełniam tylko 4 pierwsze linie, czyt sql server key też trzeba uzupełnić?

amx_bansx_sql_host "host" // bans host
amx_bansx_sql_user "user" // bans user
amx_bansx_sql_pass "hasło" // bans password 
amx_bansx_sql_db "db" // bans database
amx_bansx_sql_server_key "" // server key
amx_bansx_static_server_ip "" // ip addres
amx_bansx_static_server_port "" // ip port
amx_bansx_sql_show_error "1" // show sql error
amx_bansx_sql_reconnect "0" // reconect to bans after fail connect
amx_bansx_read_from_sql "1" // read admin from sql
amx_bansx_read_from_file "1" // read admin from users.ini file
amx_bansx_time_to_connect "1.0" // time to connect/reconnect to bans
amx_bansx_url "" // url
amx_bansx_protect_hltv "1" // prevent hltv from ban
amx_bansx_protect_bot "1" // prevent bot from ban
amx_bansx_protect_steam_id_lan_players "0" // prevent steam id lan players from ban
amx_bansx_multiserver "0" // 0 = ban from all servers in bans, 1 = ban from only this server 
amx_bansx_show_ban_to_players "1" // show ban info for players
amx_bansx_ban_hud_x "0.2" // ban hud x position
amx_bansx_ban_hud_y "0.5" // ban hud y position
amx_bansx_ban_hud_time "3.0" // hud time
amx_bansx_ban_kick_time "1.0" // time to kick player

 

Naprawiłem, klucz generuje się z strony gdzie mamy amxbans po dodaniu serwera.

 

A czy musze stworzyć te pliki?

couldn't exec banned.cfg
couldn't exec listip.cfg

?

W temacie: AMX-X Bans - Nowoczesny rework standardowego Amxbansa

16.05.2025 10:45

Hej, mam błąd z łączeniem się z bazą po stronie serwera cs 1.6

To pojawia się w konsoli po starcie:

couldn't exec banned.cfg
couldn't exec listip.cfg
[AMX-X Bans] Bledny klucz serwera (#2.2)

A to mam uzupełnione w amxbansx.cfg (oczywiście dane do bazy tj. db, pass, host i user są prawidłowe i sprawdzane (te same co web)) - po stronie bazy danych też dopuściłem ip serwera cs

Uzupełniam tylko 4 pierwsze linie, czyt sql server key też trzeba uzupełnić?

amx_bansx_sql_host "host" // bans host
amx_bansx_sql_user "user" // bans user
amx_bansx_sql_pass "hasło" // bans password 
amx_bansx_sql_db "db" // bans database
amx_bansx_sql_server_key "" // server key
amx_bansx_static_server_ip "" // ip addres
amx_bansx_static_server_port "" // ip port
amx_bansx_sql_show_error "1" // show sql error
amx_bansx_sql_reconnect "0" // reconect to bans after fail connect
amx_bansx_read_from_sql "1" // read admin from sql
amx_bansx_read_from_file "1" // read admin from users.ini file
amx_bansx_time_to_connect "1.0" // time to connect/reconnect to bans
amx_bansx_url "" // url
amx_bansx_protect_hltv "1" // prevent hltv from ban
amx_bansx_protect_bot "1" // prevent bot from ban
amx_bansx_protect_steam_id_lan_players "0" // prevent steam id lan players from ban
amx_bansx_multiserver "0" // 0 = ban from all servers in bans, 1 = ban from only this server 
amx_bansx_show_ban_to_players "1" // show ban info for players
amx_bansx_ban_hud_x "0.2" // ban hud x position
amx_bansx_ban_hud_y "0.5" // ban hud y position
amx_bansx_ban_hud_time "3.0" // hud time
amx_bansx_ban_kick_time "1.0" // time to kick player