Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Reserved word fix + Sleep time fix#13

Open
LuisFernandob wants to merge 4 commits intomoriakaice:masterfrom
LuisFernandob:PullRequest
Open

Reserved word fix + Sleep time fix#13
LuisFernandob wants to merge 4 commits intomoriakaice:masterfrom
LuisFernandob:PullRequest

Conversation

@LuisFernandob
Copy link
Copy Markdown

  • Removed the 1000 multiplier from getxTime() functions since they return the result in miliseconds already.

  • altered "hackableServers" var name to "vulnerableServers" due to reserved word bug in some ocasions.

Removed the 1000 multiplier from the constants hack, grow and weaken times since functions ns.getGrowTime() and similar already return the result in miliseconds.
Altered repo address to redirect for my fork
It was getting error due to reserved word.
Undo the repo address alteration for my fork.
@MarcelloMichael
Copy link
Copy Markdown

Thanks, Luis. Definitely needed or the code takes 1000x times as long.

@bgordley
Copy link
Copy Markdown

bgordley commented Jan 5, 2022

Great fix, confirmed that this works for me on the latest steam version (1.3.0) along with the web version (1.2.0).

Kingju777 added a commit to Kingju777/bitburner that referenced this pull request Jan 13, 2022
Kingju777 added a commit to Kingju777/bitburner that referenced this pull request Jan 13, 2022
@mcilhargey
Copy link
Copy Markdown

Glad I saw this, I was about to deep dive the scripts to figure out why they weren't working.

@ComictypX ComictypX mentioned this pull request Feb 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants