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

Knife round malfunctioning #242

Open
borzaka opened this issue Oct 9, 2018 · 6 comments
Open

Knife round malfunctioning #242

borzaka opened this issue Oct 9, 2018 · 6 comments

Comments

@borzaka
Copy link
Contributor

borzaka commented Oct 9, 2018

Expected behavior

  • When everyone is ready, countdown and start the knife round.
  • Optional: When the knife round finishes, until the winner team chooses site, a warmup mode would continue.
  • Optional: If a winning team not choosing site for about 60 sec, PugSetup would choose random .switch/.stay

Actual behavior

After everyone is ready, the countdown starts and after the countdown I respawn with 800$ and a bomb as I would in the 1st round. After couple of seconds (5) the game restarts again with the actual knife round.

This is seen in the console:

[PugSetup] Countdown: 5 seconds
[PugSetup] Countdown: 4 seconds
[PugSetup] Countdown: 3 seconds
[PugSetup] Countdown: 2 seconds
[PugSetup] Countdown: 1 seconds

Here the game restarted, and it's looked like the 1st round is starting. It waits 5 seconds, game restarts and the real knife round is starting:

[PugSetup] KNIFE!
[PugSetup] KNIFE!
[PugSetup] KNIFE!
[PugSetup] KNIFE!
[PugSetup] KNIFE!

After the knife round I respawned again with knife only and with freezetime. It's looks like the 2nd knife round. :) This goes on and on forever if the winning team not choosing site.

Could you remove the round before the knife round? After the countdown, the real knife round should start.

Steps to reproduce

  1. Join the server.
  2. Setup match with knife round, or edit configs accordingly.
  3. sm_forcestart
  4. kill in console to end the knife round
  • Plugin version:
] sm plugins
 "Basic Info Triggers" (1.9.0.6256) by AlliedModders LLC
 "Player Commands" (1.9.0.6256) by AlliedModders LLC
 "Basic Votes" (1.9.0.6256) by AlliedModders LLC
 "Reserved Slots" (1.9.0.6256) by AlliedModders LLC
 "Admin File Reader" (1.9.0.6256) by AlliedModders LLC
 "Admin Help" (1.9.0.6256) by AlliedModders LLC
 "Client Preferences" (1.9.0.6256) by AlliedModders LLC
 "Nextmap" (1.9.0.6256) by AlliedModders LLC
 "Sound Commands" (1.9.0.6256) by AlliedModders LLC
 "Basic Ban Commands" (1.9.0.6256) by AlliedModders LLC
To see more, type "sm plugins 11"
] sm plugins 11
 "Fun Commands" (1.9.0.6256) by AlliedModders LLC
 "Anti-Flood" (1.9.0.6256) by AlliedModders LLC
 "CS:GO PugSetup" (2.0.5) by splewis
 "Admin Menu" (1.9.0.6256) by AlliedModders LLC
 "Basic Commands" (1.9.0.6256) by AlliedModders LLC
 "Fun Votes" (1.9.0.6256) by AlliedModders LLC
 "Basic Chat" (1.9.0.6256) by AlliedModders LLC
 "Basic Comm Control" (1.9.0.6256) by AlliedModders LLC
  • Sourcemod version:
    sourcemod-1.9.0-git6256

  • Metamod version:
    mmsource-1.10.7-git966

@splewis
Copy link
Owner

splewis commented Oct 14, 2018

Sorry, your steps to reproduce aren't enough to reproduce this issue for me - those are steps I've run dozens of times in the past with no issues.

I would check your sourcemod error logs (addons/sourcemod/logs) for more information.

@WardPearce
Copy link

Most likely you have disabled the three time restart cvar (whatever its called), if someone calls a pause during knife round & that cvar is disabled the bug reported above will occur.

@borzaka
Copy link
Contributor Author

borzaka commented Oct 17, 2018

I just made a video about it:
https://www.dropbox.com/s/3hxgw5m52ym5g1z/2018-10-17_22-19-51.mp4?dl=0

Nothing in the logs:

L 10/17/2018 - 22:15:07: -------- Mapchange to de_dust2 --------
L 10/17/2018 - 22:17:46: Log file closed.
L 10/17/2018 - 22:17:56: SourceMod log file session started (file "L20181017.log") (Version "1.9.0.6260")
L 10/17/2018 - 22:17:56: -------- Mapchange to de_dust2 --------
L 10/17/2018 - 22:20:18: [pugsetup.smx] Recording to pug_de_dust2_2018-10-17_22 

SourceMod error session logs has no informal logs, just one from previous attempts, and it's not relevant:

L 10/17/2018 - 21:57:47: [pugsetup.smx] GOTV demo could not be recorded since tv_enable is not set to 1
L 10/17/2018 - 22:06:46: Error log file session closed.

@WardPearce I have not disabled the 3 times restart, and I didn't call a pause during knife round.

// If set to 1, going live won't restart 3 times and will just do a single restart.
// -
// Default: "0"
sm_pugsetup_quick_restarts "0"

@splewis
Copy link
Owner

splewis commented Oct 18, 2018

Can you post all the cvars you're setting in:

  • cfg/sourcemod/pugsetup/pugsetup.cfg
  • cfg/sourcemod/pugsetup/warmup.cfg
  • cfg/sourcemod/pugsetup/knife.cfg
  • cfg/sourcemod/pugsetup/live.cfg

@borzaka
Copy link
Contributor Author

borzaka commented Oct 18, 2018

Sure, I changed the extensions to be able to upload here:
knife.txt
live.txt
pugsetup.txt
warmup.txt

@borzaka
Copy link
Contributor Author

borzaka commented Dec 11, 2018

So, if knife round is enabled and the match is starting, warmup ends with a restart and executing a live config, after 5 sec a new restart and the knife config is executed and the knife round starts. Why can't the knife round start immediately after the warmup like in FACEIT?
It's confusing, because it's looks like a regular first round is starting instead of the knife round.

matias49 added a commit to matias49/csgo-pug-setup that referenced this issue Nov 1, 2019
- Game reset to warmup after end of knife to not think of a second knife round
- Reduced timers
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