For example, you can create a script that hacks the foodnstuff server and run that script on any server in the game.Ī successful hack() on a server will raise that server’s security level by 0.002. It does not need to be running on the same server to hack that server. In order to hack a server you must first gain root access to that server and also have the required hacking level.Ī script can hack a server from anywhere. The runtime for this command depends on your hacking level and the target server’s security level when this function is called. Remarksįunction that is used to try and hack servers to steal money and gain hacking experience. The amount of money stolen if the hack is successful, and zero otherwise. Optional parameters for configuring function behavior. Your hacking XP will skyrocket.Hack ( host: string, opts?: BasicHGWOptions ): Promise Parameters Parameter Start one hack script then with enough threads to fill up the rest of the server's memory and just let them run. Start up 8 grow scripts spaced out over the time it takes one grow to finish and 12 weaken scripts spaced out of the time it takes one weaken to finish. I use maxServerMoney/timeToHackAtMinimumSercurity (best case money gain rate) to select targets You should attack as many servers as you have free ram to attack 1 Chronie 10:12pm max money / growth rate / hack time While hack and weaken scale normally with threads grow has diminishing returns. Then you only need 2 weaken threads to lower security to minimum. You just have to use 1 grow thread to put $1 on the server after it is emptied, then you can use 500,000 hack threads and get experience for all of them, but only raise security by 40 * 0.002 + 1 * 0.004 (40 hack threads required to steal 100% and 1 grow thread), or 0.084. Say it takes 40 threads to hack 100% of a server's money (each ns.formulas.hackPercent() is 0.025 or 2.5%). I spread out a bunch of weaken and grow scripts over time that just call them in a loop, then throw in a script using all the remaining threads to call one big hack. When grinding for xp then you want to keep security low and also keep money *low*. So you actually want to grow *less* if you want to be xp-efficient, then you need fewer weaken threads to lower security back to minimum. However it only raises security by the number of threads you *need* to steal 100% of the server's money. You could be running 500k hack threads in one script run and steal a single $1 and get the full experience. Another foible is that you only need to steal a single $1 to get the full xp. If it succeeds it gives the same xp in 1/4 the time. And even a failed hack gives 1/4 the xp, so it's as good as a weaken xp-wise since it takes 1/4 the time. You get the same xp per thread of hack, grow, and weaken, and hack takes 1/4 the time of weaken. We were nonplussed that in 2077 they’re still using vim, but you can use nano. There are a couple of things that make the most efficient method to just do a few threads in several script runs for grow and weaken, then use all your remaining threads on one big hack. The operating system is suspiciously Linux-like with commands like alias, cat, cp, kill, and the like. For example, I'm able to reach > 3000 hacking level, because I have 472 hacking level and 745 hacking exp multiplier, but I could only reach something like 300 without these. Minimize RAM usage (scheduling overhead of around 30GB). Allocate resources toward the most efficient available task, subject to some allowances for early progression. Weaken and grow first, before beginning to hack. I think you should reset once (or maybe even twice) if you need to reach 350 hacking level. bitburner: early-mid hacking setup Raw README.md Problem Statement Allocate resources from one server to work on another. To get fast xp after a reset, prioritize weakening joesguns. 2/ You do not have enough hacking exp / hacking expmultiplier. Your priming algorithm, although it might work, is a bit inefficient. Returns the amount of time in seconds it takes to execute the hack () Netscript function on the target server. Defaults to player’s current hacking level. hackLvl ( number) Optional hacking level for the calculation. And each level of Neuroflux Governor gives you 1% to all of them. hostname/ip ( string) Hostname or IP of target server. Hacking speed and exp multipliers are nice to make everything faster, but hacking skill multipliers are what you're really after. At any multipliers, your xp will plateau at some point because the xp required for each new level grows exponentially. If hacking is your income, then a good batcher will get you there. Doing anything to get more augs to get those multipliers will make everything faster. Getting to 15k is really all about the multipliers.
0 Comments
Leave a Reply. |