Thanks for the report! I've got a note to have a look at some point, but it's annoying enough to fix (and not a big enough issue) that it hasn't got enough of a priority yet. I think you might be able to get this sorted in your game via console commands, though - I'd imagine there's an AddCredits or similar?
Sounds like a stack overflow issue. Same issue supposedly gave the original Civ game Nuclear Gandhi, but Sid Meier apparently only gets annoyed when this gets suggested/pointed out (there is a funny interview from some game magazine that basically details exactly this).
Although increasing memory availability for having more money would temporarily fix the issue, increasing the cap to like 1 trillion will only delay the inevitable issue. Prolly gonna have to come up with some in-game reason why player can't have more than X number of credits... with X still being a crazy large number.
Has anyone found a fix to this bug?Console command mod to add back your 'proper' amount of credits.
runcode import com.fs.starfarer.api.impl.campaign.shared.SharedData;
Global.getSector().getPlayerFleet().getCargo().getCredits().set(0);
SharedData.getData().getCurrentReport().setDebt(0);
SharedData.getData().getCurrentReport().setPreviousDebt(0);
The technical fix is to copy and paste this into console (this doesn't make the cap go away but the debt will):No, that's a workaround, not a fix. A fix would be to implement a cap. If you have billions of credits, money has become meaningless anyway.Code: javaruncode import com.fs.starfarer.api.impl.campaign.shared.SharedData;
Global.getSector().getPlayerFleet().getCargo().getCredits().set(0);
SharedData.getData().getCurrentReport().setDebt(0);
SharedData.getData().getCurrentReport().setPreviousDebt(0);
The actual fix is to find something to do in the game that isn't making a number go up at rates far beyond what it's designed to do.
The actual fix is to find something to do in the game that isn't making a number go up at rates far beyond what it's designed to do.
No, that's a workaround, not a fix.Yes :)
A fix would be to implement a cap.No. It would be a workaround :P :D ;)
(...) numbers above 999,999,999 credits don't fit in the UI (...)Oh :(
It's not like it's impossible to reach that limit even in vanilla Starsector. It just takes longer.Yes!
No. It would be a workaround :P :D ;)No, it's the standard fix to overflows. Prevent the value from getting bigger than the code can handle. Just using bigger variables does not actually fix the issue but just delays it and may not be suitable for other reasons.(...) numbers above 999,999,999 credits don't fit in the UI (...)Oh :(
My Windows calculator can 9,999,999,999,999,999...
Spoiler@Histidine:
Hello mate :)
I was wondering for a moment whether I should express my opinion on your opinion or not.
I decided to share my thoughts and I just hope you can handle it.
My intention is not to attack you, but to present my POV (!!!).
The actual fix is to find something to do in the game that isn't making a number go up at rates far beyond what it's designed to do.
Buuuuuuuuuuuuuuuuaahahahahahahahahahahahahahahahahahaha. Like seriously I can't stop. Can't at all.
Please, pretty please, forgive me for not being able to hold it.
Buuuuaaahahahahaha :) <- with all do respect nevertheless ofc! :) :)
1. It's not a fix.
2. It wasn't helpful at all.
3. Please, please, please, try to think for a little longer about what you wrote.
(Btw, if you write your above statement to the modders, I'd like to see their reaction :) )
I really don't need advices, I don't need to be told how to play the game and I don't care if UI shows me 999,999,999 or -999,999,999 or XXX,XXX,XXX or ERROR or 000,000,000.
As long as I have 1,000,000,000+ :)
I remember playing "Supreme Ruler", where if one of the players have acumulated a lot of currency or products, he have seen something like 9.99999998E+17. And we kept playing. Of course.
It was about 40 years ago.
The game have been written in Basic.
On Atari 800XL with 62kB available RAM.
Impossible to fix Stack overflow??? :o
Haaaaaaaaaaaahahahaha
Calculator in my watch deals with bigger numbers :)
Btw, did you enjoyed SW prequels and sequels? Did you enjoyed all-powerful Rey "Skywalker" ( :D) ? Did you enjoyed Luke giving up on Jedi, force, people...?
Did you enjoyed Han Solo being killed by his son? Did you enjoyed the pace of recent Ahsooka series?
If not, then well, you have watched it wrong ;)
Just like I play the game wrong :)
You got this? I hope you do :)
No, that's a workaround, not a fix.Yes :)A fix would be to implement a cap.No. It would be a workaround :P :D ;)(...) numbers above 999,999,999 credits don't fit in the UI (...)Oh :(
My Windows calculator can 9,999,999,999,999,999...It's not like it's impossible to reach that limit even in vanilla Starsector. It just takes longer.Yes!
First time I encountered this issue was in vanilla. And it din't took long rly. I think I played about a week, or maybe 10 days (not sure, don't remember well, it was long ago).
@Everybody
One of the things I like in live the most (sarc ofc), is when folks say how many things CAN'T BE DONE ;D [Written by AiDec. A long-time professional production manager] 8)
Peace, love, fun, laughter and neverending progression :-*
Live long and prosper.[close]
I was going to write more...
Now I'm wondering if this is a good idea...
Prevent the value from getting bigger than the code can handle.
(...) it's the standard fix to overflows.
Also, the UI can display numbers bigger than that, they'll just overlap other elements.
And you really need to work on your tone.
(...) It is not and was not. (...)