EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[Script] Freight Logistics Software
Post new topic Reply to topic Goto page 1, 2, 3  Next
View previous topic :: View next topic
Author Message
Jimmy Jazz





Joined: 04 Jun 2003
Posts: 738 on topic
Location: Berlin
Thank you for registering your game
modified
PostPosted: Fri, 11. Nov 05, 13:33    Post subject: [Script] Freight Logistics Software Reply with quote Print

Important: This script works without any known issues. Unfortunately I never found the time to develop the script further, especially the command signals were asked for by many people.

But do not despair, Klaatu has improved the script and added better funcionality. You will find it at:

http://forum.egosoft.com/viewtopic.php?t=124953

Many thanks to Klaatu

----------------------

Freight Logistics Software

By Jazz Industries

Trade Software for the Industrial Moguls

Access through the ships Trade menu, TradeSoft MKII required

Adds two new commands to the ships trade menu:

NEW: One Way Delivery: Delivers a ware from one of your stations to another and returns empty. This it will do forever and ever and ever….

Two Way Delivery: Delivers a ware from one of your stations to another and returns with a second ware. This it will do forever and ever and ever….

Why do I need this?
Imagine you have an industrial complex that needs silicon and a silicon mine that needs energy. With FLS you can assign a freighter to deliver energy from your complex to the mine and return with the silicon. No money is involved. This way you can give the mine zero credits and it will work nevertheless. Industrial complexes can now become truly self sufficient even without being connected to a mine.
The software does not discriminate between products and resources. This means you can load energy cells from a complex although it uses it as a resource.

When does it stop working?:
If the hull of your ship drops below 80% or if one of the stations is destroyed it will fly to the nearest shipyard and send you a message.

How to install:
Just extract the archive into the main game folder. The next time you start the game, you should see the commands in the trade menu


Download at:
http://plutonium.schattenseite.de/fls.zip

Resources used:
Text ID: 44-8216
Command_Type_Trade_48
Command_Type_Trade_48

Suggestions, comments?


_________________
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"


Last edited by Jimmy Jazz on Wed, 1. Feb 06, 13:50; edited 3 times in total
Back to top
View user's profile Send private message
Simon029





Joined: 14 Jul 2004
Posts: 65 on topic

Thank you for registering your game
PostPosted: Fri, 11. Nov 05, 14:48    Post subject: Reply with quote Print

nice idea.

good work. Smile

the game is getting better and better with all those scripts.


_________________
grep -ir [\f]uck /usr/src/linux
Back to top
View user's profile Send private message
Sandalpocalypse





Joined: 02 Dec 2003
Posts: 3547 on topic

Thank you for registering your game
PostPosted: Fri, 11. Nov 05, 20:03    Post subject: Reply with quote Print

Nifty.

Back to top
View user's profile Send private message
bendyspex





Joined: 13 Apr 2004
Posts: 708 on topic

Thank you for registering your game
PostPosted: Fri, 11. Nov 05, 22:26    Post subject: Reply with quote Print

Jimmy Jazz, I am currently trying to make a script that will collect e-cells from my complex and sell them. I think some slugs have better scripting abilities than me, but this shows me that I can make a script that will make a freighter collect resources. Maybe you could adapt that script, or show me how you did it. All I want the script to do is have one freighter collect e-cells and sell them, then just repeat that.
Anything you can do is appreciated, thanks.

Back to top
View user's profile Send private message
Jimmy Jazz





Joined: 04 Jun 2003
Posts: 738 on topic
Location: Berlin
Thank you for registering your game
PostPosted: Sat, 12. Nov 05, 17:41    Post subject: Reply with quote Print

I am currently pretty busy, barely find the time for scripting Crying or Very sad

If you want to pick up e-cells from your complex you need the right argument in your script. Argument station/product lets you chose a product only, station/resource lets you pick e-cells from your complex (or any other resource). The most useful argument in your case imo is station/ware since it lets you chose resources and products. Thus you can sell resources from your complex.

For the selling for best price part, why don't you try to find a similar script and adapt to your needs or try to learn from them Wink

If you want the script to run forever, you have to loop it with the "while" command, don't forget to implement an interupt for the loop, or it will truly run forever

Hope this helped


_________________
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"
Back to top
View user's profile Send private message
Mopy





Joined: 02 Aug 2005
Posts: 940 on topic
Location: Bedford, UK
Thank you for registering your game
PostPosted: Sat, 12. Nov 05, 20:16    Post subject: Reply with quote Print

