Installer Steam
connexion
|
langue
简体中文 (chinois simplifié)
繁體中文 (chinois traditionnel)
日本語 (japonais)
한국어 (coréen)
ไทย (thaï)
Български (bulgare)
Čeština (tchèque)
Dansk (danois)
Deutsch (allemand)
English (anglais)
Español - España (espagnol castillan)
Español - Latinoamérica (espagnol d'Amérique latine)
Ελληνικά (grec)
Italiano (italien)
Bahasa Indonesia (indonésien)
Magyar (hongrois)
Nederlands (néerlandais)
Norsk (norvégien)
Polski (polonais)
Português (portugais du Portugal)
Português - Brasil (portugais du Brésil)
Română (roumain)
Русский (russe)
Suomi (finnois)
Svenska (suédois)
Türkçe (turc)
Tiếng Việt (vietnamien)
Українська (ukrainien)
Signaler un problème de traduction
It IS interesting to see other people's approaches though.
Agreed. You actually learn and improve at coding as well. There is no skill involved with copy and paste.
Definently not everything. RIght now it's almost everything I need though. I havent even hit the first bitnode. I'm not a programmer but maybe I can peice together enough scripts to helhp me further, after I progress. This is the base though.
Second, ran it after upgrades and got this:
RUNTIME ERROR
auto-farm.js@home
scan: Invalid hostname or IP: home,zer0
Stack:
auto-farm.js:L56@scanServers
auto-farm.js:L145@Module.main
Man this is educational, though.
If you want to see the latest update which THE ORIGINAL creator PG SDVX still does. just go to the ORIGINAL guide and not this sad thief's copy and paste attempt.
The author forgot a lot of references to Array positions.
such as :
if (results != "home" [...])
He is comparing a arrray of strings with a string...
await ns.scp(files, "home", temp)
Trying to copy a file to an array of strings, again...
I've been debugging this mess for an hour and half. It has more holes than swiss cheese...
Source: https://github.com/danielyxie/bitburner/blob/46b0b399e9dbdbbea170257bf5cb49aa8b037782/src/Hacknet/formulas/HacknetNodes.ts
I /think/ your hackall() function can be improved significantly without major changes to your scripts. I think you're ignoring how long some of those attack scripts take, as those durations can vary. You can get this information dynamically with the material unlocked through Formulas.exe, or read about it in the wiki or the source code.
You are missing a major feature that I consider roughly as important as a decent set of attack scripts, and is accessible at the beginning of the game. It does consume RAM, though, so it /might/ not be worthwhile yet.
ns.share()