Coder Social home page Coder Social logo

mybitburnerscripts's Introduction

MyBitburnerScripts

Description

Filled with my scripts.

Usage and Dependencies

GeneralHack-

Pass 'Target-Server' for target(eg.n00dles),Then pass instance number for identification(eg.1)

GeneralHackV2-

Dependencies

autoupdater.js

Usage

Pass 'Target-Server' for target(eg.n00dles),Then pass a bool for changelog,The third argument is only used for autoupdater.js and programs that use GeneralHackV2 as an Asynchronous distributed attack script.

GeneralHackV3-

Pass 'Target-Server' for target(eg.n00dles),Then pass a boolean if you want to supress updates.The third argument is only used for autoupdater.js and programs that use GeneralHackV2 as an Asynchronous distributed attack script.

autoupdater.js-

Just install it into home root directory.No need to setup.

For Programmers

autoupdater.js format Goes as follows:Name of Current Program,Host server,Threads,High-priority Alarm(bool),Additional data to pass into your script
This Script is Local Only,autodownloader.js will be implemented later

PlayMusic.js-

Just Install and run it.It will install and execute musicComputer.js by itself
It will install and execute it fine,if you change some code in computerMusic.js
You may have to change it every update(which is an hour after last update time and you execute the launcher)

Additional Changes

In order for PlayMusic.js to work its magic,you must change stuff in the original musicComputer.js script.
change
if (!ns.fileExists("Music.txt") || ns.args[0] != null) { await ns.wget(formatPathFile(ns.args[0]), "Music.txt") }
to
if (!ns.fileExists("Music.txt") || ns.args[0] != (null || 0)) { await ns.wget(formatPathFile(ns.args[0]), "Music.txt") }

Usage

First pass the server argument. This will go to the specified server. Any vaild server name will do(including Home!). Enter a zero for default,which is MusicServer.
Then,pass a bool,0 or 1 for comfimation to purchase the server with the name if the server you're asking for is not available.
The third argument is the location of your listMusicBitburner.txt. Follow computerMusic.js' instructions in https://github.com/MatiasCardullo/JavaScripts-Bitburner

autodownloader.js-

Just like autoupdater.js,very easy to install but you will have to run the program yourself.
Commands is listed using the command help.
It also comes with dev protection.

How to enable dev protection

By changing the false to a true in datamgr.txt.

mybitburnerscripts's People

Contributors

aarrbba123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.