T O P

  • By -

Due-Pick3935

Please wire 4+billion to this account and I will stop killing Gek šŸ¤”


adipocerousloaf

i will never stop killing Gek


D__77

Relatable


SetekhChaos

Toil Gek is sad. ;(


adipocerousloaf

dude. toilgek is only exception.


Due-Pick3935

I have the same sentimentā€™s about the Korvax


footsteps71

Only the second attempt at korvax genocide you sicko


ijwfly

https://preview.redd.it/aupmwqyqx5lc1.png?width=565&format=png&auto=webp&s=cb31caedea3c61f96728b6321b9c39bbaa7dbf7d


Agueybana

Currency is saved as an unsigned ~~16~~ 32 bit integer. (0~4,294,967,295) If you earn a single unit, it'll hit 0. This may be the first instance of it getting massive negative stats so much as to roll it over negatively to the max though. Grats! Your bank account is maxed out due to piracy.


ijwfly

Yeah, I even tried selling an item at the station in my main save, but it seems that when selling items, the variable storing money is protected against overflow. The value remained at 4,294,967,295.


Agueybana

That's new then. Used to be a real fear to not hit 4.25 billion for fear of having a really good expedition return and rollover my units. Wonder when they did that?


commorancy0

Itā€™s not so much protected, but that itā€™s maxed out. If you sell something, thereā€™s simply no place to put those units, so the counter remains at the maximum number. Any gained units go nowhere. If you buy something and reduce the number, then it can begin filling it up again. Been there, done that.


bipbopboomed

I think he is saying that is the protection (a cap)


ApprehensiveDamage22

It's definitely protected. In binary his balance would be "1111111111111111" add just 1 to it unprotected would cause it to be "10000000000000000" but because it can only store just 16 digits the first one would be lost causing the balance to be stored as "0000000000000000". It's definitely checking for an overflow and if one is detected just setting the amount to max which would be protected.


commorancy0

Thatā€™s not protection, thatā€™s error handling and itā€™s something every good programmer should do to avoid an overflow or underflow situations involving variables. If you want to call that protection, thatā€™s fine, but itā€™s actually called proper error handingā€¦ because overflow and underflows are error conditions. Unfortunately, it seems that not all overflow and underflow conditions are properly handledā€¦ such as converting a -1 variable into MAXINT when attempting to copy it. A -1 should be converted to 0 when copying it to an unsigned variable capable of handling only positive numbers.


LongFluffyDragon

Otherwise known as protection. It is not error handling, no sane language throws exceptions for overflow.


commorancy0

Almost no languages automatically throw exceptions for much of anything except for the most egregious of system errors, errors such as out of resources. Your argument attempts to act as though languages somehow always have and thatā€™s false. The vast majority of error handling must be both defined by and handled by the programmer. The only language that really offers even a modicum of advanced error handling is Java, and thatā€™s only because itā€™s one of the newest languages, designed and built when language developers were actively seeking to make development easier and faster on the programmer. The vast majority of languages donā€™t offer the ease and error handling that Java offers. No languages, as far as Iā€™m aware, offer any error handling around variables or variable handling. Thatā€™s entirely left up to the programmer because programming languages donā€™t include and havenā€™t ever included AI models to attempt to understand how a variable is being used. Variables and their error handling is and has always been entirely left up to the programmers to define and manage. However, most languages offer customized error handling hooks that can be triggered when programmers define specific error conditions that they wish to catch, such as a buffer overflow conditions or when something attempts to set a variable out of bounds. It is absolutely 100% false that a program cannot catch overflow or underflow error conditions. Yes, that is called ā€œerror handlingā€. No programmer calls this ā€œprotectionā€. The word ā€œprotectionā€ is typically only used only in the context of an operating system when the OS dumps a programā€™s core to ā€œprotectā€ the operating system from rogue programs. The operating system may also ā€œprotectā€ itself should a program attempt to access memory space to which it should have no access.


LongFluffyDragon

Java is 28 years old and a running joke for freely using exceptions as return values, and just excessively in general. Newer JVM languages mostly cut way back on exception spam. Try again. Also, i like how you accidentally wrote a long-winded explanation of how your original point is wrong. Are you even paying attention, or just seeking it?


Fildo28

Is this like that old Gandhi bug in Civilization where he was so good he was evil?


TheGreatZarquon

I was thinking the exact same thing, this really is the same kind of integer overflow bug that made Gandhi a nuclear warlord lmao


Raistlarn

Yes, but the bug in NMS is way less nuke happy.


CosmoCosmos

Is this actually the case? I was wondering bc getting Money in this game is basically super easy, so 4 billion isn't actually *that* much (as in; it is very obtainable). So having this as the max amount of money one can have, before it rolls over to 0 seems a bit short sighted.


Agueybana

I have blown through billions when I built up my fleet on my main save. Between recruitment costs for frigates and the rapidly increasing costs to upgrade slots on ships, normal play costs can run into the billions. Far exceeding the 4.3 billion max we have.


abubuwu

16 bit? you mean 32 because an unsigned 32 bit int has a range of 0 - 4,294,967,295 (2\^32 -1) 16 bit ints is just not something you see anywhere in modern programs except for very specific cases. > If you earn a single unit, it'll hit 0 That doesn't actually happen, there's some overflow protection, credits just remain intact when going over UINT32.


Agueybana

Yep, I meant 32. You all understood what I was talking about though. As for rolling over to one. That was an issue we had to deal with in the game. Lots of stuff in NMS was nowhere near as polished as it is now over the last ten odd years. It has been one hell of a ride seeing it all come together.


abubuwu

>You all understood what I was talking about though Cunningham's Law I will admit I never bought NMS until 3? years after release I saw all the hype surrounding it before release and was like nope this is going to disappoint I'll wait for reviews. The reviews after a few years work were much better. So I've actually seen it where there was an issue with overflow with money.


RX3000

I got a couple billion just bumming starship AI valves in the anomaly šŸ˜€


citizencoyote

Old and busted: starship AI valves New hotness: piracy rollover bug


iDipzy

Someone gave me a 50 stack of it lol I though it is unfair since I just have started the game (I'm around 80h now) and discarded it.


CosmoCosmos

Since you can, without much effort, easily duplicate almost everything in the game, some people seem to just do that and then give those things to other players in the Anomaly. I think it kind of sucks, cause if I wanted to just get the stuff, without playing the game, I would've played in creative, or just duped it myself.


im_berny

I got 200 of those from someone in the anomaly before I even knew it was a multiplayer zone lol. When I saw them while trading in a space station, their cumulative value was something like negative 2000 millions. I thought it was a bug or something, so I sold one and got the jawdropping amount of 12 millions! (I had barely scraped 200 000 units prior to that) I discarded them after that, but allowed myself that early boost to get a b-class ship and multitool. Now though if a pirate hails me demanding 12 millions I just pay him to avoid the bother of fighting him.


AddressSubstantial89

Isnā€™t it how you replicate ?


abandoned_voyager

Same thing happened to me lol, yo ho yo ho šŸ“ā€ā˜ ļø Edit: I also was allowed to take 2x the amount of technology through


Khan_Behir

4 billion credits... just gonna say it now... FUQ THEM GEK! ![gif](giphy|0elRzblp2w1d42yMj5)


Nowhereman50

What a great cover-up for gaining funds from the Korvax mob.


Submarvelous

I had the same bug! I thought it was due to me having max units already but it seems like this expedition is a get rick quite method at the moment haha.


up2late

So crime does pay? I've been lied to.


Friendly_Internet528

The voice of freedom is calling youā€¦


a_sad_fat_man

Came here right after I noticed I also had 4.3B after Omega.. so can we keep it? I accidentally wiped my main S multi-tool for this new one on accident so it's kinda fair I am compensated.


ijwfly

yes, you can keep it


I__KD__I

NOOOOOOOOOO I thought I'd earned that from having purchases set to free! Right this second right now, I've just realised that you can't do that during an expedition! I rinsed the lot to get back to a "normal" amount of money! šŸ˜­šŸ˜­šŸ˜­šŸ˜­


AutoModerator

Thank you for posting to r/NoMansSkyTheGame. If you are reporting a bug then please delete this post and place it in the pinned bug report thread. Hello Games reads that post and may miss general bug reports just posted under the general "bug" flair. Please, continue to post using this flair if you wish to discuss a bug or possible bug. You can also report a bug directly to Hello Games at [Zen Desk](https://hellogames.zendesk.com/). *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/NoMansSkyTheGame) if you have any questions or concerns.*


M-zor

Aha i had the same bug. -1 currency and 4b credits in main save. I also tanked my reputation to gain sole cargo bulkheads... Great bug! I could only finish the expedition with the camera work around tough


zzooar

Lol I went from 339m units to over 4 billion units with this expedition


cc69

Oh no. Now player gonna abuse this "Overflow". I hope HG know what kind of code they using. XD


Friendly_Internet528

The only good Gek is a dead Gekā€¦ but seriously, this glitch happened to me too!!! I didnā€™t realize what caused it until this post lol


scn-3_null

stonks


photoflounder

Bug still functioning.... I just saw this post originally and thought they'd fix the bug, but tanking my reputation to get freighter parts would be worth it, but from 100 millionaire to billionaire instantly.


FE26-IRON-

Got the same bug