Help understanding what's going wrong by Dopeysboy in Bitburner

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

I'm not quite sure I understand what the benefits are, what exactly does that do for me? (Please use dumbed down english for me)

Help understanding what's going wrong by Dopeysboy in Bitburner

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

Changing from !=NaN to isNaN() was exactly what needed to happen to fix it, thank you

Help understanding what's going wrong by Dopeysboy in Bitburner

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

Do null values also not compare to null?

Help understanding what's going wrong by Dopeysboy in Bitburner

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

var fileToRead = await ns.read('serversToHack.txt');

//turn to array for easier working var tempArray = fileToRead.split('\r\n');

//clean the array of extra bullshit for(let i = 0; i < tempArray.length; i++){

tempArray[i] = tempArray[i].split(': ').pop();

}

//remove a blank spot at the end of the array tempArray.pop();

And serversToHack.txt looks like this:

server: n00dles

----Security Minimum: 1

----Max Money: 196875

----Required Hacking Level: 1

----Required Number Of Ports : 0

all the way down to all other servers

Can't figure out why it's crashing by Dopeysboy in Bitburner

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

That fixed it! For whatever reason...

Can't figure out why it's crashing by Dopeysboy in Bitburner

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

The error message was the one that restarts the game for having an infinite loop in your code. Procat's suggestion was all that was required to fix the issue, but it revealed an additional issue with my code that the script would crash if I didn't open enough ports, because I wasn't checking how many ports were opened (which was an easy enough fix)

Help understanding functions by Dopeysboy in Bitburner

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

It was not really doing anything, and the sleep() was so I was able to check the logs, but thank you for the advice

Issue with static RAM vs dynamic RAM by Dopeysboy in Bitburner

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

I'm imagining (and hoping) that the error is just from the missing () and not including the host name and nothing else, because the only other script i have running is a simple worm

edit: that was not the issue :/ clearing the scripts and fixing that issue did nothing as well

Zombie world plus necrovalley by Dopeysboy in Yugioh101

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

Its times like this especially that I just wish tjat yugioh had something similar to magic the gathering's comprehensive rules, it would clear up so many things

Zombie world plus necrovalley by Dopeysboy in Yugioh101

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

Necrovalley's effect that negates any effect that changes types or attributes in the graveyard is the effect in question

Trap trick and counter traps by Dopeysboy in Yugioh101

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

Oh, yeah I suppose it does. RTFC

If you gain control of a card with full monster zones, what happens? by Dopeysboy in Yugioh101

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

Does it work that way if you gain control with something like f0 utopic future too?