[SCRIPT] Manual Trade Extension v2.3.1 [2010-10-02]
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
-
- Posts: 2255
- Joined: Mon, 31. Oct 05, 08:44
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Y'know, hadn't considered stockpiling satellites as one of the 'implicit modes of operation', might have to add that.ThomasAH wrote:Thanks for this script, I think this is exactly what I was looking for.
I do not have any stations yet, but I'd like to buy many adv. satellites so I
can to deploy a good network. With this script I can send some M3s on trade
runs and let them deliver the satellites to their homebase M1 or TL.
*Ad alert*
Oh, and of course there is always Deploy Satellite Network replacement, which will 'best buy' satellites, and use/refuel jumpdrive to deploy satellites in the known universe.
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
Tested it last night, it works ok, but there is room for improvement: I used an M3 (Mamba Raider) with "use homebase" enabled to fetch satellites, currently it jumps to a sector with a station selling them, docks, buys, undocks, jumps home, delivers sats.ThisIsHarsh wrote:Y'know, hadn't considered stockpiling satellites as one of the 'implicit modes of operation', might have to add that.ThomasAH wrote:I do not have any stations yet, but I'd like to buy many adv. satellites so I can to deploy a good network. With this script I can send some M3s on trade runs and let them deliver the satellites to their homebase M1 or TL.
Fine until now, but now it goes shopping for ecells, despite the homebase TL having plenty of ecells and supply software installed.
After this the loop restarts.
Another improvement could be to try to fill more of the cargo space before jumping home by visiting other selling stations.
Currently I'm using MARS for semi automatic deployment, but I already noticed and downloaded (though not yet installed) your script as something which may be very useful :)ThisIsHarsh wrote: *Ad alert*
Oh, and of course there is always Deploy Satellite Network replacement, which will 'best buy' satellites, and use/refuel jumpdrive to deploy satellites in the known universe.
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Yeah that'll work fine.ThomasAH wrote:Maybe I'll just turn off "Use homebase" for now and from time to time manuallyThisIsHarsh wrote:Doing multiple runs before dumping at homebase is a good idea, though less useful in some cases - I'll have to add that as an option.
instruct the ship to deliver the sats. Should this work?
I've added an option to 'refuel at homebase', and added the options to 'buy until full' and 'sell until empty'. Still testing, but I've ironed out most bugs now, be ready in next day or two.
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Update v2.1
Added option to refuel from homebase, rather than at docks.
Added "Task" option giving three possible modes - "Buy only", "Sell only" and "Buy + Sell". This is useful for temporarily stopping your freighter from buying/selling, without needing to erase the ware list.
Added option to "Buy until full". This means the freighter will continuously buy wares from the "Buy" list until it is 4/5 full, or it cannot find any valid deals. At which point it dumps the wares at the homebase (if enabled) and switches to selling (if there is anything in the "Sell" list).
Added option "Sell until empty". This means the freighter will continuously sell wares from the "Sell" list until there are no more onboard, or it cannot find any valid deals. At which point it dumps any remaining wares at its homebase (if enabled) and switches to buying (if there is anything in the "Buy" list).
Check OP for updated screenshot of menu.
Added option to refuel from homebase, rather than at docks.
Added "Task" option giving three possible modes - "Buy only", "Sell only" and "Buy + Sell". This is useful for temporarily stopping your freighter from buying/selling, without needing to erase the ware list.
Added option to "Buy until full". This means the freighter will continuously buy wares from the "Buy" list until it is 4/5 full, or it cannot find any valid deals. At which point it dumps the wares at the homebase (if enabled) and switches to selling (if there is anything in the "Sell" list).
Added option "Sell until empty". This means the freighter will continuously sell wares from the "Sell" list until there are no more onboard, or it cannot find any valid deals. At which point it dumps any remaining wares at its homebase (if enabled) and switches to buying (if there is anything in the "Buy" list).
Check OP for updated screenshot of menu.
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
NIce changes, thanks :)ThisIsHarsh wrote:Update v2.1
Meanwhile my known universe no longer contains any noteworthy amounts of advanced satellites, hammer heavy torpedoes and flail barrage missles :)
... and no IBLs, but that's because I haven't discovered Yaki space yet and the pirate sector only has one IBL factory. Is there some script to notify me when it has another IBL on sale?
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
Hi!
I get an error when extracting plugin.mtx.buy.xml of the 2.1 version.
I'm not using the plugin manager, but the SPK explorer, but I never had problems with that.
All other files can be extracted fine, and in older versions of your script above file could be extracted, too.
Do you (or anyone else) get the same problem using the plugin manager?
Can you make the plugin (or just the file) available as .zip?
I get an error when extracting plugin.mtx.buy.xml of the 2.1 version.
I'm not using the plugin manager, but the SPK explorer, but I never had problems with that.
All other files can be extracted fine, and in older versions of your script above file could be extracted, too.
Do you (or anyone else) get the same problem using the plugin manager?
Can you make the plugin (or just the file) available as .zip?
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
That's wierd, confirmed the problem, yet I could open the file in notepad and the SE fine. Anyway, re-saved the file and replaced it in the package, that's sorted it. Redownload, should be fine now.ThomasAH wrote:Hi!
I get an error when extracting plugin.mtx.buy.xml of the 2.1 version.
I'm not using the plugin manager, but the SPK explorer, but I never had problems with that.
All other files can be extracted fine, and in older versions of your script above file could be extracted, too.
Do you (or anyone else) get the same problem using the plugin manager?
Can you make the plugin (or just the file) available as .zip?
If anyone experiences problems (particularly with wierd buying behaviour), redownload - possible corrupt script file.
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
I use 'Universal Best buys/sells'. Doesn't notify you, but does tell you if any are available and at what price and amount (provided you have property in the sector). Probably not what you were asking though.ThomasAH wrote:NIce changes, thanksThisIsHarsh wrote:Update v2.1
Meanwhile my known universe no longer contains any noteworthy amounts of advanced satellites, hammer heavy torpedoes and flail barrage missles
... and no IBLs, but that's because I haven't discovered Yaki space yet and the pirate sector only has one IBL factory. Is there some script to notify me when it has another IBL on sale?
You could dock a ship at that pirate base, using this plugin to continuously buy for 'any price', then as soon as they come in stock it will pick it up.
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
I use Universal Best Buys, too, but I'll try your suggestion to dock and use the by-for-any-price-loop, at least with the IBLs.ThisIsHarsh wrote:
I use 'Universal Best buys/sells'. Doesn't notify you, but does tell you if any are available and at what price and amount (provided you have property in the sector). Probably not what you were asking though.
You could dock a ship at that pirate base, using this plugin to continuously buy for 'any price', then as soon as they come in stock it will pick it up.
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
In the new download I can't extract plugin.mtx.buysellloop.xml, but as it was fine with the first download of 2.1, I now have the upgraded version of both files :)ThisIsHarsh wrote:That's wierd, confirmed the problem, yet I could open the file in notepad and the SE fine. Anyway, re-saved the file and replaced it in the package, that's sorted it. Redownload, should be fine now.ThomasAH wrote:I get an error when extracting plugin.mtx.buy.xml of the 2.1 version.
(I verified that all other files are identical)
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Grrr. Must be a problem with the way Exscriptor saves files. I'll have to bear this in mind for the future. Cheers for pointing it out.ThomasAH wrote:In the new download I can't extract plugin.mtx.buysellloop.xml, but as it was fine with the first download of 2.1, I now have the upgraded version of both filesThisIsHarsh wrote:That's wierd, confirmed the problem, yet I could open the file in notepad and the SE fine. Anyway, re-saved the file and replaced it in the package, that's sorted it. Redownload, should be fine now.ThomasAH wrote:I get an error when extracting plugin.mtx.buy.xml of the 2.1 version.
(I verified that all other files are identical)
I've gone through each file, opening and re-saving with the in-game script editor, added to package and re-uploaded.
No need for anyone to redownload unless they are having problems.
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
-
- Posts: 147
- Joined: Wed, 3. Sep 08, 10:46
I just wanted to confirm that this works. My Falcon Hauler waiting at the IBL forge just automatically bought one.ThisIsHarsh wrote:You could dock a ship at that pirate base, using this plugin to continuously buy for 'any price', then as soon as they come in stock it will pick it up.ThomasAH wrote: ... and no IBLs, but that's because I haven't discovered Yaki space yet and the pirate sector only has one IBL factory. Is there some script to notify me when it has another IBL on sale?
-
- Posts: 102
- Joined: Wed, 6. May 09, 06:31
Isnt this script basically the exact same thing as Trade Software MK3 (universal trader) ? Except of course it seems like you have more control here and customizability. How does this differ besides that though? If it is the same, then that means you just eliminated the need to purchase MK3 to have your ship be a universal trader. now you can do it at the start for pretty cheap, right?