The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: Junna on January 01, 2015, 08:04:16 AM

Title: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: Junna on January 01, 2015, 08:04:16 AM
There is a very strange thing with the industry connections; industry connections actually serve seem to oddly be disconnected from one side only.

In this example, a cattle farm produces milk. It is connected (cross-connect - all; or manually connected;) and transported to two diaries.

The transport stops upon reloading. I was wondering why, until it appeared that the connection bad disappeared from the cattle farm only; the diaries still list the relevant source cattle farm as connected, but the cattle farm does not have the industry in its list.

If you manually connect the two diaries, transport begins anew.

However, saving and then reloading, the connection is gone.

Relevant industries: Dartston Cattle farm, Camberingworth Diary, Colport Diary.

Save game:
http://www.mediafire.com/download/bz3gyzz1qhqljjh/klme3.sve

pak:
http://www.mediafire.com/download/mv8ulzm0r6kwpl7/Pak128.Britain-Ex-0.9.2J.rar

Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: jamespetts on January 01, 2015, 10:39:55 AM
Thank you for the report: does this happen with all dairies, with all industries, or just intermittently?
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: Junna on January 01, 2015, 11:06:45 AM
Hmm, cannot replicate with collieries, so it might only be the cattle farm.
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: jamespetts on January 01, 2015, 11:16:29 AM
Does it always happen with cattle farms?
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: Junna on January 01, 2015, 11:47:15 AM
Well, the method described in the original post should be reproducible (and should apply to all cattle farms), unless there is something wrong with my compile alone.
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: jamespetts on January 03, 2015, 03:15:28 PM
I am having some trouble reproducing this, I am afraid. Which pakset version are you using?
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: Junna on January 04, 2015, 03:29:24 PM
The one uploaded. It's compiled from the git half-heights branch.
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: jamespetts on January 04, 2015, 06:25:06 PM
That is also what I have been using. Very odd.
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: Junna on January 05, 2015, 04:39:09 AM
So the save game works for you, with no problem, and the goods train from the diary keeps running for you? I suppose it might be my compile (the reason I was trying to compile a new one, which failed due to the accidental code-leak from wear branch, was to test first if this was current or something that had been fixed or was a fleeting thing).
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: jamespetts on January 05, 2015, 11:34:22 AM
I haven't tried the saved game, as I have changed the saved game format since the 9th of December. Can you reproduce it (either the bug or the saved game) with an up to date compile?
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: Junna on January 05, 2015, 09:19:07 PM
http://www.mediafire.com/download/n9i1gnn8y5lln6a/kkkgfsdfs.rar

Recreated test map with latest way-improvements.

Here, things will be working all right.

If, however, cross-connect factories is enabled via the setting menu (the i method), diaries will all be removed from the cattle farm's connections after the  game is reloaded. If these are then manually added via the industry connector tool, they will work until the game is reloaded, whereupon the connection is once more severed. If cross-connection is disabled, on the other hand, the connection is saved and works as it ought to.
Title: Re: Some industry connection oddities (compiled way-improv as of Dec. 9)
Post by: jamespetts on January 06, 2015, 10:11:27 AM
Thank you very much for recreating this. Unfortunately, I still cannot reproduce it with the latest code from way-improvements. The difference between mine and your versions may be the pakset: I am using a preliminary 0.9.2 from the half-heights branch, whereas you are using your own version, 0.9.2J. I do not know what the differences are and whether they are significant, but it could be that.