[MOD/Script] LI Freight Distribution Network (FDN) - v7.2 21/11/2010

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Zonzo
Posts: 120
Joined: Mon, 13. Aug 07, 23:02
x4

Post by Zonzo »

Thanks apricotslice for reply, I feel so dumb. Had no FDN script installed, only mobile production. :P
Well, at least I figured out, what was wrong. :D

Edit: It is working, awesome technology for space age, thank you LA!
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

I've finally got a chance to play with v7 of this. I like the new menu designs.

All is working nice with 1 flaw.

I've set up a single XL Node. Dropped a closed loop for ecell production. Added wheat to it. All well so far, producing everything nicely.

Then I added 2 Distilleries which for space reasons, got crunched into a CC cube.

Now, the Distilleries are getting resources and making booze, but its not being transferred back to the node, and then onto the trade station.

Question is, why not ? Got to be something simple I've not set. Its the only thing being sent on to the trade dock, so there must be something odd you do to enable that.

Anyone ?
Zonzo
Posts: 120
Joined: Mon, 13. Aug 07, 23:02
x4

Post by Zonzo »

apricotslice wrote:
Now, the Distilleries are getting resources and making booze, but its not being transferred back to the node, and then onto the trade station.

Question is, why not ? Got to be something simple I've not set. Its the only thing being sent on to the trade dock, so there must be something odd you do to enable that.

Anyone ?
Look in to FDN plugin main menu, there is a lot to set up. Like enable remote access, sell or buy ware.
You can also link certain fab in to certain FDN node.
Despite FDN is great mod, configuration is bit gizmo and takes time set it up.
Also in prod complex you can set up how much ware maintain locally. Seems like FDN ignoring PM settings, like maintain ware locally.

But I have found annoying ware transfer bug. Got booze and weed production on Hatikvas Fate. Limited booze stock to 5000 and glitch is, if ware gets above 5000 then node starts sending over stock to other nodes.
And even if I limit stock to 0 in other node, full node still sending it there. So what I see is missing that if node stock is full, it would stop production of ware.
Temporary work around would be set selling price for weed and booze with agent from factory settings 1 less than standard price and sell it locally.
My The Wall node already once got nuked down buy Argon military Crerebrus, because stock contained booze.

Edit: Just discovered that node to node range actually is 7 jumpms. Did set up node on 8 jumps and it did nothing, just supplied factories. After moving it 1 jump back it started selling wares also.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

I checked all that. Cant find the problem. As I said, the resources get there, but according to the log, its not even checking for production. Node and factory are in the same sector too. The station is now full, and production has stopped. But being inside a CC cube, I've got no way of getting it out. Uncrunch in the Hub sector does crazy things, so I cant undo the CC.
Zonzo
Posts: 120
Joined: Mon, 13. Aug 07, 23:02
x4

Post by Zonzo »

Sounds like CC problem, I'm using LI complexes and have no problem at all.
Except ware transfer annoyance, my FDN node got nuked down again because of booze. :D
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

You have to build booze facilities in a non-race sector. Otherwise they will always get trashed.

Thats why I'm using the Hub sector, and CC.

I really dont understand why its not taking the product away, since it delivers the resources fine.
feygan
Posts: 147
Joined: Fri, 26. Dec 03, 18:41
x4

Post by feygan »

Could be an overlooked error in the return to node settings? I've done it before plenty of times when I have either forgotten to check "supply node" from my prodution module/factory.

Also Sometime I like to keep a certain amount of a product on a production module. This needs the FDN menu for that dock set so that the two settings "maintain stock locally" and "return surplus above" do not conflict.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

feygan wrote:Could be an overlooked error in the return to node settings? I've done it before plenty of times when I have either forgotten to check "supply node" from my prodution module/factory.

Also Sometime I like to keep a certain amount of a product on a production module. This needs the FDN menu for that dock set so that the two settings "maintain stock locally" and "return surplus above" do not conflict.
O.......k........ run that past me again at a slow walk ?

I dont recall saying anything called "supply node" on the factory. Where do I find that ? I thought I had everything turned on that needed it. Maybe not.

Those 2 settings on the dock, where are they and what should they be for keeping nothing on the production station ?
kelmenwong
Posts: 197
Joined: Sat, 17. Mar 12, 17:40
x3tc

Post by kelmenwong »

i'm playing as Terran in AP 2.0

this mod doesn't work. after enabled, there's still no these FDN * in Terran shipyard
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

kelmenwong wrote:i'm playing as Terran in AP 2.0

this mod doesn't work. after enabled, there's still no these FDN * in Terran shipyard
From memory, they dont go into race shipyards. Each race gets a new shipyard with them in.
kelmenwong
Posts: 197
Joined: Sat, 17. Mar 12, 17:40
x3tc

Post by kelmenwong »

apricotslice wrote:...
From memory, they dont go into race shipyards. Each race gets a new shipyard with them in.
do you know where's the new shipyard for terran?
i got no message
kelmenwong
Posts: 197
Joined: Sat, 17. Mar 12, 17:40
x3tc

Post by kelmenwong »

nvm. found them, it's stated in the faq. i found the 2 new shipyards

but problem now is there's nothing to buy there

i tried:
1) removed the following any script file starting “plugin.LI.Dock.xxxx”.
- shipyard not spawned at all
2) restore back those removed scripts, and make the LI_MODv7 as fake patch
- shipyard spawned, but still nothing to buy
feygan
Posts: 147
Joined: Fri, 26. Dec 03, 18:41
x4

