Commit Graph

1060 Commits

Author SHA1 Message Date
Steven Evans
3d52ed5990 [feat] Let server RAM be a range instead of static 2018-09-07 08:39:33 -04:00
Steven Evans
babbf00029 [refactor] Server RAM is exponent instead of concrete value
This will let us randomize the value down the line.
2018-09-07 08:39:16 -04:00
Steven Evans
625734d326 [feat] Network server layers can be randomized 2018-09-07 08:39:01 -04:00
Steven Evans
319b45ead5 [refactor] Network servers are created via metadata 2018-09-07 08:37:47 -04:00
danielyxie
053bb9fcaf Merge branch 'dev' of https://github.com/danielyxie/bitburner into stock-market-and-bladeburner-rebalancing 2018-09-06 11:54:21 -05:00
danielyxie
26fa9cfe82 Rebalanced Stock Market and Bladeburner. Refactored Stock class to Typescript 2018-09-06 11:07:59 -05:00
Mat Jaworski
f721e21622 More minor font colour and Infiltration details updates 2018-09-07 00:15:36 +10:00
Mat Jaworski
0cc6d81309 Updated the src/index.html as per my previous PR updates in ./index 2018-09-06 21:58:27 +10:00
Mat Jaworski
fe47df1ade
Merge branch 'dev' into dev 2018-09-06 21:44:44 +10:00
danielyxie
f0151db5d1 Merge branch 'v0.40.3-patch-2' of https://github.com/danielyxie/bitburner into stock-market-and-bladeburner-rebalancing 2018-09-05 16:38:19 -05:00
danielyxie
14e04f51ef
Merge pull request #443 from danielyxie/v0.40.3-patch-1
V0.40.3 patch 1
2018-09-05 16:11:01 -05:00
danielyxie
9f1626c0a3 Updated changelog 2018-09-05 16:10:34 -05:00
danielyxie
3c2ffc05e1
Merge pull request #442 from kopelli/html-webpack
Html Webpack
2018-09-05 16:09:11 -05:00
danielyxie
423ecea95f Finished refactoring Player code to continuously give exp when doing a working action (rather than giving it all when the action is finished) 2018-09-05 15:36:18 -05:00
Mat Jaworski
0b0a3d366c More UI updates
- infiltration: added colours, updated spacing and fixed alignment
- terminal prompt: added colour for the previous lines as well
- Active Scripts and Hacknet Nodes: money values have a gold colour now; minor spacing updates
- minor code refactoring
2018-09-03 22:10:00 +10:00
Matthew Goff
2d9f3856c7
formatNumber -> numeral in more locations 2018-09-01 08:42:56 -05:00
danielyxie
ab0ef6d36c Began refactoring Player work-related functions to continously give exp rather than only giving when the work "ends". Has been completed for company work so far 2018-08-30 16:51:25 -05:00
danielyxie
395fc3b9df Added tryWrite() as a native Netscript function. Updated documentation to reflect the fact that port handles no longer work in Netscript 1.0 2018-08-30 15:27:47 -05:00
danielyxie
30f8c4a6f0 Fixed merge conflicts 2018-08-30 12:01:37 -05:00
danielyxie
5ede6be8e5 Refactored functions that calculate hacking time/exp gain/chance/ etc into a separate file 2018-08-30 12:00:38 -05:00
Steven Evans
a154d214b7 [refactor] Page title is driven by Webpack 2018-08-30 11:13:27 -04:00
Steven Evans
2deeaef349 [refactor] Google Analytics is controlled by Webpack 2018-08-30 11:08:08 -04:00
Steven Evans
552ce183c1 [chore] Introduce HTML-Webpack
This issue means that any changes to the HTML has to happen in the
`.\src\index.html` file rather than the `.\index.html`. This makes the
`index.html` in the root now a build artifact the same way that files in
`dist\` are.
2018-08-30 10:43:18 -04:00
Steven Evans
26b1c43435 [style] Sorting properties alphabetically 2018-08-29 22:45:47 -04:00
Steven Evans
68527d6258 [style] Fixing TSLint violations 2018-08-29 22:40:23 -04:00
danielyxie
63cd269d5e b1t_flume.exe program can now be created instantly (reqd hacking level is 1 instead of 5). Fixed some linting errors 2018-08-29 15:25:01 -05:00
danielyxie
aa18420e0c
Merge pull request #441 from danielyxie/improve-interactive-tutorial
Updated Interactive Tutorial and added a few helpful links to the hac…
2018-08-29 14:11:13 -05:00
danielyxie
8b99e46d5e Updated Interactive Tutorial and added a few helpful links to the hackers-starting-handbook Literature file 2018-08-29 14:06:21 -05:00
Mat Jaworski
5f13bc6336 UI Enhancements
Updates:
– Character Overview box (top right corner) – redesigned and added colours to the attributes.
– Added prompt colour in the terminal.
– Minor copy fixes (grammar and typos).
– Code formatting cleanup.
– Character > Stats – Fixed spacing issue when Intelligence is not yet available
– Main Menu – Adjusted the spacing and changed the border to outline to improve the readability.
– Tooltip boxes (Firefox only) – fixed the issue when tooltips were generating additional spacing around the <br> tags.
– Multiple general updates to UI to improve accessibility and readability. Aimed to improve the user experience when playing the game on a smaller screen resolutions.
– Accordion/Dropdown buttons – improved the readability of the plus/minus icons.
– Added .editorconfig with the most basic settings.
2018-08-30 01:12:33 +10:00
danielyxie
58d48f19ef Added .fconf setting for enabline line wrap in terminal input. Began implementing wget 2018-08-28 22:24:38 -05:00
danielyxie
53e2a5091c Added correct production build. Properly reset stock market 4S values when prestiging through BitNode 2018-08-27 00:23:04 -05:00
danielyxie
2bf6871ece V0.40.2 BUndle and minor bug/typo fixes 2018-08-25 23:26:42 -05:00
danielyxie
245bb5992d
Merge pull request #436 from Kline-/patch-1
Fix Speech Enhancement appearing twice for FSIG
2018-08-25 17:08:22 -05:00
Matthew Goff
251e18799b
Fix Speech Enhancement appearing twice for FSIG 2018-08-24 16:44:08 -05:00
Daniel Xie
e4f02b298b Added Four Sigma (4S) Market Data feature, and its Netscript TIX API functions as well 2018-08-24 15:44:48 -05:00
Daniel Xie
815762bddd Attached Stock market Watchlist 2018-08-23 13:51:57 -05:00
Daniel Xie
c5841b65fe Fixed a bug where the special harcoded keywords that are search for in script RAM calculation would be counted once per 'scope' 2018-08-20 00:25:55 -05:00
Daniel Xie
f3732b2d74 Preventing exploits by progrmaming DOM button clicks in code 2018-08-17 15:06:18 -05:00
Daniel Xie
d556af0fd8 Converted pop-up boxes to use css flex 2018-08-12 14:45:35 -05:00
Daniel Xie
bb4094f879 Added option to disable hospitalization popup message 2018-08-12 00:39:37 -05:00
danielyxie
b15582ff71
Merge pull request #433 from danielyxie/bladeburner-rebalancing
Bladeburner rebalancing
2018-08-11 20:25:35 -05:00
danielyxie
e1bdf0100a
Merge pull request #432 from Kline-/stocks-use-numeral
Standardize log messages and switch from formatNumber to numeral.
2018-08-11 20:08:32 -05:00
Daniel Xie
de0f891d52 Various rebalances to Bladeburner: Buffed Augmentations. Simulacrum costs less rep but more money. Slightly more money gained from contracts. Operations give more rank. More Synthoid communities. Added getBonusTime() and getSkillUpgradeCost() to Bladeburner API. Operation count increases faster and is more randomized. Decreased rate at which contracts/ops level up 2018-08-11 20:05:32 -05:00
Daniel Xie
b89437a52e Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-11 16:21:19 -05:00
Daniel Xie
5cc1a4ba01 Updated changelog with merged PRs 2018-08-11 16:21:11 -05:00
Matthew Goff
b65157df7f
Standardize log messages and switch from formatNumber to numeral. 2018-08-10 15:52:35 -05:00
danielyxie
c726ff1738
Merge pull request #431 from Kline-/fix-BN8
Move resetting stocks, gang, and corp to the end of the funcs.
2018-08-10 00:07:54 -05:00
danielyxie
72bd1f22c5
Merge pull request #423 from Kline-/fix-getActionTime
Fix bladeburner.getActionTime returning null
2018-08-10 00:06:38 -05:00
danielyxie
be69d6b68a
Merge pull request #428 from hydroflame/patch-6
increase BB skill cost in BN12
2018-08-10 00:05:26 -05:00
Matthew Goff
549b3f34a3
Move reseting stocks, gang, and corp to the end of the funcs. Should fix #421. 2018-08-08 18:04:40 -05:00
Steven Evans
9a7fa5d12c
Merge branch 'dev' into refactor-out-circular-dependencies 2018-08-07 10:00:49 -04:00
Olivier Gagnon
e0ee08ec45
increase BB skill cost in BN12 2018-08-06 22:26:56 -04:00
Daniel Xie
a1a69b8042 Prevent dev menu from being shown in produ 2018-08-06 21:15:31 -04:00
Daniel Xie
171d98c891 Updated changelog and version. Adding v0.40.1 bundle 2018-08-06 19:21:37 -04:00
Daniel Xie
c0db61c78f Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-06 19:11:25 -04:00
Daniel Xie
dac64d188b Fixed bug with executing HTTPWorm program from Terminal 2018-08-06 19:11:14 -04:00
Daniel Xie
ea6cc3da55 Fix array/object bug with new JS Interpreter for Port functions (read, write, and tryWrite) 2018-08-06 10:25:22 -05:00
Daniel Xie
faa5e807d5 Updating documentation and Netscripy syntax highlighting for v0.40.1 community update. Bitrunners now has CranialSignalProcessors 3-5. CyberSec now has Cranial Signal Processors 1-2. 2018-08-05 03:37:28 -04:00
Matthew Goff
9b099fcee9
Fix bladeburner.getActionTime returning null 2018-08-04 16:52:45 -05:00
danielyxie
d1b3fb9b41
Merge pull request #422 from Kline-/cleanup-aug-desc
Cleanup augmentation descriptions
2018-08-04 17:21:26 -04:00
danielyxie
51c7630dd2
Merge pull request #404 from hydroflame/semicolon
added semicolon support to terminal as well as autocomplete support f…
2018-08-04 17:16:09 -04:00
Matthew Goff
7e311d0592
Cleanup augmentation descriptions 2018-08-04 15:14:52 -05:00
Daniel Xie
44e45af2fe Removed console.log statement 2018-08-03 16:54:11 -05:00
Daniel Xie
1ce9a5308d Fixed bug in Changelog text. Properly credited kopelli for Active Server UI Ram usage change 2018-08-03 10:50:20 -05:00
Daniel Xie
4a56076ba9 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-03 10:41:56 -05:00
Daniel Xie
5ba1433898 Updated changelog for merged PRs 2018-08-03 10:41:52 -05:00
danielyxie
2f9897255e
Merge pull request #416 from kopelli/active-scripts-ram-usage
Servers on Active Scripts now show a ram usage bar
2018-08-03 11:41:16 -04:00
danielyxie
9b0db28d00
Merge pull request #415 from kopelli/active-scripts
Active Scripts list no longer jumps down on first update
2018-08-03 11:38:50 -04:00
danielyxie
3bc76f10d1
Merge pull request #417 from Kline-/patch-6
Remove extraneous logging
2018-08-03 11:36:13 -04:00
Olivier Gagnon
ddca5ae987 character overview element reuse 2018-08-03 10:54:13 -04:00
Matthew Goff
aa8fdae2df
Remove extraneous logging
This is already logged [here](b00d2acc00/src/Bladeburner.js (L1185))
2018-08-02 18:45:49 -05:00
Steven Evans
530ae48e79 [feat] Servers on Active Scripts now show a ram usage bar 2018-08-02 16:14:48 -04:00
Steven Evans
ba3f637eb1 [feat] Active Scripts list no longer jumps on first update 2018-08-02 15:53:53 -04:00
Steven Evans
edcfe71eed [refactor] Moving BitNodeMultipliers to its own file to break cyclical
module references.
2018-08-02 14:33:08 -04:00
Steven Evans
974bc3c002 [refactor] Moved Settings to TypeScript
Moved the UI binding to a separate file as there is still a circular
dependency with 'engine'. But every other file that depends on Settings
is no longer part of a larger dependency cycle.
2018-08-02 14:33:08 -04:00
Steven Evans
826a8799fa [refactor] Extracting Locations to its own file to remove circular dependency 2018-08-02 14:33:08 -04:00
Steven Evans
26b0840f26 [refactor] Breaking out page tracking from 'engine' 2018-08-02 14:33:07 -04:00
Steven Evans
56da0f9214 [refactor] Pulling out createStatusText from Engine 2018-08-02 14:33:06 -04:00
Steven Evans
7313d551f1 [refactor] Pulling out post to terminal to its own file. 2018-08-02 14:26:24 -04:00
Steven Evans
0bea4e0430 [refactor] Breaking out key codes
Trying to start breaking apart the large circular dependencies between
modules. Most of the dependencies are similar to this pattern where
there is one stand-alone member that is needed, so the entire module
gets brought along with.
2018-08-02 14:23:50 -04:00
Steven Evans
1412b01be5 [style] Fixing TSLint violations 2018-08-02 14:23:49 -04:00
Daniel Xie
357e600cf2 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-02 10:08:27 -05:00
Daniel Xie
702fdf307a Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-08-02 10:08:19 -05:00
Daniel Xie
2c3af9c86e Updated changelog for merged PRS 2018-08-02 10:06:29 -05:00
Olivier Gagnon
ce13c1bb2f
Merge branch 'dev' into semicolon 2018-08-02 11:04:21 -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
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
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
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
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