
Infrastructure sharing 2.1.1
Moderator: OpenTTD Developers
Re: Infrastructure sharing 2.1.1
Yes, the same problem is with that revision without patch
I'll try to use one of previous versions.

Re: Infrastructure sharing 2.1.1
As your build does not support making a backtrace the information you've given is not enough to get this debugged. To be helpful create a full debug binary (./configure --enable-debug=3) and run that in gdb (make run-gdb). Then once it has crashed type "bt full" to get a full backtrace of the crash location and post that in this thread.
What would also be helpful is writing support for dumping the back/stracktrace, but that might be difficult or not even possible.
What would also be helpful is writing support for dumping the back/stracktrace, but that might be difficult or not even possible.
Re: Infrastructure sharing 2.1.1
Without a stack trace or FreeBSD machine, there's little I can do. Following Rubidium's steps should help.
The main problem of IS is that there are some things that are very hard / impossible to do *properly*:
- Cargo payments, when multiple companies are involved in transportation of a cargo packet.
- Handling bankruptcies and changes of sharing settings in a graceful manner, while still retaining the possibility to prevent 'abuse' of your network.
These issues are not very prominent in the more friendly #openttdcoop-style environment, but they cannot be ignored when IS has to work in the rest of the world. As a consequence, unless someone comes up with a solution, any attempts to merge with trunk will be futile, even when ignoring the general difficulty of merging a 50-100kb patch. This resulted in a reduction in motivation which, combined with a drop in available free time, brought my work on this patch to a standstill.
Nevertheless, updating to trunk should be relatively easy and I may do that in the near future. However, I will not be writing any new features and such. If someone is interested in taking over development and/or reintroduce individual sharing settings, I'll be more than happy to provide any advice / information needed.
The main problem of IS is that there are some things that are very hard / impossible to do *properly*:
- Cargo payments, when multiple companies are involved in transportation of a cargo packet.
- Handling bankruptcies and changes of sharing settings in a graceful manner, while still retaining the possibility to prevent 'abuse' of your network.
These issues are not very prominent in the more friendly #openttdcoop-style environment, but they cannot be ignored when IS has to work in the rest of the world. As a consequence, unless someone comes up with a solution, any attempts to merge with trunk will be futile, even when ignoring the general difficulty of merging a 50-100kb patch. This resulted in a reduction in motivation which, combined with a drop in available free time, brought my work on this patch to a standstill.
Nevertheless, updating to trunk should be relatively easy and I may do that in the near future. However, I will not be writing any new features and such. If someone is interested in taking over development and/or reintroduce individual sharing settings, I'll be more than happy to provide any advice / information needed.
Create your own NewGRF? Check out this tutorial!
Re: Infrastructure sharing 2.1.1
I made another thing: ./configure CXXFLAGS="-g -O0 -fno-inline" CFLAGS="-g -O0 -fno-inline" and got 70Mb openttd binaryRubidium wrote:As your build does not support making a backtrace the information you've given is not enough to get this debugged. To be helpful create a full debug binary (./configure --enable-debug=3)

So here is the result of "bt full"
Re: Infrastructure sharing 2.1.1
That trace smells like the IS2.1.1 binary finding a sound set from a later release and crashing on loading it; that is crashing on the fact that the filename of the soundset is null. Loading such sound sets was introduced not that long ago, which is probably why IS2's binary crashes.
Note that the backtrace contains quite a few odd numbers/values, e.g. filename differen between OpenBankFile and FioOpenFile, and as such my guess might be incorrect.
Note that the backtrace contains quite a few odd numbers/values, e.g. filename differen between OpenBankFile and FioOpenFile, and as such my guess might be incorrect.
Re: Infrastructure sharing 2.1.1
Oh yes, wrong data files were the reason of crash, it works now, thank you!Rubidium wrote:That trace smells like the IS2.1.1 binary finding a sound set from a later release and crashing on loading it; that is crashing on the fact that the filename of the soundset is null. Loading such sound sets was introduced not that long ago, which is probably why IS2's binary crashes.
Note that the backtrace contains quite a few odd numbers/values, e.g. filename differen between OpenBankFile and FioOpenFile, and as such my guess might be incorrect.

