Code: Select all
this.$commValueTimer = new Timer(this, this.$commValueMessage, 0, 0.5);
Code: Select all
this.$commValueTimer = new Timer(this, $commValueMessage, 0, 9);
Moderators: winston, another_commander
Code: Select all
this.$commValueTimer = new Timer(this, this.$commValueMessage, 0, 0.5);
Code: Select all
this.$commValueTimer = new Timer(this, $commValueMessage, 0, 9);
And even if the optional duration parameter of the message is used, its minimum value is 1 second:Wildeblood wrote:This looks suspect to me:-A console message can persist for up to ten seconds, so $commValueMessage should only need to be called once every nine seconds (during the last second they fade out), not every half second.Code: Select all
this.$commValueTimer = new Timer(this, this.$commValueMessage, 0, 0.5);
Wildeblood wrote:A console message can persist for up to ten seconds...
Commander McLane wrote:And even if the optional duration parameter of the message is used, its minimum value is 1 second:
http://wiki.alioth.net/index.php/Oolite ... oleMessage
Oh bugger . Well, this oxp needs some rewrite anyway and I have some new ideas that might now be doable . All I need is some time. Will be fixed, thanks for reporting.Solonar wrote:For version 1.77, this oxp is failing to calculate the average price and the profit loss for Liquors/Wines, Gem-Stones and Alien Items. It is also failing to properly calculate the profits for the cargo contracts. After doing several contracts I was thrust into negative profit rating.
Open troomp.js, go to the this.startUp function, and change the line that defines the commodities array. Make it look like this:-Solonar wrote:For version 1.77, this oxp is failing to calculate the average price and the profit loss for Liquors/Wines, Gem-Stones and Alien Items.
this.$commodities = ["food","textiles", "radioactives","slaves", "liquor_wines", "luxuries", "narcotics","computers", "machinery", "alloys","firearms", "furs", "minerals", "gold","platinum", "gem_stones", "alien_items"];
Wildeblood wrote:Open troomp.js, go to the this.startUp function, and change the line that defines the commodities array. Make it look like this:-Solonar wrote:For version 1.77, this oxp is failing to calculate the average price and the profit loss for Liquors/Wines, Gem-Stones and Alien Items.
this.$commodities = ["food","textiles", "radioactives","slaves", "liquor_wines", "luxuries", "narcotics","computers", "machinery", "alloys","firearms", "furs", "minerals", "gold","platinum", "gem_stones", "alien_items"];
Yeah. I never quite finished this one as there was a bug in 1.77 that broke it. Then again there are other neat stuff that made me abandon this and write marketObserver. There must be quite a few bugs left in this. Try marketObserver.ZygoUgo wrote:Hi there, sorry to be the bearer of bad news, got a game save here with an (8meg) ton of Troomp spam in it, I'll up load it here for you
https://www.box.com/s/npcp7i4q9frtgviyhcg1