minqlx icon indicating copy to clipboard operation
minqlx copied to clipboard

How to make bots never enter queue in Duel gametype?

Open raininggibs opened this issue 7 years ago • 4 comments

Sorry if this is already possible without minqlx, if it is I don't know how. Is it?

If not, is there any way to make it on a QL server (Duel gametype) so that bot/ai clients (i.e. Anarki, Ranger, Sorlag, Keel) never are in the state of in queue to play, yet do stay connected though only on spectator team?

raininggibs avatar Sep 02 '17 01:09 raininggibs

I guess this is what you need: bot_minplayers 2 This will automatically add bots to the game for playing. If someone joins - one bot will get kicked. If another one joins - second bot will be kicked.

em92 avatar Sep 02 '17 01:09 em92

In Duel gametype is there a way via minqlx to put bot/ai clients in the same state as human clients are in when on spectator only team/not queued up to play (''(s)'' near name instead of ''(a number)'' on scoreboard)? I'm just testing some stuff out for fun. :)

raininggibs avatar Sep 03 '17 00:09 raininggibs

Contact with @Melodeiro. He is author of queue plugin.

em92 avatar Sep 03 '17 03:09 em92

Bots are joining the duel without any event, so there is just one solution is to check every second, if there is bots ingame, and spec them. That way, real players will move up the queue.

Another solution might be implement team_switch_attempt or team_switch from the minqlx for bots, but i not sure, if thats even possible, or if that will work as expected.

PS: queue plugin disables automatically on duel servers

Melodeiro avatar Sep 03 '17 22:09 Melodeiro