 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
ThisIsHarsh
Joined: 19 Oct 2008 Posts: 710 on topic

 |
Posted: Tue, 18. Nov 08, 18:01 Post subject: [SCRIPT] Manual Trade Extension v2.1.1 [2009-08-06] |
|
|
Manual Trade Extension
Adds a new command to the Trade menu: [Best buy/sell loop].
This plugin allows you to order a ship to 'best buy' from a list of wares and 'best sell' from another list of wares. Optionally, the ship can buy for/sell from a homebase ship.
This gives four implicit modes of operation:
- Independent trader - best buying/selling the same set of wares over and over.
- Easily selling off scavenged wares.
- Network of traders using a larger 'hub' ship as a storage depot.
- Traders continuously buying wares to keep (e.g. weapons, ammo, etc), possibly dumping them at a larger ship
The traders can be configured to limit buying/selling individual wares by price, relative to the average price for that ware.
Jumpdrive will be used/refueled based on the ship's autojump and refuel settings.
This plugin is available in spk format:
NOTES
* Requires: Trading System Extension; Trade Command Software MK1; Best Buys Locator, Best Selling Price Locator; Transporter Device (optional - for using homebase ship as depot).
* Wares using the most volume in the cargo bay are generally given the highest priority for selling. Wares using the least volume are given the highest priority for buying.
* When buying/selling, if there are no valid deals the freighter will switch to selling/buying if possible, rather than sit and wait.
* Option [Buy until full] will continuously buy wares until the freighter's cargo bay is 4/5 full, or the freighter cannot find any more valid deals. The option only applies to the freighter, not the homebase depot ship (if one is used).
* Option [Sell until empty] will continuously sell wares until they are all sold, or the freighter cannot find any more valid deals. Again, the option only applies to the freighter, not the homebase depot ship (if one is used).
Changelog
v2.1.1:
- Fixed: workaround for issue with stock !lib.get.bestbuy/sell exclusion sectors.
v2.1:
- Added: 'buy until full' and 'sell until empty' options.
- Added: 'refuel from homebase' option.
- Added: tasks (buy only, sell only, buy + sell).
v2.0.1:
- Fixed: minor issue - added handling of null station return from lib.best scripts.
v2.0:
- Complete revamp, initial release.
v1.0:
- Initial release.
Last edited by ThisIsHarsh on Thu, 6. Aug 09, 21:12; edited 12 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
999-JAY-999
Joined: 07 Apr 2003 Posts: 610 on topic Location: UK

|
Posted: Tue, 18. Nov 08, 22:14 Post subject: |
|
|
Hot off the press comes another fab script !
_________________ System Spec :-
AMD Athlon(tm) 64 Duel 6000+ (3.01GHz)
Windows XP Home Ed. SP 3
ATI Radeon HD 4850 (512)
Creative X-FI Soundard
2.00 GB of RAM
G9 RAZOR Mouse |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
corhen

Joined: 16 Oct 2008 Posts: 260 on topic Location: Angle 225.06, Distance: 7,295.43

|
Posted: Tue, 18. Nov 08, 22:59 Post subject: |
|
|
sounds great, look forward to trying it out
Keep up the good work
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
juanitierno

Joined: 28 Dec 2007
|
Posted: Wed, 19. Nov 08, 02:44 Post subject: |
|
|
whats the difference with the "manual trade run" command (i think supply software gives it) with the "repeat forever" option?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
ThisIsHarsh
Joined: 19 Oct 2008 Posts: 710 on topic

|
Posted: Wed, 19. Nov 08, 03:19 Post subject: |
|
|
| juanitierno wrote: |
| whats the difference with the "manual trade run" command (i think supply software gives it) with the "repeat forever" option? |
Manual trade run continuously buys and sells at the same two stations over and over. It also doesn't automatically refuel ecells.
This script searches for the station with the best price to buy/sell at in all sectors where you have property (e.g. satellite network). It also automatically refuels ecells as necessary.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
PaulP
Joined: 18 Nov 2008 Posts: 181 on topic

|
Posted: Sat, 22. Nov 08, 19:06 Post subject: |
|
|
Why does this have two t files? 7103-L044.xml and 7103.xml, both are english and exactly the same inside.
Should I delete one of them?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
ThisIsHarsh
Joined: 19 Oct 2008 Posts: 710 on topic

