Commit Graph

224 Commits

Author SHA1 Message Date
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
0ca202d297 Copied MIT license for acorn.js 2017-07-05 10:26:59 -05:00
danielyxie
7786a0aff8 Merge branch 'netscript-refactor' into dev 2017-07-05 08:54:46 -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
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
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
9a96f6b231 Esc can be used to close log box. Log box close button scrolls down in fixed position 2017-06-17 13:19:37 -05:00
Daniel Xie
36eb7608d5 Added ability to pass arguments into scripts 2017-06-16 21:53:57 -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
6582026557 Fixed error with determining invalid IP address 2017-06-08 23:35:03 -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
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
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
e2b1916fb2 Rebalancing 2017-06-02 08:30:47 -05:00
Daniel Xie
01901e3a8e Made the effects of many Augmentations slightly stronger 2017-06-02 00:34:57 -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
ea7b93e953 FIxed issue with purchasing Augmentations that require previous Augmentations. Buffed hacking slightly. FIxed UI issues: 2017-05-30 08:57:24 -05:00
Daniel Xie
af47baf4fa Buffed crimes and hacking. Increased growth rate of servers. Added getHostanme command. Added preventDefault() for ctrl+b in script editor. Buffed Neuroflux Governor, which adds 1% to all multipliers, and made it more expensive. Nerfed Hacknet Node base production. Fixed nested for loop issue 2017-05-29 17:37:38 -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
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
8eb0809d90 Formatted number in TravelBox. Upgrading Core on Hacknet node even more expensive 2017-05-23 15:20:28 -05:00
Daniel Xie
9b83035187 Save Aliases object. Fixed bug when buying Neuroflux Governor 2017-05-23 11:15:17 -05:00
Daniel Xie
b2b1724885 Small UI changes 2017-05-21 00:39:18 -05:00
Daniel Xie
c454e3729b Added option to donate money to faction 2017-05-20 03:19:13 -05:00
Daniel Xie
a91f1c5fef Added requirements for new augs 2017-05-19 00:20:27 -05:00
Daniel Xie
4355511b22 Finished adding unique augs for factions 2017-05-18 13:01:18 -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
7dfb102ba7 Rebalancing on RAM costs 2017-05-15 12:09:11 -05:00
Daniel Xie
bb73fe1101 Operators now have RAM cost 2017-05-15 10:38:17 -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
83502831d8 Removed some log statements. Rebalancing on RAM for home comp 2017-05-13 13:59:19 -05:00
Daniel Xie
416f3e7b47 Refactored script RAM usage to be calculated based on commands. Updated RAM on foreign servers to balance. Balnaced company wages 2017-05-10 16:10:06 -05:00
Daniel Xie
3808fe5a3f Minor UI improvements and bug fixes 2017-05-10 15:21:15 -05:00
Daniel Xie
f2287b5696 Lots of changes, didn't keep track ofthem all 2017-05-10 12:42:46 -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
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
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
2c53073f21 Format numbers to look nice, update info that is displayed on Character page 2017-05-04 15:50:17 -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
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
5943590ffb Working on tab completion. Almost there, some kinks to work out 2017-05-01 16:38:49 -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
66681ccae5 Added functions for purchasing additional RAM for home computer 2017-04-25 16:35:17 -05:00
Daniel Xie
17efb718a4 Playtesting - Rebalancing and bug fixes 2017-04-22 03:41:49 -05:00
Daniel Xie
9b408cb995 Playtesting - Fixed bugs 2017-04-19 14:19:33 -05:00
Daniel Xie
650bdf1f3f Playtesting- fixed bugs 2017-04-19 00:02:40 -05:00
Daniel Xie
ffda024431 fixe some bugs 2017-04-17 07:26:54 -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
06726e890b Finished adding information for all augmentations 2017-02-23 15:41:20 -06:00
Daniel Xie
286bd52090 Added even more Augmentation info 2017-02-22 16:07:55 -06:00
Daniel Xie
fa456c48b6 Added Prestiging 2017-02-20 16:06:16 -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
f5b0796948 Started working on Work functionality 2017-02-05 23:01:01 -06:00
Daniel Xie
d20da28c51 Reformatted DialogBox and PurchaseServerBox. Implemented purchase server, untested (will test when I do a playthrough so i get enough moeny) 2017-02-05 19:29:17 -06:00
Daniel Xie
fc2dc82f1a Implemented Applying to jobs. Working on Purchasing Servers 2017-02-03 16:05:59 -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
d656ee3114 Implemented control + c functionality to stop running cmds such as hack() and analyze() 2016-12-21 10:33:00 -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
d88237fa91 Companies save/loading properly. Added a utility file for Objects. Started work on Active Scripts info page. Adjusted leveling formula. Tested/fixed scripts running that have errors, seems to work fine might need proper testing later 2016-12-16 16:14:41 -06:00
Daniel Xie
5f1b58fd86 Evaluator + Netscript should now properly handle errors in syntax/runtime errors (almost..still have to implement the properly closing down script when an error is thrown. Check file for TODO). Player skill level should now properly be updated 2016-12-15 16:22:42 -06:00
Daniel Xie
437ebc2703 Implemented Hack and sleep in script. IMplemented functionality that allows scripts to stop (rejecting the Promises). Scripts will now automatically stop if they are not infinite. THIS IS UNTESTED TEST THIS WHEN I CAN. Still need to implement kill command 2016-12-05 16:31:46 -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
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