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

Dodawanie serwera do amxbans


  • Zamknięty Temat jest zamknięty
16 odpowiedzi w tym temacie

#1 Levy

    Życzliwy

  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 09.08.2011 18:40

Mój problem polega na podpięciu serwera do amxbans. Musiałem zrobić to po przez php my admin, serwer jest w amxbans na liście jednakże admini itp nie działają na serwie.

Wersja amxmodx 1.8.2

Logi:
L 08/09/2011 - 18:54:36: Start of error session.
L 08/09/2011 - 18:54:36: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110809.log")
L 08/09/2011 - 18:54:36: [AMXX] Plugin file open error (plugin "amxbans_core.amxx")
L 08/09/2011 - 18:54:36: [AMXX] Plugin file open error (plugin "amxbans_main.amxx")
L 08/09/2011 - 18:54:36: [AMXX] Plugin file open error (plugin "amxbans_freeze.amxx")
L 08/09/2011 - 18:54:36: [AMXX] Plugin file open error (plugin "amxbans_flagged.amxx")
L 08/09/2011 - 18:54:36: [AMXX] Plugin file open error (plugin "amxbans_ssban.amxx")

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)

; 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

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer


; Custom - Add 3rd party plugins here

modules.ini

;;;
; To enable a module, remove the semi-colon (<img src='http://img.amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.gif' 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
;hamsandwich

sql.cfg
// 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	"localhost"
amx_sql_user	"levy_lol"
amx_sql_pass	"******"
amx_sql_db	"levy_bany"
amx_sql_table	"admins"
amx_sql_type	"mysql"


#2 Julia

    Profesjonalista

  • Girl

Reputacja: 36
Życzliwy

  • Postów:163
  • Steam:steam
  • Imię:Julia
  • Lokalizacja:Gdynia
Offline

Napisano 09.08.2011 18:47

Chcesz powiedzieć, że wpisałeś "localhost"?
Powinieneś wpisać np. levy.unixstorm.org
  • +
  • -
  • 0

#3 A może sma?

    Godlike

  • Power User

Reputacja: 547
Wszechwiedzący

  • Postów:1 464
  • Steam:steam
  • Imię:Tomasz
  • Lokalizacja:Polska
Offline

Napisano 09.08.2011 18:53

Kiedy do was dotrze, że jeżeli serwer sam się nie doda, to dodanie go ręcznie nic nie zmieni...
  • +
  • -
  • 0

#4 Levy

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 09.08.2011 18:54

Zmienione, dalej to samo.

#5 BaQStiC

    Supra Team

  • Power User

Reputacja: 108
Zaawansowany

  • Postów:628
  • GG:
  • Steam:steam
  • Imię:Daniel
  • Lokalizacja:Ck / Wroc
Offline

Napisano 09.08.2011 18:56

odblokuj modul mysql oraz wszystkie pozostale

a jeszcze pokaz amxbans.cfg

Użytkownik BaQStiC edytował ten post 09.08.2011 18:58

  • +
  • -
  • 0

#6 Levy

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 09.08.2011 19:59

Odblokowałem moduły

Załączone pliki



#7 BaQStiC

    Supra Team

  • Power User

Reputacja: 108
Zaawansowany

  • Postów:628
  • GG:
  • Steam:steam
  • Imię:Daniel
  • Lokalizacja:Ck / Wroc
Offline

Napisano 09.08.2011 20:05

Zrobiles restarta?
Jakies logi?
  • +
  • -
  • 0

#8 Levy

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 09.08.2011 21:45

Logi:
L 08/09/2011 - 22:40:46: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110809.log")
L 08/09/2011 - 22:40:46: [AMXX] Plugin file open error (plugin "amxbans_core.amxx")
L 08/09/2011 - 22:40:46: [AMXX] Plugin file open error (plugin "amxbans_main.amxx")
L 08/09/2011 - 22:40:46: [AMXX] Plugin file open error (plugin "amxbans_freeze.amxx")
L 08/09/2011 - 22:40:46: [AMXX] Plugin file open error (plugin "amxbans_flagged.amxx")
L 08/09/2011 - 22:40:46: [AMXX] Plugin file open error (plugin "amxbans_ssban.amxx")

Przed tą wersją gm miałem gm 1.6 te pliki właśnie znajdowały się w 1.6. Tyle, że ja usuwałem je i wgrywałem 1.5 na nowo, ponieważ miałem problemy z plikiem smarty.

#9 BaQStiC

    Supra Team

  • Power User

Reputacja: 108
Zaawansowany

  • Postów:628
  • GG:
  • Steam:steam
  • Imię:Daniel
  • Lokalizacja:Ck / Wroc
Offline

Napisano 10.08.2011 07:33

A wrzuciles pliki amxbans_core.amxx i amxbans_main.amxx do plugins?
  • +
  • -
  • 0

#10 Levy

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 10.08.2011 09:24

W instrukcji było napisane, żeby wrzucić te pliki do cstrike, już poprawiłem.
Zrestartowałem serwer i pojawiły się inne logi:
L 08/10/2011 - 10:18:53: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20110810.log")
L 08/10/2011 - 10:18:53: [AMXX] Plugin file open error (plugin "amxbans_freeze.amxx")
L 08/10/2011 - 10:18:53: [AMXX] Plugin file open error (plugin "amxbans_flagged.amxx")
L 08/10/2011 - 10:18:53: [AMXX] Plugin file open error (plugin "amxbans_ssban.amxx")
L 08/10/2011 - 10:18:54: String formatted incorrectly - parameter 5 (total 4)
L 08/10/2011 - 10:18:54: [AMXX] Run time error 25 (plugin "amxbans_main.amxx") - debug not enabled!
L 08/10/2011 - 10:18:54: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).


