|
|
 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
arcana75

Joined: 02 Dec 2003 Posts: 2154 on topic

 |
Posted: Sat, 6. Jun 09, 09:54 Post subject: [SCR] Collect Wares MK2 (4th June 2010) |
|
|
Simple mod of the Collect Wares ... command to make ur ships dock at either homebase or the nearest station when either there are no wares left or the ship's hold is full. This works great especially hostile sectors: park ur TM in a neighbouring sector and send ur ships to collect.
It overrides the default Collect Wares ... command but if the ship is already running the command then just set it to NONE and/or re-run it.
As the new commands make use of some vanilla script behaviour, in the event the collecting ship decides to return to homebase and homebase is not in-sector and the collecting ship has enough e-cells, a jumpdrive and the Autojump setting configured, in all likelihood it'll jump to where the homebase is.
v2701 SPK
v2701 ZIP
Versions
v2701 - 4th June 2010 - Updated for 2.7.
v201 - 6th June 2009 - SPK release.
_________________ Nanite Hull Repair, Resource-Free Factory, Collect Wares Mk 2, Remove Products from Docks, Hack Station
Last edited by arcana75 on Sat, 5. Jun 10, 01:45; edited 4 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
LV Moderator


Joined: 06 Nov 2002 Posts: 5548 on topic Location: The Dark Side

|
Posted: Sat, 6. Jun 09, 10:24 Post subject: |
|
|
I'd written something similar myself and was about to upload it
Does your script terminate when they dock as the one i was tweaking drops off wares at station/ship (homebase) and then starts collecting again, it also jumps the ship forward and backwards if the sectors are different, I'm only asking as if they do pretty much the same you'll save me packing it and uploading it when i get round to it as there's no point re-inventing the wheel and i don't want to urinate on your bonfire.
The main reason i'd done this is the stock collect wares script waits too long between pickups so i re-wrote the collection/pickup part and i was playing with the idea of beaming in <3k if it had my freight transporter upgrade installed to stop ships IS going round in circles.
_________________ Simple and Free Script Hosting
LV's TC Scripts
You Post, Therefore I Am |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
arcana75

Joined: 02 Dec 2003 Posts: 2154 on topic

|
Posted: Sat, 6. Jun 09, 10:40 Post subject: |
|
|
| LV wrote: |
I'd written something similar myself and was about to upload it
Does your script terminate when they dock as the one i was tweaking drops off wares at station/ship (homebase) and then starts collecting again, it also jumps the ship forward and backwards if the sectors are different, I'm only asking as if they do pretty much the same you'll save me packing it and uploading it when i get round to it as there's no point re-inventing the wheel and i don't want to urinate on your bonfire.
The main reason i'd done this is the stock collect wares script waits too long between pickups so i re-wrote the collection/pickup part and i was playing with the idea of beaming in <3k if it had my freight transporter upgrade installed to stop ships IS going round in circles. |
Hi LV as usual ur script is a super-powerup of the default script!
Mine's a mere lipstick application
So no, my version only does the default collection then docks at homebase or nearest station when either full or no wares to collect and then return to none status. In fact if u look at the script I only added 4 lines of code to the original (and a few breaks).
I got tired of losing ships in pirate sectors after they idled too long collecting wares so just patched it as necessary. It works perfectly for my TM with 4 collectors: jump in, launch, collect, dock, jump out.
_________________ Nanite Hull Repair, Resource-Free Factory, Collect Wares Mk 2, Remove Products from Docks, Hack Station |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
LV Moderator


Joined: 06 Nov 2002 Posts: 5548 on topic Location: The Dark Side

|
Posted: Sat, 6. Jun 09, 12:17 Post subject: |
|
|
there's no need to
as you say mines been imperialised and written primarily for myself, it may well be that the normal user prefers your method to crack the nut instead of the imperial sledgehammer I tend to use 
_________________ Simple and Free Script Hosting
LV's TC Scripts
You Post, Therefore I Am |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
SLeeZeCoRe

Joined: 10 Sep 2004 Posts: 538 on topic Location: Ex-Thurrock, now Clacton, UK

|
Posted: Sat, 6. Jun 09, 18:31 Post subject: |
|
|
I'll try this out tonight 
_________________
 |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
vizerei
Joined: 21 Feb 2006 Posts: 18 on topic

|
Posted: Sun, 26. Jul 09, 07:07 Post subject: |
|
|
| LV wrote: |
there's no need to
as you say mines been imperialised and written primarily for myself, it may well be that the normal user prefers your method to crack the nut instead of the imperial sledgehammer I tend to use  |
I want your script LV, I have been looking for a script to do something like that and yours is close enough!
What I'm REALLY looking for is a script that let's me send any ship out after I select a ware and and amount and he will scour the universe looking for it (mainly for low stock and hard to find items), buy it, and return to either where he started or home base.
So my question is, is there already a script to do that or is your script the closest?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
ThisIsHarsh
Joined: 19 Oct 2008 Posts: 710 on topic

|
Posted: Sun, 26. Jul 09, 07:28 Post subject: |
|
|
| vizerei wrote: |
| LV wrote: |
there's no need to
as you say mines been imperialised and written primarily for myself, it may well be that the normal user prefers your method to crack the nut instead of the imperial sledgehammer I tend to use  |
I want your script LV, I have been looking for a script to do something like that and yours is close enough!
What I'm REALLY looking for is a script that let's me send any ship out after I select a ware and and amount and he will scour the universe looking for it (mainly for low stock and hard to find items), buy it, and return to either where he started or home base.
So my question is, is there already a script to do that or is your script the closest? |
Manual Trade Extension lets you define a list of wares to buy and select from 'any price', 'less than average' or 'less than equal average', will continuously buy the ware wherever it is found and optionally dump at it's homebase.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
vizerei
Joined: 21 Feb 2006 Posts: 18 on topic

|
Posted: Wed, 29. Jul 09, 03:47 Post subject: |
|
|
| ThisIsHarsh wrote: |
| vizerei wrote: |
| LV wrote: |
there's no need to
as you say mines been imperialised and written primarily for myself, it may well be that the normal user prefers your method to crack the nut instead of the imperial sledgehammer I tend to use  |
I want your script LV, I have been looking for a script to do something like that and yours is close enough!
What I'm REALLY looking for is a script that let's me send any ship out after I select a ware and and amount and he will scour the universe looking for it (mainly for low stock and hard to find items), buy it, and return to either where he started or home base.
So my question is, is there already a script to do that or is your script the closest? |
Manual Trade Extension lets you define a list of wares to buy and select from 'any price', 'less than average' or 'less than equal average', will continuously buy the ware wherever it is found and optionally dump at it's homebase. |
Oh sweet, thanks!
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
cwc
Joined: 03 Jan 2006 Posts: 8 on topic

|
Posted: Tue, 4. May 10, 02:53 Post subject: |
|
|
Just wanted to say that I really like this script, but my ships don't seem to be jumping to get back to their home station. I have JD, e-cells, autojump turned on, etc., and the ships definitely jump if I manually tell them to return home, just not when done collecting.
Still a huge improvement over vanilla collection script though, thanks for sharing. 
_________________ CWC
"I aim to misbehave." |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
arcana75

Joined: 02 Dec 2003 Posts: 2154 on topic

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|
 |
|
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
|
 |
|
|
|
|
|