Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Email System (Release)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2311
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Email System (Release)

Post by Wildeblood »

phkb wrote:
Wildeblood, not sure what's happening there. When I do what you describe, I have three new emails waiting as soon press F4. I'll keep looking though.
Yeah, it's not reliable. I just tried it again... Started with 5 unread emails, went to F3 & bought 2 items, went to F4, it said 7 unread emails. ("Er, it's working now. How strange.") Went back to F3, bought another item, on F4 it still said 7 unread emails. ("Huh, now it's not?"). Opened and exited the email system then it said 8 unread emails...
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4720
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post by phkb »

Right. I'll do some more analysis and get back to you. At least the emails are arriving...
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4720
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post by phkb »

Wildeblood, are you a Linux, Mac or Windows user? I'm wondering if that might make a difference.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2311
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Email System (Release)

Post by Wildeblood »

Sorry, it looks like I've raised a false alarm here. I cannot reproduce this problem today after removing several other OXPs, but equally I cannot find a particular one among those that was causing the problem. Chock this one up to "Mysteries of the Internet", I think.

Your changes to the inbox make email much quicker to use; but would it be possible to make the inbox screen (not when viewing individual messages) interruptible so we could exit by pressing F4 without scrolling to the exit email option?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4720
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post by phkb »

OK, version 1.4.3 is up, which allows you to exit the inbox with any function key.
QCS
Dangerous
Dangerous
Posts: 112
Joined: Sun Feb 22, 2015 6:52 pm

Re: Email System (Release)

Post by QCS »

I may have found another small bug or two.

I docked at Laenin's A-stromine Penal station without docking clearance (simply forgot.. gah). I was fined the neckbreaking sum of 3.9 Cr. The email says I am fined 3.890000000000000000006 Cr. (don't count the number of zeros... :D )

Also, the email is signed by:

Nuon Ar
Rock Hermit: Reggie's Flacon Duty Officer.

(Mind you: Rock Hermits usually don't need clearance :D )
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Email System (Release)

Post by Smivs »

QCS wrote:
I was fined ... 3.9 Cr. The email says I am fined 3.980000000000000000006 Cr.
You're lucky they didn't round it up! 8)
Commander Smivs, the friendliest Gourd this side of Riedquat.
QCS
Dangerous
Dangerous
Posts: 112
Joined: Sun Feb 22, 2015 6:52 pm

Re: Email System (Release)

Post by QCS »

Smivs wrote:
QCS wrote:
I was fined ... 3.9 Cr. The email says I am fined 3.980000000000000000006 Cr.
You're lucky they didn't round it up! 8)
They did. I corrected the number already :-P
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Email System (Release)

Post by Smivs »

QCS wrote:
Smivs wrote:
QCS wrote:
I was fined ... 3.9 Cr. The email says I am fined 3.980000000000000000006 Cr.
You're lucky they didn't round it up! 8)
They did. I corrected the number already :-P
:lol:
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2311
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Email System (Release)

Post by Wildeblood »

QCS wrote:
I docked at Laenin's A-stromine Penal station without docking clearance (simply forgot.. gah). I was fined the neckbreaking sum of 3.9 Cr. The email says I am fined 3.890000000000000000006 Cr. (don't count the number of zeros... :D )
Replace the use of toString() with toFixed(1) when concatenating strings and numbers to form the message.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4720
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post by phkb »

QCS wrote:
I docked at Laenin's A-stromine Penal station
Which OXP has penal stations in it? Is it Commies?
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6311
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Email System (Release)

Post by Diziet Sma »

phkb wrote:
QCS wrote:
I docked at Laenin's A-stromine Penal station
Which OXP has penal stations in it? Is it Commies?
Yep.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4720
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post by phkb »

Version 1.4.4 has been released. In this version:
  • Fixed grammar issue with bounty emails in Interstellar space.
  • Added some more exams to the new pilot registration email
  • Fixed decimal number issue with docking fines and other places.
  • Fixed issue with docking fines at some stations, where the wrong name was showing in the duty officers email signature.
User avatar
Vincentz
Deadly
Deadly
Posts: 174
Joined: Sun Mar 22, 2015 11:26 pm

Re: Email System (Release)

Post by Vincentz »

Hey :D
I really like the email system, and have a couple of suggestions :

1) How about sending an email when getting Cargo, Passenger Parcel contracts?
Reason : I just had a passenger leaving my ship for no apparent reason. I wished I could double check his time schedule.
Also for immersion.

2) "Archive it!" Sends email to archive, where it wont expire, but also is "out of the way" for normal screen. Adds a new menu "Archive".
Reason : Because I like to archive stuff. :P My personal email have 12746 archived emails. I archive spam too :roll:
"There is a single light of science, and to brighten it anywhere is to brighten it everywhere." - Isaac Asimov
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2311
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Email System (Release)

Post by Wildeblood »

Vincentz wrote:
My personal email have 12746 archived emails. I archive spam too :roll:
Yesterday I deleted 1995 unread emails trying to get my inbox back under control.

The contracts should already be creating emails for Oolite 1.81, a lot harder to do for Oolite 1.80 though.
Post Reply