Re: AI Trading Assistant 2 for Oolite 1.77
Posted: Mon Jan 14, 2013 9:38 am
Version 2.0.1 should fix this problem.
For information and discussion about Oolite.
https://bb.oolite.space/
guiScreenChanged
doesn't actually happen for the particular transition which takes place when launching. Fixed in r5617.2.0.2 (January 16th, 2013) Bug fixed - giving away free advice before players bought the equipment.
2.0.1 (January 14th, 2013) Bug fixed - not switching off when launching from market screen.
Wildeblood wrote:Version 2.0.2 should fix two silly bugs.
https://www.box.com/s/zr7c1yixi401hbglvbri
2.0.2 (January 16th, 2013) Bug fixed - giving away free advice before players bought the equipment.
2.0.1 (January 14th, 2013) Bug fixed - not switching off when launching from market screen.
I haven't tried it since I'm playing sans E-bomb.Update on Energy Bomb removal
The Energy Bomb is only available in "Strict play" mode as of Oolite 1.77 (unreleased at time of writing, but available as nightly builds). It can be made available in "Unrestricted play" by downloading and installing EnergyBombfor1.77.oxp
The first thing I noticed about 1.77 is that the Thargoids are actually dangerous now, not just easy money, so the energy bomb is good to have. Energy Bomb for Oolite 1.77:Styggron wrote:I found though that Oolite 1.77 removed the energy bomb (sigh).
Certainly not the way forward, as from 2.1 I'll use the newer market features in Oollte 1.77 that can't be simulated in Oolite 1.76. But it should be fairly straightforward to add Capt. Murphy's manifest monitor back into this version. Does anyone want to have a go?Styggron wrote:I certainly don't expect you to write a version for 1.76.1 as that would not make too much sense and would not be the way forward.
You're welcome. The next step is to add buy recommendations, as in Oolite 1.77 the market prices can now be checked, and tracking of how long cargo has been aboard, so you'll see nagging messages like, "We've visited 5 stations since you bought those minerals, and you still haven't sold them."Styggron wrote:Thanks again for your hard work it is greatly appreciated.
Presumably, if, like most of us, one has several different game-saves active (such as a trader, a bounty-hunter, a pirate, and so on, it would be advisable to make sure ALL of them have empty cargo-holds before installation. Otherwise similar confusion could ensue down the track..Wildeblood wrote:You should NOT just drop this into your AddOns folder at any time, like most OXPs. Read on:-
From version 2.1 as soon as you place the AI Trading Assistant OXP into your "AddOns" folder it will begin keeping a permanent, long-run account of all your trading. It will do this immediately, before you buy the equipment in game. If the equipment is damaged, record-keeping will silently continue. So, what?
If you have cargo in your ship's hold when record-keeping starts, there will be a discrepancy that cannot be accounted for. It will appear that you have sold more cargo than you bought, and this error will remain forever. You should wait for an opportune time, when your cargo hold is empty, before saving your game and installing the OXP.
AI Trading Assistant OXP ver. 2.2.3
Date: January 30th, 2013
Author: Wildeblood
Inspired by: Capt. Murphy
Installation and use:
Version 2 will work only with Oolite 1.77 or later - it will not work in Oolite 1.76.1. With this version I have promoted Capt. Murphy to emeritus author, since it has been completely re-written and no longer contains any of his original code.
You should NOT just drop this into your AddOns folder at any time, like most OXPs. Read on:-
From version 2.1 as soon as you place the AI Trading Assistant OXP into your "AddOns" folder it will begin keeping a permanent, long-run account of all your trading. It will do this immediately, before you buy the equipment in game. If the equipment is damaged, record-keeping will silently continue. So, what?
If you have cargo in your ship's hold when record-keeping starts, there will be a discrepancy that cannot be accounted for. It will appear that you have sold more cargo than you bought, and this error will remain forever. That discrepancy will not affect performance in any way, however if you are a stickler for details, you should wait for an opportune time, when your cargo hold is empty, before saving your game and installing the OXP.
When you are ready, place the AI Trading Assistant OXP into your "AddOns" folder. Head to a planet of technical level 9, or above, where you can purchase the Trading Assistant from the ship outfitters for 2012 credits. Trading Assistant will not be offered in the ship outfitters in communist systems. Being an artificial intelligence, and not heavy equipment, Trading Assistant is portable between ships, and will stay with you if you buy a new ship in the shipyard.
Features:
Once purchased, the Trading Assistant will:-
1) Monitor your cargo trades in real time, and give an immediate warning if you are paying unusually high prices, or selling for low prices that are likely to result in unprofitable trading.
2) Record the prices you pay for cargo, and display a list of the average prices paid for each cargo type.
3) Offer recommendations of which commodities to buy and sell, based on current market prices.
4) Show an information screen revealing which commodities you have traded most profitably over time.
5) AI Trading Assistant OXP now includes Autotrade ATS. Autotrade is the original and genuine fully Automatic Trading System. By default Autotrade is off, to enable it go to the trading history screen (from the F4 interfaces screen) and select either fast or slow trading mode.
Twenty-two seconds after you view the commodity market screen Autotrade will begin trading on your behalf, fully automatically. Make a nice cup of tea, sit back and watch as Autotrade takes the effort out of trading. Why press buttons yourself when Autotrade can do it for you? (You can, of course, continue to trade normally yourself while Autotrade is trading.)
Other market-related OXPs:
Recently there have been some other market-related OXPs created which are not compatible with Trading Assistant. You might wish to disable or remove AI Trading Assistant OXP temporarily while you experiment with them. Will that mean a gap in your accounts?
No. Included in the download you should find an OXP called "AI Trading Fallback Datalogger". That OXP will normally be inactive and do nothing, however if you remove the AI Trading Assistant OXP the fallback datalogger will automatically take over record-keeping functions. There will be no sign of Trading Assistant within the game, but:-
(1) record-keeping will silently continue and be up-to-date when you replace the AI Trading Assistant OXP, and:
(2) you will not have to re-purchase the equipment in the game.
Change Log:
2.2.3 (January 30th, 2013) Bug fixed - interface screen not added until after first flight. Similar destination message added to buying_advisor.js.
2.2.2 (January 29th, 2013) Changed highlight text for illegal goods from "SELL" to "Illegal".
2.2.1 (January 25th, 2013) Autotrade and advice mode (off/advise/slow/fast) selectable from interface screen.
2.2 (January 24th, 2013) Integrated Autotrade, trading mode (off/slow/fast) selectable from interface screen.
Yes, intentional. You should be able to look at those bought and sold numbers and say, "Hey, I must have scooped so many." But you can only do that if you start from zero.Jeffers2112 wrote:Apart from starting to use the Trading Assistant with cargo already in the hold (which is mentioned in the instructions), you can get discrepancies in the statistics due to cargo being lost during ship damage or, alternatively, scooped up from wrecked ships.
Yes, you mean where the highlight on the HUD has the word "SELL" in place of the average price for those three commodities. (The highlights are inherited from version 1.9 and Oolite 1.76 where price checking was impossible.) So if the price is low, it will say, "I recommend buying..." and highlight the appropriate line with "SELL". I haven't fixed it yet because I'm in two minds as to the best way... probably just replacing the word "SELL" with "Illegal" would be simplest and clearest.Jeffers2112 wrote:Also, it seems to get a little confused with Slaves, Firearms and Narcotics, which don't quote an average price.
Be careful what you wish for, that will seriously cut down your profits. But vetoing any particular commodity is easy, so check back here tomorrow for an "Ethical Trader" plug-in OXP.Jeffers2112 wrote:I'm also a law abiding citizen so I don't want it suggesting to me that I buy contraband items. Perhaps it could check legal status and tailor the suggestions accordingly?
Edit: download link removed, see next page.AI Trading Ethical Trader OXP ver. 2.2
Date: January 29th, 2013
Author: Wildeblood
Installation and use:
This is a plug-in OXP to be used alongside AI Trading Assistant OXP, version 2.2, it will not work independently.
Once purchased, Trading Assistant with Autotrade ATS can:-
1) Offer recommendations of which commodities to buy and sell, based on current market prices.
2) If Autotrade is enabled, follow up by buying and selling cargo fully automatically.
Autotrade does not normally discriminate illegal goods when purchasing, it is concerned solely with finding the best discounts. If you wish to prevent Autotrade from recommending or buying illegal goods, simply place the AI Trading Ethical Trader OXP into your "AddOns" folder, alongside the main AI Trading Assistant OXP. No configuration is needed or possible.
If you want to salve your conscience about selling scooped contraband, you could always take a look at the Illegal Goods Tweak OXP.Jeffers2112 wrote:Wow, that was a quick response!
I must confess that I'm not that squeaky-clean, as I do sell any contraband items that I happen to scoop up. Not that there's much else I could do, I mean, it'd be cruel to leave slaves floating about in space, wouldn't it?