Re: Infrastructure sharing 2.1.1
So thanks to all. I started the IS2.1.1 server.
address: perk11.info
grfs: http://perk11.info/p.rar
Name: "Free for all, never ending, no autoclean grfs: perk11.info/p.rar"
A complete pack for windows (download and run): http://perk11.info/tmp/is2_sborka.rar
address: perk11.info
grfs: http://perk11.info/p.rar
Name: "Free for all, never ending, no autoclean grfs: perk11.info/p.rar"
A complete pack for windows (download and run): http://perk11.info/tmp/is2_sborka.rar
Re: Infrastructure sharing 2.1.1
Hi,
I am going to update my patch pack from revision 14563 and I would like to use this new version of Infrastructure Sharing. I feel a bit uncertain how actively this patch is developed in future... How many developers are actually updating this? Is there a plan for future development?
Nice work this far, keep it going!!
I am going to update my patch pack from revision 14563 and I would like to use this new version of Infrastructure Sharing. I feel a bit uncertain how actively this patch is developed in future... How many developers are actually updating this? Is there a plan for future development?
Nice work this far, keep it going!!
Yeah!
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Infrastructure sharing 2.1.1
Currently it's unlikely to receive updates.
There are a number of issues when it comes to trunk inclusion (see http://dev.openttdcoop.org/projects/is2/issues to get an idea) which basically have no satisfactory solution. As such development is in hibernation.
There are a number of issues when it comes to trunk inclusion (see http://dev.openttdcoop.org/projects/is2/issues to get an idea) which basically have no satisfactory solution. As such development is in hibernation.
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: Infrastructure sharing 2.1.1
We are currently using original Shared Infrastructure patch. For payments I have developed station rent system. You can determine how many percent of last year profit of visiting vehicle you want to get as rent. We have found that very easy way to pay and receive rent for using shared infra.
For example company A is using company B airport. Company B sets rent to 25%. So company A is paying 25% of profit of its planes to company B.
Track and road can also be easily rented. Company A builds a track and one station in middle sets rent as 5% and all other companies using track are paying 5% of profit for company A as rent.
For example company A is using company B airport. Company B sets rent to 25%. So company A is paying 25% of profit of its planes to company B.
Track and road can also be easily rented. Company A builds a track and one station in middle sets rent as 5% and all other companies using track are paying 5% of profit for company A as rent.
Yeah!
-
- Chief Executive
- Posts: 658
- Joined: 11 Nov 2007 12:06
- Contact:
Re: Infrastructure sharing 2.1.1
what if the train only uses part of the track with no station i think you should also add the rent to way ponits as well easyer on the eyes
For Community Integrated Version http://code.google.com/p/civopenttd/
Re: Infrastructure sharing 2.1.1
Yes, waypoints should also be used for receive/pay rent. I haven't implemented this because we are using so old trunk revision that waypoints are only for single track and therefore useless.
It would be very nice to have IS2 core functionality in its own patch. Patch should be also kept sync with trunk. Core functionality covers only possibility to use share infra. Only GUI what is needed is option button to turn sharing on or off. No individual sharing settings, no time/tile based rents... Just basic path finding functionality to use shared infra. Transfer fees should be handled as there are handled inside single company. That kind of patch would greatly help to develop new solutions to payments and other issues.
It would be very nice to have IS2 core functionality in its own patch. Patch should be also kept sync with trunk. Core functionality covers only possibility to use share infra. Only GUI what is needed is option button to turn sharing on or off. No individual sharing settings, no time/tile based rents... Just basic path finding functionality to use shared infra. Transfer fees should be handled as there are handled inside single company. That kind of patch would greatly help to develop new solutions to payments and other issues.
Yeah!
Re: Infrastructure sharing 2.1.1
I agree, but waypoints is not very nice too, because players must calculate track lengths themselves! My ideal vision of this patch implementation (I2007Alain2007 wrote:what if the train only uses part of the track with no station i think you should also add the rent to way points as well easier on the eyes

- SwissFan91
- Tycoon
- Posts: 2401
- Joined: 08 Feb 2009 18:36
- Location: Alberta, Canada
Re: Infrastructure sharing 2.1.1
Apologies in advance, but I am a newcomer to this patch. What are the main reasons for this not being in trunk? Are there known bugs that are preventing it, or is it a case of someone needing to do the coding work, or what?
Re: Infrastructure sharing 2.1.1
See planetmaker's post, about five posts earlier.
- SwissFan91
- Tycoon
- Posts: 2401
- Joined: 08 Feb 2009 18:36
- Location: Alberta, Canada
Re: Infrastructure sharing 2.1.1
Oopsie. The only thing was, I was thinking of starting a game with this, and wondered if there were any major bugs that prevent normal gameplay?
Re: Infrastructure sharing 2.1.1
Given the list of issues (I haven't tried this patch myself any time recently), the version existing today is playable without problems, but trunk inclusion needs some major work. Furthermore some features may be missing, but not broken.
I think it's safe to say that you can play a game with this without problems.
I think it's safe to say that you can play a game with this without problems.
Re: Infrastructure sharing 2.1.1
Latest infrastructure sharing against 1.0.2
- Attachments
-
- is2_1.0.2.diff
- (60.18 KiB) Downloaded 141 times
Re: Infrastructure sharing 2.1.1
Your help would be more appreciated, if you update against trunk, as you can't use it with stable anyway.
Town Names:


Still work in progress: OpenGFX or/and OpenSFX - Please help!
Re: Infrastructure sharing 2.1.1
Why can't? Already using 

Who is online
Users browsing this forum: No registered users and 4 guests