Auto-Clean empty company on disconnect

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Auto-Clean empty company on disconnect

Post by Muxy »

Hi,

What do you think of this feature :

When a client disconnects, if the company is empty, then it is automatically cleared.

you can try it on this server : openttd.goulp.net:3981

let me know your feeling.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Auto-Clean empty company on disconnect

Post by Yexo »

What happens when one disconnects because of a failing connection? I think setting autoclean to 1-3 months would be a better idea.
User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: Auto-Clean empty company on disconnect

Post by Muxy »

Yexo wrote:What happens when one disconnects because of a failing connection?
In the source code, you can detect a failling connection. I made this test : an empty company with company building and some tracks but no vehicles. I kill the process (under windows). The server detects the connection failed and company is still there.

Server avaible at openttd.goulp.net:3982

Muxy
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Auto-Clean empty company on disconnect

Post by Alberth »

What is the purpose of the patch?
A player is not going to sell all his assets, and leave the company alive. Even if some of them do, you still have to take care of players that tidy up less.
User avatar
Muxy
Engineer
Engineer
Posts: 80
Joined: 05 Oct 2008 17:06
Location: Goulp, FR
Contact:

Re: Auto-Clean empty company on disconnect

Post by Muxy »

Alberth wrote:What is the purpose of the patch?
To avoid empty companies. Some players connect to the game, create new company and leave immediatly. instead of using the "spectate" function.
Pourquoi faire simple quand on peut faire compliqué ?
KISS - Keep It Simple, Stupid.
Open TTD Goulp Web Service
OpenTTD Goulp Web Forum
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 4 guests