Describe the bug
Pug setup integration is not working. Seems like it is not detected.
To Reproduce
Steps to reproduce the behavior:
Install pugsetup and this.
Try to start a game using sm_start
Expected behavior
Plugin should tell me that pug setup handles starting or something according to the source code.
In reality, it tries to start the game while pugsetup warmup is running resulting in strats getting into the warmup.
Additional context
Here is some console output:
sm plugins info pugsetup
Filename: pugsetup.smx
Title: CS:GO PugSetup (Tools for setting up pugs/10mans)
Author: splewis
Version: 2.0.5
URL: https://github.com/splewis/csgo-pug-setup
Status: running
Timestamp: 08/05/2018 15:11:30
Hash: 30656067272e9d28b0010a379df6f9b2
sm plugins info stratroulette
Filename: stratroulette.smx
Title: Strat Roulette (Random strats every round)
Author: Extremelyd1
Version: 3.0
Status: running
Timestamp: 02/07/2021 01:50:09
Hash: 33c2630f7d4879066de51d8077da8671
sm_start
L 02/07/2021 - 02:10:59: [SM] Exception reported: Client index 0 is invalid
L 02/07/2021 - 02:10:59: [SM] Blaming: pugsetup.smx
L 02/07/2021 - 02:10:59: [SM] Call stack trace:
L 02/07/2021 - 02:10:59: [SM] [0] FakeClientCommand
L 02/07/2021 - 02:10:59: [SM] [1] Line 943, ./scripting/pugsetup.sp::Command_Start
L 02/07/2021 - 02:10:59: Starting Freeze period
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
L 02/07/2021 - 02:10:59: World triggered "Match_Start" on "de_mirage"
Picked strat 21
sm_end
L 02/07/2021 - 02:11:15: Starting Freeze period
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
Attempted to create unknown entity type cs_bot_patrol_route_waypoint!
Can't init cs_bot_patrol_route_waypoint
L 02/07/2021 - 02:11:15: World triggered "Match_Start" on "de_mirage"
Seems like the function public void OnMapStart() is never called. Changing this check to always set the variable to true doesn't fix the problem, but changing the initialization here to true fixes the issue.
Describe the bug Pug setup integration is not working. Seems like it is not detected.
To Reproduce Steps to reproduce the behavior:
Expected behavior Plugin should tell me that pug setup handles starting or something according to the source code. In reality, it tries to start the game while pugsetup warmup is running resulting in strats getting into the warmup.
Additional context Here is some console output: