Ir para o conteúdo
Riot Bits

Riot Bits

  • Lar
  • Notícias
  • Guias
  • Guias de vídeo
  • Notas do Patch
  • Denunciar abuso
  • Alternar formulário de pesquisa
Bitburner

Script de progressão automática da empresa Bitburner

postado em 02/24/2022 Por rfdcox Sem comentários em Script de progressão automática da empresa Bitburner
  • Título: Bitburner
  • Data de lançamento:
  • Desenvolvedor:
  • Editor:
Information about Bitburner is still incomplete. Por favor, ajude-nos a preencher os detalhes do jogo usando este formulário de contato.

This is a very rough and tumble automated company progression script. its main purpose is to work you through every company that has an augment list (esperançosamente), and even auto-promotes you if available!

General Description

This script moves you through every company that has an augment list that I’m aware of, checking if you have been invited each, setting you to work if you haven’t, and even auto-promoting you over time! Dito isso, it’s probably full of redundancy, and is less than elegant to put it lightly. I’m self-taught thanks to this game and the various different people making helpful tutorials in here, so I understand if you want or need to tweak it to make the script more efficient.

I should also mention this script won’t work unless you are on or have completed bit node-5, for obvious reasons.

de outra forma, also included in the script are my creator notes that explain what everything does, mais ou menos. it should help new players who just reached bit node-5 to understand more how some things work if they don’t already. Espero que ajude, if nothing else to serve as an example of how badly you can code and still have it work!

P.S.. I know the formatting is as ugly as sin, but it’s the best I could do to make copy/pasting easy on people and still keep my notes. Just hit beautify on it, should fix it right up.

Roteiro

/** @param {NS} ns **/
export async function main(ns) {
//sets parameters for the script,
var invites = ns.checkFactionInvitations() // what invites we have,
var completed = []; // companies we have accepted invites from,
var busy = ns.isBusy() //whether we're currently working,
// and gives us both our company targets and matches each company to their respective city.
var city = ["Sector-12", "Sector-12", "Sector-12", "Chongqing", "Volhaven", "Volhaven", "Aevum", "Aevum", "Aevum", "Aevum"]
var company = ["Four Sigma", "Blade Industries", "MegaCorp", "KuaiGong International", "NWO", "OmniTek Incorporated", "Clarke Incorporated", "Bachman & Associates", "Fulcrum Secret Technologies", "ECorp"];

enquanto (verdadeiro) {
var joined = false
while (!joined) {
para (var career = 0; career < company.length; career++) {
//primeiro, we set the loop, sticking on the first company on our array, unless we have an invite //from them already,
para (var i = 0; eu < invites.length; eu++) {
se (company[career] == invites) {
ns.joinFaction(invites);
ns.tprint(invites + "has been joined!");
completed.push(company[career]);//then it checks if we completed that company.
joined = true;
await ns.sleep(1000);
//fun fact, these times are offset strangely to help me find where the hell my code was screwing // acima!
} senão se (company[career] !== invites && company[career] !== completed[career]) {//if we haven't, // we stay with our current company.
career = 0
await ns.sleep(1100);
} senão se (company[career] == completed[career]) {
//this is probably redundant, but it works so i'm not touching it.
ns.tprint("Transfering to " + company[career++])
await ns.sleep(1200)
}
} se (!ocupado) { //if we're not working,
ns.travelToCity(cidade[career]) //we go to our companies city,
ns.tprint("Starting work at " + company[career]) // the terminal prints where we are,
ns.applyToCompany(company[career], "programas"); //we ask nicely for a job or promotion,
ns.workForCompany(company[career], "programas"); // then we get to work!
await ns.sleep(60000); //then the script sleeps for a minute
} senão se (ocupado) {// if we're working,
ns.tprint("Dia de pagamento!");// we print a fun payday on terminal,
ns.applyToCompany(company[career], "programas");// we ask for a promotion,
ns.workForCompany(company[career], "programas");//and get our money and get back to work,
await ns.sleep(60000);// then sleep for another minute.
}
//these are likewise also probably redundant, but i'm not touchin' them.
senão se (!joined) {
await ns.sleep(1300)
} senão se (joined) {
await ns.sleep(1400);
}
}
}
}
}

Isso é tudo o que estamos compartilhando hoje para isso Bitburner guia. Este guia foi originalmente criado e escrito por rfdcox. Caso não atualizemos este guia, você pode encontrar a atualização mais recente seguindo este link.

Se você acredita que algum conteúdo deste site viola seus direitos, incluindo seus direitos de propriedade intelectual, entre em contato conosco imediatamente usando nosso formulário de contato.
Guias Tag:Bitburner

Navegação de artigos

Postagem anterior: Saints Row IV – Cropped or Too Small Cutscenes Fix
próxima postagem: VRChat ganhando método de classificação de confiança

Deixe um comentário Cancelar resposta

O seu endereço de email não será publicado. Campos obrigatórios marcados com *

  • Título: Bitburner
  • Data de lançamento:
  • Desenvolvedor:
  • Editor:
Information about Bitburner is still incomplete. Por favor, ajude-nos a preencher os detalhes do jogo usando este formulário de contato.

Isenção de responsabilidade

Todo o conteúdo citado é derivado de suas respectivas fontes. Se você acha que usamos seu conteúdo sem permissão, certifique-se de entrar em contato conosco e levaremos isso a sério.
  • Sobre nós
  • Contate-nos
  • política de Privacidade
  • Termos de serviço

direito autoral © 2025 Riot Bits.

Distribuído por PressBook Notícias tema WordPress