opensoldat icon indicating copy to clipboard operation
opensoldat copied to clipboard

/addbot, /kick requires some fixing

Open Dankage102 opened this issue 3 years ago • 3 comments

/addbot1 Billy works but /addbot Boogie Man doesn't

Added few Billys then tried to kick them with /kick Billy command several times by pressing "/" two times to execute last command quickly and I could only kick few of them and then command stopped working, second time last Billy got bugged...

Dankage102 avatar Aug 26 '22 02:08 Dankage102

If there is a space in the bot name, you need to quote it, like /addbot "Boogie Man". Also there are generally some issues with code allowing players to be added to teams which are not valid for the current gamemode that need to be addressed.

Also I can't quite replicate the /kick Billy bugs you're talking about. If you are still having these bugs please provide a concrete series of steps to reproduce them, preferably with no scripts required.

BranDougherty avatar Aug 28 '22 01:08 BranDougherty

I can't find a reason why quotes are necessary in that case, for me it's the same as /say Many spaces in that sentence which doesn't need them, Soldat 1.7.1 never needed them either. Also some SC2 scripts rely on Command procedure and if some of them uses Command('/addbot Boogie Man') then it will need to be changed to Command('/addbot "Boogie Man"'). As for /kick Billy I really did poor explanation, I actually think recording a video will be best in that case.

"Also there are generally some issues with code allowing players to be added to teams which are not valid for the current gamemode that need to be addressed." - Please don't "fix" that, it's actually a feature used by many mods, for example climb servers using "Charlie team" to apply "god-mode" on a player or laststand mode using "Charlie team" for "scarecrow" type of a dummy bot and "Delta team" for "sentry" dummy bot.

Dankage102 avatar Aug 29 '22 00:08 Dankage102

There's the vid i promised to record, didn't try it on most recent version though https://youtu.be/7_E7ALQdT9E

Dankage102 avatar Sep 17 '22 16:09 Dankage102