kus / cs2-modded-server

Modded Counter Strike 2 (CS2) Dedicated Server with Metamod and CounterStrikeSharp for Windows and Linux that can automatically be setup on Google Cloud.
GNU Lesser General Public License v3.0
370 stars 74 forks source link

[help wanted]Issue with KZ #12

Closed 0uck1 closed 2 years ago

0uck1 commented 2 years ago

Hi, i have installed your rep on my rented server and for the most part it is working rly fine. Nevertheless i got problems if i switch the configuration to Kreedz Climbing. If i switch, i instantly lose the connection to the server and i cant reconnect anymore.

If i try to reconnect, i get the following output in the server console:

Mar 14 16:00:34:  -> Reservation cookie dbe347f7f0ee4c58:  reason [R] Connect from *******
Mar 14 16:00:34:  ---- Host_Changelevel ----
Mar 14 16:00:35:  *** Map Load: kz_breezeblocks: Map Group mg_activeGameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
Mar 14 16:00:35:  GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
Mar 14 16:00:35:  GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
Mar 14 16:00:35:  ConVarRef room_type doesn't point to an existing ConVar
Mar 14 16:00:35:  mp_solid_teammates - 1
Mar 14 16:00:35:  mp_respawn_on_death_ct - 0
Mar 14 16:00:35:  mp_respawn_on_death_t - 0
Mar 14 16:00:35:  mp_ignore_round_win_conditions - 0
Mar 14 16:00:35:  mp_teammates_are_enemies - 0
Mar 14 16:00:35:  mp_death_drop_gun - 1
Mar 14 16:00:35:  mp_respawn_immunitytime - 4.0
Mar 14 16:00:35:  mp_respawn_on_death - missing cvar specified in bspconvar_whitelist.txt
Mar 14 16:00:35:  mp_weapons_allow_map_placed - 0
Mar 14 16:00:35:  Executing dedicated server config file
Mar 14 16:00:35:  [SM] Changed cvar "phys_pushscale" to "1".
Mar 14 16:00:35:  [SM] Changed cvar "phys_pushscale" to "1".
Mar 14 16:00:35:  [SM] Changed cvar "phys_timescale" to "1".
Mar 14 16:00:35:  [SM] Changed cvar "sv_client_min_interp_ratio" to "1".
Mar 14 16:00:35:  [SM] Changed cvar "sv_client_max_interp_ratio" to "5".
Mar 14 16:00:35:  Writing cfg/banned_user.cfg.
Mar 14 16:00:35:  Writing cfg/banned_ip.cfg.
Mar 14 16:00:35:  Warning: Game server already logged into steam.  You need to use the sv_setsteamaccount command earlier.
Mar 14 16:00:35:  env.cfg executed 
Mar 14 16:00:35:  server.cfg executed 
Mar 14 16:00:35:  exec: couldn't exec gamemode_casual_server.cfg
Mar 14 16:00:35:  CHostage::Precache: missing hostage models for map kz_breezeblocks. Adding the default models.
Mar 14 16:00:36:  Commentary: Could not find commentary data file 'maps/kz_breezeblocks_commentary.txt'. 
Mar 14 16:00:36:  Error parsing BotProfile.db - unknown attribute 'Rank'
Mar 14 16:00:36:  message repeated 7 times: [ Error parsing BotProfile.db - unknown attribute 'Rank']

And the following in my client console:

**** Unable to localize '#matchdraft_phase_action_wait' on panel 'id-map-draft-phase-wait'
**** Unable to localize '#DemoPlayback_Restart' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Back' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Pause' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Slow' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Play' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Fast' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#DemoPlayback_Next' on panel descendant of 'HudDemoPlayback'
**** Unable to localize '#Panorama_CSGO_Spray_Cursor_Hint' on panel 'RosettaInfoText'
ChangeGameUIState: CSGO_GAME_UI_STATE_MAINMENU -> CSGO_GAME_UI_STATE_LOADINGSCREEN
Connecting to public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Server using 'friends' lobbies, requiring pw yes, lobby id ffffffffffffffff
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Retrying public(51.195.60.183:27949) ...
Connection failed after 30 retries.

**** Unable to localize '#GenericConfirmText_Label' on panel descendant of 'PopupManager'
ChangeGameUIState: CSGO_GAME_UI_STATE_LOADINGSCREEN -> CSGO_GAME_UI_STATE_MAINMENU
ChangeGameUIState: CSGO_GAME_UI_STATE_MAINMENU -> CSGO_GAME_UI_STATE_MAINMENU
Resource materials\panorama\images\icons\ui\globe.svg failed to load.
PNG load error Interlace handling should be turned on when using png_read_image

Do you have an idea what i am doing wrong or how i can fix that?

Other than that, thank you for this awesome collection!!!

kus commented 2 years ago

Hi @0uck1

Just an update, I've been trying to rectify this, tried different versions of KZTimer, disabling some extensions but can't get it to work.

The weird thing is it used to work on my server but I haven't personally changed to the mod in about a year.

I've lodged a support ticket with KZTimer team with lots of debug information and error logs to try get it sorted.

Thanks for bringing to my attention.

kus commented 2 years ago

@0uck1 after doing a lot of testing, it seems like KZTimer can't be hot loaded anymore like every other mod in my collection.

So the solution is to have it always load with the server, and based on the map type to unload it if it's not a KZ/bhop map.

If you want to play KZ, you must do it as the first mod. You can't do it after another mod. So when the server starts up, via admin menu, RCON or server console run exec kz.

If you want to play KZ AFTER having another mod already loaded (i.e. GunGame) you need to restart the server and then load it, you can do this by running the command exec sourcemod/restart via the admin menu (Server EXEC > Restart), RCON or from the server console.

Please let me know if you have any issues.