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

RepairBots OXP

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

Moderators: winston, another_commander

User avatar
sdrubble
Deadly
Deadly
Posts: 234
Joined: Fri Aug 05, 2011 8:30 am
Location: Belo Horizonte, Brazil

Re: RepairBots OXP

Post by sdrubble »

Thargoid wrote:
Hmm, ok. How the <beep> did that happen? :oops:

Anyway fixed version 2.05 uploaded. Thanks for the heads-up. Your edit is correct (and tested).
Thargoid, forgive me for asking without having actually looked, but...

is this fix something that I should manually do the DCN script that comes with the Caddy (and also goes in The Dark Rainbow) ?

Thx & Cheers :D
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: RepairBots OXP

Post by Switeck »

Thargoid wrote:
  • energy drain : not keen, but would perhaps consider it but it doesn't work logically for me. They are self-contained repair nanobots - why would they be taking energy from the ship?
  • needing cargo : No. They repair and recreate, based on what's already there (or else there would be a logical extension to ask if they can repair a docking computer from a ton of alloys, why can't they create one from scratch from one?)
  • needs servicing / special charges : a limited number of attempts before a "recharge" is the most likely candidate to get into the next version.
[/color]
The energy drain could be because transmutation of matter from one element to another is such a mad energy consumer that it destroys stars. (Alchemy comes at a high price.) It could also be because rearranging individual atoms locations also has significant energy requirements when dealing with 10^30 atoms...much like heating up something to make atoms vibrate takes significant energy. Being precise in the movements comes with a higher net energy burden than diffuse heating.

Needing cargo to feed the system matter makes some sense if the equipment being repaired has significant mass (like >0.1 tons). Part of the damaged equipment is likely to be missing rather than simply destroyed. The schematics for that equipment has to be known in advance or even light damage cannot be repaired just by replicating nearby parts.

Needing servicing/special charges implies the system itself slowly breaks down and fails. This weakly implies "bad things" can happen if it's not maintained. The last thing I'd want is for the repair nanomachines to go haywire on my ship and decide it needed MY mass to rebuild something that isn't even damaged! Grey goo indeed!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: RepairBots OXP

Post by Thargoid »

OK, I just uploaded v2.06. The Repair System now comes as standard with 10 charges, one of which is used whenever an attempt is made (except if the system has to try and repair itself). Refills become available once the charge level drops below 5, and if it reaches zero then the system will shut down until recharged.

It also now uses 2t of cargo space, which will be claimed from Oolite v1.77 onward (in 1.76 it just needs to be available to purchase the system).
User avatar
Lone_Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 546
Joined: Wed Aug 08, 2007 10:59 pm
Location: Netherlands

Re: RepairBots OXP

Post by Lone_Wolf »

Will these charges also apply to the DCN (neocaduceus) or is that not the intention ?
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

Retired, reachable at [email protected]
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: RepairBots OXP

Post by Thargoid »

It wouldn't be my intention, but it's ClymAngus's ship, not mine. If he asks me to update the code to include it I will, but until then it'll carry on as-is.

For me given the nature of the ship it makes more sense for it to be unlimited.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: RepairBots OXP

Post by JazHaz »

Thargoid wrote:
OK, I just uploaded v2.06. The Repair System now comes as standard with 10 charges, one of which is used whenever an attempt is made (except if the system has to try and repair itself). Refills become available once the charge level drops below 5, and if it reaches zero then the system will shut down until recharged.

It also now uses 2t of cargo space, which will be claimed from Oolite v1.77 onward (in 1.76 it just needs to be available to purchase the system).
I've just noticed that the Remaining repair system charges message appears on the Manifest screen (F5) even if you haven't got the repair system equipment installed. I assume this is a bug?
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: RepairBots OXP

Post by Thargoid »

Umm, yes :oops: Just consider it a hint to get the system installed ;)

Anyway, v2.07 uploaded with the fix, plus a couple of other script streamlines.
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: RepairBots OXP

Post by JazHaz »

Thargoid wrote:
Umm, yes :oops: Just consider it a hint to get the system installed ;)

Anyway, v2.07 uploaded with the fix, plus a couple of other script streamlines.
That was quick! :D
User avatar
JazHaz
---- E L I T E ----
---- E L I T E ----
Posts: 2991
Joined: Tue Sep 22, 2009 11:07 am
Location: Enfield, Middlesex
Contact:

Re: RepairBots OXP

Post by JazHaz »

Unfortunately, Thargoid, the fix was ineffective. I'm still getting the message of remaining charges.

Trying to save up enough credits to buy a repair system after buying my Python Class Cruiser, but I need about 3 more trips to have the 12k required.
JazHaz

Gimi wrote:
drew wrote:
£4,500 though! :shock: <Faints>
Cheers,
Drew.
Maybe you could start a Kickstarter Campaign to found your £4500 pledge. 8)
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: RepairBots OXP

Post by Thargoid »

Hmm odd - it works on my system for a commander without the system. I'll have another look at it.
User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Re: RepairBots OXP

Post by DredgerMan »

Not only is the fix not working, I found something else wrong (or an unintended feature 8-) ).

I changed ships at one point (happens, you know?) from the starting Cobbie to a Python. I had a repair system bought for the Cobbie and had to use up two charges during the early stages. I then sold the Cobbie, bought the Python and the screen indeed showed I had 8 charges left for the Python.

But when I bought a new RS I started off with 8 available charges, instead of the intended 10. Having just used one up, I now have 7 charges left. (BTW, removing and re-installing the OXP does NOT clear the remaining charges count!)

At what time will you be allowed the full 10 charges again? And if this is a feature, shouldn't the price of the repair system then be reduced depending on how many charges you still have left/would still have had if you hadn't sold the ship)?

I downloaded version 2.07 on Monday (16/07) if that is any help, through the OXP-list.

Other than this bug/feature a GREAT OXP. :D
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard
User avatar
fronclynne
Deadly
Deadly
Posts: 149
Joined: Sun Mar 01, 2009 5:36 am
Location: ::1

Re: RepairBots OXP

Post by fronclynne »

Running trunk 1.77.0.5108, i386, linux.

I installed 2.07 and decided it was a pain (the nanobots waste charges trying to repair the planetary landing system . . .) and moved back to 2.05. Now that save file has lost about 60% of the EQ including all four lasers and the docking computers. I've copied it and tried editing the save file, but nothing. Is there some mission_variable I should be looking for? Well, now I feel silly.
Last edited by fronclynne on Fri Jul 20, 2012 3:13 pm, edited 1 time in total.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: RepairBots OXP

Post by Thargoid »

It shouldn't try and repair the planetary landing capability at all - that has explicitly got a chance set to zero in its equipment.plist so RB will ignore it. But I note that you're doing this on trunk rather than the stable release, so anything could be happening (up to and including you losing stuff from save game, for the same reason).

As to the earlier reports from DredgerMan - I'll try and grab some time next week and look into them. It may be that not everything is getting reset that should be on ship sale.
User avatar
fronclynne
Deadly
Deadly
Posts: 149
Joined: Sun Mar 01, 2009 5:36 am
Location: ::1

Re: RepairBots OXP

Post by fronclynne »

Ah, turns out the missing equipment was a borked shipyard.plist(?!) . . . , so no fault of yours. Sorry.

As to the planetary landing capability, for some reason that bit gets shot quite frequently (for me, anyway) and even under the older, non-charge version the repair bots will work furiously on it for quite a while before giving up.
User avatar
DredgerMan
Deadly
Deadly
Posts: 253
Joined: Fri Oct 21, 2011 9:01 am
Location: Some buggy planet at the edge of the known universe

Re: RepairBots OXP

Post by DredgerMan »

Thargoid wrote:
As to the earlier reports from DredgerMan - I'll try and grab some time next week and look into them. It may be that not everything is getting reset that should be on ship sale.
Thanks, Oh Great Bug.

When you are looking at it can you also keep an eye out for the following: I have only 5 charges left and now the system will not repair anything anymore. I have had three items break on me (well, they got blasted by Thargies and pirates), a planetary information system, an escort targetting system and the third one I can't remember. If the two specified are also not to be repaired by the system then I assume the same would apply for the third one.

Is there a definitive list somewhere what specifies what items are not going to be repaired? It would be helpful if that became part of the OXP documentation.
Flying The Sizzlin' Suzie VI, a trusty and venerable Boa Class Cruiser in Oolite 1.84 on

under Windows 6.1.7601 Service Pack 1 64-bit
with a Geforce GT610 videocard
Post Reply