Post by feygan »

apricotslice wrote:
feygan wrote:Could be an overlooked error in the return to node settings? I've done it before plenty of times when I have either forgotten to check "supply node" from my prodution module/factory.

Also Sometime I like to keep a certain amount of a product on a production module. This needs the FDN menu for that dock set so that the two settings "maintain stock locally" and "return surplus above" do not conflict.
O.......k........ run that past me again at a slow walk ?

I dont recall saying anything called "supply node" on the factory. Where do I find that ? I thought I had everything turned on that needed it. Maybe not.

Those 2 settings on the dock, where are they and what should they be for keeping nothing on the production station ?
Depending on what is supplying your node you have two methods of setup.

Method 1: You are using a dock type station as a PM. This method requires you to setup both your storage management option from within the PM menu (the actual dock PM menu not PM main option). Also in the FDN menu select your dock so you see the screen with all the wares listed.
Here you click each ware and can setup numbers for how many of each ware to try and keep at all times at this station. (FDN node will constantly supply this dock until the number is reached even if no production is taking place). Also you set the maximum amount of any ware this station is allowed to hold (although this option is not needed is you use PM storage management).
Finally at the top of this screen are two "yes" "no" options one is "enable sell wares" the other is "enable supply node". Obviously you want the supply node option ticked to yes if you wish this dock to return its product to your node for further distribution.

Method 2: You are using just an FDN node and individual factories. Here you go into your main FDN menu then select the sector factory list (easily identified by red and green numbers next to the sector name). This should give you a menu list of all the factories in that sector and one option next to each factory should be "enable FDN". If this is checked to green then your node should supply resources and the factory can then return products.

Finally no ware will ever return to an FDN node unless the node has storage numbers setup for the ware in question. For instance I want my node to supply my solar power plant. I enable FDN in the factory list, and now my node sends both silicon wafers and crystals to the power plant. The plant now happily makes me e-cell but they do not return to the node, why not?

This is because in the FDN menu if you click on the node you get a screen listing all the wares the node is setup to hold. Here again you can setup the max amount, the minimum amount to hold before allowing any exports (handy for ensuring a reserve), also prices to buy and sell at (if buy and sell is enabled. In this example all this screen will currently show is an entry for crystals and one for silicon wafers. To make the power plant return e-cells I need to click "add ware" then select e-cells and setup the storage options. My node will now request e-cells from all factories/PM within it's radius as per the storgae settings.

Longwinded I know, but I had lot's of problems with FDN to start with and all of them stemmed from not setting things up right to begin with. It's absolutley huge in what it does and how much you can do with what seems like a small script.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

feygan wrote:Finally no ware will ever return to an FDN node unless the node has storage numbers setup for the ware in question. ......This is because in the FDN menu if you click on the node you get a screen listing all the wares the node is setup to hold. ......To make the power plant return e-cells I need to click "add ware" then select e-cells and setup the storage options. My node will now request e-cells from all factories/PM within it's radius as per the storgae settings.
That will probably be it. Thanks.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Ok. Tried it. That was it but also wasnt.

The Node didnt have fuel listed, so I added it. But it didnt change anything. The fuel factory is now full, but FDN never checks its product to see if it needs taking away.

I suspect a bug in the code to do with using non-standard factories. One has to wonder if the array being used for returning product even includes the CC factory ?

Odd that it will send resources, but never checks for product.
feygan
Posts: 147
Joined: Fri, 26. Dec 03, 18:41
x4

Post by feygan »

The only other thing I can guess at trying is telling your factory to have a maximum ware count of 0 for the product. I noticed when I linked a shipyard to fdn it wasn't getting supplied until I specified how much of everything I wanted kept at the shipyard in the FDN menu.

I have had success with FDN working with factories I have altered in the cheat menu. For example I spawned a missile fab then altered the resources and products in the cheat menu and FDN worked just fine.

Your other option is use a dock with PM which FDN will recognise?
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

I'm using an XL FDN node.

The only station with a problem is this Crunched CC Space Fuel. And it gets resources ok.

I'll try setting the Fuel to zero stock and see what happens.
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

It was that. The fuel station was set to hold maximum, so it never let any go.

But when I tried to set it to zero, it defaulted to maximum, which is what must have happened when I set it up and I didnt notice.

Set it to 1, and the whole stock promptly vanished (except for 1), and 2 cycles later I had 4.5 mill in my Trade dock and no fuel at all.

So that solved that finally.

But I suggest for LA, that not being able to enter zero is a bug.
feygan
Posts: 147
Joined: Fri, 26. Dec 03, 18:41
x4

Post by feygan »

I've never noticed any problems with usig zero as a figure.I often use it when I am changing the way my trade posts operate as you can only remove a ware from the list if there is zero in stock.

I'm wondering if perhaps it's CC stations that perhaps FDN doesn't like but can't think why?
TMarkos
Posts: 1
Joined: Fri, 13. Apr 12, 00:32

Blank shipyards?

Post by TMarkos »

I tried adding this and PM, but the created shipyards are all blank. The plugin is on, all of the menus come up fine, but I can't find anyplace to actually buy the FDN/PM components.

Running 3.2 from steam, installed with Cycrow's manager, if that helps.

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”