![]() ![]() For reference my scripts that crawl the network recursively and root anything at my level complete instantly. You'd notice if using tprint instead of print. Its very possible you've crawled the entire network of rootable servers and are done. The Terminal can be accessed by clicking the ‘Terminal’ tab on the navigation menu on the left-hand side of the game (you may need to expand the ‘Hacking’ header in order to see the ‘Terminal’ tab). Incomprehensibly fast when compared to NS1. The Terminal is a console emulator program that lets you interface with all of the Servers in the game. Alternately add await sleep(60000) at the end of the main block if you think you're successful but want to catch the log in the tail instead of saving it or something.Īlso NS2 is fast. Its probably just resolved instantly, await-ing promises doesn't take long and everything else is as near instant as a human can tell.įor debugging help, NS2 runs too fast for effective debugging in the tail logging and I can't figure out if there's a way to tail dead scripts so you can add ns.tprint("I've made it here I guess") or ns.write("debug",getScriptLogs(),"a") judiciously to track down exception points or problems if you're not getting a pop up or the exception pop up isn't clear. For example, if you ran a script foo.script with the argument 1 and 2, then just typing kill foo.script will. Remember that scripts are uniquely identified by their arguments as well as their name. Arguments should be separated by a space. Getting true back from exec means you're getting a PID so it should be running or has already ran. kill script args Stops a script that is running with the specified script name and arguments. Kill the weaken script by either clicking kill in the top right corner of the tail window (and close it) or by typing kill followed by the pid in your terminal. ![]()
0 Comments
Leave a Reply. |