|
Posted: Sat, 22. Nov 08, 19:28 Post subject: |
|
|
| PaulP wrote: |
Why does this have two t files? 7103-L044.xml and 7103.xml, both are english and exactly the same inside.
Should I delete one of them? |
7103.xml is packaged. The plugin manager automatically copies+renames it, asssumedly to whatever language you are using (english being L044). It is safe to delete one of them, but not necessary.
All future versions of my scripts I'll package with the -L044 there straight away, so perhaps best to delete the 7103.xml, but it really doesn't matter which you delete or if you don't delete at all.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
PaulP
Joined: 18 Nov 2008 Posts: 181 on topic

|
Posted: Tue, 2. Dec 08, 05:22 Post subject: |
|
|
Haha, just playing around with it I made it so that this script used my Gateless Jumpdrive.
Talk about overpowered... the combination of the two scripts is just ridiculous. The ship jumps directly to a station, docks within about 20 seconds, jumps to the next station, docks within about 20 seconds. Even with the minor delays in buying and such the trader is probably doing a complete buy/sell every minute.
I was thinking about making a modification of the move scripts to make ships use the GJD when their auto jump was on and minimum jumps was set to 0, but after seeing this I'm thinking it would be too unbalancing.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
ThisIsHarsh
Joined: 19 Oct 2008 Posts: 710 on topic

|
Posted: Tue, 2. Dec 08, 05:44 Post subject: |
|
|
Yeah I try to avoid scripts which modify the game mechanics to such a degree in general, not least for the reason you just mentioned. If you were to make such a change, you would have to balance it in other ways.
Already a lot of my freighters are on standby most of the time because they have milked the profits to be had for the given ware dry.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
rascalcmos
Joined: 12 Jan 2004
|
Posted: Fri, 9. Jan 09, 20:00 Post subject: WANTED: Repeat "Remote Best Buy"/"Remote Best Sell" Script |
|
|
EDIT: found it here:
http://forum.egosoft.com/viewtopic.php?t=224405&highlight=repeat
Hi,
I know this script exists (I remeber seeing it) - it basically consists in being able to repeat the "Remote Best Buy"/"Remote Best Sell" for a given product...
Problem is: I can no longer find it (tried the search without success).
The "Queue Command" script would be fine - but it doesn't seem to work yet with the 1.4 version I am using?
Thanks for pointing me to that script.
Rascal
{You did find, so I did merge. jlehtone}
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Crapgame
Joined: 03 Jan 2009
|
Posted: Mon, 26. Jan 09, 17:13 Post subject: Re: [SCRIPT] Manual Trade Extension: Best buy/sell loop v1.0 [2008-11-18] |
|
|
| ThisIsHarsh wrote: |
The ship will only buy at less than the ware's default price and only sell at equal to or greater than the default price. |
I'm missing something here.
Where do I set this "default price"?
I have a properly equipped freighter.
I select best/sell loop from his trade window. It asks me to select a sector which I do. It asks me to select a station which I do.
Then it asks me to select a ware and it lists both the product and the required resources for that station. Lets use a Solar Plant for example. It will ask me to select E-Cells or Crystals.
If I select e-cells it just goes on it's way. Where exactly, I'm not sure.
Where do I select this "default price"?
How far away will it go to sell this load?
What if there is another solar plant in the same sector that offers a lower price, will he start going there?
If I select crystals, I assume he'll go buy crystals at the best price and bring them back here. How far will he go for that?
When he buys ecells for jump fuel, how much will he buy?
Does this not work if your have the Trade Command MK3 software installed? I tried to set one of my STs to do this and the command doesn't show.
Is there a limit to how far he'll go? I set one to buy Teladianium and he's just idling. Granted, there is no Teladianium in that sector to buy, but I assumed he'd go find some.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Crapgame
Joined: 03 Jan 2009
|
Posted: Thu, 29. Jan 09, 00:10 Post subject: |
|
|
Anyone using this script know?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
apricotslice
Joined: 16 May 2004 Posts: 10887 on topic Location: Mapping beyond the Unknown Regions.

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Crapgame
Joined: 03 Jan 2009
|
Posted: Thu, 29. Jan 09, 14:09 Post subject: |
|
|
So I have to OWN the factory?
I didn't get that from the original explanation.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
apricotslice
Joined: 16 May 2004 Posts: 10887 on topic Location: Mapping beyond the Unknown Regions.

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|