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

Problem z amxbans 1.6.1


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

#1 lisek80

    Życzliwy

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:25
  • Lokalizacja:adsdasda
Offline

Napisano 03.04.2012 19:58

Po wgraniu wszystkiego wdl. edevision chcialem dodac sobie admina lecz jak chce przeładować to pisze :

[AMXBans] SQL error: can't connect: 'Can't connect to MySQL server on '127.0.0.1' (111)'


Tutaj wyciąg z FTP 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 "127.0.0.1"
amx_sql_user "csndk_bank"
amx_sql_pass "*******"
amx_sql_db  "csndk_as"
amx_sql_table "admins"
amx_sql_type "mysql"

Oraz modules


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

jeszcze daje plugin ini :

; AMX Mod X plugins
; Admin Base - Always one has to be activated
amxbans_core.amxx ; amxbans
amxbans_main.amxx debug ; amxban
;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

Użytkownik lisek80 edytował ten post 03.04.2012 20:00

  • +
  • -
  • 0

#2 jaroszeq

    Banned

  • Zbanowany

Reputacja: -8
Nowy

  • Postów:103
  • GG:
  • Imię:Grzegorz
  • Lokalizacja:Bytom
Offline

Napisano 03.04.2012 20:01

a dałes dosteo ip do bazy

#3 lisek80

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:25
  • Lokalizacja:adsdasda
Offline

Napisano 03.04.2012 20:17

W cPanelu mam tak nabazgrane hehe (menadżer zdalnego ) :
Menadżer zdalnego połączenia MySQL
Możesz pozwolić zewnetrznym serwerom na dostęp do twojej bazy MySQL przez dodanie ich hosta do listy. UWAGA: zgodnie z polityką bezpieczeństwa proszę podawać tylko konkretne adresy IP serwerów. Podawanie adresów w postaci nazwy oraz % jest niepoprawne.
Dodaj Hosta
Host (podaj adres IP serwera, który ma mieć dostęp do bazy):   

Hosty którym przydzielono dostęp Usuń
%

127.0.0.1

80.82.16.70


PhPMyAdmin ---> server info :

1 kolumna - wpisane : 1
2- 1304872526
3-Cs-NDK.xaa.PL [ Only DD2 ] @ Zabijaka.pl
4-80.82.16.70:27027
5-cstrike
6-haslo rcon
7-GM 1.6.1
8-pusto
9-10
10-0
11-1
12-0
  • +
  • -
  • 0

#4 Raen

    Wszechwiedzący

  • Power User

Reputacja: 160
Profesjonalista

  • Postów:536
  • GG:
  • Imię:Paweł
  • Lokalizacja:......
Offline

Napisano 03.04.2012 20:22

amx_sql_host "127.0.0.1" <-- tutaj wpisz link twojej strony np. mojastrona.pl bez http://
amx_sql_user "csndk_bank"
amx_sql_pass "*******"
amx_sql_db "csndk_as"
amx_sql_table "admins"
amx_sql_type "mysql"
I odblokuj sobie moduły bo masz poblokowane...
  • +
  • -
  • 1

angel-little.png


#5 lisek80

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:25
  • Lokalizacja:adsdasda
Offline

Napisano 03.04.2012 20:23

Odblokowałem właśnie już sprawdzam i dam edita czy działa.

Działa dzięki mistrzu !: ) Jesteś wielki. :) Do zamku leca +.

Użytkownik lisek80 edytował ten post 03.04.2012 20:24

  • +
  • -
  • 0




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

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