alliedmodders / amxmodx

AMX Mod X - Half-Life 1 Scripting and Administration
http://www.amxmodx.org/
496 stars 197 forks source link

Enabling CS stats in AMX Modx 1.8.2 + Counter-Strike 1.3 #1101

Open secret-agent-B opened 4 months ago

secret-agent-B commented 4 months ago

Help us help you

Environment

Description

I am trying to enable stats on my CS 1.3 server and I could no get these stats plugins to load. I have tried ever possible combination of amxmodx/configs/plugins.ini and amxmodx/configs/modules.ini, I even tried adding the modules directly on the metamod plugins.ini

image

This is what I get when I run amx_plugins on the client with full admin rights. I don't even see the csstats plugin listed. image image

Problematic Code (or Steps to Reproduce)

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

; Counter-Strike
restmenu.amxx       ; restrict weapons menu
statsx.amxx         ; stats on death or round end (CSX Module required!)
stats_logging.amxx  ; weapons stats logging (CSX Module required!)
miscstats.amxx      ; bunch of events announcement for Counter-Strike

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here

Logs

hlds_1   | Auto detecting CPU
hlds_1   | Using AMD Optimised binary.
hlds_1   | Auto-restarting the server on crash
hlds_1   | 
hlds_1   | Console initialized.
hlds_1   | Protocol version 46
hlds_1   | Exe version 3.1.1.1
hlds_1   | Exe build: 13:15:27 Dec 22 2003 (2615)
hlds_1   | Auth Server
hlds_1   | Server IP address 172.18.0.3:27015
hlds_1   |    
hlds_1   |    Metamod version 1.21p38 Copyright (c) 2001-2013 Will Day
hlds_1   |      Patch: Metamod-P (mm-p) v38 Copyright (c) 2004-2018 Jussi Kivilinna
hlds_1   |    Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
hlds_1   |    This is free software, and you are welcome to redistribute it
hlds_1   |    under certain conditions; type `meta gpl' for details.
hlds_1   |    
hlds_1   | 
hlds_1   | [ANTI-DLFILE] Patch "cmd dlfile" successful!
hlds_1   | 
hlds_1   | 
hlds_1   |    AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team 
hlds_1   |    AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
hlds_1   |    This is free software and you are welcome to redistribute it under 
hlds_1   |    certain conditions; type 'amxx gpl' for details.
hlds_1   |   
hlds_1   | Unable to open logfiles under logs/L0512
hlds_1   | Logging disabled
hlds_1   | <The Agency Match Server | CS 1.3 | Central US> CAL config file has been executed"
hlds_1   | Executing AMX Mod X Configuration File 
hlds_1   | Scrolling message displaying frequency: 10:00 minutes
hlds_1   | [AMXX] Loaded 1 admin from database
hlds_1   | Unable to open logfiles under logs/L0512
hlds_1   | Logging disabled
hlds_1   | <The Agency Match Server | CS 1.3 | Central US> CAL config file has been executed"
hlds_1   | Adding master server 195.201.142.119:27010
hlds_1   | Adding master server 216.122.246.181:27010
hlds_1   | Adding master server 195.201.142.119:27010
hlds_1   | Adding master server 216.122.246.181:27010
hlds_1   | Adding master server 144.76.156.211:27010
hlds_1   | Adding master server 144.76.156.211:27010
hlds_1   | Adding master server 31.38.207.92:27010
hlds_1   | Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
hlds_1   | Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"