Ore Processor error.....i think! :wink:
Moderators: winston, another_commander
-
- Deadly
- Posts: 132
- Joined: Tue Jul 25, 2006 2:32 pm
Ore Processor error.....i think! :wink:
I'm using the latest ore processor oxp 1.55 and upon collecting radioactives and alloys i'm getting true ton in the text display instead of 1 ton coming up. Looking through the script there's no radioactives or alloys mentioned that i can see. Is this an incompatability with the Trunk or an oversite?
Alloys:
Radioactives:
I'm using the latest Trunk 3388 if you needed to know.
Alloys:
Radioactives:
I'm using the latest Trunk 3388 if you needed to know.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Should it say "ton" at all - I thought it was agreed that a TC is not a "ton" or Tonne - but a mythical pseudo-measure that takes into account both mass and volume, but deliberately can't be tied back to RL(tm).
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
In which case it should say:DaddyHoggy wrote:Should it say "ton" at all - I thought it was agreed that a TC is not a "ton" or Tonne - but a mythical pseudo-measure that takes into account both mass and volume, but deliberately can't be tied back to RL(tm).
Or something like that. It seems to me that the OXP writer wants to give the impression of actual mass processed here, and it is not a bad idea in the case of a mining venture.1 metric ton of alloys extracted filling 1TC
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
-
- Deadly
- Posts: 132
- Joined: Tue Jul 25, 2006 2:32 pm
- ClymAngus
- ---- E L I T E ----
- Posts: 2514
- Joined: Tue Jul 08, 2008 12:31 am
- Location: London England
- Contact:
I think your oolite has been infected with a gangsta virus. Soon you'll be pimping the ass off your cobrer and lighting up some foo whos messing with your deliveries.
The only way to fix this is to dress your computer in burberry and hang lots of gold chains off your monitor. That should make it feel suitably righteous.
The only way to fix this is to dress your computer in burberry and hang lots of gold chains off your monitor. That should make it feel suitably righteous.
- Yrol_Denjeah
- Dangerous
- Posts: 75
- Joined: Mon Apr 26, 2010 8:29 am
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
Maybe it was supposed to be a Troy ton?
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
As far as I can see there is no word "true" in ore processor. So I think you have scooped a splinter from an other oxp. Version 1.55 of OP does not generate scoop messages at al. The only scoop messages you see are generated by the system. And that is scooped a 'name'.NorthenderPNE wrote:Well whatever the amount i'm sure it shouldn't use the word 'true' when showing the amount! But what do i know, i just play the game!
The amounts you see are generated after processing. There should be no difference in using with 1.73 or trunk.
FYI: the messages are not in the scripts but in the shipData.plist under the script_info key. All the messages you see under script_actions are ignored and only used when played on good old Oolite 1.65.
Trunk has a few very nice features for improvement of this oxp. Currently a scripted splinter has no content and because of the delayed awarding there now is a short moment the masses in the hold are not correct. Its only updated after processing of the splinter.
With 1.74 it will be possible to scoop the barrel as 1 ton of real mineral and than convert the content of the same splinter into something else after processing. But this will break backward compatibility with 1.73 so it is not likely added soon after a 1.74 release although I already experimented with it in trunk.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
-
- Deadly
- Posts: 132
- Joined: Tue Jul 25, 2006 2:32 pm
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
It’s a long shot, but are you by any chance using a custom build against GNUstep 1.20?
E-mail: [email protected]
- Yrol_Denjeah
- Dangerous
- Posts: 75
- Joined: Mon Apr 26, 2010 8:29 am
Maybe the "true" is some misguided boolean value transmitted
instead of the amount of commodity?
instead of the amount of commodity?
(in a cutely insane, electronic, stuttering female voice)
Are you Afraid? What is it you Fear?
The End of your Trivial Existence? Ha!
When the History of my Glory is written,
your Species shall only be a Footnote
to my Magnificence.
I am SHODAN.
Are you Afraid? What is it you Fear?
The End of your Trivial Existence? Ha!
When the History of my Glory is written,
your Species shall only be a Footnote
to my Magnificence.
I am SHODAN.
-
- Deadly
- Posts: 132
- Joined: Tue Jul 25, 2006 2:32 pm
-
- Average
- Posts: 11
- Joined: Sun Apr 11, 2010 9:51 pm
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
So it is ore processor after all. Maybe something in trunk has changed in the way strings are handled. I defined the splinter content in shipData.plist as follow:Illuminaughty wrote:I also got this error, but I'm sorry I can't remember which oxps were causing the conflict, since I already took them out in order to have a smooth running ore processor.
Code: Select all
<key>script_info</key>
<dict>
<key>cargotype</key>
<string>Alloys</string>
<key>message</key>
<string>@1 ton of Alloys extracted</string>
<key>quantity</key>
<integer>1</integer>
</dict>
I use not an ascii plist but an XML plist. There quantity is explicit defined as an integer. For some reason it is now replacing the "@1" with the word "true". Currently I have no clue why. Is for any chance the plist converted to an ascii version? Because in that case the text
Code: Select all
var quantity = this.ship.scriptInfo.quantity;
Code: Select all
var quantity = parseInt(this.ship.scriptInfo.quantity);
I just replaced version 1.55 with 1.56. This version uses the new cargo handling introduced in rev 3091. That is already some time ago and this new version of OP runs without problems on my computer since. This new version is still compatible with current Oolite 1.73.
I would be interested if this one stops the "true" message.
Last edited by Eric Walch on Mon May 24, 2010 7:57 pm, edited 1 time in total.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
-
- Deadly
- Posts: 132
- Joined: Tue Jul 25, 2006 2:32 pm