Jump to content

Bug: Hire half a Mechanic?!?


unbekannt1984

Recommended Posts

Adding more information:

Enabled Traces:

Avorion server Beta 0.14.2 r9327 running on Debian GNU/Linux buster/sid starting up in "/home/torsten/.avorion/galaxies/avorion_galaxy"

CPU: AMD Athlon 5350 APU with Radeon R3 4 Cores

RAM: 3GB

name: Avorion Server

seed: BFmibDfjCk

port: 27000

max online players: 10

save interval: 600

broadcast interval: 5

max loaded sector time: 300

weak update: yes

worker threads: 4

generator threads: 1

script background threads: 2

difficulty: Beginner

infiniteResources: no

collision: 0.25

access list: Blacklist

public: yes

authentication: yes

listed: no

steam networking: yes

administrators: '' 'torsten' 'unbekannt1984'

Initializing sector database...

Initializing faction database...

Starting up 4 worker threads...

Starting up 2 script background threads...

Loading jumping entities...

Loaded  32 jumping entities.

Loading groups...

Galaxy initialized.

Listed server version: 0.14.2.9327

[s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

Setting breakpad minidump AppID = 445220

Game Port: 27000

Steam Port: 27021

Steam Query Port: 27020

Query Port: 27003

 

Warning: No RCON password set. RCON disabled.

Server startup complete.

Server connected to Steam successfully

Server is VAC Secure!

Game Server Steam ID: 90111137619090437

 

It happened in Sector 203:-218 (Seed BFmibDfjCk). I wasn't able to reproduce the bug.

Link to comment
Share on other sites

It's been like this for as long as I've been playing. It's specifically very noticeable/reproducible if you hop on creative mode, and hire like 100+ of one type of crewmember. It's probably because of the re-autoscaling feature and where it leaves the slider value.

 

For example, you can purchase mechanics:

0-500 available

 

Say you put the slider on 180, which is 36% of the way across and you hit "buy". Now there are:

0-320 available

 

If the slider stays at 36% it will say you can hire 64.8 mechanics (barring any additional floating-point arithmetic error). They just need to implement a floor/ceiling function or something to round the slider to the nearest integer, or reset it to zero.

 

That being said, I've never actually clicked "buy" again when I see a fractional crewmember. I always move the slider first because I don't want to risk breaking anything.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...