n-ice.org OpenTTD Forum

Administration => Suggestions => Topic started by: Knogle on September 26, 2012, 05:10:17 pm

Title: Suggestion: Autocleaning of empty companies with no vehicles
Post by: Knogle on September 26, 2012, 05:10:17 pm
I suggest we clean empty companies with no vehicles, because if someone leave their company without building vehicles:

1) They occupy a color for no reason (I know a lot of people have favorites!)
2) IF the player comes back to play, they'll most likely start a new company anyway
3) There's no reason to show these in goal list (!cv, !goal, etc) anyway..

Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: alex879ro on September 26, 2012, 05:13:34 pm
1) I agree....he speaks the truth about colour favorites
2) True
3) Absolutely true:)

I have only one condition...we should clear an empty company 5minutes after the player left....so we can also cover the timeouts
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: ST2 on September 26, 2012, 10:13:25 pm
I totally agree on cleaning empty companies with no vehicles

probably the easiest way is leting xShunter use the setting "autoclean_novehicles (http://wiki.openttd.org/Autoclean_novehicles)" available on openttd.cfg
if this solution, could be 6 months (~6 minutes). If possible to set a timer for that in xShunter/plugins, ~5 minutes is a good solution too :)

and I'll add other reason for it:
- many players build tracks and no vehicles when they leave (without intention of continue)... making harder to build to other players (in some situations)
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: geo on September 27, 2012, 06:49:09 pm
the forum lover geo, meaning me, agrees to Knogle's suggestion.
signed,
mighty Geo
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: YorVeX on September 27, 2012, 06:56:54 pm
the lazy programmer that i am i won't write even a single line of code only to make it 5 minutes instead of 6. we will simply use what is there, as ST2 suggested, autoclean_novehicles 6 it is  8)
the existing "autoclean on demand" can stay as it is, e.g. when a company slot is needed for a new company and all slots are taken empy companies will be closed even before that time runs out.
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: naz on November 27, 2012, 11:50:38 pm
Dont know if i should be writing this in the "complaints thread" or this, I joined K4 tonight and wittnessed two leading companies got reset. When Geert came later , he checked and said there is no log of any admins doing the reset, it may be caused by server company limit to accomodate newcomers. But two high earning companies I witnessed and another player said he has seen 4 companies got reset... Maybe a bug in "autoclean".
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: Andreas on November 28, 2012, 01:28:24 am
Hi Naz, I have also taken a look at the logs.  It is very unfortunate that 2 leading companies got reset it is not a bug however. How it works is the following:

Empty companies (no players, no vehicles get auto-cleaned (reset) after 6 months)

If a player starts a new company and the maximum amount of companies is reached companies get reset in the following order: (by empty I mean no player in the company)


This means that if there are allready a maximum amount of companies and they are ocupied by players, there is no way to prevent the reset. Using !saveme will help in thus respect that companies that have not used it will be reset earlier.

Concluding, the only advice I can give is: when possible stay connected and when you leave use !saveme. Most of the time you will be fine then.

Hope this helps
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: naz on November 28, 2012, 02:05:08 am
Thanks Andreas. This also supports that the above mentioned points are strong enough to cleanup before. Strongly favour Colour and showing in the graph/table.
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: YorVeX on December 26, 2012, 01:54:25 pm
finally after all the time i have made the change. i decided to even go for a more radical solution: empty companies without vehicles are now reset after 1 month already. we can still increase the time if it leads to too much unrest on the servers, but i don't think it will.

EDIT: of course the initial change had a strong impact. a minute after i activated it on the servers it looked like this:

Code: [Select]
[14:51:07] • OTTD-k4 * X shanec (7/Grey) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:10] • OTTD-5 * X Grego Transport (1/Red) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:10] • OTTD-5 * X Oxo Transport (5/Pink) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:10] • OTTD-5 * X Ceulubitiv Transport (10/Yellow) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:10] • OTTD-5 * X Unnamed (11/Pale Green) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:10] • OTTD-5 * X Unnamed (12/Purple) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:24] • OTTD-2 * X gumi Transport (2/Blue) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:25] • OTTD-3 * X Razor Transport (4/Blue) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:39] • OTTD-k3 * X Player Transport (2/Pink) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:39] • OTTD-k3 * X [HUN]Grondy Transport (6/Purple) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:39] • OTTD-k3 * X Wayne Enterprises (7/Dark Blue) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:39] • OTTD-k3 * X Unnamed (8/White) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:47] • OTTD-1 * X Unnamed (4/Yellow) has been closed (Auto-cleaned, empty and no vehicles)
[14:51:47] • OTTD-1 * X Michalrudy (6/White) has been closed (Auto-cleaned, empty)
[14:51:48] • OTTD-k1 * X Player Transport (1/Red) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:49] • OTTD-6 * X shanec (3/Orange) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:52] • OTTD-4 * X Viktor Transport (2/Red) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:52] • OTTD-4 * X Henrik Transport (3/Orange) has been closed (Auto-cleaned, 1 month without vehicles)
[14:51:52] • OTTD-4 * X LP Trans (4/Dark Blue) has been closed (Auto-cleaned, 1 month without vehicles)
[14:52:05] • OTTD-8 * X LP Trans (6/Blue) has been closed (Auto-cleaned, 1 month without vehicles)
[14:52:05] • OTTD-8 * X Player Transport (8/Cream) has been closed (Auto-cleaned, 1 month without vehicles)
[14:52:05] • OTTD-8 * X Colz Transport (9/Purple) has been closed (Auto-cleaned, 1 month without vehicles)
[14:52:05] • OTTD-8 * X Unnamed (11/Pale Green) has been closed (Auto-cleaned, 1 month without vehicles)
[14:52:05] • OTTD-8 * X Unnamed (12/Light Blue) has been closed (Auto-cleaned, 1 month without vehicles)
[14:52:05] • OTTD-8 * X DK Transport (13/Brown) has been closed (Auto-cleaned, 1 month without vehicles)

 8)
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: Geert on December 30, 2012, 10:38:43 am
i mis a like button :)
Title: Re: Suggestion: Autocleaning of empty companies with no vehicles
Post by: YorVeX on December 30, 2012, 10:41:09 am
well you can always click the "[good]" link below my name to give me karma :D