alliedmodders / amxmodx

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

[CSX] Could not load csstats file: cstrike/addons/amxmodx/data/csstats.dat #724

Closed ghost closed 2 years ago

ghost commented 5 years ago

Help us help you

Environment

Description

I freshly installed the server with AMXX and Metamod which outputs this error. It searches for a file which is not present. I did found only one thread talking about it (https://forums.alliedmods.net/showthread.php?t=76460) which says I should rename csstats.ammx to csstats.dat. Is that really how it is done because why isn't it anyways called it like that? The source code requests both.

Problematic Code (or Steps to Reproduce)

  - Install a fresh CS 1.6 server with steamcmd
 - Install metamod and amxx

Logs

Arkshine commented 5 years ago

When the player's ranks are being saved at map change, the file should be automatically created if it doesn't exist yet. If you don't see it, then you might have permission issues.

I guess it's expected you would get this message at the first server start.
Ideally, we should probably create an empty file right away to avoid outputting an unnecessary error message.

ghost commented 5 years ago

Okay thank you. Can be closed except you let it open because of development.