CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
207 stars 38 forks source link

CS:CZ Installing wrong APP ID #308

Closed xLeviNx closed 4 years ago

xLeviNx commented 4 years ago

Bug Report

System Information

I confirm:

Symptoms

Installing Counter Strike: Condition Zero, the installer is installing the wrong app id. It is actually installing Counter Strike: Source.

Condition Zero is app id 90 + it also needs "+app_set_config "90 mod czero" since it is off of hlds . It is instead installing 232330 (which is cs:s). I tested the install for cs 1.6 and it works well, so currently cs:cz is the only issue as far as I know

Reproduction

Enter reproductions steps here.

Start clean install. Update server Server installs cs:s instead of cs:cz image

image

xLeviNx commented 4 years ago

Further investigation in the apps.json, I noticed this:

{ "AppID": 232330, "ClientAppID": 80, "Server": "Counter-Strike: Condition Zero Dedicated Server", "SteamCMD": true, "AnonymousLogin": true, "ExecutableWin32": "hlds.exe", "ExecutableLinux": "hlds_run", "GameName": "czero", "Args": "+app_set_config \"\"90 mod czero", "Srcds": true },

Just need to change the Appid to 90 and client id to 80

xLeviNx commented 4 years ago

Alright, after a few hours I have found the solution that should help and fix this current issue. The Apps.json located in the steamcmd part of the instance needs to be updated to the following for condition zero install:

{ "AppID": 90, "ClientAppID": 80, "Server": "Counter-Strike: Condition Zero Dedicated Server", "SteamCMD": true, "AnonymousLogin": true, "ExecutableWin32": "hlds.exe", "ExecutableLinux": "hlds_run", "GameName": "cstrike", "ModName": "czero", "Args": "+app_set_config \"\"90 mod czero", "SettingMaps": { "srcdsModule.SRCDS.Map": "de_dust2_cz" }, "Srcds": true },

xLeviNx commented 4 years ago

@PhonicUK I've posted the solution for this, if you could update the json with this, that would be awesome. Thanks!

PhonicUK commented 4 years ago

Fixed in the latest build :)