That naturally triggers only after player has suffered some damage to the hull.Diziet Sma wrote:There should probably be some generic combat-damage related items to be repaired...
Email System (Release)
Moderators: winston, another_commander
Re: Email System (Beta)
- 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 (Beta)
That's fantastic, Disembodied! Just the kind of ideas I was looking for. That should keep me busy for a while!Disembodied wrote:..lots of ideas...
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Email System (Beta)
Which prompts me to suggest that ideally this needs to play nicely with Realistic Damage and Battle Damage OXPs. Just to avoid any conflicting messages or duplication.spara wrote:That naturally triggers only after player has suffered some damage to the hull.Diziet Sma wrote:There should probably be some generic combat-damage related items to be repaired...
I like this idea - it will be good for immersion.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- 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 (Beta)
I'm curious - does a "Maintenance Overhaul" do any repairs normally? I mean, if my Advanced Space Compass is damaged, will a "Maintenance Overhaul" repair it?
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Email System (Beta)
No. Equipment repairs (to non-oxp gear) is not included normally. It's down to the oxp author to decide if his/her equipment is covered, but I suspect most are not.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- 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 (Beta)
Here's what I've got so far. Logic is:
- for every maintenance overhaul, run a series of basic diagnostics on core ship systems
- add a series of other functions, the number of which is controlled by the tech level of the planet (ie. for tech level 8, add 8 random maintenance tasks)
- for each piece of installed equipment, run some diagnostics (only where techLevel of system is capable of repairing equipment)
- for each piece of installed equipment, add one random, equipment specific maintenance task (only where techLevel of system is capable of repairing equipment)
- parts and labour item.
Here's a sample of what it looks like:
The maintenance program will pick one of those items to include in the statement of work.
What do you think?
[EDIT] Version 1.1.4 now available. This version contains new emails for purchasing equipment, ships, repairs, and maintenance overhauls.
- for every maintenance overhaul, run a series of basic diagnostics on core ship systems
- add a series of other functions, the number of which is controlled by the tech level of the planet (ie. for tech level 8, add 8 random maintenance tasks)
- for each piece of installed equipment, run some diagnostics (only where techLevel of system is capable of repairing equipment)
- for each piece of installed equipment, add one random, equipment specific maintenance task (only where techLevel of system is capable of repairing equipment)
- parts and labour item.
Here's a sample of what it looks like:
If any OXP equipment authors want to include some specific maintenance tasks for their equipment, all they need do is add lines like this to their descriptions.plist file:Sender: GalCop Servicing Dept
Subject: Ship Servicing Invoice
Summary of maintenance tasks performed on Cobra Mark III:
- Perform comm system diagnostics
- Perform witchspace drive diagnostics
- Perform life support system diagnostics
- Perform torus drive system diagnostics
- Perform HUD diagnostics
- Perform artificial gravity system diagnostics
- Perform shield system diagnostics
- Perform power grid diagnostics
- Perform air filtration system diagnostics
- Flush comms buffers
- Flush air vents
- Adjust life support systems
- Reapply viewing port ray shielding
- Check shield matrix
- Adjust engine nacelles
- Perform BroadcastComms MFD diagnostics
- Perform Glare Filter diagnostics
- Perform Large Cargo Bay diagnostics
- Flush cargo bay
- Perform CommsLog MFD diagnostics
- Perform E.C.M. System diagnostics
- Recharge E.C.M. power circuits
- Perform Target Selector diagnostics
- Perform IronHide Armour diagnostics
- Perform Combat MFD diagnostics
- Perform External Heat Shielding diagnostics
- Verify heat shield for damage
- Perform Multi-Targeting System diagnostics
- Perform Fuel Scoops diagnostics
- Regulate magnetic scoop components
- Perform Navigation MFD diagnostics
- Perform Escape Pod diagnostics
- Check escape pod engine systems
- Perform Advanced Navigational Array diagnostics
- Perform Advanced Space Compass diagnostics
- Recalibrate navigational components of ASC
- Perform Target System Memory Expansion diagnostics
- Purge Target System Memory matrix
- Perform passenger berth diagnostics
- Check passenger berth life support
- Perform port Beam Laser diagnostics
- Balance port beam laser
- Perform starboard Beam Laser diagnostics
- Reseat starboard beam laser in mount
- Parts and labour
Servicing fee: 2800 credits.
Thank you for your patronage.
Ques Starbairn
Servicing Manager
Code: Select all
"maint_EQ_MY_OXP_EQUIP" = ("Do special maintenance task on my equipment",
"Do another special maintenance task",
"Perform a third maintenance task");
What do you think?
[EDIT] Version 1.1.4 now available. This version contains new emails for purchasing equipment, ships, repairs, and maintenance overhauls.
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
Re: Email System (Beta)
Looks good! Should there be a short list of maintenance tasks that always happen, e.g. "Sanitise crew spaces", "Replace atmosphere scrubbers", etc.?
And it might be good to personalise the bill a little more by saying
And it might be good to personalise the bill a little more by saying
and finish it withSummary of maintenance tasks performed on Cobra Mark III [Player Ship Name], Commander [Player]:
Ques Starbairn
Servicing Manager, [Current System] main station
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Email System (Beta)
V 1.1.4 Zip has an .oxz file inside the .oxp folder.
- 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 (Beta)
Oops!
Uploaded a version that doesn't.
Uploaded a version that doesn't.
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Beta)
Hi.
I really would like to use this oxz/oxp but it isn't working on my computer (Mac). When I press enter on the F4 screen to enter the email system it won't enter the interface.
I get this in the latest.log:
I really would like to use this oxz/oxp but it isn't working on my computer (Mac). When I press enter on the F4 screen to enter the email system it won't enter the interface.
I get this in the latest.log:
Code: Select all
~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz
~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz
EmailSystem 1.1.4
12:31:01.870 [script.javaScript.exception.overRecursed]: ***** JavaScript exception (EmailSystem 1.1.4): InternalError: too much recursion
12:31:01.870 [script.javaScript.exception.overRecursed]: /Users/pagroove/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz/Scripts/emailsystem_base.js, line 575.
12:31:03.011 [script.javaScript.exception.overRecursed]: ***** JavaScript exception (EmailSystem 1.1.4): InternalError: too much recursion
12:31:03.011 [script.javaScript.exception.overRecursed]: /Users/pagroove/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz/Scripts/emailsystem_base.js, line 575.
12:31:05.244 [script.javaScript.exception.overRecursed]: ***** JavaScript exception (EmailSystem 1.1.4): InternalError: too much recursion
12:31:05.244 [script.javaScript.exception.overRecursed]: /Users/pagroove/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz/Scripts/emailsystem_base.js, line 575.
12:31:07.137 [script.javaScript.exception.overRecursed]: ***** JavaScript exception (EmailSystem 1.1.4): InternalError: too much recursion
12:31:07.137 [script.javaScript.exception.overRecursed]: /Users/pagroove/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz/Scripts/emailsystem_base.js, line 575.
12:31:17.351 [script.javaScript.exception.overRecursed]: ***** JavaScript exception (EmailSystem 1.1.4): InternalError: too much recursion
12:31:17.351 [script.javaScript.exception.overRecursed]: /Users/pagroove/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz/Scripts/emailsystem_base.js, line 575.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- 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 (Beta)
Oh! Right... Quick one, are you using a specific font file, or just the default font?
[Edit] I decided to just take the recursive function out. Version 1.1.5 has been uploaded to all the relevant locations (download manager, box links in first post). Can you let me know if this fixes the problem for you?
[Edit] I decided to just take the recursive function out. Version 1.1.5 has been uploaded to all the relevant locations (download manager, box links in first post). Can you let me know if this fixes the problem for you?
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Beta)
Will do. Downloading now...
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Email System (Beta)
It solved the problem. I'm now able to use the email system.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: Email System (Beta)
The fine payment message is erroneous. I paid $700 and got a receipt for $70.
- 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 (Beta)
Thanks for that. I was sure I had it right, but no. Fixed in the next version.