[Feature] Waiting Queue

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

[Feature] Waiting Queue

Post by AI-team »

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 :P 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?
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
dreadlord
Match Winner
Posts: 585
Joined: Sun Sep 28, 2008 12:26 am
Location: Germany

Re: [Feature] Waiting Queue

Post by dreadlord »

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.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: [Feature] Waiting Queue

Post by AI-team »

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
 
 
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: [Feature] Waiting Queue

Post by Z-Man »

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.
User avatar
erocat
On Lightcycle Grid
Posts: 36
Joined: Tue Mar 27, 2012 3:23 am

Re: [Feature] Waiting Queue

Post by erocat »

I was just thinking of this being implemented into the game, as well.

+1
User avatar
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

Post by DDMJ »

This is bad because now I won't be able to sneak into games.

But on a more serious note, great idea!
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: [Feature] Waiting Queue

Post by AI-team »

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.
Well here's what I had in mind:
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
 
 
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: [Feature] Waiting Queue

Post by Jip »

Well done! I will apply the patch on our server soon and will try it out.
Post Reply