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

Problem z amxbans gm 1.6

gmamxbans

  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
7 odpowiedzi w tym temacie

#1 adi891

    Życzliwy

  • Użytkownik

Reputacja: -4
Nowy

  • Postów:35
  • Lokalizacja:polska
Offline

Napisano 28.06.2012 13:02

Witam .Mój problem polega na tym ,że nie odczytuje adminów z bazy danych.Połaczylem sie z baza danych,odblokowalem mysql i sqlite. Wgrałem wszystko na strone i na serwer.Dodam tez dalem sobie bana przez strona www I Wszedlem na serwer to wyskoczylo mi ze dostalem bana.Admini nie dzialaja takze przez plik users.ini.
Plik modules.ini :

;;;
; 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
orpheu



Plik plugins.ini:

; AMX Mod X plugins
amxbans_core.amxx  amxbans
amxbans_main.amxx debug ; amxbans
; Admin Base - Always one has to be activated
amxbans_core.amxx  amxbans
amxbans_main.amxx debug  amxbans
admin_amxbans.amxx
;admin_sql.amxx		 ; admin base - SQL version (comment admin.amxx)
amxbans.amxx			AMXBans

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)
amxbans.amxx		;AMXBans  
; 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

;ZABEZPIECZENIA
autobuyfix.amxx		 ;Zabezpiecza przed atakami autobuy
noflood.amxx ;Zabezpiecza przed floodem
ukrywanie_cvarow.amxx ;Zabezpiecza serwer przed samoczynnymi padami

; WLASNE
high_ping_kicker.amxx
godzina.amxx
parachute.amxx
ultimate_sounds_PL.amxx
c4.amxx
ad_manager.amxx
alt_end_round_sounds.amxx
Plik amxbans.cfg:


// Plik Konfiguracyjny AMXBans
echo [AMXBans] laduje plik amxbans.cfg

// Prefix bazy
// Nota: Prefiks wpisany w sql.cfg nie jest już używany przez AMXBans
amx_sql_prefix "amx"

//Używanie oznaczeń 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 ł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 "www.cs-zkp.xaa.pl/web/ban_list"

amxbans_use_newbancmd 0

// Tak naprawdę ten cvar jest niezle pomylony niby chodzi o czas a ustawia własny powód bana
// -1 aby wyłaczyć, 0 aby właczyć własny powód bana
amxbans_custom_statictime 0

// Wpisz jaka ma byc wyświetlana nazwa serwera na stronie gdy gracz dostanie bana .
// np. amxbans_servernick ""
// Pozostaw puste aby czytało domyślna nazwe hosta z server.cfg
amxbans_servernick ""

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

// Nie wpisuj "http://". Plugin sam sobie to wpisze
amxbans_complain_url "www.cs-zkp.xaa.pl/web/ban_list"

// Ustaw na 1 aby mapa była pokazywana w nazwie serwera
amxbans_add_mapname_in_servername 1

// Ustaw na 1 aby w czacie HLSW był 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 0

// Ustawia jaka flaga odpowiada za najwyższy czas bana jaki może ustawić admina.
amxbans_higher_ban_time_admin "n"

// Ustawia jaka flaga odpowiada za to aby nie był pokazywany nick admina który zbanował gracza
amxbans_admin_mole_access "m"

// Jeśli admin ma ustawiony admin_mole_access, ma pokazywać jego nick przy zbanowanym graczu?
amxbans_show_name_evenif_mole 1

// Pokazuje adminowi w chacie czy gracz był wczesniej zbanowany, 0 aby wyłączyć
amxbans_show_prebanned 0

// Ile razy powiadamia admina o wcześniejszym banie gracza
amxbans_show_prebanned_num 0

// Obecnie nie wiadomo  // Tak napisali w oryginale <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />
amxbans_default_ban_reason unknown

// Czy można banować w przypadku gdy gracz się rozłaczy . 1 aby właczyć 0 aby wyłaczyc // Jest to na koncu menu admina, Menu Rozłączeń
amxbans_ban_evenif_disconnected 0

