Commit Graph

245 Commits

Author SHA1 Message Date
Daniel Xie
8fa1eab3c6 Added fileExists() and getServerRequiredHackingLevel() Netscript commands. Updated Netscript documentation 2017-06-05 10:31:46 -05:00
Daniel Xie
9adce1dd2f Added EXP gains to weaken() and grow() after refactoring, and rebalanced hacking mechanics: 2017-06-05 03:08:04 -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
2752ec069a Buffed hacking, nerfed late game Hacknet Node production 2017-05-30 19:16:44 -05:00
Daniel Xie
92a1f41164 Significantly buffed money gains from hacking. Slightly nerfed Hacknet Node production 2017-05-30 16:04:33 -05:00
Daniel Xie
519e2ced66 Refactored pop up boxes 2017-05-30 09:55:58 -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
ad6f74a16d Lowered cost for NeuroFlux governor. Fixed tab completion for scp command. Fixed bugs with Netscript scp command 2017-05-29 21:02:41 -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
f756f09dbe Player starts with 8GB of RAM on home. scan-analyze displays RAM. Increased percentage money hacked 2017-05-24 00:05:31 -05:00
Daniel Xie
99e7af48a3 Slightly buffed amount of money gained from hacking. Slightly increased cost for Hacknet Node upgrades 2017-05-23 08:54:48 -05:00
Daniel Xie
eb71db3fad Buffed hacknet Nodes base prod by 25%. Updated tutorial documentation. Small UI changes 2017-05-21 16:04:57 -05:00
Daniel Xie
b2b1724885 Small UI changes 2017-05-21 00:39:18 -05:00
Daniel Xie
0054ab7222 Added a Character ovewview screen 2017-05-20 02:33:33 -05:00
Daniel Xie
16547a514d added effects for all of the new unique factions 2017-05-18 15:00:37 -05:00
Daniel Xie
48bcfb75b1 Time to create program now affected by hacking level 2017-05-17 09:23:47 -05:00
Daniel Xie
1789886604 More slight rebalancing (buffing) of Augmentations 2017-05-17 08:55:59 -05:00
Daniel Xie
f1b7d78ba3 More rebalancing on hacknet Nodes. Tab in script editor works..not super smooth though. Focus on textarea when script editor opens. code in tututorial now properly ignores all whitespace 2017-05-15 22:06:25 -05:00
Daniel Xie
b4db36a115 Think I fixed a bug where offline progress was being calculated wrong 2017-05-15 14:11:40 -05:00
Daniel Xie
238cd89376 Harakiri sushi no longer needs ports opened. Updated tutorial doc 2017-05-15 12:49:49 -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
041f195241 Added two new factions, Slum Snakes and Tetrads. Added 4 more augmentations for those factions. Fixed some issues with prestiging 2017-05-12 13:12:32 -05:00
Daniel Xie
3ac33cd9e7 Added commands for port breaking programs in Netscript 2017-05-10 23:20:17 -05:00
Daniel Xie
8cf17cf229 Rebalancing crime exp 2017-05-10 16:21:45 -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
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
315940112c UI Improvements 2017-05-06 17:19:18 -05:00
Daniel Xie
66e4fa26a2 Added Dark web. Needs testing 2017-05-05 10:50:55 -05:00
Daniel Xie
cdd51e675d Rebalancing crime exp rates, small UI improvements and bug fixes 2017-05-04 23:54:40 -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
b0bc7ed3c7 Rebalancing crime exp and small UI improvements 2017-05-04 02:05:43 -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
635ef04967 Added Augmentations for new Hacknet Node faction and rebalancing company positions so the requirements are in even numbers 2017-05-02 14:24:24 -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
9fa616b61a More bugfixes for failed Netscript code 2017-05-01 12:04:30 -05:00
Daniel Xie
2e73efc6ef Playtesting - Fixes and rebalancing 2017-04-27 15:59:57 -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
9d5694e7b5 Added Leadership and Management courses 2017-04-25 14:14:01 -05:00
Daniel Xie
a11a319d72 Rebalancing 2017-04-24 16:18:04 -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
dbdb089887 Playtesting - Rebalancing, bugfixes, improved UI 2017-04-23 20:43:41 -05:00
Daniel Xie
17efb718a4 Playtesting - Rebalancing and bug fixes 2017-04-22 03:41:49 -05:00
Daniel Xie
edb329325c Playtest - Bug fixing 2017-04-21 17:22:25 -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
650bdf1f3f Playtesting- fixed bugs 2017-04-19 00:02:40 -05:00
Daniel Xie
77f386d14a Playtesting - Fixed some bugs, refactoring 2017-04-17 23:32:17 -05:00
Daniel Xie
ffda024431 fixe some bugs 2017-04-17 07:26:54 -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
7aa42321f2 Fixed syntax errors 2017-02-27 16:14:11 -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
1c26d2953b Began adding requirements for Factions 2017-02-09 16:40:55 -06:00
Daniel Xie
ca10704ce0 Got work functionality implemented 2017-02-07 22:48:50 -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
afda3338bd More work on CompanyJobApplication.js, unfinished and untested. need to add popups saying if u got the job or not 2017-02-02 22:02:27 -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
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
f1ada52074 Added a constant for cities 2017-01-13 16:20:38 -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
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
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
96fb37c6d1 Fixed loadAllRunningScripts(), now seems to be working properly 2016-12-15 11:51:23 -06:00
Daniel Xie
23c036827f Fixed script hack(), should be working now. Changed some numbers to rebalance. Implemented script RAM usage. If a script uses too much ram it will not run (untested) 2016-12-14 14:29:40 -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
40b0b585e1 Added InputStream, Tokenizer, and Parser(unfinished) class. Changed Newerth to Aevum 2016-11-14 00:42:31 -06:00
Daniel Xie
0e9740dcf9 Continued defining the Company class and began writing initialization for it. Defined a namespace for Constants. 2016-11-02 16:45:10 -05:00
Daniel Xie
8530e51628 Finished initializing new servers (johnson ortho and newerth police). Finished init functions for Company class, and began declaring all possible companies. 2016-11-01 16:19:57 -05:00
Daniel Xie
6cf9339919 Refactored the hacking progress code into an action progress code so that it can be reused for analyze and anything else that requires an animated progress bar. Implemented analyze 2016-11-01 00:30:59 -05: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
0a13496984 Trying to get hack progress bar to work 2016-10-26 22:34:18 -05:00
Daniel Xie
d268ea09f8 Added debugging statements to try and figure out whats wrong when the time is calculated for hacks 2016-10-24 16:36:23 -05:00
Daniel Xie
0307b3334d Added port properties to server. Wrote code for hacking() and PortHacking, currently untested 2016-10-24 16:16:51 -05:00
Daniel Xie
4ea83fa199 Added functions to create a random network with foreign servers 2016-10-24 01:34:04 -05:00
Daniel Xie
0b7f19fd8c Added function to calculate Player's hacking skill based on exp 2016-10-21 16:15:45 -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
47e19f5862 Added a few more commands to Terminal (not the implementation). Began defining some of the foreign servers that will exist 2016-10-18 16:37:53 -05:00
Daniel Xie
a1fd46232e Added cases for all the commands that will be implemented for now. Updated Server class to contain information about servers, home computer, etc. Added a few fields to Server that will be used when hacking, as well as constructor. 2016-10-17 16:23:23 -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
9772525263 Adding basic Player and Server class definitions 2016-10-14 16:02:06 -05:00