Steven Evans
0345daf359
[bug] Fixing the timestamp
...
getMonth() is 0-based, so changing the offset.
getDay() is the day of week, not day of the month.
Ensuring hours & minutes are always two digits.
2018-08-01 12:55:01 -04:00
Olivier Gagnon
1cf276fa99
deleted the file
2018-07-31 01:21:29 -04:00
Olivier Gagnon
873114d52f
nuke unused code
2018-07-31 01:20:06 -04:00
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
Steven Evans
977d8b7d71
[bug] Fixing Program list in dev menu
2018-07-31 00:14:37 -04:00
Steven Evans
06a0b75b1c
[feature] added "getPurchasedServerCost" NS function
2018-07-30 21:31:12 -04:00
Olivier Gagnon
8b49a68f85
fixed nsjs script with no main causing unkillable zombie scripts
2018-07-30 21:01:09 -04:00
Olivier Gagnon
c4b25a0c90
added semicolon support to terminal as well as autocomplete support for semicolon commands
2018-07-30 20:16:39 -04:00
danielyxie
fabc45f496
Fixed bug with calling scp() on an array
2018-07-29 15:14:24 -05:00
Olivier Gagnon
68f3423ef5
Update BitNode.js
2018-07-29 03:49:45 -04:00
Olivier Gagnon
55abdc11b3
Update BitNode.js
2018-07-29 03:41:09 -04:00
Olivier Gagnon
e7b185661b
Update BitNode.js
2018-07-29 03:39:43 -04: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
Olivier Gagnon
14b318f828
made hacking level calculation smoother with regards to bitnode multiplier
2018-07-27 21:50:25 -04:00
Olivier Gagnon
142e141f6f
added favor related funtions
2018-07-27 21:46:37 -04:00
Olivier Gagnon
ba7ebad399
prevent raid when est is zero
2018-07-27 20:58:52 -04: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
Matthew Goff
be10d14cc5
Add CranialSignalProcessor prereqs
2018-07-27 16:29:14 -05:00
Olivier Gagnon
498dba1b73
floor bitburner skill cost to handle rational BladeburnerSkillCost
2018-07-27 14:48:20 -04:00
Olivier Gagnon
b04cc680a2
Update BitNode.js
2018-07-27 14:44:24 -04:00
Olivier Gagnon
b9013c5118
Merge branch 'dev' into patch-3
2018-07-27 14:42:19 -04:00
Olivier Gagnon
59160f1f93
Made BN12 difficulty scale faster
2018-07-27 14:41:13 -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
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
40d550992a
cna buy the red pill with negative money
2018-07-25 00:40:28 -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
Olivier Gagnon
bd105bbb45
added bonus time display to blade
2018-07-24 23:52:53 -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
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