Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Valve Retakes" + "cs2-retakes" #113

Open
frsvme opened this issue Apr 16, 2024 · 4 comments
Open

"Valve Retakes" + "cs2-retakes" #113

frsvme opened this issue Apr 16, 2024 · 4 comments

Comments

@frsvme
Copy link

frsvme commented Apr 16, 2024

Hi. I am very grateful to your development, but I have a few questions and a problem...
Your plugin generates «.../cfg/cs2-retakes/retakes.cfg» config that contains the cvar «sv_skirmish_id 0» - what is the meaning of this cvar? After all, it only works with the value «sv_skirmish_id 12»? (I could be wrong)

I need a built-in plugin weapon allocator called by !guns was disabled and it was possible to use the weapon allocator included in the game, which works just only if the cvar «sv_skirmish_id 12» is used. (see the screenshots below)

11111
22222

To start this mode, you just need to write game_type 0; game_mode 0; sv_skirmish_id 12; map de_mirage in the console, or set these parameters at the start of the dedicated server.

I tried to satisfy my requirements by correcting «sv_skirmish_id 0» to «sv_skirmish_id 12» and changed «EnableFallbackAllocation» to «false» in the plugin config - the weapon allocator built into the game worked, but another problem arose: With this setting, as far as I understood correctly, the spawns are used as prescribed in «map_config», and directly embedded in the game, from the «sv_skirmish_id 12» mode itself.

While we were testing this collaboration of the mode and the plugin with my friends, we came across the following several times:

  1. Sometimes, 2 players spawned in each other at the bomb plant spawn, which made it impossible to move until one of them died.
  2. Sometimes, when «Retake A», one or more players spawned near point B and vice versa. (This is where the spawner built into the game was probably working out in this mode.)
  3. Sometimes the plugin announced «Retake A» in the chat, although in fact «Retake B» took place in the game and vice versa.

How do I set up the whole thing correctly so that:
-The Spawns work from the plugin
-The weapon allocator works from the built-in mode in the game?

Thx for you! <3

@B3none
Copy link
Owner

B3none commented Apr 16, 2024

It seems like there is some disconnect between the plugins bombsite selection logic and the skirmish_id 12 bombsite selection. Is there any way for me to detect which bombsite the game thinks it is retaking / is there any way to set it for the current or next round?

I think that if I can get the retakes plugin, and the game to use the same bombsite then it should solve your issues. As for the bomb planter sometimes being spawned twice, I'd need to check that.

We may also need a slight tweak to the spawning logic to check for an existing player within a certain radius of the spawn if we can't figure out what's causing the error.

It may be that I also need the server and the plugin to be in sync as to who they would like to be the planter. Again, if there's any cvars to get or set those let me know.

@frsvme
Copy link
Author

frsvme commented Apr 16, 2024

@B3none I can drop you my cs_server files via archive - Will it be useful?

@st1ng2
Copy link
Contributor

st1ng2 commented Apr 18, 2024

If it is possible to get retake events from game, it would be great to use it, as it has many advantages that can enhance gaming quality for players.

@frsvme
Copy link
Author

frsvme commented Apr 19, 2024

@B3none Everything I found related to sv_skirmish_id 12 is here. Unfortunately, this documentation is related to «CS:GO» does not work in «CS2». (At least I tested the «Customizing Loadout Cards» graph (the same built-in game weapon allocator) in «CS2» - it does not work.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants