Distant-join-stations (in trunk)
Moderator: OpenTTD Developers
Re: Distant-join-stations (rev12684)
Any chance of getting a patch against the latest trunk?
Re: Distant-join-stations (rev12684)
Here it goes, updated to latest GUI framework ... 
(2008-07-24): Now it closes station-selecting window after you selected a station.
EDIT: change to svn-diff style (actual code not altered at all)

(2008-07-24): Now it closes station-selecting window after you selected a station.
EDIT: change to svn-diff style (actual code not altered at all)
Last edited by Tiberius on 24 Jul 2008 06:29, edited 2 times in total.
I may implement/fix/tweak/eat/ditch it soon (or in distant future, if at all, so don't hold your breath).
If anyone want to be the one please implement it for us all
If anyone want to be the one please implement it for us all

Re: Distant-join-stations (rev13374)
It would be much easier to apply all these updated patches you're posting if you were using svn diff.
Melt with the Shadows,
Embrace your destiny...
Embrace your destiny...
Re: Distant-join-stations (rev13374)
Fix the bug that prevents AI players to build a station.
Thanks makbeth, author of RCPP, for kindly providing the fix
Thanks makbeth, author of RCPP, for kindly providing the fix

- Attachments
-
- distant-join_r13810.patch
- (24.19 KiB) Downloaded 178 times
I may implement/fix/tweak/eat/ditch it soon (or in distant future, if at all, so don't hold your breath).
If anyone want to be the one please implement it for us all
If anyone want to be the one please implement it for us all

-
- Chairman
- Posts: 776
- Joined: 20 Jan 2007 12:08
- Location: Germany
Re: Distant-join-stations (rev13374)
Little update to current trunk.
- Attachments
-
- distant-join_r14121.patch
- (24.44 KiB) Downloaded 251 times
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
Re: Distant-join-stations (rev13374)
Very good - maybe the topic title might be changed as well?
Re: Distant-join-stations (r14121)
Wow this is really great.
I really don't know how all this stuff works but I'll ask anyway. How long till this stuff is included in a stable release? (I would extend the question to copy&paste also)
I really don't know how all this stuff works but I'll ask anyway. How long till this stuff is included in a stable release? (I would extend the question to copy&paste also)
-
- Chairman
- Posts: 776
- Joined: 20 Jan 2007 12:08
- Location: Germany
Re: Distant-join-stations (r14121)
That's indeed a good question. The devs had some objections, but the patch was changed according to their comments back in April (it was in fact me, who did it). Since quite some revisions have gone by since then, I don't know in how good shape the code still is.nulio wrote:I really don't know how all this stuff works but I'll ask anyway. How long till this stuff is included in a stable release?
@Frostregen, I just noticed this was never posted to flyspray. Would you mind if I posted it there (referencing you as the original author of course) or do it yourself? However, I would recheck the code before (I probably don't get at it before middle of the week, though).
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
Re: Distant-join-stations (r14121)
was the issue with the race condition when stations are changed by another client ever solved? (send station IDs instead of list indices with the build command?)
-
- Chairman
- Posts: 776
- Joined: 20 Jan 2007 12:08
- Location: Germany
Re: Distant-join-stations (r14121)
Yes, that was what I was referring to in my previous post (see http://www.tt-forums.net/viewtopic.php?p=658205#p658205). Although, it was not in April but even back in January. In April I did some changes related to the adjacent stations setting.Eddi wrote:was the issue with the race condition when stations are changed by another client ever solved? (send station IDs instead of list indices with the build command?)
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
-
- Transport Coordinator
- Posts: 340
- Joined: 06 Feb 2006 23:58
Re: Distant-join-stations (r14121)
Thx for asking,PhilSophus wrote:@Frostregen, I just noticed this was never posted to flyspray. Would you mind if I posted it there (referencing you as the original author of course) or do it yourself? However, I would recheck the code before (I probably don't get at it before middle of the week, though).
It is ok, just do it

Greetings,
Frostregen
Re: Distant-join-stations (r14121)
Sounds like a good idea! I can't help but repeat: this was included in Patch a really long time ago, and hampers playability of OTTD by people who have switched recently. Plus, it can't be such a bad idea, can it?
Only thing is, it might be better connected with 'show catchment area' (on right click?), which is very useful; and there should be a way to highlight all stations (esp. bus stops) belonging together.
Only thing is, it might be better connected with 'show catchment area' (on right click?), which is very useful; and there should be a way to highlight all stations (esp. bus stops) belonging together.
-
- Chairman
- Posts: 776
- Joined: 20 Jan 2007 12:08
- Location: Germany
Re: Distant-join-stations (r14121)
I agree that these are nice features to have. However, I disagree that those should be merged into this patch, as these are completely distinct features and a patch should only implement one thing at a time.MJS wrote:Only thing is, it might be better connected with 'show catchment area' (on right click?), which is very useful; and there should be a way to highlight all stations (esp. bus stops) belonging together.
EDIT: I added a patch setting to disable the feature and posted the patch to flyspray as FS#2291. Now let's all pray to the gods of the OpenTTD Olympus to accept it for trunk

"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
Re: Distant-join-stations (r14121)
Hey, don't forget about mePhilSophus wrote:@Frostregen, I just noticed this was never posted to flyspray. Would you mind if I posted it there (referencing you as the original author of course) or do it yourself? However, I would recheck the code before (I probably don't get at it before middle of the week, though).

Frostregen's first post wrote:Credits to Wolf01 for the idea.
-
- Chairman
- Posts: 776
- Joined: 20 Jan 2007 12:08
- Location: Germany
Re: Distant-join-stations (r14121)
Sorry for having overlooked you (I only checked only the authorship of posted patches not the full five pages of posts). Honor to whom honor is dueWolf01 wrote: Hey, don't forget about me

Anyone else, I forgot?
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
-
- Traffic Manager
- Posts: 133
- Joined: 28 Feb 2006 15:29
- Location: Johannesburg, South Africa
Re: Distant-join-stations (r14121)
With this patch do the station names change to be one big station covering the whole area or do they retain their identities and just share a common pool of pax / cargo
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
-
- Chairman
- Posts: 776
- Joined: 20 Jan 2007 12:08
- Location: Germany
Re: Distant-join-stations (r14121)
Neither, as far as I understand your question.
This patch just allows you to build disconnected station tiles, so all of them are the same station from the moment of building them in the same way two neighboring tracks of a station are the same station: One collection of cargo and only one station sign, which can at times be confusing because you don't know which station a bus stop belongs to at first sight (i.e. before clicking it).
Just a notice: I update the patch from time to time in the flyspray task. So, anyone looking for a newer one might have a look there (or set a watch on this task).
This patch just allows you to build disconnected station tiles, so all of them are the same station from the moment of building them in the same way two neighboring tracks of a station are the same station: One collection of cargo and only one station sign, which can at times be confusing because you don't know which station a bus stop belongs to at first sight (i.e. before clicking it).
Just a notice: I update the patch from time to time in the flyspray task. So, anyone looking for a newer one might have a look there (or set a watch on this task).
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Distant-join-stations (r14121)
You cannot build stations larger than you could do anyway. This patch only provides simple means to build a station which has tiles which are not adjacent.TrueTenacity wrote:With this patch do the station names change to be one big station covering the whole area or do they retain their identities and just share a common pool of pax / cargo
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Distant-join-stations (r14121)
i wish this was added to trunk. i havent got it at the moment as im using clestarr's cargodest at the moment
and im not even sure what svn rev it uses,
im allways budling a station, then building a chain of bussops so i can get one where i want then deleting the gap filling ones
this patch means that you dont have to do this!
and im not even sure what svn rev it uses,
im allways budling a station, then building a chain of bussops so i can get one where i want then deleting the gap filling ones
this patch means that you dont have to do this!
Re: Distant-join-stations (r14121)
Awesome patch. This makes passengers services on competition servers a whole lot cheaper. What happens right now:
-You start to build a station at town A and town B
-When you have some income, you extend the station so that the catchment area is bigger
-This can cuase problems: trees removed decrease town rating. Sometimes town are really evil and you can forget about station extension.
With the patch:
-building a station with a good catchment area is cheap, and quicker
-you dont loose any rating (or hardly any)
-It allows you to build bigger stations at start since you have more rating to 'waste'.
My question: Is this patch usable on the client only? In other words, does the server need this patch also for it to work?
-You start to build a station at town A and town B
-When you have some income, you extend the station so that the catchment area is bigger
-This can cuase problems: trees removed decrease town rating. Sometimes town are really evil and you can forget about station extension.
With the patch:
-building a station with a good catchment area is cheap, and quicker
-you dont loose any rating (or hardly any)
-It allows you to build bigger stations at start since you have more rating to 'waste'.
My question: Is this patch usable on the client only? In other words, does the server need this patch also for it to work?
Who is online
Users browsing this forum: No registered users and 14 guests