halflife icon indicating copy to clipboard operation
halflife copied to clipboard

Server doesn't find files in cstrike_addon

Open t-cr3x opened this issue 13 years ago • 1 comments

On a Linux Counter-Strike 1.6 server, I have come across one map where some custom resource files have to be in the cstrike folder and will not be found in cstrike_addon, although the server was started with the -addons parameter. A look into the entity file of the map shows that the needed files (models and sprites) are referenced as cstrike/models/custom/file.mdl, as opposed to the usual models/custom/file.mdl. I assume this is the reason the server does not find them in cstrike_addon and thus is not able to load the map. However, the Windows version (client and listen server, I haven't tried it on a dedicated server) do not seem to share this problem, they do find the files in cstrike_downloads just fine and load the map without problems.

Would it be possible to make the server look for files in cstrike_addon even when the map references them explicitly in cstrike?

The version info from the server this problem occured on: Protocol version 48 Exe version 1.1.2.6/Stdio (cstrike) Exe build: 17:45:07 Apr 25 2013 (6027)

Steps to reproduce: The map: jb_hellfire http://cs.gamebanana.com/maps/173344 put map files into cstrike_addon start the server (with -addons) and try a mapchange to this map -> server will crash put the map files into cstrike, do the same step as before -> map will load without problems

t-cr3x avatar Jun 02 '13 15:06 t-cr3x

Yeah, you're right, sorry.

It just seems like the valve devs were getting pretty inactive on here so I was trying to give people some feedback on their issues.

MaximilianKohler avatar Jun 03 '13 12:06 MaximilianKohler