OpenTTD / OpenTTD

OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
https://www.openttd.org/
Other
6.36k stars 892 forks source link

Multiplayer pause method... #1083

Closed DorpsGek closed 15 years ago

DorpsGek commented 17 years ago

Smoovious opened the ticket and wrote:

Ok, I tried to make a patch for this, but couldn't even begin, not knowing the code well enough yet. So, lets see if someone else feels like tackling this...

What I wanted to do, was for multiplayer games, re-use the fast-forward button. Change its icon, and use it as an AFK or similarly named button.

Originally, I wanted to do this, so when I'm playing from the console, I could set myself away, and have autopause pause the game until someone else connected, ignoring the fact that I was connected. As it is now, I pause the game, and that isn't good for other players who connect while I'm gone.

With more thought, "Why not make it possible for all players to do this? (not spectators)"... This way, say for example, 2 people playing on a server, decide to take a break together to make a food run or something, and they each set themselves AFK. Since they aren't counted as an active player anymore, they are in effect, ignored, as far as autopause counting active players is concerned, although they are still connected. If a third player connects while they're gone, the game will automatically unpause, allowing the 3rd player to play, unless that 3rd player decides to mark himself as AFK also.

When a player marks himself AFK, a chat message will be posted saying "Smoovious is [AFK|back]." so other players know.

Implementing this is currently beyond my current level of familiarity with the code. Especially how the menus work.

Hope someone gives this a shot. I would be very interested in seeing how it was implemented.

-- Smoovious

Reported version: trunk Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/1083
DorpsGek commented 15 years ago

Ammler wrote:

IMO, this task is obsolete now and possible with switching to spectators.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1083#comment5970
DorpsGek commented 15 years ago

Rubidium closed the ticket.

Reason for closing: Won't implement

As Ammler mentioned, moving to spectator does basically the same.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1083