Commit Graph

1261 Commits

Author SHA1 Message Date
Steven Evans
e0a193c7ca [bug] 'createProgressBar' - actually possible to fill the entire bar 2018-08-02 15:49:16 -04:00
danielyxie
b5e8d61ad6
Merge pull request #407 from kopelli/refactor-programs-from-terminal
Refactor - Determine program execution from terminal via hashmap instead switch statement
2018-08-02 10:57:26 -04:00
danielyxie
c2be5df1f5
Merge pull request #406 from kopelli/fix-dev-programs
Fixing Program list in dev menu
2018-08-02 10:55:27 -04:00
danielyxie
81c97aefb9
Merge pull request #397 from hydroflame/smooth-bitnode-hacking-level
made hacking level calculation smoother with regards to bitnode multi…
2018-08-02 10:54:52 -04:00
danielyxie
508e016859
Merge pull request #391 from hydroflame/patch-3
Made BN12 difficulty scale faster
2018-08-02 10:52:47 -04:00
danielyxie
d38cf88c50
Merge pull request #405 from hydroflame/detect-main
fixed nsjs script with no main causing unkillable zombie scripts
2018-08-02 10:43:43 -04:00
danielyxie
93bada0119
Merge pull request #396 from hydroflame/favor-gain
added favor related funtions
2018-08-02 10:40:48 -04:00
danielyxie
1c927c53cd
Merge pull request #395 from hydroflame/prevent-raid-fail
Prevent doing blade raids when commsEst is zero
2018-08-02 10:36:10 -04:00
danielyxie
27ac2a911a
Merge pull request #393 from Kline-/patch-3
Add CranialSignalProcessor prereqs
2018-08-02 10:33:41 -04:00
danielyxie
e45c875006
Merge pull request #401 from hydroflame/patch-5
rst syntax error in getOwnedSourceFiles
2018-08-02 10:30:48 -04:00
danielyxie
cf372cd9c8
Merge pull request #394 from Kline-/patch-4
Fix formatting
2018-08-02 10:30:02 -04:00
danielyxie
923c69943f
Merge pull request #412 from kopelli/fix-timestamp
Fix timestamp
2018-08-02 10:27:43 -04:00
danielyxie
dcbdac0c1b
Merge pull request #388 from hydroflame/buy-rp-negative
cna buy the red pill with negative money
2018-08-02 10:24:27 -04:00
danielyxie
f54f9a0cca
Merge pull request #385 from hydroflame/bonus-time
Display bonus time in bladeburner
2018-08-02 10:22:48 -04:00
danielyxie
4ea6c4840c
Merge pull request #360 from kopelli/scss
Incorporate SCSS for styling/bundling
2018-08-02 10:18:36 -04:00
danielyxie
1c9b54c0a3
Merge pull request #317 from kopelli/get-server-cost
Add "getPurchasedServerCost" NS function
2018-08-02 10:17:19 -04:00
Olivier Gagnon
fcabaf1365
Update BitNode.js 2018-08-01 17:10:19 -04:00
Steven Evans
3130b410e2 [refactor] pulling getTimestamp off Terminal 2018-08-01 13:38:54 -04:00
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
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
72ab31fac5
rst syntax error fix 2018-07-29 22:05:24 -04:00
danielyxie
d0cb42b359
Merge pull request #400 from danielyxie/dev
Fixed bug with calling scp() on an array
2018-07-29 15:15:37 -05: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
1c84a6b96b
Merge pull request #398 from danielyxie/dev
v0.40.0
2018-07-28 19:13:36 -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
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
Matthew Goff
e838a062c5
Fix formatting 2018-07-27 19:54:11 -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
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
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