alainbryden / bitburner-scripts

My own scripts for playing bitburner
MIT License
585 stars 261 forks source link

Add Infiltration automation #238

Open ericfoxx opened 1 year ago

ericfoxx commented 1 year ago

Infiltration is one of the easiest and fastest ways to get faction rep. Could we bake it into your script ecosystem?

I've attached a great infiltration automation script you can use (with a few minor changes) -- source here: There is a good Reddit thread about infiltrations and what changes the script needs here

TODO:

auto-infiltrate.zip

ericfoxx commented 1 year ago

BTW, right now I'm running the infiltrations manually using this script when the work-for-faction and autopilot scripts both estimate that they won't be switching up tasks for more than a few minutes -- and it's working great!

davidakachaos commented 1 year ago

There already is a PR #173 Have you seen it?

alainbryden commented 1 year ago

Copying my comment from PR #239 for context on the status on this ticket, and why there are so many different takes on it at the moment:

I've been hesitant to include infiltration automation in my scripts is because (like Casino) there is no built-in API for it, it wasn't designed/balanced to be automated. As such, those who do manage to automate it end up with an overpowered mechanic that dominates the game in (almost) every BN.

Corporations have the same problem. Due to balance issues, and easy access to the investor fraud exploit, they are overpowered and a fun-ruiner. I'm sure an extensive debate could be had about how I've already ruined the fun (for others) by automating the majority of the game in my scripts and making them available. It's a delicate line to draw, but this is where I've decided to draw it.

I let casino.js exist because the game includes a mechanic that acknowledges its exploitabolity and caps earnings. There's no cap (yet) on automated infiltration earnings, or exploited corporation earnings, so I'm steering clear of them, lest they become the only mechanic of any significance.

In addition to the above, adding support for the infiltrated-related faction (Sons of Anarhcy) poses significant challenges for faction-manager.js (see #235), and automating the UI (for casino) has been perilous and fragile in the past, and continues to be a maintenance headache - I feel like diving deeper into this sort of thing will reduce the "shelf-life" of these scripts as maintenance efforts dwindle.

So all that to give fuzzy justification for why I will most likely not be merging any infiltration-related scripts (unless they are completely decoupled from everything else and dormant until manually activated). I still welcome the forks / branches / PRs though for the others that want to continue to strive to get this working.

herrxyz commented 3 months ago

for those googling for "infiltration script": fixed a script from pastebin to work at v2.6.1 https://github.com/herrxyz/Bitburner/blob/main/infiltration.js

Dl-Data commented 3 months ago

Merci <3