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
 

Zdjęcie
GmAMXBans

AMXBans GM 1.6 Nie dodaje banów - próbowałem wiele razy..

gmamxbans

  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 PryGamer

    Początkujący

  • Użytkownik

Reputacja: 6
Nowy

  • Postów:16
  • Imię:Pyro
  • Lokalizacja:Gdańsk
Offline

Napisano 26.07.2015 15:05

Witam, nie wiem dlaczego jak dodaje bana na 5minut na serwerze to nie banuje. Gracza nawet nie kicka może normalnie wejść.

Dodawałem do Menadżer zdalnego połączenia MySQL, i dalej nic. Czytałem trochę innych ale też nie działa.

 

W Konsoli serwera:

L 07/26/2015 - 15:59:54: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie!
L 07/26/2015 - 15:59:54: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 17
L 07/26/2015 - 15:59:54: [amxbans_main.amxx] [AMXBans] Wiadomosc: Unknown MySQL server host 'ZoneGamers.pl/bany' (3) (2005)
L 07/26/2015 - 15:59:54: [amxbans_main.amxx] [AMXBans] Raport zapytania: 
L 07/26/2015 - 15:59:54: [VTC] Player 4 speex
L 07/26/2015 - 15:59:56: "ZGTeam | AkDuDu<12><VALVE_2:0:2130493738><TERRORIST>" triggered "Dropped_The_Bomb"
L 07/26/2015 - 15:59:56: "XY Gang | Ashek<11><VALVE_2:0:1978991090><TERRORIST>" triggered "Got_The_Bomb"
L 07/26/2015 - 16:00:03: "UnnamedKox<16><VALVE_2:0:353075999><>" entered the game
L 07/26/2015 - 16:00:03: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie!
L 07/26/2015 - 16:00:03: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 16
L 07/26/2015 - 16:00:03: [amxbans_main.amxx] [AMXBans] Wiadomosc: Unknown MySQL server host 'ZoneGamers.pl/bany' (3) (2005)
L 07/26/2015 - 16:00:03: [amxbans_main.amxx] [AMXBans] Raport zapytania: 
L 07/26/2015 - 16:00:05: [spree.amxx] 2->10
L 07/26/2015 - 16:00:05: [spree.amxx] (2)2->10
L 07/26/2015 - 16:00:05: "Red    SkillBoY<3><VALVE_0:4:120374770><CT>" killed "XY Gang | Ashek<11><VALVE_2:0:1978991090><TERRORIST>" with "scout"
L 07/26/2015 - 16:00:05: "XY Gang | Ashek<11><VALVE_2:0:1978991090><TERRORIST>" triggered "Dropped_The_Bomb"
L 07/26/2015 - 16:00:05: "UnnamedKox<16><VALVE_2:0:353075999><>" joined team "TERRORIST"
L 07/26/2015 - 16:00:06: [spree.amxx] 2->4
L 07/26/2015 - 16:00:06: [spree.amxx] (2)2->4
L 07/26/2015 - 16:00:06: "Red    SkillBoY<3><VALVE_0:4:120374770><CT>" killed "UnnamedKox<16><VALVE_2:0:353075999><TERRORIST>" with "scout"
L 07/26/2015 - 16:00:08: [spree.amxx] 2->3
L 07/26/2015 - 16:00:08: [spree.amxx] (2)2->3
L 07/26/2015 - 16:00:08: "Red    SkillBoY<3><VALVE_0:4:120374770><CT>" killed "ZGTeam | AkDuDu<12><VALVE_2:0:2130493738><TERRORIST>" with "scout"
*DEAD* XY Gang | Ashek : Fajny awim Skillboy -.-
L 07/26/2015 - 16:00:14: "XY Gang | Ashek<11><VALVE_2:0:1978991090><TERRORIST>" say "Fajny awim Skillboy -.-" (dead)
L 07/26/2015 - 16:00:14: [spree.amxx] 2->8
L 07/26/2015 - 16:00:14: [spree.amxx] (2)2->8
L 07/26/2015 - 16:00:14: "Red    SkillBoY<3><VALVE_0:4:120374770><CT>" killed ".<14><VALVE_0:4:929624019><TERRORIST>" with "scout"
L 07/26/2015 - 16:00:14: Team "CT" triggered "CTs_Win" (CT "6") (T "0")
L 07/26/2015 - 16:00:14: World triggered "Round_End"
*DEAD* UnnamedKox : ale aimer
L 07/26/2015 - 16:00:16: "UnnamedKox<16><VALVE_2:0:353075999><TERRORIST>" say "ale aimer" (dead)
PTB: Round ended, checking teams.
PTB: Can't switch players, need valid target in each team.
*DEAD* XY Gang | Ashek : fajny awim
L 07/26/2015 - 16:00:19: "XY Gang | Ashek<11><VALVE_2:0:1978991090><TERRORIST>" say "fajny awim" (dead)
L 07/26/2015 - 16:00:19: "UnnamedKox<16><VALVE_2:0:353075999><TERRORIST>" triggered "Spawned_With_The_Bomb"
L 07/26/2015 - 16:00:21: World triggered "Round_Start"
L 07/26/2015 - 16:00:30: [DPROTO]: Client 4 - Set AuthIdType 4 [dproto]; pClient = 0xf36b8ad8
L 07/26/2015 - 16:00:30: "Przemeoo<17><VALVE_0:4:282758778><>" connected, address "77.254.233.136:27005"
L 07/26/2015 - 16:00:30: [VTC] Player 5 speex
L 07/26/2015 - 16:00:30: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie!
L 07/26/2015 - 16:00:30: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 17
L 07/26/2015 - 16:00:30: [amxbans_main.amxx] [AMXBans] Wiadomosc: Unknown MySQL server host 'ZoneGamers.pl/bany' (3) (2005)
L 07/26/2015 - 16:00:30: [amxbans_main.amxx] [AMXBans] Raport zapytania: 
L 07/26/2015 - 16:00:32: [spree.amxx] 2->3
L 07/26/2015 - 16:00:32: [spree.amxx] (2)2->3
L 07/26/2015 - 16:00:32: "Red    SkillBoY<3><VALVE_0:4:120374770><CT>" killed "ZGTeam | AkDuDu<12><VALVE_2:0:2130493738><TERRORIST>" with "scout"
L 07/26/2015 - 16:00:34: [spree.amxx] 4->2
L 07/26/2015 - 16:00:34: [spree.amxx] (2)4->2
L 07/26/2015 - 16:00:34: "UnnamedKox<16><VALVE_2:0:353075999><TERRORIST>" killed "Red    SkillBoY<3><VALVE_0:4:120374770><CT>" with "ak47"
L 07/26/2015 - 16:00:39: [spree.amxx] 4->6
L 07/26/2015 - 16:00:39: [spree.amxx] (2)4->6
L 07/26/2015 - 16:00:39: "UnnamedKox<16><VALVE_2:0:353075999><TERRORIST>" killed "PawelxD<7><VALVE_0:4:2053406325><CT>" with "ak47"
L 07/26/2015 - 16:00:42: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie!
L 07/26/2015 - 16:00:42: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 16
L 07/26/2015 - 16:00:42: [amxbans_main.amxx] [AMXBans] Wiadomosc: Unknown MySQL server host 'ZoneGamers.pl/bany' (3) (2005)
L 07/26/2015 - 16:00:42: [amxbans_main.amxx] [AMXBans] Raport zapytania: 
L 07/26/2015 - 16:00:42: "Przemeoo<17><VALVE_0:4:282758778><>" entered the game
L 07/26/2015 - 16:00:47: "Przemeoo<17><VALVE_0:4:282758778><>" joined team "TERRORIST"
L 07/26/2015 - 16:00:52: [spree.amxx] 8->7
L 07/26/2015 - 16:00:52: [spree.amxx] (2)8->7
L 07/26/2015 - 16:00:52: ".<14><VALVE_0:4:929624019><TERRORIST>" killed "KzO<8><VALVE_0:4:1436253557><CT>" with "ak47"
L 07/26/2015 - 16:00:52: Team "TERRORIST" triggered "Terrorists_Win" (CT "6") (T "1")
L 07/26/2015 - 16:00:52: World triggered "Round_End"
L 07/26/2015 - 16:00:54: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie!
L 07/26/2015 - 16:00:54: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 6
L 07/26/2015 - 16:00:54: [amxbans_main.amxx] [AMXBans] Wiadomosc: Unknown MySQL server host 'ZoneGamers.pl/bany' (3) (2005)
L 07/26/2015 - 16:00:54: [amxbans_main.amxx] [AMXBans] Raport zapytania: SELECT player_id FROM amx_bans WHERE player_id='VALVE_0:4:120374770' and expired=0[/code]
Plugins:
[spoiler][code];; -----------------------------------------
; Amx Mod X 1.8.2 | HLDS 2013 | Pukawka.pl
; -----------------------------------------
; 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)

