Commit Graph

1581 Commits

Author SHA1 Message Date
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
Olivier Gagnon
8f30a2246c using classList instead of setAttributes 2018-06-21 13:52:34 -04:00
Olivier Gagnon
15b0c11731 moved the suppress buy aug confirmation to settings, will now persist 2018-06-21 13:32:21 -04:00
Olivier Gagnon
9dc96c51cb moved all tor-html related code to one place, hurray for decoupling 2018-06-21 13:00:33 -04:00
danielyxie
24cd1bb498 Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-06-21 10:49:40 -05:00
Steven Evans
942c26b27e
Merge branch 'dev' into typescript 2018-06-20 22:10:20 -04:00
Olivier Gagnon
0ea6312d49
Merge branch 'dev' into streamline-create-programs 2018-06-20 18:50:08 -04:00
Olivier Gagnon
3ab23df8d7 terminal autocompletes darkweb better 2018-06-20 18:34:39 -04:00
Olivier Gagnon
01a5911ee1 added autolink to darkweb 2018-06-20 18:27:13 -04:00
danielyxie
abfb1b1947
Merge pull request #301 from hydroflame/beautify
Add a button to beautify scripts in text editor
2018-06-20 16:57:58 -05:00
danielyxie
91d53d93a1
Merge pull request #298 from hydroflame/corporation-styling
Corporation styling
2018-06-20 16:57:07 -05:00
danielyxie
856f7a0cd2
Merge pull request #264 from hydroflame/streamline-darkweb
streamline darkweb
2018-06-20 16:56:10 -05:00
Olivier Gagnon
cab8dbf5d9 made skill calculation smoother 2018-06-19 00:37:56 -04:00
danielyxie
f5be9e5da7 Fix bug with spawn() 2018-06-17 14:19:43 -05:00
danielyxie
f33806e189 Updated tover sion v0.38.1 2018-06-15 14:05:53 -05:00
danielyxie
d38cfc61bd Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-15 01:09:54 -05:00
danielyxie
b4cec584f6
Merge pull request #299 from hydroflame/fix-grow-security
fix growth not increasing security if server reaches max money
2018-06-15 01:09:17 -05:00
danielyxie
bee20b090c
Merge pull request #296 from hydroflame/serverExists-all-true
fixed serverExists returning true for non-existent IPs
2018-06-15 01:04:52 -05:00
danielyxie
c365696447 Reverse const change in Script RAM parser. Built documentation 2018-06-15 00:58:35 -05:00
danielyxie
8620a4d30c Fix issue with 'Object.prototye' functions throwing errors during NetscriptJS RAM calculation. Fixed type with new Travel Confirmation setting loading to the correct initial value. Fixed Competition/Demand display for Products. Changed RAM for window/document access to be 100 2018-06-14 14:51:06 -05:00
Steven Evans
9c09e44db2 [refactor, chore] Including TSLint; fixing most things.
As it currently stands, bringing in TSLint with *all* rules enabled by
default and override each as we go. This means that as we upgrade and
bring in new rules we might start seeing new rules that the code
violates.

Because all the rules are enabled by default, the choice to explicitly
disable/relax rules can be discussed as part of PRs.

This also brought in strict type checking. This means we shouldn't be
relying on truthy/falsey value coercion. It also means that we will
likely need to create some type definition files or port certain files
over. That...will be a bit tedious, but will make the codebase better as
a whole.
2018-06-14 14:57:44 -04:00
Steven Evans
67cee8642b [refactor] Converted TextFile to TypeScript 2018-06-14 09:11:28 -04:00
Olivier Gagnon
c35395e302 added beautifier button in text editor 2018-06-14 02:26:54 -04:00
Steven Evans
3e1ec388e0 [chore] Introduce TypeScript; Tested out with HelpText. 2018-06-13 23:38:35 -04:00
Olivier Gagnon
7c658e2966 growth now adds security even if the server reaches max, but only the amount that was needed 2018-06-13 17:27:26 -04:00
Olivier Gagnon
83aeb50605 unify dropdown and text input accross the app 2018-06-13 16:20:27 -04:00
danielyxie
d6620da22e Removed import of DevModeEnabled in engine.js. Removed JSON.stringify in webpack.config.js for build mode 2018-06-13 14:26:15 -05:00
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Olivier Gagnon
bb68fa5806 fixed getServer instead 2018-06-13 12:34:32 -04:00
Olivier Gagnon
07c9f9e155 fixed server exists returning true for non-existent IPs 2018-06-13 12:16:12 -04:00
danielyxie
20e437844a Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-06-13 09:24:15 -05:00
danielyxie
b7b40d237a
Merge pull request #295 from hydroflame/prevent-document-nsjs
window and document symbold now occur impossibly high ram cost in nsjs
2018-06-13 09:22:47 -05:00
danielyxie
449df57edf
Merge pull request #294 from hydroflame/suppress-travel-confirm
added options to suppress travel confirmation
2018-06-13 09:19:50 -05:00
danielyxie
c663b5edc7
Merge pull request #289 from hydroflame/fix-277
Fix #277
2018-06-13 09:18:31 -05:00
danielyxie
fa42d4ee43
Merge pull request #288 from hydroflame/netscript-ps
Netscript ps function
2018-06-13 09:17:58 -05:00
danielyxie
2fc17e973c
Merge pull request #292 from hydroflame/fix-282
fixed 282
2018-06-13 09:15:38 -05:00
danielyxie
9a0dd4b9ee
Merge pull request #286 from hydroflame/tor-green
Tor green
2018-06-13 09:10:52 -05:00
danielyxie
b0865c09f5
Merge pull request #285 from hydroflame/company-favor-format
Company favor format
2018-06-13 09:04:17 -05:00
danielyxie
ca484fa679
Merge pull request #281 from kristapsmelderis/fix#280
fix #280
2018-06-13 08:58:23 -05:00
danielyxie
ff12c87913
Merge pull request #279 from hydroflame/prevent-work-faction-bn2
prevent players from doing work through singularity in BN2 when the p…
2018-06-13 08:57:59 -05:00
danielyxie
84d239e7f8
Merge pull request #278 from hydroflame/fix-negative-growth
Fix negative growth
2018-06-13 08:54:47 -05:00
danielyxie
388ff30ed8
Merge pull request #263 from hydroflame/exec-log
exec, spawn, and run won't log when disableLog is set
2018-06-13 08:51:37 -05:00
Olivier Gagnon
af2e04db10 window and document symbold now occur impossibly high ram cost in nsjs 2018-06-13 03:57:25 -04:00
Olivier Gagnon
7362ead364 added options to suppress travel confirmation 2018-06-13 03:37:21 -04:00
Olivier Gagnon
bef2f07811 fixed 282 2018-06-13 01:02:26 -04:00
danielyxie
575b67440c v0.38.0 - Minor re-balancing and bug fixes in Bladeburner 2018-06-12 23:16:23 -05:00
Olivier Gagnon
6f82f67cea fix #277 2018-06-13 00:12:16 -04:00
Olivier Gagnon
758f00419b added ps function to netscript, returns the list of processes currently running on that server 2018-06-13 00:03:02 -04:00
Olivier Gagnon
cc5731baae enable/disable dev mode with a global var 2018-06-12 17:24:53 -04:00
Olivier Gagnon
ad90a0bb6f added home ram upgrade button, enable+disable intelligence, source file modifications 2018-06-12 16:44:21 -04:00
Olivier Gagnon
c2f2829e75 added stats related dev options 2018-06-12 16:06:05 -04:00
Olivier Gagnon
bc14a6a147 work on the dev menu 2018-06-12 15:27:37 -04:00
Olivier Gagnon
4fda9d1998 make tor router button green when bought like WSE buttons 2018-06-12 14:01:28 -04:00
Olivier Gagnon
bea6ea5829 display company favor as integers 2018-06-12 13:54:12 -04:00
Olivier Gagnon
2e3254877f some work on dev menu 2018-06-11 13:41:02 -04:00
kristapsmelderis
e6152824fd
update to fix for #280
proper English
2018-06-10 14:30:33 +03:00
kristapsmelderis
93a5fa53f1
fix #280
replaced "reputation" with "favor", because its not correct description.
2018-06-10 14:17:14 +03:00
Olivier Gagnon
dd87a1bad3 prevent players from doing work through singularity in BN2 when the player already joined a faction 2018-06-10 00:55:25 -04:00
Olivier Gagnon
efa6438981 fixed display bug in growth log 2018-06-09 02:58:33 -04:00
danielyxie
71cf3cac35 Bug fixes for new Bladeburner changes 2018-06-08 22:25:28 -05:00
danielyxie
bbb5f04c87 Merged pull requests and fixed merge conflicts 2018-06-08 11:19:22 -05:00
danielyxie
9aa1985d55
Merge pull request #275 from hydroflame/simpler-home-ram
Simpler home ram
2018-06-08 11:01:18 -05:00
danielyxie
5e38355152 Added Bladeburner API (untested). Rebalanced Bladeburner. Bladeburner progress no longer resets when installing Augmentations. Fixed up BN-12 2018-06-08 10:51:48 -05:00
Olivier Gagnon
7fbced64de addressing comments 2018-06-07 21:56:22 -04:00
Olivier Gagnon
289a005fbb made upgrade home ram cost consistent and precision to 5 to display better in game 2018-06-07 14:54:34 -04:00
Olivier Gagnon
34d80c8adf favor now displayed as integer 2018-06-07 13:00:02 -04:00
danielyxie
6e6f5ce3d0 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-06 11:13:38 -05:00
danielyxie
2052ef60a3
Merge pull request #272 from hydroflame/fix-faction-rep
Fix faction rep + bn12
2018-06-06 11:13:28 -05:00
danielyxie
82f1c14656 Added dynamic RAM evaluation to Netscript to prevent exploits by evading RAM usage in NetscriptJS. Calling a HacknetNode API Netscript fn now immediately updates HacknetNodeWrappers 2018-06-06 11:02:21 -05:00
Steven Evans
720478377f [feat] Shrunk the UI of Hacknet Nodes to view more at a time on screen.
The UI of a single Hacknet Node now only takes up ~50% of the screen.
This allows two nodes to be displayed per "row" when the screen is wide
enough.

