You are Here:
Suggestion: Autocleaning of empty companies with no vehicles

Author (Read 12492 times)

Suggestion: Autocleaning of empty companies with no vehicles
« on: September 26, 2012, 05:10:17 pm »
 

Knogle

  • CB Wizard
  • Administrator
  • Jr. Member
  • *****
  • 53
    Posts
  • Karma: 6
    • View Profile
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..

 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #1 on: September 26, 2012, 05:13:34 pm »
 

alex879ro

  • Administrator
  • Hero Member
  • *****
  • 512
    Posts
  • Karma: 0
    • View Profile
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
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #2 on: September 26, 2012, 10:13:25 pm »
 

ST2

  • Full Member
  • ***
  • 223
    Posts
  • Karma: 2
    • View Profile
I totally agree on cleaning empty companies with no vehicles

probably the easiest way is leting xShunter use the setting "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)
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #3 on: September 27, 2012, 06:49:09 pm »
 

geo

  • Global Moderator
  • Sr. Member
  • *****
  • 278
    Posts
  • Karma: 20
    • View Profile
the forum lover geo, meaning me, agrees to Knogle's suggestion.
signed,
mighty Geo
Don't worry, be happy :D
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #4 on: September 27, 2012, 06:56:54 pm »
 

YorVeX

  • Administrator
  • Sr. Member
  • *****
  • 265
    Posts
  • Karma: 9
    • View Profile
    • n-ice.org
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.
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #5 on: November 27, 2012, 11:50:38 pm »
 

naz

  • Global Moderator
  • Jr. Member
  • *****
  • 82
    Posts
  • Karma: 11
    • View Profile
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".
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #6 on: November 28, 2012, 01:28:24 am »
 

Andreas

  • Full Member
  • ***
  • 174
    Posts
  • Karma: 25
  • I'm not THAT hot :)
    • View Profile
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)

  • Empty companies with no vehicles
  • Empty companies without !saveme
  • Empty companies with !saveme

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
alex879ro: "Each player has a different knowledge of the game, and then we got Andreas :)"
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #7 on: November 28, 2012, 02:05:08 am »
 

naz

  • Global Moderator
  • Jr. Member
  • *****
  • 82
    Posts
  • Karma: 11
    • View Profile
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.
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #8 on: December 26, 2012, 01:54:25 pm »
 

YorVeX

  • Administrator
  • Sr. Member
  • *****
  • 265
    Posts
  • Karma: 9
    • View Profile
    • n-ice.org
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)
« Last Edit: December 26, 2012, 01:58:04 pm by YorVeX »
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #9 on: December 30, 2012, 10:38:43 am »
 

Geert

  • Global Moderator
  • Full Member
  • *****
  • 179
    Posts
  • Karma: 12
    • View Profile
i mis a like button :)
 

Re: Suggestion: Autocleaning of empty companies with no vehicles
« Reply #10 on: December 30, 2012, 10:41:09 am »
 

YorVeX

  • Administrator
  • Sr. Member
  • *****
  • 265
    Posts
  • Karma: 9
    • View Profile
    • n-ice.org
well you can always click the "[good]" link below my name to give me karma :D