Email System (Release)
Moderators: winston, another_commander
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
Hey Astrobe, what text did you have for the escape pod email?
Re: Email System (Release)
Something quite bland, since I didn't even pass the first stage. If I were to put a bit more effort to it, I would say something like "Your escape pod has been rescued by a fellow trader. Upon close examination, our experts concluded your ship will be allowed to fly again after the necessary repairs are done. As per your contract, we cover for hull and structural damage repair costs, but internal equipment damage is at your charge. We also inform you that cargo loss is *not* covered by your current contract."phkb wrote:Hey Astrobe, what text did you have for the escape pod email?
The sender would be the insurance company (I think there are a bunch of ads for insurance companies in YAH; anyone?) rather than Galcop.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
Version 1.7.0 has been released. In this version:
- Fixed issue where docking fine email was being sent after using an escape pod.
- Added new email for when the player purchases, uses or sells an escape pod.
- Better handling of sale of items via Ship Configuration.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Email System (Release)
Harmless pilots need some text in descriptions.plist:
Code: Select all
11:43:32.428 [script.javaScript.warning.ooliteDefined] ReportJSError (OOJavaScriptEngine.m:203): ----- JavaScript warning (GalCopAdminServices 1.7.3): Unknown expansion key [elite-fed-subject-Harmless] in string.
11:43:32.431 [script.javaScript.warning.ooliteDefined] ReportJSError (OOJavaScriptEngine.m:203): ----- JavaScript warning (GalCopAdminServices 1.7.3): Unknown expansion key [elite-fed-body-Harmless] in string.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
The reason there is no next for "Harmless" pilots is because the Elite Federation email is only supposed to be triggered when the player changes rank. I take a snapshot of the player's current rank when they launch, and compare it to their rank when they next dock. If there's a difference, an email is sent. The only way to get an email for a Harmless rating is if the player was "Mostly Harmless" when they launched (or any rank other than "Harmless"), and something happens during flight to reduce their score to be less than 8, so when they dock they are now rated "Harmless".Norby wrote:Harmless pilots need some text in descriptions.plist
I'll include a check for a new rank of Harmless for the next release, but I'd be very interested to work out what happened to create this scenario!
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Email System (Release)
I just loaded a harmless pilot with 1 score, launched then docked back. Here is the log. Since then I tried to reproduce it many times but without success.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
Version 1.7.8 has been released, which fixes a couple of issues noted in other threads.
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Email System (Release)
Bizarre e-mails.
Buying selected goodies - but the e-mail says otherwise:
When I bought the IronHide Armour, everything went tickety-click e-mail-wise. But, when I bought the upgrade, I got this:
In each case, I did indeed get the goodies in question, but the e-mails were rather confusing.
_______________________________________________________________________________________
Buying lasers:
_______________________________________________________________________________________
I presume that in each case the confusion is due to the relevant .oxp (or the Oolite game programme) combined with the use of an AppleMac.
Buying selected goodies - but the e-mail says otherwise:
When I bought the IronHide Armour, everything went tickety-click e-mail-wise. But, when I bought the upgrade, I got this:
Ditto with Automatic Target Acquisition addon....
This is to confirm that the following items were removed, as per your request:
- IronHide Armour Military Upgrade
You were charged 750.0Cr
...
In each case, I did indeed get the goodies in question, but the e-mails were rather confusing.
_______________________________________________________________________________________
Buying lasers:
...
- Beam Laser: Rapid cycle laser, ...
The cost of this item was NaN.NaNCr. (Note: You were refunded the cost of any laser ...
_______________________________________________________________________________________
I presume that in each case the confusion is due to the relevant .oxp (or the Oolite game programme) combined with the use of an AppleMac.
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
This.
But probably not this.
I'll investigate and report back.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
This is Target Autolock Plus, yes?
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Email System (Release)
It is now. But I'm not sure that it was at the time (Gnievmir implied that the other various aiming systems conflicted with his own on the Vimana HUD - I think I stashed the upgrade away). I'm sorry - I've not been keeping a record of how I modify my .oxps.
While I'm on the subject, same issue tonight with
Repairbots: Self-repair system recharge (5-pack)
Passenger Berth for Uncle Orixon (Long Way Round)
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
Version 1.7.9 has just been released, which fixes a few of the recently reported bugs.
- Cholmondely
- Archivist
- Posts: 5365
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re: Email System (Release)
Thanking you, sir!
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
-
- Deadly
- Posts: 132
- Joined: Tue Jul 25, 2006 2:32 pm
Re: Email System (Release)
Hi phkb, this came up in my log today, just thought I'd post it just in case. I was actually just sitting in the station and didn't open any emails during my game play. Oh and I was playing most recent Trunk version.
Code: Select all
[script.javaScript.exception.jsonBadParse]: ***** JavaScript exception (EmailSystem 1.7.9): SyntaxError: JSON.parse
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Email System (Release)
NorthenderPNE wrote: ↑Thu Jun 09, 2022 4:45 pm[script.javaScript.exception.jsonBadParse]: ***** JavaScript exception (EmailSystem 1.7.9): SyntaxError: JSON.parse
Err... there is only one place in the Email system that JSON.parse is used - during the "startUpComplete" event that happens soon after loading the save game. It's been there since the first version, so it's a complete surprise that somehow you're getting a "Syntax error" on it. The only thing I can imaging is if something in the missionVariable it's trying to read from is causing it to fail (although I'm struggling to come up with a valid explanation on how it could be doing that). Do you still have the save game you loaded that caused the error? Does it happen every time you load that file?