bitburner-scripts icon indicating copy to clipboard operation
bitburner-scripts copied to clipboard

Add infiltration automation service

Open trambelus opened this issue 2 years ago • 9 comments

trambelus avatar Apr 21 '22 17:04 trambelus

Requires you run a python program on your actual computer? https://pastebin.com/psmzQDEZ

Evanito avatar Apr 21 '22 19:04 Evanito

~This looks like this is using an external tool, which I don't think is going to be supported in this repository. See #77.~

alendaris avatar Apr 22 '22 22:04 alendaris

the reward info text doesn't appear to be working properly only displaying NaN, NaN rep (31)

zocke1r avatar Apr 24 '22 11:04 zocke1r

the reward info text doesn't appear to be working properly only displaying NaN, NaN rep (31)

Does anything show up in the debug console when you launch the infiltrator? And do you have BN5 unlocked?

trambelus avatar Apr 24 '22 11:04 trambelus

the reward info text doesn't appear to be working properly only displaying NaN, NaN rep (31)

Does anything show up in the debug console when you launch the infiltrator? And do you have BN5 unlocked?

Nothing shows up in the debug console and i dont have BN5 unlocked yet

zocke1r avatar Apr 24 '22 12:04 zocke1r

figured out the cause the bnMults?.InfiltrationMoney ?? 1 in the formula to calc repGain and moneyGain needs to be in parentheses otherwise it returns NaN as the ?? is only evaluate at the end of the calculation otherwise so (bnMults?.InfiltrationMoney ?? 1) works

zocke1r avatar Apr 24 '22 12:04 zocke1r

figured out the cause the bnMults?.InfiltrationMoney ?? 1 in the formula to calc repGain and moneyGain needs to be in parentheses otherwise it returns NaN as the ?? is only evaluate at the end of the calculation otherwise so (bnMults?.InfiltrationMoney ?? 1) works

Good catch. Pushed the fix.

trambelus avatar Apr 24 '22 13:04 trambelus

I was going to start looking at integrating this into the repo now that infiltration has been tied to a new faction, but it looks like recent UI changes have broken its ability to find the buttons it needs (both the service and the looper)

alainbryden avatar May 25 '22 19:05 alainbryden

I found a near-working (no websockets needed) script on ullbergm's fork, fixed it up, added a driver script, and created PR #173 for it. I'll look over the looper here to see if it does clever things I didn't think of (since it probably does) once I get a chance later.

abarnert avatar Jul 10 '22 22:07 abarnert

Closing this rather stale take in favour of more recent PRs

alainbryden avatar Sep 30 '22 11:09 alainbryden