Commit Graph

326 Commits

Author SHA1 Message Date
danielyxie
61150f5823 Revert "Revert "Gang rework""
This reverts commit be0a08d70caacd9bc3a43faab2825cd5f3c68e1f.
2018-10-29 11:09:33 -05:00
danielyxie
43dc6f2309 Updated version to v0.41.0. Bug fixes for Gang API. Some Gang API functions now log. Final rebalancing for gang rework 2018-10-29 11:08:41 -05:00
danielyxie
4c3219bb9e Revert "Revert "Gang rework""
This reverts commit be0a08d70caacd9bc3a43faab2825cd5f3c68e1f.
2018-10-23 13:55:42 -05:00
danielyxie
be0a08d70c
Revert "Gang rework" 2018-10-23 13:47:00 -05:00
danielyxie
c4dbfa43c9 Fixed merge conflicts with dev 2018-10-17 15:43:48 -05:00
danielyxie
5fc3fc8915 Added non-dev build 2018-10-17 15:34:10 -05:00
danielyxie
20dc97620b Updating documentation for new Singularity Fn ram cost and updating build 2018-10-17 15:33:26 -05:00
danielyxie
fcab079b32 FIxed merge conflicts with dev and also did some work on Gang UI 2018-10-10 18:13:31 -05:00
danielyxie
bd66ecf469 Fixed bug that caused blank black screen when destroying/resetting BitNodes 2018-10-10 14:16:26 -05:00
danielyxie
7095c1cc95 New Coding Contract faction selector sets reward.name 2018-10-09 11:56:22 -05:00
danielyxie
5902c892de v0.40.5 2018-10-09 11:56:22 -05:00
danielyxie
097c866e6f Don't log RAM calculator parse errors. Add semicolons and newlines when importing from URL in NSJS 2018-10-09 11:56:22 -05:00
danielyxie
561bbbd0a1 Adding normal build rather than dev build 2018-10-09 11:56:22 -05:00
danielyxie
04dc08935f Changed buttons that used <span> into <button> elements for real this time 2018-10-09 11:56:22 -05:00
danielyxie
781f2f09b4 Changed buttons that used <span> elements to use <button> elements. Allowed processing for modules that are dynamically imported from URL 2018-10-09 11:56:22 -05:00
Steven Evans
59f525f08b [chore] Moving vendor styling to the build directory 2018-10-09 11:56:22 -05:00
danielyxie
45c434aa35 Initial changes for Gang mechanic rework 2018-10-02 16:54:56 -05:00
danielyxie
377bb4a884 Properly credited people in changelog 2018-10-01 19:51:32 -05:00
danielyxie
b6070ca9c9 Fix a few bugs with Coding Contracts 2018-10-01 19:51:32 -05:00
danielyxie
2b3c58a17b v0.40.4 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
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
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
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
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
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
ae4eb2f30e Added v0.40.3 Build 2018-09-15 12:04:49 -05:00
danielyxie
f016736603 Updated changelog and version. Added build distribution files 2018-09-12 11:34:18 -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
Daniel Xie
fe3c8be03c Pushing updated bundle 2018-08-22 22:59:09 -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
Daniel Xie
5cc1a4ba01 Updated changelog with merged PRs 2018-08-11 16:21:11 -05: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
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
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
danielyxie
4ea6c4840c
Merge pull request #360 from kopelli/scss
Incorporate SCSS for styling/bundling
2018-08-02 10:18:36 -04:00
danielyxie
fabc45f496 Fixed bug with calling scp() on an array 2018-07-29 15:14:24 -05:00
danielyxie
afacfb96c9 Pushing new bundle 2018-07-27 22:05:38 -05:00
danielyxie
58b1006b91 Updated version and changelog 2018-07-27 22:03:43 -05:00
danielyxie
b34057f2d3 Added more error line numbers to JS Interpreter. Reputation needed for megacorp faction reduced from 250k -> 200k. Fixed bladeburner.getActionobject() bug with general actions 2018-07-27 19:00:57 -05:00
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
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
danielyxie
49d081f42e Updated development bundle. Updated changelog 2018-07-24 17:22:48 -05:00
danielyxie
ab287b7c44 Updated documentation for new Netscript. Added new polyfills for new JS interpreter 2018-07-24 13:29:38 -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
88755f1d0f Added import functionality to Netscript 1.0 2018-07-20 09:28:03 -05: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
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
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
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
b40c247dcb Bladeburner General actions now set both Name and Type in underlying ActionId 2018-07-14 19:59:27 -05:00
danielyxie
497186355f New Hacknet Node Netscript API - initial commit 2018-07-14 19:25:50 -05: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
a82ed16c34 [chore, doc] Split out the "vendor"/3rd party code to its own bundle
Included 'vendor.bundle.js' as it is referenced. So this will give a
baseline to compare against future builds. But ideally this will only
change when updating dependency versions.
2018-07-09 12:50:57 -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
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
danielyxie
393ce096fd Finishing Infiltration returns to company page. Infiltration remembers selected faction 2018-06-27 22:34:57 -05:00
danielyxie
e2b2fb66f3 Rebalancing BN - 7 and several Source Files 2018-06-27 18:28:11 -05:00
danielyxie
219568d8af Fixing merge conflicts 2018-06-26 13:17:07 -05: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
75ff10b5c2 Added documentation for Bladeburner API. Fixed typo in BN-7 description. 2018-06-25 14:07:03 -05:00
danielyxie
0b16a9f605 Removing dev mode. Updating changelog in documentation 2018-06-25 12:38:13 -05:00
danielyxie
ca15e689ef More rebalancing of Infiltration. Updating version to v0.39.0 2018-06-25 12:29:51 -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
danielyxie
22b64dcc4a Implemented BN-7 2018-06-24 19:13:50 -05: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
Steven Evans
8b9ebe29c2 [feature] Adding favicon and related.
The key file was favicon.ico, but other browsers can support other
formats. And those browsers/devices that allow for "pinning" the site
require some additional files as well.
2018-06-19 22:42:51 -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
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
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
danielyxie
5347585151 Updated dependencies from kopelli 2018-06-13 11:11:45 -05:00
danielyxie
575b67440c v0.38.0 - Minor re-balancing and bug fixes in Bladeburner 2018-06-12 23:16:23 -05: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
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
danielyxie
2332532d91 Adding updated bundles 2018-06-06 11:14:42 -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
7ee964a66c Merge remote-tracking branch 'danielyxie/dev' into dev 2018-06-03 21:11:34 -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
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
Steven Evans
3473c66b82 Updating bundles 2018-05-30 22:11:16 -04:00
danielyxie
7edae463bc Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-05-30 17:31:02 -05:00
Steven Evans
10d7e43f01 [refactor] Pull in 'decimal.js' as an npm dependency 2018-05-30 15:54:13 -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
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
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
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
8dba456b65 Merge jaguilar's changes to incorporate Netscript JS (PR #212) 2018-05-05 17:13:35 -05:00
danielyxie
b6e49c1a82 Updating package.json to remove comma that was causing errors. Adding new dist files 2018-05-05 16:35:53 -05: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
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
271932b287 Fixed package dependencies 2018-02-26 20:06:38 -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
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
danielyxie
dc26d831d6 Reworked Gang UI 2018-02-09 15:11:43 -06: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
36952ef8b4 Fixed load error due to missing plus operator in update log 2018-01-30 09:36:41 -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