Automatically deploy hack scripts to the network - Bitburner #1

preview_player
Показать описание
In this video, I cover the first steps I usually take when starting a new Bitburner game. I create two scripts - one that retrieves money from a target server and another that automatically deploys the hack scripts to the network and readjusts according to your character's progression.

#bitburner #automation #coding #programming
Рекомендации по теме
Комментарии
Автор

I'd love to get my hands on the scripts if you have a page to share. I tried watching through and copying your code but it wont actually start the hack

ArnoNoxFordSteyn
Автор

these are awesome, can't wait to dive into them, just scratching the surface of programming and this makes it much easier to understand the functions with ns 2

Phaucs
Автор

The first video and already I learned many many things. Thank you for your service and super thanks for sharing your scripts!

roccoxxxx
Автор

So here's a suggestion, since when you deploy the script it'll put your money js script to these servers, but since on active scripts. You start getting a chunky boy of in a nutshell a fake botnet thing. When you click on example n00dles, and it'll have your money script doing its thing. Would be nice to make a killall-deploy script so you don't have to manually kill over many.

kiyoshi
Автор

I feel like Bitburner has made some changes within the last 6-8 months that have just broken a lot of scripts -_-
This is the 3rd playthrough I've tried following, and there all always errors that keep basic scripts from running. Following along with videos have been the best way of learning for me, but it's becoming quite difficult to find up to date sources :/ I've even tried copying straight from the github files, no such luck, despite watching them work without issue in videos.

tomasadams
Автор

i tested gimme-money and auto-deploy but both keep complaining that args is not a script arg, or that ns is not defined, or that getServerMaxMoney is is not a string
problem goes away if i change target to any server name, but that just screws the whole point of the script
i also cant get much information anywhere else so now im here

thetaikasaapas
Автор

Thank you very much for this video! Just got into bitburner and this was very helpful.

sauceboss
Автор

Hey dude, I just wanted to say that I love your content. Its always very interesting and understandable (which is for many ytbers not the case). Thank you! :)

HUNTERHAUNTER
Автор

Might also think about a condition for hacking since some servers will throw runtime error if the required level to hack or back door is higher than you own hacklevel

claytonpaterson
Автор

That was a very good explanation, thank you

themasterproller
Автор

apparently this doesn't work, because "getServerMinSecurityLevel: hostname expected to be a string. Is undefined."

aldebaranlover
Автор

i run the auto-diploy.js and i take error exec: threads should be a positive integer, was Infinity. Any idea why?

koukouroukou
Автор

I’m new subscriber 💪🏾 thanks for the great videos and sharing your script

MotivationwithJ
Автор

I'm coming into this game with absolutely 0 coding experience and im finding it quite interesting but quite difficult to understand whats going on so for now ill just listen to the descriptions of the code and try and memorise bits a peices

TheBionics.
Автор

hey, loved the video, really helped me out \. im noticing that i have to manually open ports and nuke in order to the virus script to start running on more distant servers, any recommendation? i have been to the github, but you've got a lot mor scripts that interact with others besides auto deploy and get money. thanks!

Tech_Deity
Автор

Do you have a github link or somewhere to copy and paste the scripts? And thank you for making these vids, it's really helpful and i'm enjoying following along with the series!

MatthewBaaliah
Автор

With your auto-deploy.js, I get the error "exec: 'args' is not an array of script args". It mentions lines 50, 101, and 111.

hipepleful
Автор

i think i got it to work. Using this and the script the game gives you in the handbook, i got the script to grow for n00dles. 10 minutes in and the script is still causing n00dles to grow. While watching tail, ive only seen the grow command. Was it supposed to work like this so the script can pull large amount of money at once or did it get stuck?

blueelephant
Автор

Quick question, im getting a bug on the serv of targets part, serv isn't being identified anywhere and im just dumb at this point

hans-san
Автор

I think an update or something may have broken the script. I wrote it out myself following along and it threw an error. So I copied and pasted from your github repository out of the stable folder and it does not work. Throws an error saying in the copyAndRunVirus function you cannot pass "target" in the ns.exec command. It claims that only strings, numbers, and booleans can be passed as arguments to to other scripts. I'm not sure why as I've seen people do this before with no problem.

graywilson