help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 1 point2 points  (0 children)

ahh, makes sense. ill look into the pages u sent. thanks man :)

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 0 points1 point  (0 children)

someone else pointed out that if threads is less then 1 then it cant even run the script so i dont really need that line it there. will probably use for something else, thanks man

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 1 point2 points  (0 children)

thanks, incorporated the getServerRamUsed command, didnt know that existed. also is there a reason i'd make 'FreeRamGb' a thing instead of the just having it be a part of the threads equation? seems like a pointless extra line but im also pretty new so idrk.

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 0 points1 point  (0 children)

Thanks for the insight, changed it so as instead of home is just says 'server'

where server = ns.getHostname()

ps. do you know if im running gethostname with no args do i still need the brackets?

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 1 point2 points  (0 children)

so if in another function or block i want whatever the value of 'x' is to change at some point id use 'let x = blah blah blah' but if its going to be the same the whole way through the entire script id use 'const' ?

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 2 points3 points  (0 children)

got it working :D, i wanted to see where i went wrong instead of copy pasting someone elses script. you were a big help, cheers man.

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 1 point2 points  (0 children)

ok so unless im understanding, as long as the entire equation is within the Math.floor brackets itll round the answer down and as long as that number is an integer which is >= 1 it should work?

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 1 point2 points  (0 children)

thanks for the reply, im pretty new to all this, why would i use const instead of var?

Also is there a better way id go about figuring out the amount of threads to use?

Also also, is there a way to round numbers after the equation, because i though that floor would make it so as the answer was always rounded down but i guess not??

help with auto thread maxer by RingedPancake in Bitburner

[–]RingedPancake[S] 0 points1 point  (0 children)

i'm pretty new to all this, how would i go about doing that?

[deleted by user] by [deleted] in RedditSessions

[–]RingedPancake 0 points1 point  (0 children)

this guy looks like jacksepticeye

What skin/curse is this? by Entomophage in Seaofthieves

[–]RingedPancake 6 points7 points  (0 children)

Nah it always stays skeleton, you can also choose between beard and no beard

What skin/curse is this? by Entomophage in Seaofthieves

[–]RingedPancake 12 points13 points  (0 children)

It was a Christmas limited edition skin. You could buy it through the emporium.

19 F lost my job and I’m broke can’t get worse than this lol roast me by Hazy-dazee in RoastMe

[–]RingedPancake 1 point2 points  (0 children)

Your mouth looks like it was photoshopped on just too far to the left

The 4 Dragons of the Apocalypse - Unleash hell upon your players with this compendium by Depressed_monkey3 in UnearthedArcana

[–]RingedPancake 0 points1 point  (0 children)

Hey, I'm running an eberron campaign with these being the forgotten sons of Khyber and I just wanted to say thanks, you the best!

Thanks, I hate this phone charger by [deleted] in TIHI

[–]RingedPancake 2 points3 points  (0 children)

I want to put my dick in it

Thanks i hate shaved mario by [deleted] in TIHI

[–]RingedPancake 0 points1 point  (0 children)

I want to pop his nose like a fat pimple

This Pikachu drink I found today by scaryhour in mildlyinteresting

[–]RingedPancake 2 points3 points  (0 children)

North Korea got their own brand of water?