If that happens, you end up with $0.00 in the server, or with a tiny fraction of its max, and it'll take really long to grow it back. ° Another thing to avoid: over-hacking a server (taking all money out of it due to too many threads, or gradually depleting it due to lack of grow threads). Hint: The write() function can write to files. Defaults to player’s current hacking level. hackLvl ( number) Optional hacking level for the calculation. The solution is to write a "script generator", a script that writes scripts. hostname/ip ( string) Hostname or IP of target server. We were nonplussed that in 2077 they’re still using vim, but you can use nano. ° One key issue is that you can't run a script twice at the same time, so you can't use the target server as a parameter to the same script. The operating system is suspiciously Linux-like with commands like alias, cat, cp, kill, and the like. The data you are be interested in can probably be retreived via functions listed here: mikek005 1 yr. I found that 1/10 can be slightly low if the RNG rolls an unusually uncooperative server. Using the exact formulas might be cumbersome except you want to save RAM by not using ns functions. Cases where a big proportion of hack jobs fail can get by with fewer weaken threads, but that'll normalize when hack levels increase. Returns the amount of time in seconds it takes to execute the hack () Netscript function on the target server. hackLvl ( number) Optional hacking level for the calculation. There are 3 concepts, the while loop, the weaken() function which is Bitburner-specific, and the args variable which is short for arguments. It does not need to be running on the same server to hack that server. hostname/ip ( string) Hostname or IP of target server. A script can hack a server from anywhere. In order to hack a server you must first gain root access to that server and also have the required hacking level. That's good enough to lower Sec, but only slowly. The runtime for this command depends on your hacking level and the target server’s security level. ° For now, I found out that I can dedicate 1/10 of my threads to weaken and it'll keep Sec down near the minimum. They seem to slow down/speed up proportionally, so it's a good idea to spawn a job that weakens 100% of the time, with just as many threads as needed. ° Sec affects the following: Chance to hack, money taken if successful, money percentage grown, and the time all three actions take. ° Grow has a bigger effect on security level than hacking, and a failed hack doesn't change sec at all. getHackingLevel () Netscript Function Bitburner 2.1. There might be servers where these figures aren't even remotely accurate. Weaken takes ~4 times the time of hack, and grow ~3 times. So I haven't worried about it too much.° Hacking is faster than weaken or grow. You generally will make a money a lot faster than you gain reputation, even if you aren't very efficient in gaining money. Less efficient just means you gain money slower, but slower is relative. It can get really complex, but you don't necessarily have to be optimal or anything. hashGainRate (level, ramUsed, maxRam, cores, mult) Calculate hash gain rate. hacknetServerCost (n, mult) Calculate the cost of a hacknet server. The approach you take can matter a lot as well. coreUpgradeCost (startingCore, extraCores, costMult) Calculate cost of upgrading hacknet server cores. (Ex: 0.25 would indicate a 25 chance of success.) Calculate hack exp for one thread. (Ex: 3.0 would would grow the server to 300 of its current value.) Calculate grow time. Bitburner contains a complete fuse and lock calculator with an extensive. Calculate the percent a server would grow to. Object representing data representing a gang member equipment. Im only earlymid game but its been useful from lvl 1 hacking to lvl 500+. Data representing the internal values of a crime. All multipliers affecting the difficulty of the current challenge. If it was right, just one server will probably be more efficient. Options to affect the behavior of hack, grow, and weaken. Doing more than one can help just in case your logic for deciding which server was best wasn't quite right. You can hack more than one server right away if you want, or you can try and just focus on one. You also need to worry about growing the money back on servers if you want this to work long term, so the growth rate of a server also matters. The time it takes to hack depends on the server's current security level as well as the hacking level required for the server, and of course your hacking skill. What you want is to gain the most money per second, so besides how much you get, you need to consider how fast it was to get as well. No, need to consider more than just max money.
0 Comments
Leave a Reply. |