Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

amxbans


grzehe

Rekomendowane odpowiedzi

Opublikowano

Elo.Przy instalacji amxbans na stronie nie zapisałem sobie danych.

Mam baze i i strone na xaa

 

Mam tylko tyle danych.

 

amx_sql_host "nazwastrony.xaa.pl"
amx_sql_user "użytkownik bazy danych"
amx_sql_pass "hasło użytkownika bazy danych"
amx_sql_db "nazwa bazy danych"

 

A żeby do sql wpisać trzeba mieć tyle

 

amx_sql_host "nazwastrony.xaa.pl"
amx_sql_user "użytkownik bazy danych"
amx_sql_pass "hasło użytkownika bazy danych"
amx_sql_db "nazwa bazy danych"
amx_sql_table "admins"
amx_sql_type "mysql"

 

 

I jak powpisuje tam coś dodałem ręcznie serwer do bazy i nie mam adma na serwie jak wbijam.

Czy wie ktoś jakie mają być reszta danych albo gdzie je zobaczyć?

Opublikowano

amx_sql_table "admins"
amx_sql_type "mysql"

 

to ma tak być tu nic nie ustawiasz

Oferta dot. MyBB, IPB, phpbb by przemo, phpbb3:

  • Instalacja, konfiguracja forum
  • Konwertowanie bazy do innych silników np. z MyBB do IPB lub IPB 3.4 do 4.x
  • Przenoszenie forum z jednego serwera na drugi
  • Podpinanie domen
  • Instalacja, konfiguracja pluginów, lekka modyfikacja
  • Instalacja stylów, modyfikacje wyglądu forum
  • Doradztwo
  • Zaproponuj coś.
  • Technik

Tworzenie stron WWW (HTML5+ CSS3+JS) BOOSTRAP

Opublikowano

Skoro nie działa Ci admin, to czy dodałeś do zdalnych połączeń IP do łączenia się z AmxBansem?

Najlepszym sposobem jest dodanie po prostu %

Opublikowano
amx_sql_host "mojastrona.xaa.pl"
amx_sql_user "nieziems_amxb"
amx_sql_pass "hasło moje"
amx_sql_db  "nieziems_amxbans"
amx_sql_table "admins"
amx_sql_type "mysql"

Tak zrobiłem.

 

A to mój plugins

; 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

Adminy nie działają dalej...

 

Dodałem %

Opublikowano

Być może korzystasz ze starszej wersji amxmoda gdzie moduły się same nie odblokowują.

Wejdź w modules.ini i odblokuj mysql i sqlite.

Opublikowano
;;;
; To enable a module, remove the semi-colon ( 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

Na serwie to samo nie możesz użyć tej komendy,

Opublikowano

Czy możesz mi to uzupełnić wdłg tego obrazka? Bo ja coś źle robie.

amx_sql_host "nazwastrony.xaa.pl"
amx_sql_user "użytkownik bazy danych"
amx_sql_pass "hasło użytkownika bazy danych"
amx_sql_db "nazwa bazy danych"
amx_sql_table "amxbans" lub "amx"
amx_sql_type "mysql"

 

 

wue7.png

Opublikowano
amx_sql_host "127.0.0.1"
amx_sql_user "nieziems_amxb"
amx_sql_pass "hasło użytkownika bazy danych"
amx_sql_db  "nieziems_amxbans"
amx_sql_table "admins"
amx_sql_type "mysql"

Powinieneś to mieć tak wpisane do sql.cfg

Po instalacji AmxBansa bez zmieniania powinno zadziałać.

  • 2 miesiące temu...
Opublikowano

Witam.

Temat mój stary ale pojawił się z innym amxbans kolejny problem.

amxbans zainstalowany plugins zmieniony modules odblokowany sql dodany wchodze na serwer i...

 

 

You have no access to that comman

Opublikowano

sory za spam ale użytkownik prosi na PW o dodanie tego:

 

sql:

amx_sql_host "cs-strona.xaa.pll"

amx_sql_user "csstrona_bany"

amx_sql_pass "grols112*"

amx_sql_db "csstrona_amxbans"

amx_sql_table "admins"

amx_sql_type "mysql"

 

Oczywiście mam uzupełnione to swoją stroną.

 

 

 

 

 

 

 

 

 

 

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)

ReasonKicker.amxx ; kick z powodem

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

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

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...