Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Missions not giving accurate numbers  (Read 4737 times)

Achataeon

  • Commander
  • ***
  • Posts: 169
  • ~stare~
    • View Profile
Missions not giving accurate numbers
« on: December 04, 2015, 02:44:59 PM »

Yay! My first bug report!

I noticed that some missions have discrepancies in the amounts that are posted. i.e. market wants 10000 commodity X, but the description of the mission would show that the market only actually wants 10.

Couldn't get a screen shot, because reasons, but I'm 1,000,000% sure it's a bug.
Logged
"On average, a human has one breast and one testicle"
- Vsauce, Michael here

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile
Re: Missions not giving accurate numbers
« Reply #1 on: December 04, 2015, 02:46:41 PM »

Could you clarify what you mean by "market wants"?
Logged

Achataeon

  • Commander
  • ***
  • Posts: 169
  • ~stare~
    • View Profile
Re: Missions not giving accurate numbers
« Reply #2 on: December 04, 2015, 02:51:09 PM »

Procurement Contract - Supplies, 10000 units
 Acquire 10 units of supplies and deliver to Asharu within 10 days for a 2,170 payment

That kind of thing.
Logged
"On average, a human has one breast and one testicle"
- Vsauce, Michael here

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile
Re: Missions not giving accurate numbers
« Reply #3 on: December 04, 2015, 02:56:44 PM »

Ah, thanks - hmm, not seeing this happen myself, and looking through the code, not seeing how that might happen. Will keep an eye out!
Logged

Achataeon

  • Commander
  • ***
  • Posts: 169
  • ~stare~
    • View Profile
Re: Missions not giving accurate numbers
« Reply #4 on: December 04, 2015, 06:29:59 PM »

Found out where the game saves the screenshots. Hehehe.

Here's the first time I saw it. And another when I encountered it just now. (still don't know how to make my pictures show up in the body of the message though)

[attachment deleted by admin]
Logged
"On average, a human has one breast and one testicle"
- Vsauce, Michael here

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile
Re: Missions not giving accurate numbers
« Reply #5 on: December 04, 2015, 06:37:19 PM »

Do you mind sending me the save where you're seeing it?

fractalsoftworks [at] gmail [dot] com
Logged

TJJ

  • Admiral
  • *****
  • Posts: 1905
    • View Profile
Re: Missions not giving accurate numbers
« Reply #6 on: December 04, 2015, 06:43:44 PM »

Here you go:

https://dl.dropboxusercontent.com/u/54785909/starfarer/0.7.1a%20RC3/save_AbU5er_4737988832296341546.zip

Dock at Coatl, and look at the 4th mission down:

Title of mission says 200 units of Heavy Machinery
Details say 50 units.

https://dl.dropboxusercontent.com/u/54785909/starfarer/0.7.1a%20RC3/screenshot029.png

Perhaps related to the presence of another mission with the same faction, cargo type, destination & time limit further up the list?
« Last Edit: December 04, 2015, 06:50:26 PM by TJJ »
Logged

TJJ

  • Admiral
  • *****
  • Posts: 1905
    • View Profile
Can't turn mission in. Not recognizing correct cargo.
« Reply #7 on: December 04, 2015, 07:12:31 PM »

Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile
Re: Missions not giving accurate numbers
« Reply #8 on: December 04, 2015, 07:17:49 PM »

Thanks for the saves, seems to be the same issue.

The problem appears to be that if it creates a mission targeting the same market with the same commodity, it'll reuse the same "event" but point it to a different mission definition, so the original mission event will be using the wrong mission definition.

Might need to hotfix this, since I think this crash is related, too.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile
Re: Missions not giving accurate numbers
« Reply #9 on: December 04, 2015, 07:48:07 PM »

Hotfix is up.
Logged

Ceebees

  • Ensign
  • *
  • Posts: 46
    • View Profile
Re: Missions not giving accurate numbers
« Reply #10 on: December 20, 2015, 11:18:51 AM »

I'm on rc5 and i'm still seeing the second problem: many but not all requests for small numbers of high-value items - (12 organs, 20 templar cores, etc) not being completed with exactly the requested number of that commodity. Having one more of the requested item will let me complete the task, though, and the extra one remains in my hold after the others get turned in.

Is there maybe a decimal in the request that's getting cut off, or is this possibly an issue with SS+?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23987
    • View Profile
Re: Missions not giving accurate numbers
« Reply #11 on: December 20, 2015, 11:20:34 AM »

I'm on rc5 and i'm still seeing the second problem: many but not all requests for small numbers of high-value items - (12 organs, 20 templar cores, etc) not being completed with exactly the requested number of that commodity. Having one more of the requested item will let me complete the task, though, and the extra one remains in my hold after the others get turned in.

Is there maybe a decimal in the request that's getting cut off, or is this possibly an issue with SS+?

Hi - yeah, it's a rounding issue, fixed for the next release. The part that's got the issue is the check whether you have enough, everything else appears to be doing the right thing.
Logged