Steven Evans
a09fcd21ca
[refactor] Determine program execution from terminal via hashmap instead
...
of switch statement.
Introducing variables within the case block of a switch statement can be
problematic and confusing as case statements do not have their own
scope, and thus are hoisted to the function level. Thus, with a large
enough switch statement, variable declarations could easily be
overlooked as they are peppered throughout the cases. This is especially
problematic for 'const' and 'let' declarations, which are very concerned
about scoping. There is an ESLint rule specifically enabled to catch
this behavior.
This refactoring is a way to mitigate the behavior, while still allowing
for the use of 'const'.
2018-07-31 00:18:38 -04:00
danielyxie
fabc45f496
Fixed bug with calling scp() on an array
2018-07-29 15:14:24 -05:00
danielyxie
7a7660359e
Updated documentation changelog
2018-07-28 19:08:46 -05:00
danielyxie
afacfb96c9
Pushing new bundle
2018-07-27 22:05:38 -05:00
danielyxie
b18b6cf380
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-07-27 22:03:57 -05:00
danielyxie
58b1006b91
Updated version and changelog
2018-07-27 22:03:43 -05:00
danielyxie
de5c41e4e6
Merge pull request #392 from hydroflame/patch-4
...
floor bitburner skill cost to handle rational BladeburnerSkillCost
2018-07-27 21:58:06 -05:00
danielyxie
b34057f2d3
Added more error line numbers to JS Interpreter. Reputation needed for megacorp faction reduced from 250k -> 200k. Fixed bladeburner.getActionobject() bug with general actions
2018-07-27 19:00:57 -05:00
Olivier Gagnon
498dba1b73
floor bitburner skill cost to handle rational BladeburnerSkillCost
2018-07-27 14:48:20 -04:00
danielyxie
47134a9640
Fixed bug where hacking special servers w/ no money would result in NaN because of a '0 / 0' in fortify() calculation
2018-07-25 15:58:36 -05:00
danielyxie
a27ecca7bf
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-07-25 15:00:43 -05:00
danielyxie
ab0f7ea4f1
Merge pull request #389 from hydroflame/red-save
...
Save Game is red when autosave is disabled.
2018-07-25 14:57:59 -05:00
danielyxie
eb4fd7fe5a
Merge pull request #387 from hydroflame/get-owned-source-files
...
added getOwnedAugmentation function
2018-07-25 14:56:45 -05:00
danielyxie
a8fae9cb5e
Merge pull request #386 from hydroflame/fl1ght-clear
...
gave distinct fl1ght message when conditions are fulfilled
2018-07-25 14:55:49 -05:00
danielyxie
5161ca7739
JS-Interpreter fix sprintf and vsprintf by converting JS Interpreter objects to Native objects when passing in arguments. JS-Interpreter add error/exception line numbers wherever possible
2018-07-25 14:53:54 -05:00
Olivier Gagnon
a465db4e74
save game now glows red if you dont have autosave enabled
2018-07-25 00:56:52 -04:00
Olivier Gagnon
a4f2c3c7a8
added getOwnedAugmentation function
2018-07-25 00:31:17 -04:00
Olivier Gagnon
9f43a7208c
gave distinct fl1ght message when conditions are fulfilled
2018-07-25 00:11:35 -04:00
danielyxie
49d081f42e
Updated development bundle. Updated changelog
2018-07-24 17:22:48 -05:00
danielyxie
2ec2203d67
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-07-24 17:00:28 -05:00
danielyxie
8ec4cefd8c
Merge pull request #372 from hydroflame/patch-2
...
Update Faction.js
2018-07-24 14:42:21 -05:00
danielyxie
1f686e88c7
Merge pull request #371 from hydroflame/patch-1
...
This has been annoying me
2018-07-24 14:41:48 -05:00
danielyxie
10ba1fa71e
Merge pull request #370 from Kline-/patch-2
...
Add LuminCloaking1 as prereq to LuminCloaking2
2018-07-24 14:41:11 -05:00
danielyxie
418cbf24d9
Merge pull request #369 from Kline-/patch-1
...
Fix typo
2018-07-24 14:40:19 -05:00
danielyxie
ccedd38370
Merge pull request #380 from hydroflame/bladeburner-clarity
...
clarified skill description
2018-07-24 14:14:45 -05:00
danielyxie
cb0e45abfd
Merge pull request #381 from hydroflame/blade-api-level-limit
...
prevent bladeburner api from leveling past max level
2018-07-24 14:14:25 -05:00
danielyxie
ab287b7c44
Updated documentation for new Netscript. Added new polyfills for new JS interpreter
2018-07-24 13:29:38 -05:00
Olivier Gagnon
563bc7d531
prevent bladeburner api from leveling past max level
2018-07-23 21:34:26 -04:00
Olivier Gagnon
86d46afb33
clarified skill description
2018-07-23 18:49:53 -04:00
Olivier Gagnon
bb3bb9f297
Update Faction.js
2018-07-22 19:58:42 -04:00
Olivier Gagnon
02c87fce80
Update Bladeburner.js
2018-07-22 13:55:17 -04:00
Matthew Goff
7879064cf3
Add LuminCloaking1 as prereq to LuminCloaking2
...
The description didn't explicitly state that the lower levels were not prereqs (like Neurotrainer does), so I'm assuming this was just an oversight.
2018-07-22 12:42:55 -05:00
Matthew Goff
15d441f8a6
Fix typo
2018-07-22 08:20:13 -05:00
danielyxie
a39dda019e
Update changelog. Fix missing spaces in Faction Infos. UPdate Beta branch update text
2018-07-20 13:21:43 -05:00
danielyxie
b822a2447d
Merge pull request #359 from kopelli/remove-loading-screen
...
[refactor] Pulled 'removeLoadingScreen' out of Engine
2018-07-20 12:26:34 -05:00
danielyxie
54ec0110e2
Merge pull request #362 from hydroflame/max-servers-func
...
Max servers func
2018-07-20 12:24:27 -05:00
danielyxie
ffb55206fa
Merge pull request #363 from hydroflame/bladeburner-api-actions-levels
...
added bladeburner functions related to action levels
2018-07-20 09:59:21 -05:00
danielyxie
cdfcfb7df7
Merge pull request #366 from danielyxie/jsinterpreter-import
...
Added import functionality to Netscript 1.0 with new JS Interpreter
2018-07-20 09:53:44 -05:00
danielyxie
88755f1d0f
Added import functionality to Netscript 1.0
2018-07-20 09:28:03 -05:00
Olivier Gagnon
54c0d97048
added bladeburner functions related to action levels
2018-07-20 00:06:59 -04:00
Olivier Gagnon
55650ab7a5
forgot my semicolons
2018-07-19 22:23:43 -04:00
Olivier Gagnon
a2b5ca10ac
added purchasable servers functions to get constants
2018-07-19 22:21:11 -04:00
danielyxie
523bfc18d1
Beta branch now always shows update when opening game
2018-07-18 21:23:49 -05:00
danielyxie
2b21e93a14
Rebalancing Infiltration by decreasing starting Infiltration security b 10%
2018-07-18 16:11:44 -05:00
danielyxie
08862109fe
Source-File 12's effect is now multiplicative with itself again (reverted from a previous update). Source-File 6 now also affects combat stat level, not just exp gain
2018-07-18 16:00:52 -05:00
danielyxie
af40edfb7d
Added new Hacknet Node API documentation
2018-07-18 15:33:22 -05:00
Steven Evans
bd814446d5
[refactor] Pulled 'removeLoadingScreen' out of Engine
2018-07-16 14:20:01 -04:00
danielyxie
e4742289c7
BN-12 now properly affects Bladeburner multipliers. Added polyfill in new JS interpreter for Array.includes. Fixed terminal not focusing with tab"
2018-07-16 01:00:57 -05:00
danielyxie
5845fa8702
Fixed merge conflicts
2018-07-15 20:48:27 -05:00
danielyxie
44e4325a5d
Merge pull request #358 from danielyxie/new-hacknetnode-api
...
New hacknetnode api
2018-07-15 20:43:04 -05:00