// Czasy oznakowan w menu
amx_setflagtimes "5 m" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m"

// Długości banów dla adminów z flagą -d, ustaw najwieksze jakie mają byc przy komendzie "amxbans_consolebanmax"
// UWAGA: ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIĘKSZEJ . Mozesz wybrac 14 wartości
// "0 m" = PERM
// Wartosci jakich mozesz użyć :
// 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

// Przykłady:
// "5 m" to 5 minut
// "1 h" to 1 godzina
// "1 d" to 1 dzień
// "1 w" to 1 tydzień

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

// Długości banów dla adminów z flagą -n i -d
// UWAGA:ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIĘKSZEJ . Mozesz wybrac 14 wartości
// "0 m" = PERM
// Wartosci jakich mozesz użyć :
// 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

// Przykłady:
// "5 m" to 5 minut
// "1 h" to 1 godzina
// "1 d" to 1 dzień
// "1 w" to 1 tydzień

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

/********************AMXBans: Freeze ****************************************/
// plugin amxbans_freeze (tzw. Zamrażający)
// "a" = zamraża (nie możesz się ruszyć)
// "b" = nie mozesz uzyc broni
// "c" = blokuje czat
// "d" = gracz swieci na czerwono
amxbans_freeze_mode "abcd"


// Czas pomiedzy serwerem gry a baza danych
// Moze byc ujemny
// Jezeli 0 ustawia automatycznie

amxbans_time_offset "0"


// [En] Automatycznie robi screena przy banie

amxbans_snapshot "5"

// Typ Bana
// "0" - wybiera automatycznie
// "1" - na IP
// "2" - na SteamID

amxbans_bantype "0"


// Definiuje czy sprawdzać graczy po flagach
// Włącza - "1" / Wyłącza - "0"

amxbans_check_flag "1"

// Włącza - 1 / wyłącza - 0 historie banow

amxbans_history "1"

// Plik konfiguracyjny - ECHO

echo [AMXBans] amxbans.cfg zostal zaladowany | AMXX.PL | Wersja PL - Szyfrant i MisieQ

Udzieli ktoś pomocy?
(28.06.2012 23:39):
Kod w postach(np. źródło pluginu) umieszczaj w odpowiednich tagach(code/php/spoiler itp)

Użytkownik benio101 edytował ten post 28.06.2012 23:38
Dodanie znaczników CODE

  • +
  • -
  • 0

#2 MaxiKINGer

    Banned

  • Zbanowany

Reputacja: 35
Życzliwy

  • Postów:307
  • GG:
  • Imię:Mateusz
  • Lokalizacja:Kartuzy
Offline

Napisano 28.06.2012 13:48

Wyłącz plugin
admin.amxx
Czyli:
; AMX Mod X plugins
amxbans_core.amxx  amxbans
amxbans_main.amxx debug ; amxbans
; Admin Base - Always one has to be activated
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Admin Base - Always one has to be activated
;admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
amxbans.amxx ;AMXBans  
; 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

;ZABEZPIECZENIA
autobuyfix.amxx ;Zabezpiecza przed atakami autobuy
noflood.amxx ;Zabezpiecza przed floodem
ukrywanie_cvarow.amxx ;Zabezpiecza serwer przed samoczynnymi padami

; WLASNE
high_ping_kicker.amxx
godzina.amxx
parachute.amxx
ultimate_sounds_PL.amxx
c4.amxx
ad_manager.amxx
alt_end_round_sounds.amxx
Tak ma to wyglądać

Użytkownik MaxiKINGer edytował ten post 28.06.2012 13:50

Pomogłem? Postaw z łaski swojej plusa...
Wbijaj! www.Mocny-Trick.pl
Dołączona grafikaDołączona grafika
Dołączona grafikaDołączona grafika

Dołączona grafika


#3 adi891

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -4
Nowy

  • Postów:35
  • Lokalizacja:polska
Offline

Napisano 28.06.2012 14:49

Nie pomogło.Proszę o dalsze instrukcje. Dodam tez ze w konsoli serwer jak uruchomie to wyskakuje :
amxbans gm 1.5.1 jest wlaczony.
nie znaleziono powodow bana
itp

