![]() ![]() "avmnite.script", "crush-fitness.script", "csec.script", "darkweb.script", "foodnstuff.script", "harakiri.script", "hong-fang.script", "joesguns.script", "johnson-ortho.script", "max-hardware.script", "n00dles.script", "nectar.script", "neo-net.script", "netlink".script", "omega-net.script", "phantasy.script", "sigcos.script", "silverhelix.script", "the-hub.script", "zer0. bitburner/src/ScriptEditor/NetscriptDefinitions.d. In the txt files I just have them like this all on one line, not sure if that's what the problem is? If so, how should I be separating them? The server name|script name on one line w/o quotes or? I'm getting this error though before anything is printed: Tprint("Attempting to read from server list") Tprint("Attempting to read from script list") i wrote a code to analyze all the available servers i can connect to, looking for the one with the most value: 'MaxMoneyAvailable'. Let servers = JSON.parse(ns.read("server_list.txt")) Once its done it will launch the hacking script with the max threads it can use. Posting code regarding objectId would be helpful too. The worm will open ports, obtain root and copy the worm to the servers connected to it. It seems that objectId array has only two elements (positions 0 and 1 ), and you're trying to access to position 2 during the second iteration of for loop. Let scripts = JSON.parse(ns.read("script_list.txt")) You just need to run worms.ns with up to 5 servers (arguments) that you want to target. bitburner-official Overview Repositories Projects Packages People Popular repositories bitburner-src Public Bitburner source code. It will buy servers, find all accessible servers, open ports, nuke, find target server, hack, grow and weak servers. This is the test script I'm using and the idea is to just print the array contents: Bitburner Basic Script.ns Added: December 21, 2021, 5:16pm UTC SteamsPlay Guides 2 Here is simple script, that can be started in any moment of the game. Thanks a lot, this sounds exactly like what I need, but I'm just trying this as a test script right now before I implement it into my scripts.
0 Comments
Leave a Reply. |