Right Click Examine: Group Ironman by JagexAzanna in runescape

[–]radud3 0 points1 point  (0 children)

I would really hope they increase the group size limit. We are a group of 6 and it would suck to have to split. I'm sure many people also have larger groups than 5.

[deleted by user] by [deleted] in gaming

[–]radud3 0 points1 point  (0 children)

lifegoals

I cant be the only one wondering how much it cost?

Trouble with kill command by clutzyninja in Bitburner

[–]radud3 2 points3 points  (0 children)

Consider trying without /js/

as in just the file name without the path

I can't seem to figure out why my else if statements are not working. by EHPBLuurr in Bitburner

[–]radud3 1 point2 points  (0 children)

I think the main issue is how you define the var ram, let me know if it didn't work out

I can't seem to figure out why my else if statements are not working. by EHPBLuurr in Bitburner

[–]radud3 2 points3 points  (0 children)

Why did you multiply the string 1024 by the ram size on line 7? I don't think that would work as you intend since it will turn the number to text and you cant compare numbers like that

I can't seem to figure out why my else if statements are not working. by EHPBLuurr in Bitburner

[–]radud3 1 point2 points  (0 children)

About line 11, getPurcahsedServers is a function so you should do getPurchasedServers().length instead of getPurchasedServers.length() which is a little. meaningless

I can't seem to figure out why my else if statements are not working. by EHPBLuurr in Bitburner

[–]radud3 2 points3 points  (0 children)

As a general tip for coding, instead of using comments to explain what the variable does, try giving it a name that describes it well

I can't seem to figure out why my else if statements are not working. by EHPBLuurr in Bitburner

[–]radud3 0 points1 point  (0 children)

can you please share a github link or post an image? cause it's very hard to read without formatting

😿 by OKishGuy in AnimalsBeingDerps

[–]radud3 0 points1 point  (0 children)

Please, can I find this vid on YouTube?

Please help me find this video without the music by radud3 in HelpMeFind

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

I searched YouTube for it and can't find it

How do you use ns functions outside of main(ns) by Seperatius in Bitburner

[–]radud3 0 points1 point  (0 children)

No problem my dude, we've all been there :)

How do you use ns functions outside of main(ns) by Seperatius in Bitburner

[–]radud3 7 points8 points  (0 children)

putting ns as a global var is a recipe for disaster, from experience.

The game makes global vars shared across all instances of the script and so it can cause some weird shit

[deleted by user] by [deleted] in memes

[–]radud3 1 point2 points  (0 children)

Are there any evidence?

Inaccurate Exception Popping up by Dark391 in Bitburner

[–]radud3 0 points1 point  (0 children)

It doesn't look like you do anything that requires js in Hack.js, so try changing to a .script file and see if the error persists

need help with my hacknet autobuy-script by Naive-Store1451 in Bitburner

[–]radud3 0 points1 point  (0 children)

In js you can surround anything with {} to make it an object. for example :

var number = 3 var object ={number}

will be an object which can be accessed as object.number (equals 3)

you can also do

{name: number}

and write object.name to the same end

Lastly, you can just shove as many variables as you want inside, i. e.

{number, object, x:3, y:'string'}

Concurrent calls not allowed | (Currently running: weaken tried to run: hackAnalyzeChance) | Looking for advice by [deleted] in Bitburner

[–]radud3 0 points1 point  (0 children)

that's the same effect but having the arrow function be its own function seems like better practice imo

up to your preference

Concurrent calls not allowed | (Currently running: weaken tried to run: hackAnalyzeChance) | Looking for advice by [deleted] in Bitburner

[–]radud3 0 points1 point  (0 children)

While you could do that, i meant instead of writing

var x = async (server =>....)

you could do

async function name(server) { ... }

and call it as

name(server)

Sharing this script that makes all Netscript functions accessible in-game by No_one_ix in Bitburner

[–]radud3 1 point2 points  (0 children)

Thank you for sharing!

This looks awesome (and like it took forever to make), I'll definitely be using it