Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: [0.8.1a-RC8] Ghost interfaces, credit doubling on ship sales  (Read 1387 times)

XpanD

  • Captain
  • ****
  • Posts: 380
    • View Profile

I found an interesting issue on my latest playthrough, and after a bunch of testing managed to break it to the point of giving me double the payout for sold ships. My screenshots are from a modded game, but I've confirmed this also works in vanilla.

If you press the Sell hotkey ("S") while also picking up a ship with the mouse and you get the timing just right (pressing "S" just after the click seems to work pretty reliably), this happens:
http://www.expand.rs/starsectorbug2.png

The game will prevent you from clicking the ghost box, but pressing Space/ESC still performs the action, leading into the cash issue mentioned into the title. You can stack multiple copies of these boxes, which then lets you sell exactly two (?) copies of every ship before it stops working. After the second copy, sales stop making the little sell noise and stop adding money.

Using this trick, you can sell your entire fleet twice if you so desire:
http://www.expand.rs/starsectorbug4.png (I had some cash on me, so any variation is due to that -- my fleet got paid for exactly twice)

Don't actually sell everything you own, though, or this happens:
http://www.expand.rs/starsectorbug5.png

...yup, that was a bad idea. :D

Also, if you press the same hotkey while clicking "Refit", you can do this:
http://www.expand.rs/starsectorbug1.png (very weird, you can still edit the ship after selling it but it vanishes when you close out)

Apart from being able to sell ships twice this issue seems pretty benign, but there might be uses for it that I haven't found yet.

Thanks for reading, and keep up the good work. Still having a ton of fun with the game, and it's only been getting better. :)
« Last Edit: May 13, 2018, 07:55:09 AM by XpanD »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24126
    • View Profile
Re: [0.8.1a-RC8] Ghost interfaces, credit doubling on ship sales
« Reply #1 on: May 13, 2018, 09:59:49 AM »

Thank you for the detailed report! I believe this is fixed, because:

1) I can't reproduce it after a minute or so of clicking, and
2) I fairly recently made it so multiple buttons can't activate within the same frame, to get around this type of issue in a blanket way.

So, right, hopefully it's fixed and it's not just me not clicking properly. Did try a range of timings, though.

Thanks for reading, and keep up the good work. Still having a ton of fun with the game, and it's only been getting better. :)

Thank you! Happy to hear that :)
Logged

XpanD

  • Captain
  • ****
  • Posts: 380
    • View Profile
Re: [0.8.1a-RC8] Ghost interfaces, credit doubling on ship sales
« Reply #2 on: May 13, 2018, 10:17:38 AM »

I can make it happen roughly once every three attempts, but that is with some practice and knowing what I'm aiming for -- it happening in the same frame sounds about right. Glad to hear that's most likely fixed.

I'll give it another shot in the next version (if I remember to), and will be sure to put up a new topic then if I can still cause it to happen.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24126
    • View Profile
Re: [0.8.1a-RC8] Ghost interfaces, credit doubling on ship sales
« Reply #3 on: May 13, 2018, 10:18:59 AM »

Thanks, that'll be much appreciated!

(I was able to reproduce a similar issue - though I forget what it was - fairly reliably too, before the fix, so I *think* I ought to have the timing down as well...)
Logged