chrisrabe / bitburner-automation

Automation scripts I use for my Bitburner gameplay videos.
125 stars 40 forks source link

Error in auto-purchase #34

Open loki096 opened 1 year ago

loki096 commented 1 year ago

TYPE ERROR auto-purchase-server.js@home (PID-19)

exec: 'args' is not an array of script args

Stack: auto-purchase-server.js:L29@copyAndRunVirus auto-purchase-server.js:L46@async upgradeServer auto-purchase-server.js:L63@async autoUpgradeServers auto-purchase-server.js:L74@async Module.main

Joziahcool commented 1 year ago

I also got the same issue ![Uploading Error.png…]()

rfsjim commented 1 year ago

@loki096 and @Joziahcool How are you calling the script? If you are manually calling the script you need to ensure that you give as an argument the target server you want the purchased servers to hack. For example run auto-purchase-server.js n00dles

Joziahcool commented 1 year ago

Thank you for your response I will give it a try, and let you know about the results.

On Sun, 9 Jul 2023, 00:12 James, @.***> wrote:

@loki096 https://github.com/loki096 and @Joziahcool https://github.com/Joziahcool How are you calling the script? If you are manually calling the script you need to ensure that you give as an argument the target server you want the purchased servers to hack. For example run auto-purchase-server.js n00dlez

— Reply to this email directly, view it on GitHub https://github.com/chrisrabe/bitburner-automation/issues/34#issuecomment-1627496678, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBDE37NXKAPZKD4OMYZKKOLXPHEKDANCNFSM6AAAAAAZD4MAOE . You are receiving this because you were mentioned.Message ID: @.***>