NGU IDLE

NGU IDLE

View Stats:
Sadistic NGU 1.8 Quintillion energy cap?
Each time I click on "cap" for a single NGU it applies 1.8 Quintillion energy, no matter which NGU. Is this the most energy which can affect a single NGU's speed? Is every point above it wasted? It is just really weird.
< >
Showing 1-10 of 10 comments
jshepler Jun 10, 2023 @ 3:38am 
A quick look at the code, the math doesn't show anything that would limit it. Other than the energy hard cap, of course, which is 9e+18 (or 9 quintillion).

I loaded an old save from when I had completed the game (so end of sadistic), clicked each cap button, and they ranged from 1.973e+14 to 4.767e+18 (or 4.767 quintillion).

Maybe it just happens that each of your energy ngus needs the same amount to cap? Seems pretty unlikely, but it's possible. Maybe you should go play the lottery. :P
black_Leviathan Jun 11, 2023 @ 3:18am 
Thanks for looking it up. The thing is, even if I change my digger level, equip or unequip NGU gear or gain additional energy or magic power it doesn't change. That is the weird thing.
jshepler Jun 11, 2023 @ 8:30am 
Yeah, definitely sounds weird.

Gotta be missing something. My first thought is that's all the idle energy you had, but I would think you would have noticed that - I mean, being in sadistic, I assume you know basic game stuff like that. :)

If you upload/link your save, I'll see if it does the same for me. Maybe I can figure out what's going on. Or if you can record/post a short video of it happening, maybe someone will notice something.
black_Leviathan Jun 12, 2023 @ 6:11pm 
Originally posted by jshepler:
Yeah, definitely sounds weird.

Gotta be missing something. My first thought is that's all the idle energy you had, but I would think you would have noticed that - I mean, being in sadistic, I assume you know basic game stuff like that. :)

If you upload/link your save, I'll see if it does the same for me. Maybe I can figure out what's going on. Or if you can record/post a short video of it happening, maybe someone will notice something.

Now it changed suddenly to 2.250 Quintillion energy. Though, could you please link me to a place which explains how to upload/link my safe file, so I can share it with you? My google searches only spit out unrelated stuff.
jshepler Jun 13, 2023 @ 4:04am 
If you have a google account, one option is your google drive. You can upload and share files (make sure it's marked as public).

If you're on discord, you can upload your file to a chat room or DM. I'm jshepler#8173 there. I'm only online when I need to be, so let me know if you DM me.

The contents of NGU save files are plain text, so another option is to open a file and copy/paste the text somewhere. While you could paste it here, it might be too big. Try it if you want. If you do, wrap it a code block like I did below with the folder path to where NGU saves are kept.

There are a number of places where you can paste text and get a link to it. Pastebin used to be the go-to place for that, but they've gone way overboard with ads and crap. Github gists are much cleaner and easier to use, but does require an account.

If you don't know where NGU's saves are, when you click the save or load game button, it opens to that folder - you can get the location from the top of that window. Or you can press windows+r and paste the following and press enter
%APPDATA%\..\LocalLow\NGU Industries\NGU Idle
Last edited by jshepler; Jun 13, 2023 @ 4:09am
Nyu Jun 18, 2023 @ 4:41am 
do you have the %cap feature active?

cap all will start from top capping everything to button giving the last the least.
if you have not enough to cap all or changed the % number everything just goes in the first.
and cap on one of them will just cap that skill.

change the number, or unlock that feature in ap shop i think.

its 100% a player problem, not the game working wrong.
jshepler Jun 18, 2023 @ 5:51am 
Originally posted by Nyu:
do you have the %cap feature active?

How is that feature relevant? It's not a static number that gets assigned when clicking the cap button, so it wouldn't act like the OP describes.

Or am I missing something?
black_Leviathan Jun 20, 2023 @ 5:07am 
Originally posted by jshepler:
If you have a google account, one option is your google drive. You can upload and share files (make sure it's marked as public).

If you're on discord, you can upload your file to a chat room or DM. I'm jshepler#8173 there. I'm only online when I need to be, so let me know if you DM me.

The contents of NGU save files are plain text, so another option is to open a file and copy/paste the text somewhere. While you could paste it here, it might be too big. Try it if you want. If you do, wrap it a code block like I did below with the folder path to where NGU saves are kept.

There are a number of places where you can paste text and get a link to it. Pastebin used to be the go-to place for that, but they've gone way overboard with ads and crap. Github gists are much cleaner and easier to use, but does require an account.

If you don't know where NGU's saves are, when you click the save or load game button, it opens to that folder - you can get the location from the top of that window. Or you can press windows+r and paste the following and press enter
%APPDATA%\..\LocalLow\NGU Industries\NGU Idle

Uh, could you accept my friend request on discord, so I can add you as a friend and send you the file? Or should we do it another way? I'm prowling_thorn_demon over there.

About the problem itself: If found out it is closely related to the hard energy cap. My cap changed and as such what clicking on "cap NGU" does. They are numbers like 3 Quintillion, 2,25 Quintillion, 1,8 Quintillion, 1,5 Quintillion or with magic 600 Quantillion or 750 Quantillion. I'm sure you see what is the commonaility: They are all the hard cap devided by a whole number.

Edit: I found out the problem. This isn't the only placed I asked and another person told me this is a bug. Just now I used energy and magic power potions and it works normally. It seems this occurs, because I would need to exceed the hard cap to bb NGUs. Now with enough power this problem temporarily doesn't occur.
Last edited by black_Leviathan; Jun 20, 2023 @ 7:11am
jshepler Jun 20, 2023 @ 6:56am 
Check discord for my DM.
jshepler Jun 20, 2023 @ 11:14am 
I did some digging in the code and found what we were talking about in our discord chat. It does some division to determine how much of the cap amount to allocate. Loosely, allocation amount = floor( cap / ceiling(cap / idle) ). The cap value is, like I suspected, clipped to hard cap before doing this math.

Part of the fix is to clip the allocation amount to hard cap instead of the cap amount. Only part though, because cap is currently a long (64-bit signed integer) and the hard cap is close to the max value a long can hold.
9000000000000000000 // 9.000e+018, E/M/R hard cap 9223372036854775807 // ~9.223e+018, max long (64-bit signed integer) 18446744073709551615 // max ulong (64-bit unsigned integer)

Changing the code to use ulong might be enough, but switching to a double (64-bit floating-point number) is probably better. The max value of a double could be ~1.7e+308, significantly larger than long/ulong.

I wrote a mod to try this out (using double), only for energy NGUs, and it seems to work. I loaded your june 10 save, did your cap thing, and got: 3.097 quint, 3.097, 3.280, 3.222, 3.319, 3.304, 3.355, 3.357, 3.358 instead of the 3.0 quint for all we got before.

I don't know how big a deal this is, but was an interesting puzzle. If you want the mod I wrote to fix it, let me know.
< >
Showing 1-10 of 10 comments
Per page: 1530 50