alainbryden / bitburner-scripts

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

Interscript communication for scripts with ports implementation of #321 #323

Closed s0r3-glitch closed 8 months ago

s0r3-glitch commented 1 year ago

so far this is a proof of concept for interscript communication allowing scripts to modify the behavior of other scripts without the need to restart them. Currently the work for faction script can switch the daemon to xp mode without needing to restart it. logic to check if the leveling is done and turn it off has not been added yet but i figured id get it up since i have a somewhat working prototype

s0r3-glitch commented 8 months ago

finally back to working on this and the code is so bad. I am now starting to question how the hell I got a job as a web developer, but i digress. going to fix up the code and then looking at the possibilities of where this can be implemented. I'm toying with the idea of have every script dump its settings to the port on runtime so it can be generally available for other scripts for thing like math or something.