; 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

; Custom - Add 3rd party plugins here

=======================================================
afkkicker2.amxx                ;KICKUJE AFK
admin_spec_esp.amxx            ;ADMIN WH
amx_ip.amxx                    ;SPRAWDZANIE IP
ad_manager.amxx                ;REKLAMY
Bullet_Whizz.amxx              ;SLYCHAC PRZELATUJACE STRZALY
Voices_Management.amxx         ;ROZMOWA
polski_cs.amxx                 ;CS PO POLSKU
vip.amxx                       ;VIP [g]
parachute.amxx                 ;SPADOCHRON
afkbombtransfer.amxx           ;PRZENOSI BOMBE OD AFK
ghw_weapon_replacement.amxx    ;KOSA
abd.amxx                       ;DAMAGE
fireinthehole.amxx             ;POLSKIE GRANATY
alt_end_round_sounds.amxx      ;MUZA POD KONIEC RUNDY
c4.amxx                        ;ZEGAR C4
resetscore.amxx                ;RESET STATYSTYK
kill_assist.amxx               ;ASYSTY [od 50%]
inf_smierc.amxx                ;5SEC INFO PO SMIERCI
ptb.amxx                       ;BALANS DRUZYNY
bs_limiter.amxx                ;BLOKADA B [OD 5]
anticommerce.amxx              ;ANTY REKLAMA
flash.amxx                     ;WIDAC KTO NAS OSLEPIL
reasonkicker.amxx              ;POWODY KICKUW
allow_round_finish.amxx        ;DOKONCZENIE RUNDY
runplanting.amxx               ;PODKLADANIE PAKI W BIEGU
spree.amxx                     ;NAJLEPSZY GRACZ RUNDY
adminlisten.amxx               ;ADMIN WIDZI WSZYSTKIE ROZMOWY
poprawne_rate.amxx             ;USTAWIA RATE ITP.
mutemenu.amxx                  ;MUTOWANIE GRACZY [/MUTE]
=======================================================
[/code][/spoiler]
 
 
Amxbans.cfg
[spoiler][code]// Plik Konfiguracyjny AMXBans
echo [AMXBans] laduje plik amxbans.cfg

