Raised This Month: $12 Target: $400
 3% 

sql.cfg doesn't come with the amx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aprendizpardo
New Member
Join Date: Mar 2021
Old 03-09-2021 , 16:55   sql.cfg doesn't come with the amx
Reply With Quote #1

Well, i'm trying to add me as an admin and it seems to be pretty hard.

The guides talks about to use mysql o sql, but sql.cfg doesn't exist. And the mod doesn't connect with the database. The config files:

plugins.ini
Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
;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

; Team Fortress Classic
;stats.amxx		; stats on death (TFC Module required!)
;statssounds.amxx	; precache plugin for stats plugins
;stats_logging.amxx	; weapons stats logging (TFC Module required!)


; Custom - Add 3rd party plugins here
modules.ini
Code:
;;;
; 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
;tfcx
;hamsandwich
My own sql.cfg created in amxmodx/configs/
Those ***** are hidden because they're passwords.

Code:
amx_sql_host 	"******" 	IP address of SQL server.
amx_sql_user 	"**********" 	Username to connect to the SQL server.
amx_sql_pass 	"**********" 	Password to connect to the SQL server.
amx_sql_db 	"**********" 	Database to use on the SQL server.
amx_sql_table 	"admins" 	The table to use for the admin_sql plugin.
amx_sql_type 	"mysql" 	The database type to connect to.
Build: 5271 (Team Fortress Classic)

EDIT: users.ini doesn't exist too

żDoes someone knows what is wrong?

Last edited by aprendizpardo; 03-09-2021 at 16:57.
aprendizpardo is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-09-2021 , 17:16   Re: sql.cfg doesn't come with the amx
Reply With Quote #2

Did you download the base package or only TFC?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-09-2021 , 22:01   Re: sql.cfg doesn't come with the amx
Reply With Quote #3

You always need to install the base package first. Then, you install the mod-specific files afterwards. This is the only way to properly install AMX Mod X.
__________________
fysiks is offline
aprendizpardo
New Member
Join Date: Mar 2021
Old 03-10-2021 , 06:58   Re: sql.cfg doesn't come with the amx
Reply With Quote #4

It worked, thanks you.
aprendizpardo is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode