MinoMino / minqlx

Extends Quake Live's dedicated server with extra functionality and scripting.
GNU General Public License v3.0
110 stars 42 forks source link

How to make bots never enter queue in Duel gametype? #71

Open raininggibs opened 7 years ago

raininggibs commented 7 years ago

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?

em92 commented 7 years ago

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.

raininggibs commented 7 years ago

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. :)

em92 commented 7 years ago

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

Melodeiro commented 7 years ago

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