Autolaunch needs a countdown

Autolaunch needs a countdown

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Autolaunch needs a countdown

Post by Forboding Angel »

With the option to cancel it
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Autolaunch needs a countdown

Post by bibim »

Why? Can you give a use case example for this?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Autolaunch needs a countdown

Post by Forboding Angel »

Because someone joining an autolaunch room and the game launching before the players even have a chance to say hi is really bad behavior.

Plus it gives the player no chance to join a spectating team before the game launches. For example, one player is on team one and I join the game intending to spec, my lobby puts me on team 2 automatically and I click the spec button but the game has already started.

Why does this need to be explained? I honestly don't understand. This is standard behavior across rts game lobbies/servers, it's not like I'm arguing for something out of the ordinary here.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Autolaunch needs a countdown

Post by bibim »

You can already prevent auto-start easily, you just need to set unready. Then, once you have said hi and readied (or spectated), the game should auto-start without the need of any countdown.

If your lobby client doesn't implement the standard Spring lobby protocol and doesn't allow you to set unready, I suggest you fill a feature request for this lobby client, or use another client, or disable auto-start, or make a small plugin in SPADS to implement this countdown. Alternatively, you could try to convince Spring devs that the "ready" button is a bad thing in Spring and should be removed from protocol. In this case I would update SPADS to conform with official protocol.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Autolaunch needs a countdown

Post by Jools »

Here is a countdown plugin for you FA. Have fun with it!

https://mega.nz/#!hc5gALRJ!fHKSoPzDAg6a ... bTtwxJ3F-o

[CountDown]
Counts down a specified amount of seconds before launching game

[abort]
!abort - abort the game from starting

Requires spads 0.11.38 or higher.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Autolaunch needs a countdown

Post by Forboding Angel »

Dude that is awesome! THank you so much :-D <3
User avatar
code_man
Posts: 260
Joined: 19 Jan 2014, 13:10

Re: Autolaunch needs a countdown

Post by code_man »

My 2 cents, i think this should be part of spads and preconfigured for like 3 seconds.
It really is sometimes annoying how spring pops up out of the blue.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Autolaunch needs a countdown

Post by Jools »

I don't think 3 seconds is enough, now it just displays this kind of text:
Preparing to launch the game in 10 seconds. Type !abort to cancel
Starting.
There is no countdown on the same line like this:
Preparing to launch the game in 10 seconds. Type !abort to cancel
9 8 7 6 5 4 3 2 1
Starting.
Is it somehow possible to output a new countdown number each second without putting it on a new line?
Post Reply

Return to “SPADS AutoHost”