Page 8 of 13

Re: Email System (Release)

Posted: Fri May 15, 2015 6:48 am
by cim
In general, if you're calling a JS method or property which gives you an array, and you need to use it more than once in a function, caching it to a local variable saves both time and - because of the way JS garbage collection works - memory. There's a lot of this in the priority AI code.

Re: Email System (Release)

Posted: Fri May 15, 2015 11:05 am
by Norby
phkb wrote:
Thanks for taking the time to find and debug the issue Norby.
Thanks for your time also, now Hyperspace Hangar can store advanced ships without this error in the log. I do this in my spare time and usually I assign higher priority to fixing bugs in my way than other improvements.

Programming is a modern art in my eyes, like an artist start make paintings just for fun and not for the value what his work will earn in auctions several years later.

Re: Email System (Release)

Posted: Fri May 15, 2015 12:19 pm
by Smivs
Norby wrote:
Programming is a modern art in my eyes, like an artist start make paintings just for fun and not for the value what his work will earn in auctions several years later.
I hope this doesn't mean that I will have to cut my ear off, or die in poverty!

Re: Email System (Release)

Posted: Fri May 15, 2015 8:12 pm
by Layne
Smivs wrote:
I hope this doesn't mean that I will have to cut my ear off, or die in poverty!
Pumpkins have ears?

Re: Email System (Release)

Posted: Thu May 28, 2015 6:25 am
by phkb
Version 1.4.13 has been released, which fixes a couple of issues, one with the rescued escape pod email, the other with the maintenance email.

Re: Email System (Release)

Posted: Sun May 31, 2015 7:07 pm
by Day
phkb wrote:
Version 1.4.13 has been released, which fixes a couple of issues, one with the rescued escape pod email, the other with the maintenance email.
Hi phkb, I'm currently adding passengers berths each time I need one, and I noticed that I received mail for having removed the equipment, rather than for having added it.

Re: Email System (Release)

Posted: Mon Jun 01, 2015 12:39 am
by phkb
Thanks for the heads up! New version on the way.

Edit: And up. Version 1.4.14 now available in download manager or from links in the first post.

Re: Email System (Release)

Posted: Mon Jun 01, 2015 9:41 am
by Day
Thank you :)

But where is this "bowing smiley" when you need it?

Re: Email System (Release)

Posted: Tue Jun 02, 2015 2:06 am
by phkb
Sorry for the constant updates, but version 1.4.15 is up, which fixes an issue with the accepted contract email.

Re: Email System (Release)

Posted: Tue Jun 02, 2015 2:07 am
by Layne
Don't apologize, phkb! Your work ethic is inspiring and mildly terrifying!

Re: Email System (Release)

Posted: Sat Jun 20, 2015 4:15 am
by phkb
Version 1.4.16 has just been released. In this version:
  • Added ellipsis to columns when text is truncated
  • Slight adjustment to column widths to cater for wider fonts
  • Removed seconds component from email items on the inbox display. The full sent date/time, including seconds is still visible when you open an email.
Also, I was thinking about adding a new email. This one would be a "Welcome to the galaxy/sector" email you receive whenever you do a galactic jump. What sort of things could be included in the email, do you think? Notable galactic features (great rift, spaceways/lanes)? Particular systems (eg, GalCop HQ system, TechLevel 15 systems)? Other things?

Re: Email System (Release)

Posted: Sat Jun 20, 2015 8:41 pm
by Norby
phkb wrote:
Other things?
Something about what you can do here. Usually OXP specific things, like missions or Superhub positions - I know gathering these is not easy but informative.

Re: Email System (Release)

Posted: Sun Jun 28, 2015 3:01 am
by phkb
Version 1.4.17 has just been released, which finally fixes the calculation of the fine amount for the offender fine email. Totally for sure this time.

Re: Email System (Release)

Posted: Wed Jul 08, 2015 3:17 am
by phkb
Version 1.4.18 has just been released
In this version:
  • Checks for the "allow_big_gui" HUD option.
  • Escape pod recovery emails now turn up immediately.
  • Added RRS refueling to list of equipment items excluded from purchase emails.
  • Reworked the procedure for when the player buys equipment, to ensure the email process happens after any other OXP process.
  • Added condition for when the purchase price of an item is 0 (zero) credits (eg removing lasers).

Re: Email System (Release)

Posted: Wed Jul 29, 2015 3:22 am
by phkb
Version 1.4.19 has just been released. In this version:
  • Added specific docking fine email for Black Monks monastery.
  • Moved list of Federation HQ planet ID's to be accessible to external OXP's (via worldScripts.GalCopAdminServices._fedHQ array), in case it's ever needed.
  • Switched back to "shipKilledOther" so untargeted ships destroyed by the player (eg via missile) are included in the kill count and email.