// Prefix bazy
// Nota: Prefiks wpisany w sql.cfg nie jest juz uzywany przez AMXBans
amx_sql_prefix "amx"

//Uzywanie oznaczen gracza na tym serwerze czy na wszystkich?
amxbans_flagged_all_server 1

// Wczytywanie adminów
// 0 z bazy SQL, 1 = z pliku users.ini, 2 = nie laduje adminów
amxbans_use_admins_file 1

// AMXBans próbuje pobierac Ip automatycznie (Tak, widac ;/)
// Mozesz ustawic inne iP -np. "<ip>:<port>"
amxbans_server_address "193.33.177.77:27151"

// Wybierz styl banowanie
// 1 (nowy): amx_ban <SteamID lub nick lub #authid lub IP> <Czas w minutach> <Powód>
// 0 (stary): amx_ban <czas w minutach> <SteamID albo Nick albo #authid albo IP> <Powód>
amxbans_use_newbancmd 1

// Maksymalna liczba graczy w Menu Rozlaczen
amxbans_discon_players_saved 10

// Tak naprawdę ten cvar jest niezle pomylony niby chodzi o czas a ustawia wlasny powód bana
// -1 aby wylaczyc, 0 aby wlaczyc wlasny powód bana
amxbans_custom_statictime 1

// Wpisz jaka ma byc wyswietlana nazwa serwera na stronie gdy gracz dostanie bana .
// np. amxbans_servernick ""
// Pozostaw puste aby czytalo domyslna nazwe hosta z server.cfg
amxbans_servernick ""

// Ustaw 1 / 2 / 3 aby wlaczyc powiadomienia o debugach w logach.
// nie ustawiaj na 3 bo Ci konsole zaspamuje, ustaw 2 bedzie normal
amxbans_debug 0

