Ah, this'll suite me just fine.
As I had to disable the Autotrading-AI anyway. I like to have some free room for scooping up criminals and canisters...
(Maybe, if there was the ability to let the AI know that... )
I had to disable the Autotrading-AI anyway. I like to have some free room for scooping up criminals and canisters...
(Maybe, if there was the ability to let the AI know that... )
You mean if the performTrading() function took a parameter like performTrading(reserveSpace) and reserveSpace defaulted to 1 if not set? That's in there already. What is not done yet is some way to set that parameter. It will need another mission screen just to set it. When I do add that I intend to offer a choice of 0, 1, 2 or 5.
What a totally brilliant OXP this just gets better and better and better !!!!!! Such improvements SO fast !!!!!
WOW !!!!!!!!
Why, thank you.
I've just uploaded version 2.2.6. The changes are mostly under the bonnet: no new features, but it should run more smoothly, and has more options for customizing.
Here's a plug-in for customizing the message scripts in Trading Assistant. If you find my particular register of English (or English in general) irksome, and want to have a go at hacking the scripts to change the messages, this is for you.
AI Trading, My Advisor OXP ver. 2.2.6
Date: February 10th, 2013
Author: Wildeblood
Installation and use:
This is a plug-in OXP to be used alongside AI Trading Assistant OXP, version 2.2.6, it will not work independently.
As supplied, the only effect of this OXP in the game is to change the form of address the Trading Assistant uses when reacting to the player buying and selling cargo, from "boss" to "your Majesty".
But, the purpose of this OXP is to provide an example for you to create your own reaction scripts. If you've thought about hacking the AI Trading Assistant OXP to improve the reaction messages, but not known where to begin, this is for you.
Simply place this OXP alongside the main AI Trading Assistant OXP in your "AddOns" folder. The scripts in here will automatically over-ride the default ones. Then start hacking away without fear: you can't break any of the essential trading or record-keeping functions by changing anything here, only the messages.
As supplied, the only effect of this OXP in the game is to change the form of address the Trading Assistant uses when reacting to the player buying and selling cargo, from "boss" to "your Majesty".
LOL this is getting better and better - don't know which one I like more... "boss" or "your Majesty"... or should I change it to "almighty Master"?
(this should come with a warning: "a common side effect of frequent use of this may cause megalomania, which might prove quite unhealthy in space")
忍 knowing that enough is enough, you'll always have enough.
The next step is to add... 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."
Done in version 2.3.
Edit: link removed in sneaky eyesight test.
Last edited by Wildeblood on Thu Feb 14, 2013 8:19 am, edited 2 times in total.
The link on the first page will take you to the Wiki page, and thence to the OXP link.
Thanks!
(And I searched the whole time for a link that says 2.3... )
EDIT: Oh, and BTW, I just tried to get my Trading Assistent to speak German (I nicknamed him "Fritz" and he calls me master... ), but I found no possibility to change the "I recommend buying computers, boss"-message. Am I blind again? Or do I have to go into the main script?
EDIT2: As in " AI Trading, My Advisor OXP 2.2.6", of course...
Is that a preview or am I too blind to find the link?
You're too blind to see the link, apparently. Sorry about that.
Now, where were we up to?
Wildeblood wrote:
Rorschachhamster wrote:
I had to disable the Autotrading-AI anyway. I like to have some free room for scooping up criminals and canisters...
(Maybe, if there was the ability to let the AI know that... )
You mean if the performTrading() function took a parameter like performTrading(reserveSpace) and reserveSpace defaulted to 1 if not set? That's in there already. What is not done yet is some way to set that parameter. It will need another mission screen just to set it. When I do add that I intend to offer a choice of 0, 1, 2 or 5.
Done in version 2.4.
Rorschachhamster wrote:
I just tried to get my Trading Assistent to speak German (I nicknamed him "Fritz" and he calls me master... ), but I found no possibility to change the "I recommend buying computers, boss"-message. Am I blind again? Or do I have to go into the main script?
No, the recommend sale, recommend purchase and nuisance cargo messages are buried deep in the scripts. But I'll separate them out in due course.
version 2.5: You can now have Autotrade either buying or selling only, if you want. So it can automatically buy the best discounts, and you decide when to sell, or you can decide what to buy, and Autotrade will sell them as soon as it's profitable to do so.
version 2.5.1: Autotrade now automatically finds all other OXPs that monitor trading, and notifies them of trades it makes.
version 2.6: Docking history, lists recently visited stations.
version 2.6.1: Autotrade fast selling disabled if New Cargoes OXP is present. So it won't accidentally sell your special cargoes.
version 2.6.2: Tweaked docking history screen.
Last edited by Wildeblood on Mon Mar 04, 2013 9:13 am, edited 1 time in total.
it is so much easier to just sell everything you currently have, and then buy everything that is for sale. just two clicks, or confirmations are required, instead of depressing the arrow key many times to buy (or sell) just one at a time. Plus the game has this annoying bell ringing all the time, when you do (reason it is annoying, is because it is so loud).
The sheer loudness of this annoying bell ringing is a bug to me. I have to play Oolite at a relatively quiet level just to avoid causing my ears pain when buying/selling.
Yes it is by far one of the loudest sounds in the game, once when I was trading (playing with earphones!) someone in the room with me said "did someone leave the refrigerator door open?" (it rings with a similar sound when it is left open too long)!
I'd forgotten all about that irritating bell sound. Now I've just realized why watching autotrade do its thing still doesn't seem quite right: because it doesn't have any accompanying sound effect when it trades. I'll add it to the to-do list. (Somebody talk me out of this idea before I go ahead and do it!)