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

Serwer nie laczy sie baza

gmamxbans

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

#1 Arex

    ERROR

  • Zbanowany

Reputacja: 5
Nowy

  • Postów:310
  • Imię:Arex
  • Lokalizacja:Bobowa
Offline

Napisano 16.03.2012 22:07

]Witam Moj serwer nie laczy sie z baza all jestem na 100% pewien bo kopiowalem z innego serwerka Na ktorym all dziala.

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.


// 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"gaming.xaa.pl"
amx_sql_user"gaming_bany"
amx_sql_pass"Mojehaslo"
amx_sql_db"gaming_bany1"
amx_sql_table"amx"
amx_sql_type"mysql"

plugins


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

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

; Basic
admincmd.amxx; basic

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
cstrike
csx
hamsandwich


Oraz amxbans.cfg


PS sql jest na pewno dobrze więc nie wiem o co biega,Bo dane sql dobre.

Pozdrawiam AREX

Załączone pliki



#2 Szyfrant

    Godlike

  • Przyjaciel

Reputacja: 1 374
Godlike

  • Postów:3 072
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Sztokholm
Offline

Napisano 16.03.2012 22:11

http://amxx.pl/topic...mysql-tutorial/
  • +
  • -
  • 0

#3 MaxiKINGer

    Banned

  • Zbanowany

Reputacja: 35
Życzliwy

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

Napisano 16.03.2012 22:12

Daj spacje pomiędzy cvarem i danymi w sql.cfg

Użytkownik MaxiKINGer edytował ten post 16.03.2012 22:12

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






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