Przejdź do treści
Bity zamieszek

Bity zamieszek

  • Dom
  • Aktualności
  • Przewodniki
  • Przewodniki wideo
  • Opis zmian
  • Zgłoś nadużycie
  • Przełącz formularz wyszukiwania
Bitburnera

Bitburnera – Server Targeting Direction Guide

Wysłany dnia 12/23/2021 Przez WhiskeyFur 1 Komentarz NA Bitburnera – Server Targeting Direction Guide
  • Tytuł: Bitburnera
  • Data wydania:
  • Wywoływacz:
  • Wydawca:
Informacje o Bitburner są nadal niekompletne. Pomóż nam wypełnić szczegóły gry za pomocą tego formularz kontaktowy.

Need a quick route to a particular destination? I’ve created a script that’ll give you the directions.

No more feeling like a lost tourist looking for a node again.

Pierwsze kroki

This is something of a shortcut to finding some of those harder-to-reach nodes.

You might think your version 2 of the scan-analyzer might give you a way to directly connect to every node… think again.

The scanner only goes to a range of 10 nodes and no further, which means finding the more distant nodes (aż do *13* hops from home!) requires actually going a bit into the wilds and connecting further in before attempting that scan again.

I created this utility to find a path to those distant places, and to make it easier, even create a string you can cut and paste right into your terminal to take you right there.

Notatka, I’m not going to give away server names here.. that’s more an exercise for the reader.

The Script

/** @param {Ns} ns **/
Eksportuj funkcja asynchroniczna główna(ns) {
	ns.disablelog("WSZYSTKO");
	ns.tail();
    var src = ns.getHostname();
	var tgt = ns.args[0];
	var servers = {};
	var queue = [src];
	var route = [tgt];
	var ptr = tgt;

	servers[src] = "START";

	chwila (queue.length) {
		var s = queue.pop();
		var links = ns.scan(S);
		Do (var i = 0; I < links.length; i++) {
			Jeśli (!servers[links[I]]) {
				queue.push(links);
				servers[links[I]] = s;
			}
		};
	}

	chwila (ptr != src) {
		ptr = servers[ptr];
		route.push(ptr);
	}
	route.pop();
	
	ns.print("connect " + route.reverse().join("; connect "));
}[/code]

Example Usage

From home to omega-net,

[home ~/]> run find.ns omega-net

It will give you this in a window:

connect harakiri-sushi; connect max-hardware; connect omega-net

To wszystko, co dzisiaj udostępniamy w tym celu Bitburnera przewodnik. Ten przewodnik został pierwotnie stworzony i napisany przez WhiskeyFur. Na wypadek, gdybyśmy nie zaktualizowali tego przewodnika, możesz znaleźć najnowszą aktualizację, postępując zgodnie z tym połączyć.

Jeśli uważasz, że jakakolwiek treść na tej stronie narusza Twoje prawa, w tym Twoje prawa własności intelektualnej, prosimy o niezwłoczny kontakt za pomocą naszego formularza kontaktowego.
Przewodniki Tagi:Bitburnera

Nawigacja po wpisach

Poprzedni post: Five Nights at Freddy’s: Security Breach – All Generators in the Daycare Location Guide
Następny post: Dyskoteka Elizjum – Aktualizacja tytułu 2 Przewodnik po osiągnięciach

Komentarz (1) on “Bitburner – Server Targeting Direction Guide”

  1. Jorge mówi:
    06/01/2022 Na 3:35 JESTEM

    Should be
    queue.naciskać(links[I]);

    Odpowiedź

Zostaw odpowiedź Anuluj odpowiedź

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są zaznaczone *

  • Tytuł: Bitburnera
  • Data wydania:
  • Wywoływacz:
  • Wydawca:
Informacje o Bitburner są nadal niekompletne. Pomóż nam wypełnić szczegóły gry za pomocą tego formularz kontaktowy.

Zastrzeżenie

Wszystkie cytowane treści pochodzą z odpowiednich źródeł. Jeśli uważasz, że wykorzystaliśmy Twoje treści bez pozwolenia, upewnij się, że się z nami skontaktujesz, a my potraktujemy to poważnie.
  • O nas
  • Skontaktuj się z nami
  • Polityka prywatności
  • Warunki usługi

Prawo autorskie © 2025 Bity zamieszek.

Zasilany przez Prasa Książka Aktualności Motyw WordPressa