Yay!

Nice one. Do you have to transport goods both ways, or can it function like CLS in X2, where you can do this with just one product, one way, repetitavely? Either way, off to give it a shot Wink

Cheers,
Mopy


_________________
Sig
Back to top
View user's profile Send private message
Jimmy Jazz





Joined: 04 Jun 2003
Posts: 738 on topic
Location: Berlin
Thank you for registering your game
PostPosted: Mon, 14. Nov 05, 13:13    Post subject: Reply with quote Print

It works both ways only. Maybe I will adapt it in the near future. should be easy. Just don't have much time right now.


_________________
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"
Back to top
View user's profile Send private message
DeltaWolf





Joined: 06 Jul 2004
Posts: 594 on topic

Thank you for registering your game
PostPosted: Tue, 15. Nov 05, 12:34    Post subject: Reply with quote Print

I was planning to write a script to do the same thing - I had one for X2, but thanks to you - it saves me the hassle Very Happy


_________________
Click image below for link to F.A.C.T.S.

Back to top
View user's profile Send private message
Jimmy Jazz





Joined: 04 Jun 2003
Posts: 738 on topic
Location: Berlin
Thank you for registering your game
PostPosted: Thu, 17. Nov 05, 15:41    Post subject: Reply with quote Print

I am now working on expanding the script...

Wrote a one way version of the delivery and working on a sell resource script

available for download soon
stay tuned Wink


_________________
Pinky : "Gee, Brain what do you want to do tonight?"
Brain : "The same thing we do every night Pinky. Try to take over the world!"
Back to top
View user's profile Send private message
bendyspex





Joined: 13 Apr 2004
Posts: 708 on topic

Thank you for registering your game
PostPosted: Thu, 17. Nov 05, 18:24    Post subject: Reply with quote Print

Thanks. great script. Im using it to get silicon to my complexand to take energy back, and it works fine. Il wait until you release a new version, since you seem to know waht you are doing.

Back to top
View user's profile Send private message
Eventure





Joined: 05 Nov 2005
Posts: 2 on topic

Thank you for registering your game
PostPosted: Fri, 25. Nov 05, 20:26    Post subject: Reply with quote Print

Nice script, works pretty good!

But how about to upgrade the FLS script that the transport can use his jumpdrive for stations far away?

He can get the required energy from the stations pool he visits. Only as much he need for one transfer, jumps to destination, unloading the goods, gets new energy he needs for jumping back and so on.

Helps alot when your complexes or stations are around the universe and you have to support it with goods, that other complexes or stations far away produces.

At the moment i must do that frequently by using manual commands. Not really fun! Sad

Back to top
View user's profile Send private message
Baleur





Joined: 28 Oct 2005
Posts: 506 on topic
Location: South Sweden
Thank you for registering your game
PostPosted: Sat, 26. Nov 05, 06:40    Post subject: Reply with quote Print

Please please please release the one-way version now, i need it ^^


_________________
CPU: Intel Core 2 Duo E6600 RAM: 4gb Kingmax DDR2 800mhz Video: Gainward GeForce 8800GTS 640mb Sound: SB X-Fi Platinum.
Back to top
View user's profile Send private message
Mopy





Joined: 02 Aug 2005
Posts: 940 on topic
Location: Bedford, UK
Thank you for registering your game
PostPosted: Sat, 26. Nov 05, 11:04    Post subject: Reply with quote Print

Looking forward to it Smile

Cheers,
Mopy


_________________
Sig
Back to top
View user's profile Send private message
reddragon133





Joined: 20 Nov 2005
Posts: 12 on topic

Thank you for registering your game
PostPosted: Sat, 26. Nov 05, 12:05    Post subject: Reply with quote Print

oh yes, exactly what I DO need!! a one way script. pls, pls release it. even without the trade option. just a one way delievery.

by the way, I try to run your two way script, my editor is enabled, script loaded, but when I give the command to my trasnporter nothing happens and he send me an email without any message. what do I wrong?

thy a lot for your work.

Back to top
View user's profile Send private message
RaGodofTehSun





Joined: 23 Dec 2004
Posts: 417 on topic

Thank you for registering your game
PostPosted: Sat, 26. Nov 05, 12:36    Post subject: Reply with quote Print

this script is GREAT thank you i use it alot to form SPP loops...and as for the problem i have never encountered it before...maybe your docking paths are blocked?

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Fri, 24. May 13, 23:03

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.49604 seconds, sql queries = 74