amxbans 5.0 jest wlaczony
i to samo

Użytkownik adi891 edytował ten post 28.06.2012 14:59

  • +
  • -
  • 0

#4 Kawon

    Godlike

  • Przyjaciel

Reputacja: 887
Czempion

  • Postów:5 165
  • Steam:steam
  • Imię:Paweł
  • Lokalizacja:Dzierzgoń
Offline

Napisano 28.06.2012 20:39

; AMX Mod X plugins
amxbans_core.amxx amxbans
amxbans_main.amxx debug ; amxbans
; Admin Base - Always one has to be activated
amxbans_core.amxx amxbans
amxbans_main.amxx debug amxbans
admin_amxbans.amxx
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
amxbans.amxx AMXBans

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
amxbans.amxx ;AMXBans

co to ma być ?

admin.amxx
ma być wyłączone

amxbans.amxx
nie ma tego być

amxbans_core.amxx
amxbans_main.amxx 
ma być na początku!

sqlite

wyłącz
  • +
  • -
  • 1

DarkGL to mój autorytet.


#5 adi891

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -4
Nowy

  • Postów:35
  • Lokalizacja:polska
Offline

Napisano 28.06.2012 23:41

Nadal nic .Sprawdzilem konsole i pisze zaladowano 0 adminow.Jak na stronie dalem 2 adminy
Kawałek error logs:


L 06/29/2012 - 00:19:43: [MySQL] Invalid info tuple handle: 0
L 06/29/2012 - 00:19:43: [AMXX] Displaying debug trace (plugin "amxbans_core.amxx")
L 06/29/2012 - 00:19:43: [AMXX] Run time error 10: native error (native "SQL_Connect")
L 06/29/2012 - 00:19:43: [AMXX] [0] amxbans_core_650478.sma::adminSql (line 280)
Dodam też że przeinstalowywałem amxbans i zmienialem baze danych i nadal to samo
Bardzo proszę o pomoc.


Użytkownik adi891 edytował ten post 29.06.2012 00:05

  • +
  • -
  • 0

#6 adi891

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -4
Nowy

  • Postów:35
  • Lokalizacja:polska
Offline

Napisano 29.06.2012 12:19

Pomoże ktoś?
  • +
  • -
  • 0

#7 MaxiKINGer

    Banned

  • Zbanowany

Reputacja: 35
Życzliwy

  • Postów:307
  • GG:
  • Imię:Mateusz
  • Lokalizacja:Kartuzy
Offline

Napisano 29.06.2012 12:33

Nie bierz się lepiej za to. :facepalm:
Polecam lekturę: http://amxx.pl/topic...alacja-amxbans/
A myślenie: ON

Pomogłem? Postaw z łaski swojej plusa...
Wbijaj! www.Mocny-Trick.pl
Dołączona grafikaDołączona grafika
Dołączona grafikaDołączona grafika

Dołączona grafika


#8 adi891

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -4
Nowy

  • Postów:35
  • Lokalizacja:polska
Offline

Napisano 29.06.2012 13:14

No proszę juz mecze sie z tym 2 dni.
Proszę o poprawienie skryptu.

; AMX Mod X plugins
amxbans_core.amxx amxbans
amxbans_main.amxx debug ; amxbans
; Admin Base - Always one has to be activated
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Admin Base - Always one has to be activated
;admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
amxbans.amxx debug ;AMXBans
; 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

;ZABEZPIECZENIA
autobuyfix.amxx ;Zabezpiecza przed atakami autobuy
noflood.amxx ;Zabezpiecza przed floodem
ukrywanie_cvarow.amxx ;Zabezpiecza serwer przed samoczynnymi padami

; WLASNE
high_ping_kicker.amxx
godzina.amxx
parachute.amxx
ultimate_sounds_PL.amxx
c4.amxx
ad_manager.amxx
alt_end_round_sounds.amxx


Użytkownik adi891 edytował ten post 29.06.2012 13:26

  • +
  • -
  • 0





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

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