Commit Graph

140 Commits

Author SHA1 Message Date
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