#11 Julia

    Profesjonalista

  • Girl

Reputacja: 36
Życzliwy

  • Postów:163
  • Steam:steam
  • Imię:Julia
  • Lokalizacja:Gdynia
Offline

Napisano 10.08.2011 09:33

Wyłącz w plugins-amxbans.cfg freeze, flagged i ssban (pewnie po prostu ich nie masz).
Dopisz po amxbans_main.amxx debug i pokaż error logi.

Użytkownik Julia edytował ten post 10.08.2011 09:34

  • +
  • -
  • 0

#12 Levy

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 10.08.2011 10:27

Wyłączyłem pliki o, których mówisz.
A co do "debug" w którym miejscu mam to dodać i jakim pliku?

Użytkownik Levy edytował ten post 10.08.2011 10:27


#13 Julia

    Profesjonalista

  • Girl

Reputacja: 36
Życzliwy

  • Postów:163
  • Steam:steam
  • Imię:Julia
  • Lokalizacja:Gdynia
Offline

Napisano 10.08.2011 10:31

W pliku plugins.ini znajdź:
amxbans_main.amxx i zmień na
amxbans_main.amxx debug

Użytkownik Julia edytował ten post 10.08.2011 10:31

  • +
  • -
  • 0

#14 Levy

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 10.08.2011 10:36

L 08/10/2011 - 11:33:54: [amxbans_main.amxx] [AMXBans] 

L 08/10/2011 - 11:33:54: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead


#15 Julia

    Profesjonalista

  • Girl

Reputacja: 36
Życzliwy

  • Postów:163
  • Steam:steam
  • Imię:Julia
  • Lokalizacja:Gdynia
Offline

Napisano 10.08.2011 10:46

Hmm, nie znaleziono powodów w bazie danych i załadowano te standardowe.
W sumie i bez tego powinien amxbans działać (sprawdź jeszcze raz :) ).
  • +
  • -
  • 1

#16 Levy

    Życzliwy

  • Autor tematu
  • Zbanowany

Reputacja: 0
Nowy

  • Postów:35
  • Imię:Ktoś
  • Lokalizacja:Daleko
Offline

Napisano 10.08.2011 11:01

Dzięki Ci wielkie za pomoc, w końcu uporałem się z tym problem. Wszystko działa jak należy :) + dla Ciebie

#17 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 10.08.2011 12:26

Wiadomość wygenerowana automatycznie


Ten temat został zamknięty przez moderatora.

Powód: problem rozwiązany

Jeśli się z tym nie zgadzasz, Dołączona grafika raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.


Z pozdrowieniami,
Zespół AMXX.PL




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

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