Commit Graph

316 Commits

Author SHA1 Message Date
James Aguilar
3fe254494e Add tests for NetscriptJS 2018-05-04 23:29:22 -04:00
danielyxie
9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -05:00
danielyxie
521b81aec0 v0.35.2 2018-03-26 19:46:21 -05:00
danielyxie
f33d81b1a5 v0.35.1 2018-03-12 14:39:04 -05:00
danielyxie
779ce25ae5 v0.34.5. Also adding webpack config and package-lock.json 2018-02-24 16:55:06 -06:00
danielyxie
f82d216e10 v0.34.4 2018-02-14 22:26:43 -06:00
danielyxie
5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie
e88a3936f3 v0.34.1 2018-01-19 22:47:57 -06:00
danielyxie
3f61ec1cab v0.34.0 changes 2017-12-06 21:45:47 -06:00
danielyxie
1529552542 v0.33.0 Added BitNode-3:Corporatocracy 2017-12-01 21:50:08 -06: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
4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -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
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
c93a398fbf Continue statement, began work on missions 2017-09-21 16:27:31 -05:00
danielyxie
d1f4f8fd36 All v0.29.0 changes 2017-09-19 13:38:03 -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
3296a817fd Adding script editor options and some bug fixes 2017-09-04 20:03:29 -05:00
danielyxie
b17f89eba7 v0.28.0 Changed - Integrate ACE editor 2017-09-01 09:12:40 -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
cf99c4f10b Added literature (.lit files). Fixed bug with Gang Territory. Updated documentation 2017-08-18 12:20:51 -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
ddca05f4c5 Balancing. Buffed crimes, infiltration, jobs, nerfed hacking 2017-08-01 14:03:45 -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
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
222f75d55a Refactored Netscript with Acorns parser. Major rebalancing. Add TIX API. Add round(), purchaseServer(). 2017-07-13 11:54:29 -05:00
danielyxie
7786a0aff8 Merge branch 'netscript-refactor' into dev 2017-07-05 08:54:46 -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
36e3a3b5d2 StockMarket and Infiltration implementations 2017-07-03 14:42:11 -05:00
Daniel Xie
d63f17fa8d initAugmentations() now called applyAugmentations() at the end 2017-06-28 15:53:12 -05: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
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
0449460c4f Added favor system for companies and factions 2017-06-20 11:11:33 -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
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
d48428f0e8 Increased cost of RAM by 10%. Decreased cost multiplier of NeuroFlux Governor augmentation 2017-06-11 15:36:36 -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
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
bb24c017f1 Refactor Netscript Interpreter 2017-06-04 23:48:37 -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
a3d45b3cc2 Script editor now saves state when switching to other tabs. Updated to version 0.19.4 2017-06-02 12:18:53 -05:00
Daniel Xie
94dd4395be Adding messages. Changed hacking factions to rely on hacking their specific servers to get the invite. Made Augmentations more expensive 2017-06-01 23:15:45 -05:00
Daniel Xie
b53abeb280 Refactored Dialog boxes so that an infinite amount can be opened 2017-05-31 23:17:50 -05:00
Daniel Xie
6714d664d0 Added Soft Reset ability in Options. Cancelling work only halves reputation, not other stuff liek money and exp. Added 7 new hacking Augmentations 2017-05-31 10:58:09 -05:00
Daniel Xie
f4c90a1612 Fixed issue with Hacknet Node multipliers. Added total production cost display for Active Scripts 2017-05-30 19:00:24 -05:00
Daniel Xie
17bf2e8ca2 Removed more href='#' and added Google Analytics 2017-05-30 10:56:01 -05:00
Daniel Xie
427b52abc5 Removed href=# in index.html 2017-05-30 10:51:55 -05:00
Daniel Xie
519e2ced66 Refactored pop up boxes 2017-05-30 09:55:58 -05:00
Daniel Xie
bfba6a3d5b Updated Netscript documentation for new Hacknet Node 'API'. Adde game options 2017-05-25 09:50:58 -05:00
Daniel Xie
6316cbae23 Minor UI changes 2017-05-25 03:09:51 -05:00
Daniel Xie
84eb295527 Added functionality to create Deepscan programs. Untested 2017-05-24 16:35:24 -05:00
Daniel Xie
5c16759908 Clicking outisde popup dialog box closes it. Grow() time is now based on hacking level 2017-05-24 08:49:52 -05:00
Daniel Xie
5d415a1a60 Fix bug with purchaseHacknetNode(). Improve nano interface 2017-05-23 21:55:24 -05:00
Daniel Xie
8338582ef7 Increased cost of university classes/Gym. You can now see the effects of an augmentation before unlocking it. Slightly increased cost of purchasing Hacknet Node upgrades 2017-05-23 14:26:52 -05:00
Daniel Xie
f325aeb897 Nerfed the top 2 Netburner augmentations. Slightly icnreased cost for upgrading ram and core for Hacknet nodes 2017-05-23 08:49:20 -05:00
Daniel Xie
9e2344919f Small UI changes, adding RAM cost for new script commands. 2017-05-20 22:45:36 -05:00
Daniel Xie
c454e3729b Added option to donate money to faction 2017-05-20 03:19:13 -05:00
Daniel Xie
0054ab7222 Added a Character ovewview screen 2017-05-20 02:33:33 -05:00
Daniel Xie
2823a1ffa1 Purchase MAX hacknet nodes now works. Huge rebalancing of Augmentations, made most augmentations a little bit stronger 2017-05-16 22:50:32 -05:00
Daniel Xie
47e4f5b9dd Slight rebalancing on Hacknet Nodes. Added buttons for purchase multipliers. They don't work yet though 2017-05-16 16:22:54 -05:00
Daniel Xie
f63cd21bfc Refactoring purchase of additional servers UI code, minor rebalancing for hacknet nodes 2017-05-16 10:55:05 -05:00
Daniel Xie
bf0d5589e5 Showing that Delete Active Scripts button is for debugging 2017-05-15 12:28:25 -05:00
Daniel Xie
56a7ed66a5 Added status text for saving. Minor rebalancing for Hacknet Node RAM Cost 2017-05-15 11:54:23 -05:00
Daniel Xie
5039a03732 UI Improvement to script editor. FIxed some bugs in new Netscript commands 2017-05-15 10:13:21 -05:00
Daniel Xie
3919d3e97a Bug fixes for new Netscript commands. Added total Playtime statistics. Minor UI improvements 2017-05-15 09:15:59 -05:00
Daniel Xie
84a007960e Flashing tutorial buttons 2017-05-15 00:09:14 -05:00
Daniel Xie
708b800e36 Improved documentation for Netscript. Added a link to Netscript documentation in script editor 2017-05-14 20:43:10 -05:00
Daniel Xie
93f2a475b0 Fixed typo in src file 2017-05-13 02:44:01 -05:00
Daniel Xie
78c3d0d060 Moved netscript files into src folder and renamed 2017-05-13 02:42:25 -05:00
Daniel Xie
957b7032b1 Minor UI improvements 2017-05-12 15:01:23 -05:00
Daniel Xie
f2287b5696 Lots of changes, didn't keep track ofthem all 2017-05-10 12:42:46 -05:00
Daniel Xie
c35e08b4d5 Small UI improvements, small bug fix with NeuroFlux cost, added tooltips to Crimes 2017-05-08 12:40:53 -05:00
Daniel Xie
94aafba04b Added 3 more crimes..home computer no longer reset on prestige 2017-05-08 11:00:34 -05:00
Daniel Xie
20d8a40e17 Playtesting - Rebalancing, UI improvements, added tooltip for programs, home computer no longer reset on prestige 2017-05-08 09:33:26 -05:00
Daniel Xie
cc21dd6fc7 Rebalancing, UI improvements 2017-05-07 03:22:50 -05:00
Daniel Xie
315940112c UI Improvements 2017-05-06 17:19:18 -05:00
Daniel Xie
534f5c1dbe Small UI improvements, balancing crime money 2017-05-06 14:12:45 -05:00
Daniel Xie
2e55f1d472 Implemented interactive tutorial! 2017-05-06 01:24:01 -05:00
Daniel Xie
e2cbc38920 Adding Interactive Tutorial files - incomplete 2017-05-05 16:27:35 -05:00
Daniel Xie
acc3b8cf89 Create Program refactoring, added a notification for it when it comes up 2017-05-05 11:52:48 -05:00
Daniel Xie
66e4fa26a2 Added Dark web. Needs testing 2017-05-05 10:50:55 -05:00
Daniel Xie
c749c275f2 Playtesting - Minor rebalancing, UI improvements, and bug fixes 2017-05-05 09:21:08 -05:00
Daniel Xie
56ebfaf2bf refactored saving/loading by making it into a class. Tested and debugged prestige mechanic 2017-05-04 20:08:44 -05:00
Daniel Xie
8917284f27 Removed some console.log statements. Fixed bug with displaying Factions Content 2017-05-04 14:29:50 -05:00
Daniel Xie
01f9bf14af Rebalancing Create program times, crime exp gains 2017-05-04 00:27:22 -05:00
Daniel Xie
a934205d08 Added crimes mechanic 2017-05-04 00:05:48 -05:00
Daniel Xie
86900c0879 Began implementing Crimes mechanic...plus karma and statistics for it. Readjusted the ciriminal factions requirements acordingly 2017-05-03 12:52:54 -05:00
Daniel Xie
3eccf23a41 Minor UI improvements, fixed job requirements to make them inline with multiplers of 5, rebalancing hacking times 2017-05-02 23:38:58 -05:00
Daniel Xie
6edd7f1a49 Added grow() command - it is untested and does not worki n offline yet. Some small rebalancing and UI changes 2017-05-02 11:28:54 -05:00
Daniel Xie
c3eaaded70 Added command history using both up and down keys 2017-05-01 22:05:26 -05:00
Daniel Xie
1fa0ef339a Added up button history mechanic to terminal..the basics work 2017-05-01 12:23:20 -05:00
Daniel Xie
b61754ddd0 Finished implementing Hacknet Nodes. Seems to be working fine 2017-04-27 15:02:58 -05:00
Daniel Xie
e2947cc8c3 more work on HacknetNode.js and also added css content for PurchaseRamForHomeBox 2017-04-27 00:01:21 -05:00
Daniel Xie
14fb303504 Began implementing 'hacknet nodes' 2017-04-26 16:51:00 -05:00
Daniel Xie
66681ccae5 Added functions for purchasing additional RAM for home computer 2017-04-25 16:35:17 -05:00
Daniel Xie
25b5016fda Renamed PurchaseServers.js to ServerPurchases.js (more generic file). 2017-04-25 15:18:00 -05:00
Daniel Xie
9d5694e7b5 Added Leadership and Management courses 2017-04-25 14:14:01 -05:00
Daniel Xie
f4ec2e9067 Added University/study + taking class mechanics. Minor improvements to UI and some rebalancing 2017-04-24 14:10:35 -05:00
Daniel Xie
5870430ea7 Small UI improvements 2017-04-24 10:35:10 -05:00
Daniel Xie
dbdb089887 Playtesting - Rebalancing, bugfixes, improved UI 2017-04-23 20:43:41 -05:00
Daniel Xie
c1c37f008e Playtesting - Fixed bugs and some rebalancing with foreign servers 2017-04-20 03:29:07 -05:00
Daniel Xie
e2e0bba3c2 Playtesting - Fixed bugs 2017-04-19 16:39:25 -05:00
Daniel Xie
9b408cb995 Playtesting - Fixed bugs 2017-04-19 14:19:33 -05:00
Daniel Xie
77f386d14a Playtesting - Fixed some bugs, refactoring 2017-04-17 23:32:17 -05:00
Daniel Xie
0d6890a565 Added ability to purchase Tor router to access the dark web. Still need to implement functionality for this dark web 2017-04-13 15:21:03 -05:00
Daniel Xie
52297268f6 Addded Perk class, Traveling functionality, fixed bugs with script logging and terminal commands 2017-04-13 12:33:34 -05:00
Daniel Xie
14684dd6d5 Finished Create Program functionality (needs testing) and did work on Tutorial 2017-03-31 16:47:06 -05:00
Daniel Xie
8de538a59a More work on Create Program 2017-03-31 07:32:04 -05:00
Daniel Xie
3c104e5d6b Created HTML list for Create Program 2017-03-09 16:49:51 -06:00
Daniel Xie
771e304e7a More prep to handle Create Program functionality. Need to format each item in the Create Program List first, then make an item for each possible program that can be created 2017-02-28 16:06:12 -06:00
Daniel Xie
6f5c54b849 Some small fixes and getting ready to implement CreateProgram content 2017-02-28 15:20:37 -06:00
Daniel Xie
2d40afb740 Fixed formatting issue 2017-02-28 11:47:43 -06:00
Daniel Xie
37b5152103 Fixed some bugs, Hide Faction Augmentations Content in the hideAllContent() function 2017-02-28 11:10:35 -06:00
Daniel Xie
7aa42321f2 Fixed syntax errors 2017-02-27 16:14:11 -06:00
Daniel Xie
992d0673e5 Display Installed Augmentations Content. Need to add info for each augmentation 2017-02-20 16:45:36 -06:00
Daniel Xie
4a60874a3a Display Faction content, including Augmentations. Added requirements for Augmentations. Created PurchaseAugmentationBox.js. Next step is to create the reset function needed for prestiging 2017-02-17 16:19:25 -06:00
Daniel Xie
0ed3d65ae5 Added a bunch of small fixes and features, don't remember exactly what lol 2017-02-16 12:52:11 -06:00
Daniel Xie
b25d685381 Added some more Augmentations. Need to add them to factions now (do this in Augmentations class init rather than Factions, will probably be easier) 2017-02-08 16:50:22 -06:00
Daniel Xie
bedc210b31 Almost done implementing work functionality.Theres an issue with Player finishWork() i think bc its an anonymous function so it doesnt work to call this.finishWork(), idk 2017-02-07 18:27:11 -06:00
Daniel Xie
f5b0796948 Started working on Work functionality 2017-02-05 23:01:01 -06:00
Daniel Xie
fc2dc82f1a Implemented Applying to jobs. Working on Purchasing Servers 2017-02-03 16:05:59 -06:00
Daniel Xie
7382454e83 Did more work on applying for jobs at companies. Need to create constructor/Revivor for companyPositions 2017-02-02 17:33:47 -06:00
Daniel Xie
746a10eecf Fixed some typos in Location.js, began initLocationbuttons() function 2017-01-30 22:43:33 -06:00
Daniel Xie
007d4436c9 Added Locations. Need to add buttons to make everything connect together properly, and also getting/working for josb 2017-01-30 21:41:42 -06:00
Daniel Xie
bf893926b7 Fixed page tabs so all menu pages are working now 2017-01-27 21:10:16 -06:00
Daniel Xie
ceb2305ed8 Load world info and UI, although clicking on a specific location doesn't actually do anything yet 2017-01-11 14:00:51 -06:00
Daniel Xie
e8381743f7 Added Information for many of the factions 2017-01-10 16:23:17 -06:00
Daniel Xie
e89bb00155 Created functions to display Faction content (for a single faction) and added the corresponding html elements. Created framework for loading content for all pages (world, augmentations, etc.) in Engine.js 2017-01-09 16:14:18 -06:00
Daniel Xie
f38a3d1c75 Added a few HTMl elements for Factions display 2017-01-03 10:24:41 -06:00
Daniel Xie
25bf876f4a Preparing code to create the Factions page 2016-12-22 11:13:00 -06:00
Daniel Xie
8239e94a3a Created servers for some of the Factions. THese factions are joinable when you hack into the servers 2016-12-22 10:19:02 -06:00
Daniel Xie
d656ee3114 Implemented control + c functionality to stop running cmds such as hack() and analyze() 2016-12-21 10:33:00 -06:00
Daniel Xie
e2316e4a1d Can now do things such as ctrl+c in Terminal without it auto focusing on the input. Implemented offline exp gain 2016-12-19 14:59:13 -06:00
Daniel Xie
962b057ff8 Implemented basic functionality for the Active Tabs menu. Works for online production 2016-12-19 12:20:19 -06:00
Daniel Xie
96fb37c6d1 Fixed loadAllRunningScripts(), now seems to be working properly 2016-12-15 11:51:23 -06:00
Daniel Xie
7ec22480a2 Trying to get the functionality to load all running scripts upon load to work 2016-12-14 15:44:18 -06:00
Daniel Xie
eb31a0bd74 Changed the main menu links so that they're highlighted when active 2016-12-01 16:59:51 -06:00
Daniel Xie
106c59efb0 Changed main menu buttons to be hidden visibility so they have fixed positioning 2016-12-01 16:41:32 -06:00
Daniel Xie
d5d198cbb4 Refactored Code to make Save/Load work. This included re-structuring classes so that they contained only native objects/arrays of native objects and using a Reviver function in the JSON.parse. Cleaned up some code that was no longer needed 2016-12-01 16:18:18 -06:00
Daniel Xie
ca9caada67 Fixed a typo when sourcing scripts in index.html 2016-11-30 16:10:27 -06:00
Daniel Xie
b821fc2ea9 Added utilities for generic reviver, toJSON, and fromJSON. Eventually will be used for loading and saving objects 2016-11-30 16:08:21 -06:00
Daniel Xie
867ae191b5 Refactored Netscript code into their respective files since it will no longer be done in Web Worker 2016-11-29 17:07:24 -06:00
Daniel Xie
4687b80256 Tried to integrate Promises + web workers into Netscript code. Doesn't work at all right now 2016-11-28 16:02:06 -06:00
Daniel Xie
f38fd340f4 Implement Script Editor (mostly) 2016-11-24 16:30:33 -06:00
Daniel Xie
1a600ad560 Added offline properties for Script object 2016-11-21 05:22:18 -06:00
Daniel Xie
d372ce5980 Fixed some bugs, began adding a Script class 2016-11-21 00:11:14 -06:00
Daniel Xie
8d87b74eaf Finished implementing Netscript. Not completely tested yet. Find out how to make it multithreaded (Web Workers is the best way according to internet 2016-11-17 16:25:40 -06:00
Daniel Xie
f6aaef455d Added full hack functionality with animated progress bar and everthing. All thats left is balancing exp/money gains and also taking care of porthack stuff. Also fixed the terminal not being scrollable 2016-10-27 13:26:00 -05:00
Daniel Xie
4057f946d8 Implemented df and cls/clear commands 2016-10-20 16:11:01 -05:00
Daniel Xie
ce0ca6c24d Fixed syntactical bugs/typos 2016-10-20 13:26:38 -05:00
Daniel Xie
7c03b274d7 Added Player, Server, Terminal, and engine javascript files. Implemented basic terminal UI. Implemented main menu tabs (only added Character and Terminal for now 2016-10-17 03:24:39 -05:00
Daniel Xie
d7a00af2b6 Added html files and engine 2016-10-15 18:23:04 -05:00