danielyxie
44ce4bc674
Added RAM usage calculations for wget() Netscript fn
2018-10-01 19:51:32 -05:00
danielyxie
427cdb48ba
Initial commit for implemeenting wget and refactoring some Server-related code
2018-10-01 19:51:32 -05:00
danielyxie
11c60a87c2
grow() no longer reports Infinite growth when money is at 0
2018-10-01 19:51:32 -05:00
danielyxie
561cdb1652
Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level
2018-10-01 19:51:32 -05:00
danielyxie
12bee24520
Beginning to refactor stylesheets. Convert main menu to use buttons instead of a elements
2018-10-01 19:51:32 -05:00
danielyxie
d624d2f86f
Fixed bug with contract generation when player doesn't have a job. Added bladeburner.getActionRepGain() function
2018-10-01 19:51:32 -05:00
danielyxie
3051208bcb
Adding updated build and fixing display bugs with Terminal's 'analyze'
2018-10-01 19:51:32 -05:00
danielyxie
f78f0ec1a7
Implemented Coding Contracts
2018-10-01 19:51:32 -05:00
danielyxie
e714f1e6cd
Rename ContractTypes -> CodingCOntractTypes. Begin Contract Generation code
2018-10-01 19:51:32 -05:00
danielyxie
420fd0c5ad
write()/read() now work for script files. You can now use angled brackets in tprint() (and create DOM elements). Added CodingContract implementation
2018-10-01 19:51:32 -05:00
Steven Evans
b66c3c6fc4
[chore] Fixing import casing to actually match file casing
2018-10-01 19:51:32 -05:00
Steven Evans
a98dd66e45
[bug] Fixing the timestamp in Bladeburner logs.
2018-10-01 19:51:32 -05:00
danielyxie
6cb7704eed
Move all Theme color settings to FconfSettings rather than Settings. Add setting for default/classic main menu style
2018-10-01 19:51:32 -05:00
danielyxie
7ef6f6896e
Added css for a 'classic' main menu
2018-10-01 19:51:32 -05:00
danielyxie
71886f030a
Properly credited people in changelog
2018-10-01 19:51:05 -05:00
danielyxie
67d9d6af13
Fix a few bugs with Coding Contracts
2018-10-01 19:47:03 -05:00
danielyxie
5074f4f4c8
v0.40.4
2018-09-29 20:52:38 -05:00
Santiago Kent
d39f002b20
Added the getStockSymbols method to the TIX API, wich returns an array of the tradable symbols
2018-09-29 17:39:42 -05:00
danielyxie
1d20d475f3
Fixed Infiltration exp display bug. Set cursor: pointer css styling for main menu
2018-09-29 13:58:32 -05:00
danielyxie
fdc98f43d4
wget() Netscript function always returns a Promise
2018-09-29 12:55:41 -05:00
danielyxie
f38aba0130
Fix linting issues
2018-09-29 12:55:41 -05:00
danielyxie
065ce4d4df
Finished wget() Netscript fn implementation. Updated documentation
2018-09-29 12:55:41 -05:00
danielyxie
c248ca9383
Added RAM usage calculations for wget() Netscript fn
2018-09-29 12:55:41 -05:00
danielyxie
22e909eb14
Initial commit for implemeenting wget and refactoring some Server-related code
2018-09-29 12:55:41 -05:00
danielyxie
23c862b727
grow() no longer reports Infinite growth when money is at 0
2018-09-27 21:09:02 -05:00
danielyxie
4d2290bcb1
Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level
2018-09-26 00:00:28 -05:00
danielyxie
597f080d97
Beginning to refactor stylesheets. Convert main menu to use buttons instead of a elements
2018-09-25 12:18:06 -05:00
danielyxie
81c1655a30
Fixed bug with contract generation when player doesn't have a job. Added bladeburner.getActionRepGain() function
2018-09-23 23:27:31 -05:00
danielyxie
593087d55f
Adding updated build and fixing display bugs with Terminal's 'analyze'
2018-09-22 19:36:28 -05:00
danielyxie
fd8bcf35ed
Implemented Coding Contracts
2018-09-22 19:31:43 -05:00
danielyxie
a114904fd3
Rename ContractTypes -> CodingCOntractTypes. Begin Contract Generation code
2018-09-22 19:31:43 -05:00
danielyxie
c309c0cdc9
write()/read() now work for script files. You can now use angled brackets in tprint() (and create DOM elements). Added CodingContract implementation
2018-09-22 19:31:43 -05:00
Steven Evans
ebd8d282ed
[chore] Fixing import casing to actually match file casing
2018-09-21 14:53:35 -05:00
Steven Evans
ab23d34a7a
[bug] Fixing the timestamp in Bladeburner logs.
2018-09-21 14:51:54 -05:00
danielyxie
b12739a1ba
Move all Theme color settings to FconfSettings rather than Settings. Add setting for default/classic main menu style
2018-09-21 14:51:26 -05:00
danielyxie
256f15418b
Added css for a 'classic' main menu
2018-09-21 14:51:26 -05:00
danielyxie
94739129de
Fixed bug with Player.workForFaction() calling the wrong 'finish' function when it goes over the max time (after being offline)
2018-09-16 14:48:36 -05:00
danielyxie
f016736603
Updated changelog and version. Added build distribution files
2018-09-12 11:34:18 -05:00
danielyxie
a18a2e8e70
Fixed linting errors
2018-09-12 11:29:02 -05:00
danielyxie
d50c5abb66
Refactored all code that uses the numeral library to use a wrapper class. Implemented configurable locale setting through this wrapper class
2018-09-12 11:29:02 -05:00
danielyxie
5635b51659
Locale setting implemented. Has numeral error when switching locales
2018-09-12 11:29:02 -05:00
danielyxie
0229eda9ce
Slightly randomized endgame server parameters. Amount of RAM on servers is now also randomized
2018-09-11 21:56:11 -05:00
danielyxie
56b2f581d8
Added donateToFaction(), isLogEnabled(), and getScriptLogs() Netscript functions. Added optional hacking/int level parameters to getHackTime/getGrowTime/etc functions
2018-09-11 13:56:23 -05:00
danielyxie
93d2a09aab
Migrating hydroflame's killall loading screen changes to new build files
2018-09-10 16:38:18 -05:00
danielyxie
93db9c513a
Merge pull request #455 from kopelli/lint-violations
...
Lint violations
2018-09-10 14:27:46 -05:00
danielyxie
d3d842cec7
Merge pull request #451 from kopelli/server-expansion
...
Server Randomization
2018-09-10 14:25:21 -05:00
danielyxie
c24b7bce5f
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-09-10 13:52:38 -05:00
danielyxie
ba469f49c5
Fixed merge conflicts in Kline--numeral-updates
2018-09-10 13:51:21 -05:00
Steven Evans
9a4867785e
[style] Fixing TSLint violations
2018-09-10 11:24:23 -04:00
Steven Evans
a681fc5577
[chore] Disabling a couple ESLint violations
...
These should really be refactored and fixed, but the end-to-end testing
will take a bit more effort. It can be tackled later.
2018-09-10 10:59:07 -04:00
danielyxie
93c1d603c5
Fixed issue with prompt color
2018-09-07 21:53:10 -05:00
danielyxie
b36855fe52
Merged from dev. Fixed merge conflicts. Updated terminal documentation for wget
2018-09-07 21:21:23 -05:00
danielyxie
98598b103d
Implemented wget Terminal command
2018-09-07 20:53:11 -05:00
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
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
681401b7b0
[refactor] Converting all font-size to be based on $defaultFontSize
2018-07-17 12:09:19 -04:00
Steven Evans
9b5b997b6d
[chore] Introducing SCSS, renaming existing files.
...
Not utilizing any functionality yet, just setting up for refactorings.
2018-07-17 11:55:04 -04:00
Steven Evans
3faed7caf2
[refactor, chore] "Compile" CSS via Webpack
...
This may seem unnecessary (and odd to import CSS files into JS...), but
this sets up the project for being able to keep the distributed
(release) resources all together, as well as setting the stage for
introducing something like SCSS.
2018-07-16 23:22:24 -04: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
danielyxie
a605dd4491
Bladeburner API getCurrentAction() now returns null if current action is 'Idle'
2018-07-15 20:39:07 -05:00
danielyxie
c449dee97e
Fixed bug with Corporaiton healthcare. Fixed bug with new netscript 1.0 JS Interpreter properly throwing errors
2018-07-15 13:03:33 -05:00
danielyxie
2b38a8cd2a
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-07-14 20:06:23 -05:00
danielyxie
b40c247dcb
Bladeburner General actions now set both Name and Type in underlying ActionId
2018-07-14 19:59:27 -05:00
danielyxie
30740dbf23
Merge pull request #356 from hydroflame/limit-hack-security
...
limit fortifying to the amount of hck thread you needed to drain the …
2018-07-14 19:29:21 -05:00
danielyxie
497186355f
New Hacknet Node Netscript API - initial commit
2018-07-14 19:25:50 -05:00
Olivier Gagnon
6514632b43
added shortcuts to corp, gang and blade under the world tab
2018-07-12 22:22:28 -04:00
Olivier Gagnon
4a17c5a49c
limit fortifying to the amount of hck thread you needed to drain the server
2018-07-12 21:16:24 -04:00
danielyxie
e97861f42b
Bladeburner API Improvements: Added getCurrentAction(). getSkillLevel() now fails if no argument is passed
2018-07-12 00:01:52 -05:00
danielyxie
3ffc820519
Fixed new Netscript1 Interpreter to work for functions returning Arrays/Objets. Untested. Also still needs new Hacknet Node implementation
2018-07-10 23:41:26 -05:00
danielyxie
dcd6292ed2
Fixed bugs with new HelperFunctions
2018-07-10 00:11:18 -05:00
Steven Evans
28bebeb144
[refactor] Moved 'createAccordionElement' to its own TS file
2018-07-09 13:58:04 -04:00
Steven Evans
af40252ee9
[refactor] Moved 'clearSelector' to its own TS file.
2018-07-09 13:57:21 -04:00
Steven Evans
9e26ee7858
[refactor] Moved 'removeChildrenFromElements' to its own TS file
2018-07-08 21:18:44 -04:00
Steven Evans
95939a8818
[refactor] Moved 'removeElement' to its own TS file; deduped logic
2018-07-08 21:18:43 -04:00
Steven Evans
8016321bfb
[refactor] Moved 'clearEventListeners' to its own TS file
2018-07-08 21:18:10 -04:00
Steven Evans
7edf5b5f1a
[refactor] Moved 'clearObject' to its own TS file
2018-07-08 20:17:53 -04:00
Steven Evans
6701503c78
[refactor] Moved 'compareArrays' to its own TS file
2018-07-08 20:17:52 -04:00
Steven Evans
1f7ed8f791
[refactor] Moved 'appendLineBreaks' to its own TS file
2018-07-08 20:17:52 -04:00
Steven Evans
015524f049
[refactor] Moved 'powerOfTwo' to 'isPowerOfTwo' TS file
2018-07-08 20:17:52 -04:00
Steven Evans
1a5208f78f
[refactor] Moved 'printArray' to 'arrayToString' TS file
2018-07-08 20:17:51 -04:00
Steven Evans
d20516b03c
[refactor] Moved 'addOffset' to its own TS file
2018-07-08 20:17:51 -04:00
Steven Evans
875f7b4438
[refactor] Moved 'removeElementById' to its own TS file
2018-07-08 20:17:50 -04:00
Steven Evans
488f947a5b
[refactor] Moved 'getElementById' to its own TS file.
2018-07-08 20:17:50 -04:00
Steven Evans
8c25684fe1
[refactor] Moved 'createPopup' to its own TS file.
2018-07-08 20:17:50 -04:00
Steven Evans
107f1de18d
[refactor] Moved createElement
into its own TS file
...
This is the start at separating out UI related work from potentially backend
related work. This distinction will help when Web Workers can be
introduced to get around the background tab limitation for scripts.
2018-07-08 20:17:49 -04:00
Steven Evans
bdb935d104
[refactor] Moved isValidIPAddress
to its own TS file
2018-07-08 20:17:49 -04:00
Steven Evans
be9891d93b
[refactor] Moved 'getRandomInt' to its own TS file
2018-07-08 20:17:49 -04:00
Steven Evans
39c9488768
[refactor] Moved 'roundToTwo' to its own TS file
2018-07-08 20:17:48 -04:00
Steven Evans
15e3b751da
[refactor] Moved "exceptionAlert" to its own TS file
...
Since this is a UI only function, when Web Workers are introduced this
call chain will not be allowed on the backend.
2018-07-08 20:15:07 -04:00
Steven Evans
be577164e3
[refactor] Removed export of "numOccurrences"
...
Does not appear to actually be used outside of StringHelperFunctions.ts
2018-07-08 20:15:07 -04:00
Steven Evans
a6293474a9
[refactor] Moved "isString()" to its own TS file
2018-07-08 20:15:06 -04:00
Steven Evans
187b5051b9
[refactor] Moved "createProgressBarText" to its own TS file
2018-07-08 20:15:06 -04:00
danielyxie
78c5a1b0f4
Initial commit for new Netscript 1 Intepreter
2018-07-08 18:53:24 -05:00
danielyxie
fde2b8cbc1
Infiltration can no longer be done programmatically. HP is reset when prestiging
2018-07-07 19:16:58 -05:00
danielyxie
f33bc59768
Merge pull request #349 from hydroflame/fix-donate-invalid-input
...
Fix donate invalid input
2018-07-06 17:07:44 -05:00
Olivier Gagnon
2090554238
fixed ramUsed wrong calculation
2018-07-05 23:15:01 -04:00
Olivier Gagnon
7721bfc6c8
clearing the faction donate text field no longer says invalid amount, also formatting
2018-07-05 12:59:20 -04:00
danielyxie
a165880fff
Fix typo with Source File 12
2018-07-05 00:00:13 -05:00
danielyxie
7cc759f314
Updated version to v0.39.1. Production Build. Updated documentation
2018-07-04 23:52:54 -05:00
danielyxie
30b9624e1f
Updated documentation
2018-07-03 21:12:46 -05:00
danielyxie
3213032427
Fixed incompatibility issues with Edge (due to spread syntax). Fixed issue with Terminal autocomplete and capitalized commands. Script ram is now rounded to 2 decimal places
2018-07-02 22:35:12 -05:00
danielyxie
c8421168b6
Copying a NetscriptJS script with scp now properly clears its 'module'.
2018-06-29 00:39:05 -05:00
Steven Evans
8624fff015
Merge branch 'dev' into eslint
2018-06-27 23:42:42 -04:00
danielyxie
300cd01cc8
Merge pull request #344 from kopelli/lint-cleanup
...
[style] Cleaning up TSLint violations
2018-06-27 22:39:50 -05:00
danielyxie
0de312a047
Merge pull request #347 from danielyxie/infiltration-improvements
...
Finishing Infiltration returns to company page. Infiltration remember…
2018-06-27 22:37:10 -05:00
danielyxie
393ce096fd
Finishing Infiltration returns to company page. Infiltration remembers selected faction
2018-06-27 22:34:57 -05:00
Olivier Gagnon
611b9d2b12
fix crime parameter
2018-06-27 21:47:09 -04:00
danielyxie
e2b2fb66f3
Rebalancing BN - 7 and several Source Files
2018-06-27 18:28:11 -05:00
Steven Evans
f372f1e693
Merge branch 'dev' into eslint
2018-06-26 22:04:45 -04:00
Steven Evans
2b5090a273
[style] Cleaning up TSLint violations
...
Adding a few custom types and documentation to clean up TSLint rule
violations. Included some usage of rule disabling for things like long
lines where we need to extract text that the user would see. That level
of text should really be separated from the logic.
2018-06-26 21:40:26 -04:00
danielyxie
18e47ee7c4
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-06-26 16:58:45 -05:00
Olivier Gagnon
048cbb0910
faction into to ts
2018-06-26 16:34:14 -04:00
Olivier Gagnon
7927e2bfe7
little more ts
2018-06-26 16:10:04 -04:00
danielyxie
219568d8af
Fixing merge conflicts
2018-06-26 13:17:07 -05:00
Olivier Gagnon
50a1e83b55
more .js wrongly removed
2018-06-26 13:38:55 -04:00
Olivier Gagnon
40b29ea3c0
woops, sed overkill
2018-06-26 13:27:57 -04:00
Olivier Gagnon
6bdf946790
remove all .js from all appplicable imports
2018-06-26 12:34:11 -04:00
danielyxie
f9943db71d
Adding description to SourceFile 7
2018-06-26 09:59:44 -05:00
danielyxie
13dbd9f26c
Merge PRs and fix issues
2018-06-26 09:49:28 -05:00
danielyxie
89ecb15b6f
Merge pull request #324 from hydroflame/hydroflame-convert-ts
...
first conversion
2018-06-25 20:02:40 -05:00
danielyxie
0343ba863b
Merge pull request #323 from hydroflame/fix-negative-security-growth
...
cap difficulty and fix negative security growth
2018-06-25 19:59:48 -05:00
danielyxie
60c308a28f
Merge pull request #321 from hydroflame/buy-aug-setting
...
moved the suppress buy aug confirmation to settings, will now persist
2018-06-25 19:42:17 -05:00
danielyxie
d2a1443960
Merge pull request #320 from hydroflame/move-tor-html
...
[SMALL] moved all tor-html related code to one place, hurray for decoupling
2018-06-25 19:40:59 -05:00
danielyxie
b2a24002ee
Merge pull request #266 from hydroflame/streamline-create-programs
...
Streamline create programs
2018-06-25 19:34:08 -05:00
danielyxie
75ff10b5c2
Added documentation for Bladeburner API. Fixed typo in BN-7 description.
2018-06-25 14:07:03 -05:00
danielyxie
ca15e689ef
More rebalancing of Infiltration. Updating version to v0.39.0
2018-06-25 12:29:51 -05:00
danielyxie
6193faa44a
Merge pull request #331 from hydroflame/format-fl1ght
...
Format fl1ght, fix #328
2018-06-24 22:29:49 -05:00
danielyxie
58753f9c89
Added Bladeburner functions and 'bladeburner' keyword to syntax highlighter for Netscript. Fixed a bug with bladeburner.getSkillLevel() Netscript fn
2018-06-24 22:07:05 -05:00
danielyxie
8c8574878c
Rebalanced infiltration by making base difficulty lower, slightly decreasing the difficulty gain, and increasing money/exp rewards
2018-06-24 21:50:03 -05:00
Steven Evans
877432f3ac
Merge branch 'dev' into eslint
2018-06-24 21:58:02 -04:00
Olivier Gagnon
c830f08081
format fl1ght money like the rest of the money
2018-06-24 21:08:40 -04:00
danielyxie
22b64dcc4a
Implemented BN-7
2018-06-24 19:13:50 -05:00
Steven Evans
52269759ec
[chore] Adding ESLint
...
This is a baseline ESLint configuration, with *A LOT* of rules disabled.
All rules that are enabled already conform to the codebase. As code
clean up starts to happen, rules can be enabled one-by-one.
2018-06-22 22:28:59 -04:00
Olivier Gagnon
3af76f50ab
Merge branch 'dev' into streamline-create-programs
2018-06-22 20:48:26 -04:00
Olivier Gagnon
53ddfbc9ec
first conversion
2018-06-22 17:30:24 -04:00
danielyxie
343d474702
Merge pull request #318 from hydroflame/darkweb-autolink
...
added autolink to darkweb
2018-06-22 15:13:48 -05:00
danielyxie
5ad481893b
Merge pull request #322 from hydroflame/time-since-bitnode
...
added time since last bitnode timer
2018-06-22 15:13:03 -05:00
danielyxie
3a291cf4dd
Merge pull request #303 from kopelli/typescript
...
Add Typescript and TSLint to the tool chain
2018-06-22 15:11:49 -05:00
Olivier Gagnon
fbc9627344
cap difficulty and fix negative growth
2018-06-22 15:41:55 -04:00
danielyxie
aa17b02da7
Added var declaration in Netscript 1.0. Loops and conditionals no longer incur RAM cost, but base RAM cost increased from 1.4 to 1.6 GB
2018-06-22 14:39:15 -05:00
Olivier Gagnon
4f9ae82b4b
added time since last bitnode timer
2018-06-22 15:38:25 -04:00