splewis / csgo-pug-setup

CS:GO Sourcemod plugin for setting up private pug/10man games
GNU General Public License v3.0
412 stars 92 forks source link

Coaches dont swap with their teams #402

Open NucLycs opened 2 years ago

NucLycs commented 2 years ago

Expected behavior

After a team swaps sides after knife round coaches should swap with them

Actual behavior

Coaches dont swap sides after team swaps side after winning knife round

Steps to reproduce

after playing a knife round and typing .swap in the chat the coaches stay in t or ct and the players swap teams so the coaches are in the wrong teams furthermore the coaches cant swap teams anymore so they cant get coaches of the other team or join a team

splewis commented 2 years ago

Hm, that's surprising. This code is supposed to swap the coach teams as well. I don't expect I will have the time/players to test & reproduce this, though.

NucLycs commented 2 years ago

Maybe you can try and play 1v1 against a bot and have a coach in your team and you just kick thr bot at the beginning of the knife round so you instantly win and then just swap the teams and the coach should stay as the coach he was before the swap eventhought the lines in the code you mentioned are clearly supposed to swap the coach with the team

SanjaySRocks commented 2 years ago

May be conflicting with other plugins. post output of this command sm plugins list from server console

NucLycs commented 2 years ago

"CS:GO PugSetup: write team money to chat" (2.0.5) by Versatile_BFG/jkroepke "Basic Commands" (1.11.0.6893) by AlliedModders LLC "Player Commands" (1.11.0.6893) by AlliedModders LLC "csutils" (1.3.3) by splewis/Deathknife "CS:GO PracticeMode" (1.3.3) by splewis "Admin Help" (1.11.0.6893) by AlliedModders LLC "Sound Commands" (1.11.0.6893) by AlliedModders LLC "Fun Votes" (1.11.0.6893) by AlliedModders LLC "Admin File Reader" (1.11.0.6893) by AlliedModders LLC "CS:GO PugSetup: damage printer" (2.0.5) by splewis "Basic Comm Control" (1.11.0.6893) by AlliedModders LLC "Basic Info Triggers" (1.11.0.6893) by AlliedModders LLC "Basic Chat" (1.11.0.6893) by AlliedModders LLC "Basic Ban Commands" (1.11.0.6893) by AlliedModders LLC "Basic Votes" (1.11.0.6893) by AlliedModders LLC "Admin Menu" (1.11.0.6893) by AlliedModders LLC "Client Preferences" (1.11.0.6893) by AlliedModders LLC "Fun Commands" (1.11.0.6893) by AlliedModders LLC "Fix Competitive Warmup" (1.0) by Ilusion9 "Anti-Flood" (1.11.0.6893) by AlliedModders LLC "Reserved Slots" (1.11.0.6893) by AlliedModders LLC "Bot Mimic" (2.1) by Jannik "Peace-Maker" Hartung "CS:GO PugSetup" (2.0.5) by splewis "Nextmap" (1.11.0.6893) by AlliedModders LLC

those are all the plugins on the server tho i dont really know what most of them do because we got the server from someone else who installed all of them.