[SCRIPT] Manual Trade Extension v2.3.1 [2010-10-02]
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
One question: I've installed the script by unpacking the zip in my folders. Now I want to uninstall them. Is it ok to stop the commands on all ships, save, quit, delte the script and start again?
(I have to uninstall all last new scripts because my game freezes at a specific time of the game and now have to search for the failur )
Another thing I've noticed: I've 2 ships for buying weapons, rockets and shields. There are enough in stock and I've satellites in all sectors. But my traders with your commands on it (buy ware x,y,z for any price is only buying one ware of the list ... When I have enough for this ware I delte it and in this case the ship buys another (one) ware of the list all the time.As long I delete this one too.
(I have to uninstall all last new scripts because my game freezes at a specific time of the game and now have to search for the failur )
Another thing I've noticed: I've 2 ships for buying weapons, rockets and shields. There are enough in stock and I've satellites in all sectors. But my traders with your commands on it (buy ware x,y,z for any price is only buying one ware of the list ... When I have enough for this ware I delte it and in this case the ship buys another (one) ware of the list all the time.As long I delete this one too.
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Yeah, the procedure you mention will work. But, out of interest, why not use Cyrow's package manager to install/uninstall scripts?Reisser wrote:One question: I've installed the script by unpacking the zip in my folders. Now I want to uninstall them. Is it ok to stop the commands on all ships, save, quit, delte the script and start again?
I'm not entirely clear what you mean. But I think maybe you want to set 'buy until full' enabled, which will go through the entire list buying, before switching to selling behaviour. It could also be that you just have to wait a while as it searches for the best station to purchase the next ware in the list from. Also, it could be that the freighter is full (I think 4/5 cargo space filled is classed as 'full', to leave room for ecells).Reisser wrote:Another thing I've noticed: I've 2 ships for buying weapons, rockets and shields. There are enough in stock and I've satellites in all sectors. But my traders with your commands on it (buy ware x,y,z for any price is only buying one ware of the list ... When I have enough for this ware I delte it and in this case the ship buys another (one) ware of the list all the time.As long I delete this one too.
I've just about finished a rather major update to this plugin, which allows you to select preferred sources for wares (which can be player owned ship or station), as well as maximum amounts to store at the homebase ship. So you can effectively use MTX as a resupply ship, or a trader, or even both at the same time...
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.
Black holes are where God divided by zero.
Black holes are where God divided by zero.
Ah yes - selecting an amount of wares is exactly what I need! (after sitting on about 100 weapons of one type - hehe)
And I use "buy until full" together with a ware-list (e.g. shields, weapons, rockets). I don't sell with your command - I only use it to buy fitting for my ships and "special tasks"). Perhapts "buy until full" is the wrong choice?
The cargo isn't full ... I've 1000 tons cargo and buy only things as shown above. Quite difficult to geht enough 25MW-shields and firestorm-torpedos to make it full
Ok, I wait for your update - sounds very good!
And I use "buy until full" together with a ware-list (e.g. shields, weapons, rockets). I don't sell with your command - I only use it to buy fitting for my ships and "special tasks"). Perhapts "buy until full" is the wrong choice?
The cargo isn't full ... I've 1000 tons cargo and buy only things as shown above. Quite difficult to geht enough 25MW-shields and firestorm-torpedos to make it full
Ok, I wait for your update - sounds very good!
-
- Posts: 79
- Joined: Mon, 12. Oct 09, 18:26
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Grrr. Annoying this is still happening. You just need to rename from MAN to SPK and it'll work fine.
For some reason when some people download one of my packages from the server the file is renamed to a .man... No idea why. I've PM'd Maeyenie, who graciously hosts my scripts for me, just waiting for a reply.
For some reason when some people download one of my packages from the server the file is renamed to a .man... No idea why. I've PM'd Maeyenie, who graciously hosts my scripts for me, just waiting for a reply.
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.
Black holes are where God divided by zero.
Black holes are where God divided by zero.
-
- Posts: 79
- Joined: Mon, 12. Oct 09, 18:26
ThisIsHarsh wrote:Grrr. Annoying this is still happening. You just need to rename from MAN to SPK and it'll work fine.
For some reason when some people download one of my packages from the server the file is renamed to a .man... No idea why. I've PM'd Maeyenie, who graciously hosts my scripts for me, just waiting for a reply.
Ahhh.. roger that. I had seen that it was supposed to be an SPK file. The ending format is .SPK.MAN I'll just erase the .MAN from it and give it a try.
Many thanks for letting me know.
LH
I try to play the game with as few scripts installed as poss. Those I do install have to have a damned good reason to be there. I only use 1 mod which I've used since X2 days.
This little gem of a collection imo should have been standard ego commands years ago.
Thanks for making my weekends dissapear with less hassle
This little gem of a collection imo should have been standard ego commands years ago.
Thanks for making my weekends dissapear with less hassle
Still life in the old dog yet...
i just tested this script and i have some problem.
i send 1 TP only to the sector with all equipments
and start script
TP stay in dock and do nothing
when my ship come to this sector TP starting
if my ship go to another sectror and TP stay 1
it dock to last target station and do nothing
and it cant see good price in sector (if docking and 1 in sector) and try to travel to another sector
(in dock TP buy for 34 cr and go to other sector (jump=2) for 72 cr, but in this sector (jump=0) 78 cr)
may be it go blind to own sector when docking if no other ships in it?
sorry for english
i send 1 TP only to the sector with all equipments
and start script
TP stay in dock and do nothing
when my ship come to this sector TP starting
if my ship go to another sectror and TP stay 1
it dock to last target station and do nothing
and it cant see good price in sector (if docking and 1 in sector) and try to travel to another sector
(in dock TP buy for 34 cr and go to other sector (jump=2) for 72 cr, but in this sector (jump=0) 78 cr)
may be it go blind to own sector when docking if no other ships in it?
sorry for english
There is basically zero documentation on how to use the supply a TL or Station feature. This may seem self explanatory, but I have been using this script for 3 weeks and I still can't get the traders to dump off at a homebase ship. Currently I have 3 Falcon Haulers who are loaded up in a dock/undock loop at a Mammoth TL. They won't unload anything.
Do you set to buy only? Buy and Sell? Do you need to have the wares you wish deposited at the home base in the sell list? How do you get TM's and TP's and TS's to unload at a TL is it even possible?
Some clarification and explanation on the commands for this aspect of the script would be fantastic.
Thanks.
Do you set to buy only? Buy and Sell? Do you need to have the wares you wish deposited at the home base in the sell list? How do you get TM's and TP's and TS's to unload at a TL is it even possible?
Some clarification and explanation on the commands for this aspect of the script would be fantastic.
Thanks.
-
- Posts: 1
- Joined: Sun, 17. Jan 10, 11:16
I too am having this same issue. It's like the ship just doesn't know how/what to do when it gets docked.mike2003 wrote:i just tested this script and i have some problem.
i send 1 TP only to the sector with all equipments
and start script
TP stay in dock and do nothing
when my ship come to this sector TP starting
if my ship go to another sectror and TP stay 1
it dock to last target station and do nothing
and it cant see good price in sector (if docking and 1 in sector) and try to travel to another sector
(in dock TP buy for 34 cr and go to other sector (jump=2) for 72 cr, but in this sector (jump=0) 78 cr)
may be it go blind to own sector when docking if no other ships in it?
sorry for english
I thought I would do some E-Cells to test it out, but the only way it runs through the script is if I tell the ship to undock from the station, then run it.
It constantly tries to dock at the Argon Equipment Dock if it's closest... for some reason.
-
- Posts: 108
- Joined: Thu, 20. Sep 07, 17:00
Maybe I'm not doing something correct?
I have 4 mining ships, supplying my Mobile Mining Base-Ship. I want 1 trader to automatically sell the ore that the miners drop off at the MMBS. I've the the MMBS as the trader's homebase, and the trader is equiped with a transporter device.
The first time, I had 1 unit of ore in the trader, and selected that for the wares list. It worked great! The trader loaded up the rest of the ore from the MMBS (it was docked), went out, and sold it for a great profit!
That's when things fell apart....it successfully returned home, but instead of getting the next load of ore, it approached the MMBS (never docked), and then turned around and headed to a nearby Chip-Plant (no clue why, it doesn't even use ore).
Now its just going back and forth between the MMBS and the chiplant, never exchanging any frieght.
What could I have done wrong? Is there a better script for this kind of operation?
I have 4 mining ships, supplying my Mobile Mining Base-Ship. I want 1 trader to automatically sell the ore that the miners drop off at the MMBS. I've the the MMBS as the trader's homebase, and the trader is equiped with a transporter device.
The first time, I had 1 unit of ore in the trader, and selected that for the wares list. It worked great! The trader loaded up the rest of the ore from the MMBS (it was docked), went out, and sold it for a great profit!
That's when things fell apart....it successfully returned home, but instead of getting the next load of ore, it approached the MMBS (never docked), and then turned around and headed to a nearby Chip-Plant (no clue why, it doesn't even use ore).
Now its just going back and forth between the MMBS and the chiplant, never exchanging any frieght.
What could I have done wrong? Is there a better script for this kind of operation?
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Its a long time since I wrote this script, and I was at the time, and plan to restart work on it asap, working on an updated version that is much improved. But like I say, it's been a while so I can't remember the exact logic.Sinnerman49 wrote:Maybe I'm not doing something correct?
I have 4 mining ships, supplying my Mobile Mining Base-Ship. I want 1 trader to automatically sell the ore that the miners drop off at the MMBS. I've the the MMBS as the trader's homebase, and the trader is equiped with a transporter device.
The first time, I had 1 unit of ore in the trader, and selected that for the wares list. It worked great! The trader loaded up the rest of the ore from the MMBS (it was docked), went out, and sold it for a great profit!
That's when things fell apart....it successfully returned home, but instead of getting the next load of ore, it approached the MMBS (never docked), and then turned around and headed to a nearby Chip-Plant (no clue why, it doesn't even use ore).
Now its just going back and forth between the MMBS and the chiplant, never exchanging any frieght.
What could I have done wrong? Is there a better script for this kind of operation?
I think the logic of MTX ships is basically to approach the home ship and check if it has anything to do (i.e. consult the buy/sell lists, available cargo, etc). If there is nothing to do then dock at a safe station nearby, wait a while, then repeat the process.
I'll have to look into this plugin again closer - I've been on somewhat of an extended X3TC break. But back when I was playing before, and very soon in my current game, it did/will form the backbone of my trading/resupply functions.
I'd be interested to hear if you figure out what went wrong (I mean, I used this script extensively and didn't have problems, but then I knew the inner workings and could make sure everything was set up optimally).
Otherwise, watch this space for an update coming in the not-too-distant future.
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.
Black holes are where God divided by zero.
Black holes are where God divided by zero.
-
- Posts: 108
- Joined: Thu, 20. Sep 07, 17:00
Well okay, here's one question - how is the selling jump range determined? I'm mining in Profit Center Alpha, and the only two systems I see my sellers going to are PTNI HQ and Two Grand - both are only 1 jump away.
Whenever they need E-Cells, they always goto Two Grand, even if the e-cells there are 18cr
I'm guessing being limited to this 1jump range is what's making them go sit in a random factory often times (they run out of valid deals)
I've got most of the universe explored, with Adv Sats in almost all sectors.
Whenever they need E-Cells, they always goto Two Grand, even if the e-cells there are 18cr
I'm guessing being limited to this 1jump range is what's making them go sit in a random factory often times (they run out of valid deals)
I've got most of the universe explored, with Adv Sats in almost all sectors.
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Update v2.3
Note: you now require my JSON parser library v1.1 for the config menu to work.
New menu system and some fixes to trading with and refueling Energy Cells.
Probably a bunch of other fixes as well from way back. I notice the version posted previously was v2.1.1, yet I have a v2.2 here, so I must have forgot to post it or something.
Note: you now require my JSON parser library v1.1 for the config menu to work.
New menu system and some fixes to trading with and refueling Energy Cells.
Probably a bunch of other fixes as well from way back. I notice the version posted previously was v2.1.1, yet I have a v2.2 here, so I must have forgot to post it or something.
There are 10 types of people in the S&M forums - those who understand binary, and those who don't.
Black holes are where God divided by zero.
Black holes are where God divided by zero.
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Seems if I try to set a limit to a ware in the list (change from infinite), it only seems able to change the top entry. Or at least that what displays in the menu. For example if I have 6 things in the list and want to limit the one at the bottom to 2000, when I go to that bottom entry and hit enter then type in "2000", when the menu comes back up it says the top entry is limited to 2000.
"It's so simple. No, wait--it's needlessly complex!"
- Homer Simpson
You need this!: Cargo Delivery Service
- Homer Simpson
You need this!: Cargo Delivery Service
-
- Posts: 1135
- Joined: Sun, 19. Oct 08, 18:46
Hi, thanks for this nice script! but sadly i have trouble getting it to work properly
My scenario: I got a Zephyrus, and i got a Buster and set his homebase to the Zephyrus.
The Buster got all the neccesary software inkl. Transporter device.
I configure the Buster to buy only mode, and add 25MJ shields and Phased repeater guns. I set the max ammount to 20 for each.
Buy/Sell from Homebase On
then i start the whole thing. It goes buying shields and weapons, then comes back to my Zephyrus and unloads the warez, after that it goes to a solar power plant to refuel, and then comes back to my zephyrus and stands still doing nothing.
i had this happen to me twice now.
Starting it up again does not do anything, i have to reset options to default, and reconfigure the whole thing again. the it makes 1 shoppign run, and gets stuck/stops again.
My scenario: I got a Zephyrus, and i got a Buster and set his homebase to the Zephyrus.
The Buster got all the neccesary software inkl. Transporter device.
I configure the Buster to buy only mode, and add 25MJ shields and Phased repeater guns. I set the max ammount to 20 for each.
Buy/Sell from Homebase On
then i start the whole thing. It goes buying shields and weapons, then comes back to my Zephyrus and unloads the warez, after that it goes to a solar power plant to refuel, and then comes back to my zephyrus and stands still doing nothing.
i had this happen to me twice now.
Starting it up again does not do anything, i have to reset options to default, and reconfigure the whole thing again. the it makes 1 shoppign run, and gets stuck/stops again.