alainbryden / bitburner-scripts

My own scripts for playing bitburner
MIT License
586 stars 263 forks source link

Bitburner now kills all scripts on casino save scumming. #342

Closed Heratiki closed 2 months ago

Heratiki commented 3 months ago

Title pretty much says it all.

Running casino.js will eventually earn you money but after a reload you have to restart the script again and it stops all other activity. I haven't dug into this too much to see if it's something Bitburner now does or if it's something the script does.

alainbryden commented 3 months ago

Have you ever used the "kill all scripts" button in game? If so each reload keeps that option, and you have to restart the game normally to make it stop.

On Wed, May 29, 2024, 12:34 p.m. Jonathan Witmore @.***> wrote:

Title pretty much says it all.

Running casino.js will eventually earn you money but after a reload you have to restart the script again and it stops all other activity. I haven't dug into this too much to see if it's something Bitburner now does or if it's something the script does.

— Reply to this email directly, view it on GitHub https://github.com/alainbryden/bitburner-scripts/issues/342, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARN33OMCKA3WNXRQ5SPO5TZEXYQLAVCNFSM6AAAAABIPGKJYCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDGNRSGI3TSMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Heratiki commented 3 months ago

One of my first scripts was as recursively killing all of my running scripts before realizing the function of the button. So I never really use it. I'll give it a look, thank you.

lessfoobar commented 3 months ago

I'm having the same problem, so what do you mean with restart the game? like soft reset or ?

alainbryden commented 3 months ago

No, just shut it down and relaunch it without the kill all scripts option. If you're in a browser, clear that flag from the url and reload.

On Thu, May 30, 2024, 6:52 a.m. @lessfoobar @.***> wrote:

what you mean with restart the game? like soft reset or ?

— Reply to this email directly, view it on GitHub https://github.com/alainbryden/bitburner-scripts/issues/342#issuecomment-2139191442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARN33PFVLHLJQSU2AQM6HDZE3ZHXAVCNFSM6AAAAABIPGKJYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGE4TCNBUGI . You are receiving this because you commented.Message ID: @.***>

Heratiki commented 3 months ago

Thank you for the help here. I wasn't understanding initially what you had suggested. Now it works as intended. :-)