Author Topic: Negative spare berths  (Read 1918 times)

0 Members and 1 Guest are viewing this topic.

Offline trabber Shir (OP)

  • Warrant Officer, Class 2
  • ****
  • t
  • Posts: 63
  • Thanked: 13 times
Negative spare berths
« on: September 21, 2021, 08:02:50 AM »
I am too much of a newbie to know if this is a bug or just a part of a feature I am unfamiliar with. I designed a ship that has no "Design Errors" listed, but which has -1 spare berths. To me that implies a shortage of life support, which will decrease morale over time. (based on http://aurorawiki.pentarch.org/index.php?title=Class_Design#Crew_accommodations )

Code: [Select]
M Class class Frigate (P)    5 000 tons     189 Crew     843.5 BP      TCS 100  TH 228  EM 30
2280 km/s     Armor 4-26     Shields 1-300     Sensors 6/6/0/0     Damage Control Rating 24     PPV 11.86
Maint Life 4.65 Years     MSP 423    AFR 49%    IFR 0.6%    1YR 32    5YR 479    Max Repair 160 MSP
Intended Deployment Time: 4 months    Spare Berths -1

Hanson Dynamics 228 EP Ion Drive (1)    Power 228    Fuel Use 49.26%    Signature 228    Exp 9%
Fuel Capacity 300 000 Liters    Range 21.9 billion km   (111 days at full power)
Bradley-Hill Alpha R300/168 Shields (1)   Total Fuel Cost  7 Liters per hour  (168 per day)

Single 12k/1 Turret -  Bradley-Hill 12cm C4 Near Ultraviolet Laser (2)    Range 120 000km     TS: 12000 km/s     Power 4-4     RM 3    ROF 5        4 4 4 3 2 2 2 2 1 1
Bradley-Hill Fire Control S08 64-12000 (2)    Max Range: 128 000 km   TS: 12000 km/s     92 84 77 69 61 53 45 38 30 22
Bradley-Hill 4.2MW Stellarator Fusion Reactor Technology (2)     Total Power Output 8.4    Armor 1    Exp 5%

Bradley-Hill Active Search Sensor MR96-R100 (1)     GPS 16000     Range 96m km    Resolution 100
Bradley-Hill Active Search Sensor MR3-R1 (1)     GPS 64     Range 3.84m km    MCR 418.2k km    Resolution 1
Robinson-West Thermal Sensor TH1-6 (1)     Sensitivity 6     Detect Sig Strength 1000:  6m km
Robinson-West EM Detection Sensor EM1-6 (1)     Sensitivity 6     Detect Sig Strength 1000:  6m km

This design is classed as a Military Vessel for maintenance purposes

I suspect some sort of floating point comparison issue is at play because "Accom HS Req" is 6.0004 and my actual HS provided is 6 exactly, or possibly some logic that is tripped up by technically needing less than a fighter accomodation.

I have "fixed" the issue in this case by trying to add a "Crew Quarters - Fighter" with "Keep Excess Q" checked. It instead added a "Crew Quarters -  Tiny" and did not increase the mass of the ship but changes spare berths to 3.

So, is this some really complicated feature I do not understand, or a bug? And, would a very small negative in that field affect crew morale?
« Last Edit: September 22, 2021, 01:16:03 AM by Kyle »
 

Offline RougeNPS

  • Lt. Commander
  • ********
  • R
  • Posts: 217
  • Thanked: 38 times
Re: Negative spare berths
« Reply #1 on: September 21, 2021, 08:37:26 AM »
Normally when -1 is applied in video games it means to designate infinite, but devs usually cover it up with the infinity symbol.

Im not sure if that is what happening here and you managed to accidentally make a ship with infinite crew space and the game didnt know what to do with the calculation and couldnt put the infinity symbol so it just put what it equates to.

Or if it just messed up the calculation and the game processed it into that. I could be wrong but i have no idea.
 

Offline xenoscepter

  • Vice Admiral
  • **********
  • Posts: 1154
  • Thanked: 317 times
Re: Negative spare berths
« Reply #2 on: September 21, 2021, 01:25:02 PM »
UNLITMITED MANPOWER!!!
 

Offline Droll

  • Vice Admiral
  • **********
  • D
  • Posts: 1703
  • Thanked: 599 times
Re: Negative spare berths
« Reply #3 on: September 21, 2021, 01:49:40 PM »
Normally when -1 is applied in video games it means to designate infinite, but devs usually cover it up with the infinity symbol.

Im not sure if that is what happening here and you managed to accidentally make a ship with infinite crew space and the game didnt know what to do with the calculation and couldnt put the infinity symbol so it just put what it equates to.

Or if it just messed up the calculation and the game processed it into that. I could be wrong but i have no idea.

It's probably a rounding error regarding crew quarters as I don't think there's a crew module with 1 crew capacity, the game doesn't always exactly match the crew requirements. Thankfully I've made many ships with -1 crew capacity and never had any crew/life support related issues.
 
The following users thanked this post: RougeNPS

Offline Kyle

  • Moderator
  • Captain
  • *****
  • K
  • Posts: 472
  • Thanked: 973 times
  • Quasar4x dev
Re: Negative spare berths
« Reply #4 on: September 21, 2021, 02:43:22 PM »
I am too much of a newbie to know if this is a bug or just a part of a feature I am unfamiliar with. I designed a ship that has no "Design Errors" listed, but which has -1 spare berths. To me that implies a shortage of life support, which will decrease morale over time. (based on http://aurorawiki.pentarch.org/index.php?title=Class_Design#Crew_accommodations )

Code: [Select]
M Class class Frigate (P)    5 000 tons     189 Crew     843.5 BP      TCS 100  TH 228  EM 30
2280 km/s     Armor 4-26     Shields 1-300     Sensors 6/6/0/0     Damage Control Rating 24     PPV 11.86
Maint Life 4.65 Years     MSP 423    AFR 49%    IFR 0.6%    1YR 32    5YR 479    Max Repair 160 MSP
Intended Deployment Time: 4 months    Spare Berths -1

Hanson Dynamics 228 EP Ion Drive (1)    Power 228    Fuel Use 49.26%    Signature 228    Exp 9%
Fuel Capacity 300 000 Liters    Range 21.9 billion km   (111 days at full power)
Bradley-Hill Alpha R300/168 Shields (1)   Total Fuel Cost  7 Liters per hour  (168 per day)

Single 12k/1 Turret -  Bradley-Hill 12cm C4 Near Ultraviolet Laser (2)    Range 120 000km     TS: 12000 km/s     Power 4-4     RM 3    ROF 5        4 4 4 3 2 2 2 2 1 1
Bradley-Hill Fire Control S08 64-12000 (2)    Max Range: 128 000 km   TS: 12000 km/s     92 84 77 69 61 53 45 38 30 22
Bradley-Hill 4.2MW Stellarator Fusion Reactor Technology (2)     Total Power Output 8.4    Armor 1    Exp 5%

Bradley-Hill Active Search Sensor MR96-R100 (1)     GPS 16000     Range 96m km    Resolution 100
Bradley-Hill Active Search Sensor MR3-R1 (1)     GPS 64     Range 3.84m km    MCR 418.2k km    Resolution 1
Robinson-West Thermal Sensor TH1-6 (1)     Sensitivity 6     Detect Sig Strength 1000:  6m km
Robinson-West EM Detection Sensor EM1-6 (1)     Sensitivity 6     Detect Sig Strength 1000:  6m km

This design is classed as a Military Vessel for maintenance purposes

I suspect some sort of floating point comparison issue is at play because "Accom HS Req" is 6.0004 and my actual HS provided is 6 exactly, or possibly some logic that is tripped up by technically needing less than a fighter accomodation.

I have "fixed" the issue in this case by trying to add a "Crew Quarters - Fighter" with "Keep Excess Q" checked. It instead added a "Crew Quarters -  Tiny" and did not increase the mass of the ship but changes spare berths to 3.

So, is this some really complicated feature I do not understand, or a bug? And, would a very small negative in that field affect crew morale?

Can you make sure you're on version 171?  I believe that version fixes these problems.
 

Offline trabber Shir (OP)

  • Warrant Officer, Class 2
  • ****
  • t
  • Posts: 63
  • Thanked: 13 times
Re: Negative spare berths
« Reply #5 on: September 21, 2021, 10:10:38 PM »

Can you make sure you're on version 171?  I believe that version fixes these problems.

Oops, I downloaded 171, but I am still running 170. Downloading 172 now. Since I fixed the ship manually I don't think I will be able to easily revisit this exact scenario however.