Also repositioned the buttons for the nodes so they are inline with the
information each updates. This visual correlation lets us reduce the
text that needs to be in each button.

Also reduced the amount of DOM that needs to be continuously garbage
collected by updating specific text rather than throwing out entire HTML
elements.
2018-06-05 13:30:07 -04:00
Olivier Gagnon
bcabc72c35
Update RedPill.js 2018-06-05 02:52:59 -04:00
Olivier Gagnon
3e429e30be bn12 plus faction fix from my last pr 2018-06-05 01:58:34 -04:00
Olivier Gagnon
a1da58f2a9 fix faction reputation 2018-06-05 01:27:18 -04:00
danielyxie
f28ffcc49e
Merge pull request #270 from hydroflame/fix-travelToCity
made travel cost a constant and prevent travelToCity from traveling i…
2018-06-04 09:09:39 -05:00
danielyxie
57ebbe7b61
Merge pull request #260 from hydroflame/faction-enemies
streamline in factions
2018-06-04 09:08:37 -05:00
danielyxie
e31c8a1fc0
Merge pull request #259 from hydroflame/streamline-crimes
streamline crimes code
2018-06-04 09:04:46 -05:00
Steven Evans
7ee964a66c Merge remote-tracking branch 'danielyxie/dev' into dev 2018-06-03 21:11:34 -04:00
Olivier Gagnon
4b6dbee628 made travel cost a constant and prevent travelToCity from traveling if the player doesn't have enough money 2018-06-03 21:09:12 -04:00
danielyxie
81e828d7e7 Removed debug logging statement for ram parser AST 2018-06-02 22:10:24 -05:00
danielyxie
957ce44316 v0.37.2 2018-06-02 20:37:56 -05:00
Olivier Gagnon
aa56227851 streamline programs 2018-06-01 19:31:34 -04:00
Olivier Gagnon
85d4d5a5ab streamline darkweb 2018-06-01 17:05:05 -04:00
Olivier Gagnon
bebf5c83da exec, spawn, and run won't log when disableLog is set 2018-05-31 22:36:01 -04:00
Steven Evans
7362d1809f [refactor] Remove numeral from utils folder; use npm reference
In order to shave off ~0.02MiB of the bundle size, needed to continue
referencing the minified file. Ideally future changes can utilize
code splitting, tree shaking, and minification in WebPack to use normal
references.
2018-05-30 22:46:52 -04:00
danielyxie
7edae463bc Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-05-30 17:31:02 -05:00
danielyxie
496ea728d0
Merge pull request #255 from hydroflame/fix-join-banned-faction-exploit
fix faction join exploit
2018-05-30 17:30:22 -05:00
danielyxie
429894707f
Merge pull request #254 from hydroflame/green-stock-buttons
make the stock market accound and api button green when bought
2018-05-30 17:29:39 -05:00
Steven Evans
10d7e43f01 [refactor] Pull in 'decimal.js' as an npm dependency 2018-05-30 15:54:13 -04:00
Olivier Gagnon
40780af35e moved data to faction info to prevent save data corruption 2018-05-30 01:31:20 -04:00
Olivier Gagnon
82253dbf43 streamline faction behavior 2018-05-30 00:08:09 -04:00
Olivier Gagnon
cb0d70de85 streamline crimes 2018-05-29 16:36:52 -04:00
Olivier Gagnon
f70d39f9e6 make the stock market accound and api button green when bought 2018-05-27 04:02:54 -04:00
Olivier Gagnon
b0d78dc532 fixed a bug that allowed players to join all factiosn as long as they got invited first 2018-05-27 02:02:19 -04:00
danielyxie
baf8fc784e Removed temp variables from Brace netscript mode definer (netscript.js). Fixed changelog update for v0.37.1 2018-05-22 19:20:41 -05:00
danielyxie
565f0dd517 v0.37.1 2018-05-22 19:09:04 -05:00
danielyxie
f403bd14b7 Fixed Bladeburner bug where exception would be thrown if Blackop was created outside of Bladeburner UI 2018-05-18 22:15:58 -05:00
danielyxie
c0ca464b5d Added a ?noScripts query string that can be used to start the game without loading any scripts. 2018-05-17 14:50:27 -05:00
danielyxie
c7e155d4bc Refactored NetscriptJS to take in the NS environment as a parameter to main 2018-05-17 12:10:12 -05:00
danielyxie
9a9096bc70 Reset Script module when it is saved 2018-05-13 03:08:18 -05:00
danielyxie
abb5b9895f Merge branch 'dev' of https://github.com/danielyxie/bitburner into nsjs-memoryleak 2018-05-13 01:07:12 -05:00
danielyxie
02ce03d2d6 Changed NSJS to take in nsEnv as an argument to main 2018-05-13 01:06:44 -05:00
danielyxie
644742d231 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-05-12 20:21:40 -05:00
danielyxie
b18e316821 Fixed bug with scp Terminal command and hopefully fixed Active Scripts UI bug by making create/delete server panel fns non async 2018-05-12 20:21:03 -05:00
redd
e71b44283b
fixed throw
makeRuntimeRejectMsg now references correct function causing the throw:
2018-05-13 01:50:13 +01:00
danielyxie
bf5b3c371e More work on NSJS memory leak fix 2018-05-12 18:19:49 -05:00
danielyxie
6b9dc76f41 Fix bug where sometimes Active Scripts UI wouldnt fully update after an Augmentation reset. This most likely happened because the player has too many scripts running, and they all get added to task queue to get deleted 2018-05-11 20:54:59 -05:00
danielyxie
054cb63227 Debugging nsjs memoryleak 2018-05-11 19:45:40 -05:00
danielyxie
6902ece765 v0.36.1 2018-05-11 16:30:55 -05:00
danielyxie
f52d7d2f8b Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-05-10 12:18:37 -05:00
danielyxie
7fe704de1e
Merge pull request #220 from hydroflame/crime-commit-log
FIX #207 commitCrime now takes enable/disable log into account
2018-05-10 12:15:01 -05:00
danielyxie
024138eabd Rebalancing Gyms and training in Bladeburner. Updated Active Scripts UI page to update once per second. Updated changelog 2018-05-10 12:14:45 -05:00
danielyxie
dfb5cbf02d Merging changes from pull requests. Re-adding package lock.json 2018-05-09 02:21:47 -05:00
danielyxie
b0a825e0bc Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-05-09 02:16:30 -05:00
danielyxie
2c4c5ce6a3
Merge pull request #228 from hydroflame/ns-hacknet-multiplier
NS function to get player's hacknet multipliers
2018-05-09 02:16:14 -05:00
danielyxie
7c3bd93170
Merge pull request #232 from jaguilar/die-when-sleepy
NetscriptJS: Die when sleepy
2018-05-09 02:10:19 -05:00
danielyxie
2bd18e4e61
Merge pull request #233 from hydroflame/incomplete-program-precision
incomplete programs are more precise
2018-05-09 02:09:58 -05:00
danielyxie
a849288900 Updated changelog for Bladeburner balance changes 2018-05-09 01:47:23 -05:00
James Aguilar
529e3fb39a Can't return promise sleep, nobody is awaiting it! 2018-05-08 21:40:07 -04:00
danielyxie
a5602e3d6a Slight rebalancing to Bladeburner 2018-05-08 09:06:47 -05:00
Olivier Gagnon
dcc09d561e
Merge branch 'dev' into improve-get-script-ram 2018-05-07 16:00:24 -04:00
Olivier Gagnon
577f73dce7 getScriptRam now optionally take hostname/ip or default to localhost 2018-05-07 15:56:55 -04:00
danielyxie
96b12f7f68 Added ENABLE_TIMESTAMPS Fconf Setting. Put a soft-cap on stock price. Cleaned up a number rounding display issue for Gang UI (100.03% territory, etc.). Refactored ActiveSCriptsUI code to use a queue to sequentially run 'tasks' that handle the adding/deleting of items and server panels 2018-05-07 12:25:44 -05:00
Olivier Gagnon
a483268f3c incomplete programs are more precise 2018-05-06 22:21:36 -04:00
James Aguilar
f259a5c17d More permanent fix for infinite sleeps. 2018-05-06 22:16:28 -04:00
James Aguilar
7045f5d74e Fix a bug where a JS script would never exit if killed in a sleep loop. 2018-05-06 22:07:14 -04:00
danielyxie
9d1bcd989b Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-05-06 16:34:07 -05:00
danielyxie
c3663af14e
Merge pull request #222 from hydroflame/script-name
added getScriptName
2018-05-06 16:31:33 -05:00
danielyxie
dbaa5e0012
Merge pull request #224 from hydroflame/base-ram-constant
make script base cost a constant
2018-05-06 16:31:18 -05:00
danielyxie
3147f9edeb Updated Server instantiation with new Server constructor. Minor rebalances to BN6 2018-05-06 16:20:00 -05:00
danielyxie
4429e4621d
Merge pull request #226 from jaguilar/fix-server-purchasing
Fix server purchasing
2018-05-06 15:37:54 -05:00
danielyxie
9372236a6e
Merge branch 'dev' into dev 2018-05-06 15:31:37 -05:00
danielyxie
4ea365da02 Refactored Active Scripts UI. Can no longer gain Bladeburner faction rep from infiltration. Added Disable Hotkeys setting 2018-05-06 15:27:47 -05:00
Olivier Gagnon
39ed2c40dd added hacknet multiplier netscript function 2018-05-06 14:22:29 -04:00
James Aguilar
3f5398f8dc Fix purchaseServer's use of new Server() 2018-05-06 09:23:07 -04:00
Olivier Gagnon
96f0f14a95 commitCrime now takes enable/disable log into account 2018-05-06 04:01:43 -04:00
Olivier Gagnon
579a0aec55 make script base cost a constant 2018-05-06 03:49:11 -04:00
Olivier Gagnon
60cc6e15d5 added getScriptName 2018-05-06 03:27:16 -04:00
James Aguilar
edca9a64ed Move the runningFn var to a higher level. 2018-05-05 20:39:34 -04:00
danielyxie
8dba456b65 Merge jaguilar's changes to incorporate Netscript JS (PR #212) 2018-05-05 17:13:35 -05:00
James Aguilar
7ce070e0aa Resolve merge conflicts. 2018-05-05 16:43:04 -04:00
danielyxie
2a87aa16f6 Added metakey + b hotkey compatibility for script editor close and save. Refactored Server constructor and initialization 2018-05-05 15:23:57 -05:00
J
07f1978c0f
Merge branch 'dev' into dev 2018-05-04 23:43:30 -04:00
James Aguilar
ebd5aacb89 add the NSJS evaluator 2018-05-04 23:20:19 -04:00
James Aguilar
0fa9c26529 Add preamble function for NSJS programs. 2018-05-04 23:06:22 -04:00
danielyxie
9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -05:00
danielyxie
1c7ae7bc8f Fixed merge conflicts 2018-03-28 11:50:10 -05:00
danielyxie
d29797ce1e Update Faction info for Fulcrum and NWO 2018-03-28 11:35:34 -05:00
danielyxie
521b81aec0 v0.35.2 2018-03-26 19:46:21 -05:00
Steven Evans
3ad6cfd8bb Can successfully run Webpack to create dist/bundle.js
The bundled output is noticeably different; likely due to Webpack 4
vs. 2/3. The order of dependencies also appears to have changed.
The overall output *seems* to be the same. Unsure how to full test
that everything is getting bundled appropriately.

