←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

GmAMXBans
Baza mysql nie może połączyc się z serwere...

  • +
  • -
Dobrz3's Photo Dobrz3 08.05.2014

logi z konsoli.

Executing AMX Mod X Configuration File 
Scrolling message displaying frequency: 10:00 minutes
[AMXBans] laduje plik amxbans.cfg 
[AMXBans] amxbans.cfg zostal zaladowany | AMXX.PL | Wersja PL - Szyfrant i MisieQ 
Executing Galileo ( GAL ) Configuration File 
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit

[AMXBans] SQL error: can't connect: 'Access denied for user 'willplay_bany'@'localhost' (using password: YES)'
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Connection failed!
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 1
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'willplay_bany'@'localhost' (using password: YES) (1045)
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = '178.19.108.212:27017'
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Connection failed!
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Threaded Query Error, Place: 5
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'willplay_bany'@'localhost' (using password: YES) (1045)
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] Query statement: 
[AMXBans] No Reasons found
[AMXBans] No Reasons found in Database. Static reasons were loaded instead.
L 05/08/2014 - 22:10:45: [amxbans_main.amxx] [AMXBans] No Reasons found in Database. Static reasons were loaded instead.




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
smuga.amxx
Automaticknifeduel.amxx

modules.ini

;;;
; 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.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
cstrike
csx
fun
engine
fakemeta
geoip
sockets
regex
nvault
hamsandwich

Quote

  • +
  • -
Guxi7's Photo Guxi7 08.05.2014

1. Daj sql.cfg
2. Dodałeś IP serwera do menadżera zdalnego połączenia z bazą?
Quote

  • +
  • -
xenos's Photo xenos 08.05.2014

czy jesteś pewien że ma być localhost?

localhost to jak by serwer gry stał na tej samej maszynie co baza danych.

 

Quote

  • +
  • -
Dobrz3's Photo Dobrz3 09.05.2014

@up no własnie i tu mam dylemat przy tworzeniu bazy danych host jest jako localhost ustawiony

amx_sql_host	"127.0.0.1"
amx_sql_user	"willplay_bany"
amx_sql_pass	"hasło xd"
amx_sql_db	    "willplay_amxbans"
amx_sql_table	"admins"
amx_sql_type	"mysql"

sql.cfg

Quote

CzarNNaninJJa^^'s Photo CzarNNaninJJa^^ 10.05.2014

Takich tematów jest po 20 dziennie [...]

Użyj opcji szukaj !!
Quote

  • +
  • -
Dobrz3's Photo Dobrz3 10.05.2014

@up jak by mi pomogl to bym nie pisal tematu ><

 

 

 

/edit już sobie poradziłem.

lajki rozdane.


Edited by Dobrz3, 10.05.2014 09:45.
Quote