Hive wrote:
it works fine, thx =)
Great.

Quote:
the next month i will try to lern how to make patch's for ottd, so i can help you maybe with your next problem

Even better and looking forward to that (although by then we might be working on a new patchpack).
Quote:
i think there musst be many tutorials how to do that on the internet? (i dont need tutorials for c++, only for the sticky ottd code xD)
If there are such tutorials please show me.

It is a matter of reading the code, trying to understand the flow of it and knowing what to change where in order to fix issues (or things that bother you but are not bugs).
Especially the part "what to change where" is the tricky one.
Quote:
i dont want to know how to cheat in ottd

for shure there musst be a diff. way

There is but I do not have one at the moment.
The way I fixed your savegame is the following:
- I changed company_cmd.cpp to read as follows: (note that line numbers could differ slightly)
Code:
@@ -281,6 +281,7 @@ void GetNameOfOwner(Owner owner, TileInd
if (owner != OWNER_TOWN) {
if (!Company::IsValidID(owner)) {
SetDParam(0, STR_COMPANY_SOMEONE);
+ SetTileOwner(tile, OWNER_BEGIN);
} else {
SetDParam(0, STR_COMPANY_NAME);
SetDParam(1, owner);
and recompiled.
This will change the owner of the tiles, the ones that remained after bankrupty of the second company, to the first player when clicking them with the querry tool.
- I clicked each of them signals twice (once would have been enough but I just wanted to make sure that the owner changed from someone to company 1)
- Then being the first company I deleted the signals.
- Still being the first company I deleted the rails.
- I cheated my way to the third company (CTRL+ALT+C).
- I restored the rails.
- I restored the signals.
- I saved the game.
- I reverted the codechange above to test.
The proper way to fix this issue would be to delete the signals a player owns and then the rails on bankrupty, but I did not yet find the sweetspot ... even better would be to allow for deleting rails with exit-signals on them in one go (to prevent the crash in the programmable signals patch) but I did not yet find that sweetspot neither.

welshdragon wrote:
So long as eventually we get to GRFv3 spec implementation I'll be happy. (At current the latest UK Renewal Set is not compatible yet!).
Please show me the revision(s) this got implemented and I'll see what I can do.
Quote:
I'm not complaining, TBH I'd help if I could.
I know you would ... thank you for the offer anyway.