// Nie wpisuj "http://". Plugin sam sobie to wpisze
amxbans_complain_url "www.ZoneGamers.pl"

// Ustaw na 1 aby mapa byla pokazywana w nazwie serwera
amxbans_add_mapname_in_servername 1

// Ustaw na 1 aby w czacie HLSW byl pokazywany komunikat o banie
amxbans_show_in_hlsw 1

// Pokazuje zielony napis w hud, w lewym górnym rogu, w przypadku bana
amxbans_show_hud_messages 1

// Ustawia jaka flaga odpowiada za najwyzszy czas bana jaki moze ustawic admina.
amxbans_higher_ban_time_admin "n"

// Ustawia jaka flaga odpowiada za to aby nie byl pokazywany nick admina który zbanowal gracza
amxbans_admin_mole_access "r"

// Jesli admin ma ustawiony admin_mole_access, ma pokazywac jego nick przy zbanowanym graczu?
amxbans_show_name_evenif_mole 1

// Pokazuje adminowi w chacie czy gracz byl wczesniej zbanowany, 0 aby wylaczyc
amxbans_show_prebanned 1

// Ile razy powiadamia admina o wczesniejszym banie gracza
amxbans_show_prebanned_num 2

// Obecnie nie wiadomo  // Tak napisali w oryginale :D
amxbans_default_ban_reason unknown

// Czy mozna banowac w przypadku gdy gracz sie rozlaczy . 1 aby wlaczyc 0 aby wylaczyc // Jest to na koncu menu admina, Menu Rozlaczen
amxbans_ban_evenif_disconnected 1

// Czasy oznakowan w menu
amx_setflagtimes "1 h" "4 h" "10 h" "1 d" "1 w" "4 w" "12 w" "0"

// Dlugosci banów dla adminów z flaga -d, ustaw najwieksze jakie maja byc przy komendzie "amxbans_consolebanmax"
// UWAGA: ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIEKSZEJ . Mozesz wybrac 14 wartosci
// "0 m" = PERM
// Wartosci jakich mozesz uzyc :
// 1 - 59 dla flagi m to minuty
// 1 - 23 dla flagi h to godziny
// 1 - 6 dla flagi d to dni
// dla flagi w sa tygodnie

// Przyklady:
// "5 m" to 5 minut
// "1 h" to 1 godzina
// "1 d" to 1 dzien
// "1 w" to 1 tydzien

amx_setlowbantimes "5 m" "30 m" "1 h" "3 h" "10 h" "1 d"

// Dlugosci banów dla adminów z flaga -n i -d
// UWAGA:ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIEKSZEJ . Mozesz wybrac 14 wartosci
// "0 m" = PERM
// Wartosci jakich mozesz uzyc :
// 1 - 59 dla flagi m to minuty
// 1 - 23 dla flagi h to godziny
// 1 - 6 dla flagi d to dni
// dla flagi w sa tygodnie

// Przyklady:
// "5 m" to 5 minut
// "1 h" to 1 godzina
// "1 d" to 1 dzien
// "1 w" to 1 tydzien

amx_sethighbantimes "5 m" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m"

/************* Opcjonalne pluginy AMXBans Start Configu ******************************/


// Opcjonalne pluginy AMXBans
// Wymagany plugin amxbans_freeze
//
//    "a" = zamrozenie
//    "b" = wyrzucenie broni
//    "c" = blokowanie rozmow
//    "d" = gracz swieci na czerwono
amxbans_freeze_mode "abcd"

/************* Opcjonalne pluginy AMXBans: Koniec Configu ******************************/

// Plik konfiguracyjny - ECHO
echo [AMXBans] amxbans.cfg zostal zaladowany | AMXX.PL | Wersja PL - Szyfrant i MisieQ[/code][/spoiler]
 
SQL.CFG
 
[code]// 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    "ZoneGamers.pl/bany" @@@ EWENTUALNIE dodawałem  ---> amx_sql_host    "127.0.0.1"
amx_sql_user    "Barti3"
amx_sql_pass    "xxx"
amx_sql_db    "p447393_bany"
amx_sql_table    "amx"
amx_sql_type    "mysql"

 


  • +
  • -
  • 0





Również z jednym lub większą ilością słów kluczowych: gmamxbans

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych