News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Some industry connection oddities (compiled way-improv as of Dec. 9)

Started by Junna, January 01, 2015, 08:04:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Junna

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


jamespetts

Thank you for the report: does this happen with all dairies, with all industries, or just intermittently?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Junna

Hmm, cannot replicate with collieries, so it might only be the cattle farm.

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Junna

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.

jamespetts

I am having some trouble reproducing this, I am afraid. Which pakset version are you using?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Junna

The one uploaded. It's compiled from the git half-heights branch.

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Junna

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).

jamespetts

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?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Junna

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.

jamespetts

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.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.