Commit Graph

793 Commits

Author SHA1 Message Date
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
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
1ae1a1a5a9 Resolved merge conflicts for v0.34.2 2018-01-27 00:53:56 -06:00
danielyxie
5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie
97ca8121be Using BitFlume program now opens a confirmation window first 2018-01-21 15:24:51 -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
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
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
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
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
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
7f6b3731c2 Adding updated bundle 2017-09-07 00:48:27 -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
57ce0b3d53 Added new bundle with bug fix 2017-09-01 15:42:28 -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
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