Coder Social home page Coder Social logo

Comments (2)

alainbryden avatar alainbryden commented on August 26, 2024

I took a decent stab at improving this script to support multiple options.

Note that you can also leave command line arguments "unfulfilled" so you can have a neat alias to use like this:
boost-server ecorp
where
alias boost-server="run spend-hacknet-hashes.js --liquidate --spend-on 'Increase Maximum Money' --spend-on 'Reduce Minimum Security' --spend-on-server "

While it's a good suggestion, I haven't attempted to implement some sort of global registration of desired purchases because none of my scripts work that way and I don't have infrastructure for it, it's a bit too much of a departure.

What I did do is design it such that multiple versions will not clash with one-another, so you can start and stop instances that have disparate concerns, and they will work about the same, just cost a bit more RAM.

I may later automatically invest in the best server, but as you pointed out it's non-trivial to determine which server will be the money maker before we're ready to ascend, so the onus is on the respective user to fire that up once they think they know.

Feel free to open up a new issue or PR with follow-up suggestions.

from bitburner-scripts.

alainbryden avatar alainbryden commented on August 26, 2024

f2cb859

from bitburner-scripts.

Related Issues (20)

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.