I think we've all been at the point where there are atleast 3 players waiting for free a spot *cough* empha's sumo bar* Usually the ones that keep spamming "create new team" happen to gain that spot. But not any longer With the help of this feature, people get to play just in the order they enter the server.
Avaible chat commands are
"/queue add"
"/queue remove"
"/queue position"
"/queue who" - shows all players and their position in the queue
for admins there are:
"ENABLE_QUEUE"
"AUTO_QUEUE" if set to 1 and queueing and auto-team are enabled, new players are automatically added to the queue.
if set to 0 they aren't x)
Here's the diff:
http://pastebin.com/tGSwFVLf
(seems like pastebin ignored \1s in the language files)
(I didn't get to test it yet, but I will make sure to do that tomorrow )
What are your thoughts on this?
[Feature] Waiting Queue
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
[Feature] Waiting Queue
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
Re: [Feature] Waiting Queue
Good idea. I already liked the method on Concord's mazing server, however I'd set AUTO_QUEUE to 0 to avoid that players who don't want to play are added to the queue.
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
Re: [Feature] Waiting Queue
Yes, I also think that by default AUTO_QUEUE should be set to 0
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
Re: [Feature] Waiting Queue
Haven't looked at the patch, but would it be possible to make it so that if
AUTO_QUEUE is 1
AUTO_TEAM is 0
you get queued up if you request team creation or joining? Doesn't sound like it does already, and I think it would make sense.
AUTO_QUEUE is 1
AUTO_TEAM is 0
you get queued up if you request team creation or joining? Doesn't sound like it does already, and I think it would make sense.
Re: [Feature] Waiting Queue
I was just thinking of this being implemented into the game, as well.
+1
+1
- DDMJ
- Reverse Outside Corner Grinder
- Posts: 1882
- Joined: Thu Jun 08, 2006 12:15 am
- Location: LA, CA, USA, NA
- Contact:
Re: [Feature] Waiting Queue
This is bad because now I won't be able to sneak into games.
But on a more serious note, great idea!
But on a more serious note, great idea!
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
Re: [Feature] Waiting Queue
Well here's what I had in mind:Z-Man wrote:Haven't looked at the patch, but would it be possible to make it so that if
AUTO_QUEUE is 1
AUTO_TEAM is 0
you get queued up if you request team creation or joining? Doesn't sound like it does already, and I think it would make sense.
When a player enters the server and AUTO_TEAM is turned off, the server checks, if that player could theoretically create a new team. If that's the case, don't add him. Alternatively, if all spots are taken and the player is forced to spectate, add him to the queue.
However I struggle to check if the player could create a new team. The only concerning function I found is ePlayerNetID::TeamChangeAllowed(), but I don't think this one covers all the aspects of creating a new team.
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
Re: [Feature] Waiting Queue
Well done! I will apply the patch on our server soon and will try it out.