Email System (Release)
Moderators: winston, another_commander
Re: Email System (Release)
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.
- 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)
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.phkb wrote:Thanks for taking the time to find and debug the issue Norby.
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.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Email System (Release)
I hope this doesn't mean that I will have to cut my ear off, or die in poverty!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.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: Email System (Release)
Pumpkins have ears?Smivs wrote:I hope this doesn't mean that I will have to cut my ear off, or die in poverty!
Reports of my death have been greatly underestimated.
- 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.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)
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.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.
- 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)
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.
Edit: And up. Version 1.4.14 now available in download manager or from links in the first post.
Re: Email System (Release)
Thank you
But where is this "bowing smiley" when you need it?
But where is this "bowing smiley" when you need it?
- 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)
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)
Don't apologize, phkb! Your work ethic is inspiring and mildly terrifying!
Reports of my death have been greatly underestimated.
- 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.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.
- 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)
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.phkb wrote:Other things?
- 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.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.
- 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.4.18 has just been released
In this version:
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).
- 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.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.