This also allows the project to be built without having to manually
copy files into node_modules.
2018-03-21 11:56:30 -04:00
danielyxie
6255971e96 Fixed a bug with Introductory Tutorial in v0.35.1 2018-03-12 14:53:07 -05:00
danielyxie
d3e45f746b Updated .fconf comment for ENABLE_BASH_HOTKEYS to link to propert documentation page 2018-03-12 14:43:10 -05:00
danielyxie
f33d81b1a5 v0.35.1 2018-03-12 14:39:04 -05:00
danielyxie
629e2eb425 Removed dev/debugging parameters 2018-03-03 17:58:05 -06:00
danielyxie
f8c987a2c0 Fixed various bugs in v0.35.0 with prestiging 2018-03-03 17:55:58 -06:00
danielyxie
bf90b85ae0 Changed version number to v0.35.0. Disabled AST logging for Netscript Worker actions 2018-03-03 15:30:46 -06:00
danielyxie
e3c435270b V0.35.0. Adding netscript_tests in game testbench. 2018-03-03 15:05:33 -06:00
danielyxie
0e6ef8b83f Fixed company bug in v0.34.5 2018-02-24 20:10:24 -06:00
danielyxie
779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00
danielyxie
85ccb294dd
Merge pull request #187 from IChris2698I/patch-1
Typo fix in Augmentations.js
2018-02-17 21:09:59 -06:00
danielyxie
24e99ed8d9 Wraithan's changes 2018-02-17 21:08:54 -06:00
danielyxie
1f5ab50b79
Revert "Fix some stuff with ls() and cat" 2018-02-16 15:03:16 -06:00
danielyxie
d37e8f1d5f
Merge pull request #190 from wraithan/fix-ls-txt
Fix some stuff with ls() and cat
2018-02-16 15:03:06 -06:00
danielyxie
1808afa711 Minor bugfix in Gang.js and updating documentation for spawn() and stopAction() 2018-02-14 22:34:57 -06:00
danielyxie
f82d216e10 v0.34.4 2018-02-14 22:26:43 -06:00
Wraithan (Chris McDonald)
8445edeaf0 Change terminal cat to use <pre> tag for txt files which are often data 2018-02-10 12:52:56 -08:00
Wraithan (Chris McDonald)
6a3ac7165d fix bug with ls() that prevented including .txt files 2018-02-10 12:19:08 -08:00
danielyxie
dc26d831d6 Reworked Gang UI 2018-02-09 15:11:43 -06:00
IChrisI
4267e7a3a9
Typo fix in Augmentations.js 2018-02-05 20:52:03 -08:00
danielyxie
920bfb7913 Fixed bug with Advert Inc upgrade not working properly because I used Math.random instead of getRandomInt. 2018-02-05 13:56:07 -06:00
danielyxie
d89b804b00 0.34.3 Multiple Corporation Management bug fixes and balance changes 2018-01-31 17:41:02 -06:00
danielyxie
9e20856b5f
Update Constants.js 2018-01-30 08:28:56 -06:00
danielyxie
470b66e304 Bugfixes for Corporations. hacknetnodes now accounts for RAM usage. Start of v0.34.3 2018-01-29 23:14:17 -06:00
danielyxie
be17cff29e Fixed a serious bug with Corporation profit (forgot to multiple by secsperCycle 2018-01-27 12:42:53 -06:00
danielyxie
f60fe597fb Fixed Corporation bug with businessFactor for Products 2018-01-27 12:29:21 -06:00
danielyxie
19c8972fb4 Commented out logging debug code 2018-01-27 01:00:56 -06:00
danielyxie
5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie
8d72dd0f4e fileExists() now works on text files. Starting redoing Company mgmt employee UI 2018-01-21 14:53:16 -06:00
danielyxie
8ad28908e8
Merge pull request #170 from devoidfury/fileExists-txt
fileExists netscript function now works with txt files
2018-01-19 23:40:29 -06:00
danielyxie
e88a3936f3 v0.34.1 2018-01-19 22:47:57 -06:00
danielyxie
281aad993f Error calculating hacknet node earnings sets to 0 instead of throwing error 2018-01-10 09:50:31 -06:00
danielyxie
f211e8856f Minor bug fixes, adding spotify music player, and adding sphinx documentation 2018-01-09 14:48:06 -06:00
Tom Hunkapiller
5f52d31836 fileExists netscript function now works with txt files 2018-01-02 01:12:54 -06:00
danielyxie
79274defc4 UpdateScriptRam on prestige bug fix 2017-12-10 23:07:16 -06:00
danielyxie
d5bd1665d0 Bugfixes for cancelOrder(), selling stocks for Corporation, and updating RAM usage on prestige. Also added in-game documentation for clear() and exit() 2017-12-10 23:04:00 -06:00
danielyxie
3f61ec1cab v0.34.0 changes 2017-12-06 21:45:47 -06:00
danielyxie
9e5db4b644 Merged conflicts. Fixed several minor bugs. Increased infiltration exp. TIX api functions return transaction value rather than boolean. Hacking Mission changes for v0.34.0 2017-12-02 22:19:49 -06:00
danielyxie
1529552542 v0.33.0 Added BitNode-3:Corporatocracy 2017-12-01 21:50:08 -06:00
danielyxie
3c4185c9b1 Fixed gang display bug 2017-11-16 15:41:40 -06:00
danielyxie
0fbea47f18 CompanyManagement changes 2017-11-16 13:37:26 -06:00
danielyxie
124292ef97 Fix mission UI 2017-11-08 20:53:40 -06:00
danielyxie
36696d04db Stock Market rebalancing. Change visibility to display for changing UI. More work on company management 2017-11-08 19:55:21 -06:00
danielyxie
944d796772 Fixed Netscript error message typos 2017-11-02 22:32:31 -05:00
danielyxie
03fdaeaba4 Changed confirm to prompt, updated version, more stock market balancing 2017-11-02 22:11:14 -05:00
danielyxie
bc6f0da677 Fixed Netscript interpreter memory issues by breaking promise chains in while and for loops. Improved Stock Market UI. Added a button to kill script from log display box. Added confirm() Netscript function 2017-11-02 16:47:09 -05:00
danielyxie
52967d7f9d Refactored Code using Bluebird Promises. Still has memory issues. Added Buy Max and Sell All to stock market UI 2017-11-01 17:56:30 -05:00
danielyxie
7c4ac00f5a Replaced strict equality comparisons for null with loose eq comparisons 2017-10-25 17:05:12 -05:00
danielyxie
7614c62507 Fix bug when checking for null 2017-10-25 16:11:53 -05:00
danielyxie
4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -05:00
danielyxie
4ccad83e5e Initial implementation of BitNode-8: Ghost of Wall Street. Added TextFile.js to git. Added design for company management 2017-10-20 16:59:54 -05:00
danielyxie
153831afe9 Updated version 2017-10-15 21:10:08 -05:00
danielyxie
969973181b Added documentation for new features 2017-10-15 21:09:49 -05:00
danielyxie
cf471acad6 Fixed save issue. Rebalancing 2017-10-14 20:55:41 -05:00
danielyxie
8f0dad0d10 Fixed issue in Hacking Missions where nodes weren't easily selectable 2017-10-13 10:19:42 -05:00
danielyxie
4186326771 Added new Text Files (downloadable) and their corresponding Terminal commands. Added sprintf and vsprintf. 2017-10-12 15:10:34 -05:00
danielyxie
dbb4a93a78 Merge branch 'dev' of https://github.com/danielyxie/netburner into dev 2017-10-11 21:01:55 -05:00
danielyxie
5768068065 Merge pull request #147 from jjclark1982/patch-1
Only append one number to make unique hostname
2017-10-11 21:01:45 -05:00
danielyxie
1ae415f7ac Updating changelog 2017-10-11 21:00:55 -05:00
danielyxie
246acf5966 Game now uses indexedDb. Added new Bond Forgery crime. Added commitCrime() and getStats() Singularity functions. Removed getIntelligence(). Balance changes to crime/infiltration 2017-10-11 21:00:22 -05:00
danielyxie
4d4542f349 Properly implemented new effects for BN11 2017-10-10 00:07:28 -05:00
danielyxie
04bfcc0f20 All v0.30.0 Changes 2017-10-09 23:56:48 -05:00
Jesse Clark
aa41db9f3c Only append one number to make unique hostname
Instead of naming servers like "pserv-0", "pserv-0-1", "pserv-0-1-2", only append a single number like "pserv-3"
2017-10-07 16:51:49 +11:00
danielyxie
0927c4251e v0.29.3 Changed - Bug fixes for new player-defined Netscript functions. Rebalancing/bug fixes for Infiltration and Hacking Mission. Added function name autocompletion in Script Editor 2017-10-03 20:50:13 -05:00
danielyxie
51c37176f1 Bugfixes and balance tweaks for Hacking missions 2017-10-01 22:27:42 -05:00
danielyxie
662f30cc38 Added :q, :x, :wq Vim Ex commands. Added ADR-v2 Pheromone new Augmentation. Fixed bugs and added improvements to Hacking missions. 2017-10-01 21:35:22 -05:00
danielyxie
26fe9eb519 Added Callback function to installAugmentations(). Implemented Source-File 5. Added player-defined functions to Netscript (not thoroughly tested). Began working on Hacking Mission Enemy 'AI' 2017-09-29 10:02:33 -05:00
danielyxie
1233d487d9 Updated version to 0.29.1 2017-09-27 10:15:48 -05:00
danielyxie
22a5d3b3cc Finished BETA version of Missions. All other changes for v0.29.1 2017-09-27 10:13:42 -05:00
danielyxie
c84417607f Merge branch 'master' of https://github.com/danielyxie/netburner into dev 2017-09-25 22:32:36 -05:00
danielyxie
ce49eee37f FIx PlayerOwnedAugmentation bug 2017-09-25 21:45:46 -05:00
danielyxie
2523222565 More work on Hacking mission 2017-09-25 21:44:33 -05:00
danielyxie
a742d33a11 Forced Red Pill messages only happen if youve never destroyed a BitNode 2017-09-25 07:55:58 -05:00
danielyxie
5e7d72d901 More work on Hacking Missions 2017-09-25 07:50:19 -05:00
danielyxie
4a0f8c4666 Merge branch 'master' of https://github.com/danielyxie/netburner into dev 2017-09-21 23:25:21 -05:00
danielyxie
398070f053 Merge branch 'master' of https://github.com/danielyxie/netburner into bugfixes 2017-09-21 16:30:03 -05:00
danielyxie
eb9a0a3f0e Loading agent job fix 2017-09-21 16:29:53 -05:00
danielyxie
c93a398fbf Continue statement, began work on missions 2017-09-21 16:27:31 -05:00
danielyxie
796614bc41 Updated helptext for new scan-analyze -a flag 2017-09-19 13:56:54 -05:00
danielyxie
d1f4f8fd36 All v0.29.0 changes 2017-09-19 13:38:03 -05:00
danielyxie
e3991b8795 v0.28.6 changes 2017-09-15 09:06:59 -05:00
danielyxie
c0369bc937 v0.28.5 changes 2017-09-13 09:22:22 -05:00
danielyxie
f8ff4cfba6 Added javascript math module 2017-09-11 18:31:42 -05:00
danielyxie
1f9d0be7be v0.28.4 - Bug fixes, getScriptIncome(), syntax highlighting for regular Netscript functions, 2017-09-11 18:14:56 -05:00
danielyxie
024546b4f1 v0.28.4 - Bug fixes, getScriptIncome(), syntax highlighting for regular Netscript functions, 2017-09-11 18:14:51 -05:00
danielyxie
68fcc12ac8 Normal netscript supported functions now highlighted in different color 2017-09-08 18:42:56 -05:00
danielyxie
19b861c4f7 Fixed bug with purchasing NeuroFlux using purchaseAugmentation() Singularity fn 2017-09-08 14:16:48 -05:00
danielyxie
787e2027f5 Fixed server purchase bug 2017-09-07 22:05:44 -05:00
danielyxie
ac7cd797fa Infiltration exp fix 2017-09-07 21:56:27 -05:00
danielyxie
5b5457f0bd Updated changelog for v0.28.3 2017-09-07 00:47:25 -05:00
danielyxie
1e459c9ec7 v0.28.3 changes 2017-09-07 00:45:14 -05:00
danielyxie
f44b117002 Changed version in Constants 2017-09-04 20:39:00 -05:00
danielyxie
3296a817fd Adding script editor options and some bug fixes 2017-09-04 20:03:29 -05:00
danielyxie
0f5d2a7c6a Merge branch 'master' of https://github.com/danielyxie/netburner into dev 2017-09-03 12:44:24 -05:00
danielyxie
965ad5c601 Open up menus when they are relevant 2017-09-03 12:44:20 -05:00
danielyxie
7b01360b3e Fixed bug with gang territory and power 2017-09-02 15:05:42 -05:00
danielyxie
24feff0b61 Fixed some error messages in Netscript 2017-09-02 13:47:14 -05:00
danielyxie
c34e74f5c1 Merge branch 'master' of https://github.com/danielyxie/netburner into bugfixes 2017-09-01 15:41:17 -05:00
danielyxie
e0adb758cf Fix Gang UI bug 2017-09-01 15:40:51 -05:00
danielyxie
9614d6ee4f In the middle of work for simplifying UI 2017-09-01 15:35:14 -05:00
danielyxie
78ca383ee2 Refactored code that initializes main menu buttons/header/panels 2017-09-01 13:49:21 -05:00
danielyxie
9b96e2537d Fixed bug with creating gangs 2017-09-01 11:59:11 -05:00
danielyxie
b17f89eba7 v0.28.0 Changed - Integrate ACE editor 2017-09-01 09:12:40 -05:00
danielyxie
fd2642cfe9 Fixed bugs with Darkweb buy, help text, and getting new Source files 2017-08-31 21:21:13 -05:00
danielyxie
97eeef7d0d scp and donate for rep bug fixes 2017-08-31 12:19:28 -05:00
danielyxie
110138f3ee Fixed some bugs with Stock Market 2017-08-31 00:04:23 -05:00
danielyxie
ff5359dc3d Fixed bugs with new Singularity Functions 2017-08-30 13:36:59 -05:00
danielyxie
7a05d3585a All 0.28.0 Changes - Bitnodes 4 and 11 and webpack migration 2017-08-30 12:44:29 -05:00
danielyxie
33c10ccc64 Began creating universityCourse singularity function 2017-08-22 13:48:04 -05:00
danielyxie
e2d0477203 Began implementing Singularity functions 2017-08-21 11:59:06 -05:00
danielyxie
99c220514f Save compatibility and updating version in Constants 2017-08-19 20:38:27 -05:00
danielyxie
faf19addee 0.27.3 Changes 2017-08-19 20:36:19 -05:00
danielyxie
cf99c4f10b Added literature (.lit files). Fixed bug with Gang Territory. Updated documentation 2017-08-18 12:20:51 -05:00
danielyxie
4e2c21b1ba Fixed divide-by-zero bug 2017-08-15 19:18:04 -05:00
danielyxie
63da40689d Small improvements to Interactive Tutorial 2017-08-15 18:49:47 -05:00
danielyxie
6975b46d4d Update to 0.27.1 and add backwards compatibility 2017-08-15 15:27:00 -05:00
danielyxie
f100e559af Gang bugfixes and rebalancing. Terminal ls | grep option. Added Netscript break statement. Used numeraljs to display some number values 2017-08-15 15:22:46 -05:00
danielyxie
3db6d9d007 0.27.0 2nd Tier Prestige + Gangs 2017-08-13 00:01:33 -05:00
danielyxie
4a99c04772 Refactored Server() to take old init args in constructor. Removed Server.init(). Faction reputation is now exponential. Increased infiltration exp gains. DOM now loads before scripts 2017-08-02 23:21:15 -05:00
danielyxie
c62639099a Load Decimal.js values 2017-08-01 14:10:21 -05:00
danielyxie
ddca05f4c5 Balancing. Buffed crimes, infiltration, jobs, nerfed hacking 2017-08-01 14:03:45 -05:00
danielyxie
8b6dba561c Crime and job balancing. Fixed some formatting bugs 2017-07-30 14:11:30 -05:00
danielyxie
53d514d28e Decimal.js support for player's money. Buffed early game servers. 2017-07-29 11:25:40 -05:00
danielyxie
e5322e466b Added tooltips for companies. Rebalanced and randomized server starting money 2017-07-28 09:19:28 -05:00
danielyxie
0e64359814 Lowered hacking exp gain. Added deleteServer(). Maximum of 25 purchaseable servers. Added autocompletion for ./ command. Oustanding faction invitations. Suppress Faction invites and messages 2017-07-26 21:56:14 -05:00
danielyxie
118118db83 Fixed bug with Netburners invite 2017-07-25 23:46:58 -05:00
danielyxie
2afb313a53 Added several configurable game settings. Added donate button. Added Hacknet Node API functions for getting cost of upgrades 2017-07-25 09:39:56 -05:00
danielyxie
be48875ff3 Added donate button. Added Netscript functions to get cost of Hacknet Node upgrades 2017-07-24 21:51:03 -05:00
danielyxie
d5be649bbd Added autocompletion for aliases. Added autocompletion for any number of arguments. Added getServerRam() function 2017-07-24 20:06:40 -05:00
danielyxie
e653b7b315 All v0.26.0 changes 2017-07-21 17:54:55 -05:00
Daniel Xie
e6b15ed4ab Switch back to old wiki. Updated changelog 2017-07-14 08:33:40 -05:00
Daniel Xie
b1da24aa9e Updated with new wiki that I created 2017-07-13 15:32:18 -05:00
Daniel Xie
222f75d55a Refactored Netscript with Acorns parser. Major rebalancing. Add TIX API. Add round(), purchaseServer(). 2017-07-13 11:54:29 -05:00
Daniel Xie
378797e511 Merge branch 'master' of https://github.com/danielyxie/netburner into netscript-refactor 2017-07-10 22:09:44 -05:00
Daniel Xie
d910a89fd9 Red Pill and Export bug fixes 2017-07-06 22:24:59 -04:00
Daniel Xie
2fd9add22d Fixed typo in CHangelog 2017-07-05 17:35:15 -05:00
Daniel Xie
cb7dda9293 Rebalancing stock market and infiltration, updated changelog/documentation 2017-07-05 17:33:46 -05:00
Daniel Xie
a593243b73 Fixed issues with new aliasing, updating changelog 2017-07-05 12:53:51 -05:00
Daniel Xie
542a32c768 MOre rebalancing with universities and companies 2017-07-05 11:49:01 -05:00
Daniel Xie
22a796ceea Merge branch 'netscript-refactor' of https://github.com/danielyxie/netburner into netscript-refactor 2017-07-05 08:55:44 -05:00
Daniel Xie
c0442696c1 updated changelog 2017-07-05 08:55:39 -05:00
danielyxie
7786a0aff8 Merge branch 'netscript-refactor' into dev 2017-07-05 08:54:46 -05:00
Daniel Xie
0f59d48c53 Fixed typos 2017-07-04 23:02:19 -05:00
Daniel Xie
89c8407cbe MOre work on Red Pill stuff 2017-07-04 16:18:42 -05:00
Daniel Xie
03f7ce5fe5 Began implementing RedPill. Rebalancing for home computer RAM, company, university, server starting money. Updated tutorial and faction descriptions 2017-07-04 14:34:17 -05:00
Daniel Xie
006d12360d Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2017-07-04 10:42:50 -05:00
Daniel Xie
147a7393c5 Merged and updated top command implementation 2017-07-04 10:42:47 -05:00
danielyxie
b398c67f03 Merge pull request #80 from MrNuggelz/alias
Made alias names posix compilant and added global aliases
2017-07-04 10:42:11 -05:00
danielyxie
c0d41bf38e Merge pull request #62 from LTCNugget/patch-1
Implement top
2017-07-04 10:31:02 -05:00
Daniel Xie
2c384bade8 Fixed bug with Firefox and deleting qty field in WSE 2017-07-03 22:16:41 -05:00
Daniel Xie
1befaccf3f Fixed bug with buying selling 0 shares 2017-07-03 21:39:15 -05:00
Daniel Xie
36e3a3b5d2 StockMarket and Infiltration implementations 2017-07-03 14:42:11 -05:00
MrNuggelz
6bfe6a549d made alias names posix compilant and added global aliases 2017-06-30 18:47:36 +02:00
Daniel Xie
c0fc4e381d Updated documentation for new scan() command 2017-06-29 09:17:47 -05:00
Daniel Xie
f18b8d58fa scan() now takes in 1 argument representing the server to scan 2017-06-29 09:16:32 -05:00
Daniel Xie
d63f17fa8d initAugmentations() now called applyAugmentations() at the end 2017-06-28 15:53:12 -05:00
Daniel Xie
bc282daf08 Bug fix with marking augmentations as owned in Player.augmentations 2017-06-28 14:21:04 -05:00
MrNuggelz
d855eb6301 update netscript documentation 2017-06-28 18:06:31 +02:00
MrNuggelz
0e14fe1632 Netscript reimplementation 2017-06-28 11:47:42 +02:00
Daniel Xie
38e1c77c5c Rebalancing for favor, Increase reputation cost, Fix bugs with purchasing multiple augmentations, balanced company positions. New netscript functions 2017-06-27 23:11:27 -05:00
Daniel Xie
6712d340fb Fixed bugs with new multiple Augmentations feature. Added getServerMaxMoney() netscript command 2017-06-25 18:39:17 -05:00
Daniel Xie
0900c87f38 New Create Program saving progress feature bug fix 2017-06-24 16:35:36 -05:00
Daniel Xie
9553e63b54 Refactored Augmentations using new PlayerOwnedAugmentation object 2017-06-24 16:33:44 -05:00
Daniel Xie
a6406e785a FIxed field work buff. Added AutoLink and ServerProfiler programs. PRogram work is now saved 2017-06-23 09:23:35 -05:00
Daniel Xie
3f684dbfdb Updated changelog 2017-06-21 14:50:41 -05:00
Daniel Xie
389fcb7589 Fixed bug with new hacking speed multiplier for grow and weaken times 2017-06-21 12:19:08 -05:00
Daniel Xie
8a95fb4df7 Added unalias command. Updated to v0.22.0 2017-06-21 12:12:08 -05:00
Daniel Xie
fd7796f5d1 Small bug fix with Messages. Hacking experience gain constant is 2 rather than 1 2017-06-20 15:36:48 -05:00
Daniel Xie
0449460c4f Added favor system for companies and factions 2017-06-20 11:11:33 -05:00
Daniel Xie
e2fbca1ef0 More nerfs to combat augmentations. Randomized server parameters. Added Log and Kill button to Active SCripts panel 2017-06-19 09:54:11 -05:00
Daniel Xie
8ce228c71f Combined the offline data maps for scripts into a single object. More nerfs to combat Augmentations 2017-06-18 18:23:50 -05:00
Daniel Xie
15f9ef1a85 temp changes 2017-06-18 16:01:23 -05:00
Daniel Xie
c2aa8d8110 Saving no longer saves logs of running scripts. Some more hacking augmentation nerfs. Reduced thread RAM cost multiplier from 1.02 to 1.01 2017-06-18 04:31:14 -05:00
Daniel Xie
dc39b941dc Toned down strength Augmentations even more. Increased growth rate by 50%. Readjusted crime success formulas. Fixed bug with Agent in Company.js 2017-06-18 03:24:08 -05:00
Daniel Xie
206d5dbe34 Nerfed all augmentations. Hacking speed multiplier increases rather than decreases. Servers have minimum server security. Hacking no money leads to less experience. Grow and weaken give same exp as hacking 2017-06-17 23:36:16 -05:00
Daniel Xie
4b96bca03f Added playtime since last augmentation. Fixed bug with Fulcrum faction display page 2017-06-17 12:47:04 -05:00
Daniel Xie
316aa8ad2d Added stuff for compatibility with new version 2017-06-17 02:21:42 -05:00
Daniel Xie
c5f3988183 Updated theme command documentation 2017-06-16 22:32:58 -05:00
Daniel Xie
8ab2415bb3 Updating to v0.21.0 2017-06-16 22:08:51 -05:00
Daniel Xie
36eb7608d5 Added ability to pass arguments into scripts 2017-06-16 21:53:57 -05:00
Kyle B
92b100f3ce Update "top" command- columns and loops
Switched the RAM and thread columns so that the RAM usage does not need to be rounded. Updated structure to remove nested loops.
2017-06-16 14:17:40 -04:00
Kyle B
96be33344f Update "top" command
Updated the entry construction to use `.join()` and added/updated comments.
2017-06-16 13:23:42 -04:00
Kyle B
34a86fc32c Implement top
Implementation of the "top" command. Uses the column formatting from scan, which breaks with long names.
2017-06-16 10:57:03 -04:00
Daniel Xie
7d6a94d7a1 Added autocompletion for darkweb and check 2017-06-14 20:27:22 -05:00
Daniel Xie
6fe0ec1ea5 Added dynamic array functioanlity. Refactored tail so that it displays a dynamic popup with log contents 2017-06-14 20:19:52 -05:00
Daniel Xie
4aa7edb576 Fixed bug where you could purchase Darkweb items without router 2017-06-13 20:07:02 -05:00
Daniel Xie
69d4af01ff Added Options button to top right overview. Script object optimization by deleting server maps when not active. Fixed issue with servers getting negative money 2017-06-13 10:58:31 -05:00
Daniel Xie
6b2d6b5ded Merge branch 'dev' of https://github.com/danielyxie/netburner into dev 2017-06-13 00:36:34 -05:00
danielyxie
9e542b7b67 Merge pull request #49 from 0x726564646974/themes
Adding basic theme command
2017-06-13 00:36:26 -05:00
Daniel Xie
064282682f Added comments for optimizing Script object 2017-06-13 00:34:45 -05:00
danielyxie
8444e154ee Merge pull request #59 from HDEHacks/patch-1
Fix typo in Netscript Doc
2017-06-12 21:19:20 -05:00
Hedon
d1da37dd5e Fix typo in Netscript Doc 2017-06-12 10:32:50 -05:00
Daniel Xie
a1937c4b46 Fixed bug with Graphene Bionic Legs augmentation 2017-06-11 23:43:54 -05:00
Daniel Xie
445b93d012 Fixed two typoes with Company.js and Faction 2017-06-11 20:33:58 -05:00
Daniel Xie
21c1da62f1 Transition between versions 2017-06-11 16:07:38 -05:00
Daniel Xie
817d3e0536 Code operation time set to 200ms 2017-06-11 15:50:25 -05:00
Daniel Xie
2a5647bda8 Updated changelog 2017-06-11 15:39:01 -05:00
Daniel Xie
d48428f0e8 Increased cost of RAM by 10%. Decreased cost multiplier of NeuroFlux Governor augmentation 2017-06-11 15:36:36 -05:00
Daniel Xie
5de47f600a Updated to version 0.20.2. Fixed bug with Netscript arrays. Updated documentation 2017-06-11 15:28:20 -05:00
Daniel Xie
59817db626 Fixed issue with assigning expressions to array elements 2017-06-11 14:05:28 -05:00
Daniel Xie
f983d5521b Setting values in Arrays works now 2017-06-11 01:52:52 -05:00
Daniel Xie
f7bf83e4d9 Added threading options for run() and exec() commands 2017-06-10 22:45:06 -05:00
Daniel Xie
c55b677bc2 Added threading capabilities when running manually. Need to add for run(0 and exec() in netscript. Also fixed some bugs 2017-06-10 20:46:02 -05:00
Daniel Xie
60207b8e04 Added arrays to Netscript. Fixed bug with Hacknet Nodes 2017-06-10 17:44:33 -05:00
0x726564646974
7b69e10efc Merge branch 'dev' into themes 2017-06-08 20:27:34 -04:00
Daniel Xie
b43ad2f044 Updated to v0.20.1 2017-06-08 13:32:38 -05:00
Daniel Xie
005216d664 Re=load everything problem when importing game 2017-06-08 10:59:22 -05:00
Daniel Xie
b7b4617cee Close Options box when selecting certain actions 2017-06-08 00:08:53 -05:00
Daniel Xie
cca56bdabe Updated Options menu 2017-06-07 23:57:59 -05:00
Daniel Xie
d09179cd4f Added beta functionality for export/import feature 2017-06-07 23:57:40 -05:00
Daniel Xie
ac3e5c8c9e Added Deepscan to darkweb. Cannot get invited to faction if you decline 2017-06-07 18:35:56 -05:00
Daniel Xie
598efda098 FIxed bug with script errors in nested progs 2017-06-07 16:18:21 -05:00
Daniel Xie
a99e9391f2 Increased price of all Dark programs 10x 2017-06-06 23:39:23 -05:00
Daniel Xie
f92556e754 Fixed bugs with new Netscript commands 2017-06-06 23:09:53 -05:00
0x726564646974
47e01ee2eb Adding basic theme command 2017-06-06 22:51:08 -04:00
Daniel Xie
a461491094 Fixed bugs with new Netscript functions. Adding ActiveScriptsUI.js file to git 2017-06-06 21:33:50 -05:00
Daniel Xie
47e57eb645 Fixed bugs with Prestige 2017-06-06 19:37:38 -05:00
Daniel Xie
570bba2dd1 Added new update text. Bugs with server max money. Updated to version 0.20.0 2017-06-06 19:28:20 -05:00
Daniel Xie
c331bd7add Edit scripts that are running. Implement maximum money on server 2017-06-06 19:04:18 -05:00
Daniel Xie
1a7a247b4d Re-designed Active Scripts tab. Re-designed growth mechanic to depend on server security. Server growth no longer occurss manually. Bug fixes 2017-06-06 16:22:57 -05:00
Daniel Xie
d3fa9f8c6e Slight rebalancing. Added kill() and killall() commands 2017-06-05 20:34:00 -05:00
Daniel Xie
f7018f082c Added killall command to terminal 2017-06-05 12:59:30 -05:00
Daniel Xie
0dc3d56e3c Added isRunning() Netscript command. Account for new commands in RAM usage 2017-06-05 12:50:32 -05:00
Daniel Xie
8fa1eab3c6 Added fileExists() and getServerRequiredHackingLevel() Netscript commands. Updated Netscript documentation 2017-06-05 10:31:46 -05:00
Daniel Xie
d73a11f678 Rebalancing script RAM Usage. Script base RAM cost is 1.5GB, while common functions were made cheaper 2017-06-05 09:31:47 -05:00
Daniel Xie
9adce1dd2f Added EXP gains to weaken() and grow() after refactoring, and rebalanced hacking mechanics: 2017-06-05 03:08:04 -05:00
Daniel Xie
71999ea2eb Removed time for Program netscript ocmmands (nuke, brutessh, etc) 2017-06-05 01:24:30 -05:00
Daniel Xie
bb24c017f1 Refactor Netscript Interpreter 2017-06-04 23:48:37 -05:00
Daniel Xie
beb770eaf9 Updated constants 2017-06-04 03:46:14 -05:00
Daniel Xie
0d90479097 Fixed issue with Faction page formatting. Script.reset() now re-updated RAM usage 2017-06-03 23:56:18 -05:00
Daniel Xie
ce8257fb0c Fixed bug with autocompletion on capitalized leters. Updated to 0.19.7 2017-06-03 15:51:18 -05:00
Daniel Xie
474ba223f2 Two of the Tian Di Hui Augmentations made more expensive 2017-06-02 20:56:15 -05:00
Daniel Xie
0c184f9ad3 Autocompletetion for command ends with a space 2017-06-02 20:46:43 -05:00
Daniel Xie
d1e4ef77fd Tab autocompletion now works on commands. Updated to v0.19.6 2017-06-02 20:26:17 -05:00
Daniel Xie
7701249cfe Added changelog to Constants.js. Terminal commands are no longer case sensitive 2017-06-02 19:41:46 -05:00