Re: Infrastructure Sharing
Posted: 14 May 2008 19:51
I'm still on the code to handle bankrupcy. If I can't get it to work tonight, I'll switch to a lighter version and try to post v0.4 for this WE.
The place to talk about Transport Tycoon
https://www.tt-forums.net/
If you don't like to wait for v0.4 I attached updated diff files for revision 13087 and the most recent revision 13097.Anunnaki wrote: Can you update your Infrastructure Sharing mod to be compatible with SVN 13087 ? There was lot of changes in one file depot_gui.cpp, others files/changes are ok.
Can you check that ? THX.
You should rename it to NS_COMPANY_SHARING (without "E")...zombie wrote:Hi.
I updated the patch to recent trunk version. I had to modify some parts of the patch:
- converted dialog for setup of the sharing fees into a class(struct)
- included the special news type NS_COMPANY_SHAREING like in planetmakers diff
[...]
I realized this as well but as I didn't add this I decided not to correct itRoujin wrote:You should rename it to NS_COMPANY_SHARING (without "E")...zombie wrote:Hi.
I updated the patch to recent trunk version. I had to modify some parts of the patch:
- converted dialog for setup of the sharing fees into a class(struct)
- included the special news type NS_COMPANY_SHAREING like in planetmakers diff
[...]
I disagree here. While of course technically you're the boss and can do whatever you want, your competitors are paying you and you have to provide the best service possible to them. Taking a real world example. By EU laws the DB has to allow competitor trains on her tracks and it's not known they stop them and let them rot somewhere for hours.Ammler wrote:2. I should be able to start/stop foreign trains on my tracks.
As fast as a train is on my tracks, I am the BOSS about it...
Thats all I thought about, technically.Roest wrote:I disagree here. While of course technically you're the boss and can do whatever you want,Ammler wrote: As fast as a train is on my tracks, I am the BOSS about it...
I'd like to support this notion. It'd make it probably quite easier to maintain ones own tracks.Ammler wrote: 1. I shouldn't be allowed to stop/start my train in a foreign track.
2. I should be able to start/stop foreign trains on my tracks.
yes, I've already posted there. If this patch (or a similar patch) can't be adapted, I plan to make a very basic version (like with speed/size and private yes/no) for TS.Toni Babelony wrote:Isn't it an idea when adding waypoints that only allows your trains to pass and waypoints that allow opponent's trains to pass? Maybe this can be combined with the Routing Restriction patch in that regard.
yes, seems to be the better way to do it.planetmaker wrote:As a 2nd step therefor I propose to grant control to both, train owner AND track owner. A stopped train doesn't cost anything at least, should you be unable to get your train anywhere you need it or to a depot.
the problem is that a tile can be used by 2 trains of different owner on diagonal tracks.Anunnaki wrote:
When company is bancrupted and others player's train is actualy by some of its part on bancupted company's track tile, i suppost the following:
1) Train must inmediatly stop there, where he actualy is.
2) Tracks tiles of bancupted comany under the train will be converted to the actual player company for some real price even he dont have money.
that also happens when bankrupt company's vehicle are on shared tracks and must be removed, or when a player change this setting during a game...Anunnaki wrote:More compicated is situation which is big problem i suppoust end would be needed to solve in future versions:
when someone else is buying company and will not more allow track sharing. I suppoust that in that exactly momment when that happends must:
I may use something like that, as I've some issue (with signals and airports block) when just teleporting the vehicle in shared depot.Anunnaki wrote: 1) Trains, which are actualy on shared track title will be:
a) denyed to use shared depos
b) send to the depo for service where NO-ONE can change that (but must still react on commands turn,stop/start,ignore signals).
c) when they enter to depo, set denyed to use shared tracks
d) when they have shared depos/stations/signs on theyr destination list, they will stay in depo, others will be released from the depo
2) Trains, which have shared depos/stations/signs on theyr destination list, will be solved by the same way as in point 1.
3) All remainings and new trains must be set to "not use shared tiles/depos/stations" anymore.
4) Afther 1 or 3 months, for any train would be set global settings to not use shared tracks.
still, there will be issue with vehicles on company bankrupcy.Anunnaki wrote:EDIT!
Or cleaner/simpler solution which you can easily add to the next version:
When is track sharing turned ON, so it is turned ON for everyone for whole game and noone can turn off that, so problem above dissapears.
yes, but be warned this is a WIP, no code cleaning, not enought comment, and some parts buggy.Anunnaki wrote:BTW: Can you release what you have actualy done from v0.4 ? The v0.35 for r13205 would be great.
no. (sorry for short answer, need to leave now, but basically it's another work than this patch)lead@inbox wrote:is it possible in your patch - to make subsidiaries or projects in structure of the parent company? With own budget, expenses, incomes, etc.- analogue of a grouping of transport - only at a level of station, way, transport, etc. It will allow to operate company more effectively - to look profitability of separate projects, etc. and sell parts of your company to another player
Yes, that was (global price in previous post) only for case that someone turn off track sharing during game or buy company which was bancrupted (and then turns sharings off).Gedemon wrote:still, there will be issue with vehicles on company bankrupcy.
Thank you very much, i wish to test that in my patch pack EMP (beta) with YAPP, DayLenght, DistantCitys/Industry, ReducedIndustry and ImprovedLoan patchs.Gedemon wrote: *TEST VERSION, DON'T USE FOR NORMAL GAME*
but if you want to check the pb with signals and airports, that will help...![]()