Commit Graph

349 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
d73a11f678 Rebalancing script RAM Usage. Script base RAM cost is 1.5GB, while common functions were made cheaper 2017-06-05 09:31:47 -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
71999ea2eb Removed time for Program netscript ocmmands (nuke, brutessh, etc) 2017-06-05 01:24:30 -05:00
Daniel Xie
bb24c017f1 Refactor Netscript Interpreter 2017-06-04 23:48:37 -05:00
Daniel Xie
beb770eaf9 Updated constants 2017-06-04 03:46:14 -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
d1e4ef77fd Tab autocompletion now works on commands. Updated to v0.19.6 2017-06-02 20:26:17 -05:00
Daniel Xie
7701249cfe Added changelog to Constants.js. Terminal commands are no longer case sensitive 2017-06-02 19:41:46 -05:00
Daniel Xie
697855d0f5 scp terminal command now overwrites. Updated version to 0.19.5 2017-06-02 14:54:36 -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
b85783cebc Programming tutorial opens link in new tab. Fixed some text 2017-06-02 12:04:43 -05:00
Daniel Xie
0d3a4020a3 Updated to v0.19.2 2017-06-02 11:49:42 -05:00
Daniel Xie
807fb8d850 Fixed typos and improved text in documentation/tutorial 2017-06-02 11:49:14 -05:00
Daniel Xie
53d03e2933 Fixed bug in messages 2017-06-02 09:48:00 -05:00
Daniel Xie
5f81ec0bfe Updated version to 0.19.0 2017-06-02 09:37:51 -05:00
Daniel Xie
3fa2e4d2a3 Classes even more expensive. 2017-06-02 09:36:17 -05:00
Daniel Xie
e2b1916fb2 Rebalancing 2017-06-02 08:30:47 -05:00
Daniel Xie
8e9e64a1f2 Gyms and classes are now significantly more expensive 2017-06-02 00:49:09 -05:00
Daniel Xie
dd2a936462 Augmentations made slightly more expensive. Increased company wages across the board 2017-06-02 00:47:56 -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
236facab97 Updated versio to 1.18.3 2017-06-01 13:56:27 -05:00
Daniel Xie
ae212dda9a Fixed Hacknet Node leveling bug from 199 to 200. Updated tutorial text 2017-06-01 13:55:23 -05:00
Daniel Xie
6ff028b5ea Slightly buffed hacknet nodes 2017-06-01 08:36:49 -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
ebeac47d12 Fixed UI issues. Added offline production for grow(), weaken(), and hack() in Netscript scripts 2017-05-31 20:57:49 -05:00
Daniel Xie
540d1f4bcd Updated version to 0.18 2017-05-31 18:42:18 -05:00
Daniel Xie
4420523a82 Augmentations 3x more expensive 2017-05-31 18:41:34 -05:00
Daniel Xie
6c6186ffd7 Faction Donation conversion rate is 000000 for 1 reputation. Costs for all augmentations increased by about 110-120% 2017-05-31 18:39:03 -05:00
Daniel Xie
070f4df191 Hacking a server fortifys it by 0.001, was 0.002 before 2017-05-31 12:55:16 -05:00
Daniel Xie
4503d67af2 Increased ram on some servers from 2GB to 4GB. Growth rate increased slightly. Weaken() ram cost decreased to be in line with hakc() and grow() 2017-05-31 12:52:30 -05:00
Daniel Xie
d825b25c73 Added functions for weakening server security and updated docuemtnation 2017-05-31 12:37:32 -05:00
Daniel Xie
07d9dc6db8 Server security increases slightly when hacked 2017-05-31 11:45:30 -05:00
Daniel Xie
e70f499f13 Added exec() command. Initial testing shows that its working ok 2017-05-31 11:33:54 -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
05036953ef Updated version to 0.17.7 2017-05-30 16:32:15 -05:00
Daniel Xie
18f447de0e Increased cost multiplier for Hacknet Node upgrades 2017-05-30 15:59:08 -05:00
Daniel Xie
0e6036bfae Updated version to 1.17.5 2017-05-30 11:19:27 -05:00
Daniel Xie
f3fde01758 Updated version to 1.17.4 2017-05-30 10:07:19 -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
ec3f936f2b Fixed bug with Neuroflux Governor increasing cost multiopliers. Increased TOR Router cost to 200k 2017-05-29 21:29:57 -05:00
Daniel Xie
c4f6563f59 Added scp netscript command to docuemntatioN: 2017-05-29 21:14:00 -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
3ff1e8e87d Added scp command to netscript. Nerfed Hacknet Node augmentations 2017-05-29 20:25:52 -05:00
Daniel Xie
54bf26689f Added scp terminal command 2017-05-29 19:18:48 -05:00
Daniel Xie
66d311f9d8 Added RAM cost for getHostname() and hasRootAccess(). Applied hacking grow_mult to server growth)
git p
2017-05-29 18:12:57 -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
f836596b8e Updated version to 0.16 2017-05-25 10:12:35 -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
8cd9e8954d Refactored Netscript Hacknet Node library. Now an array called hacknetnodes[i] can be used to access hacknet nodes, and they can be upgraded with functions 2017-05-25 07:18:34 -05:00
Daniel Xie
0fd5323d52 Added scan-analyze to Interactive Tutorial 2017-05-24 18:23:28 -05:00
Daniel Xie
d00211a4ff Buffed base production of Hacknet Nodes. Re-calibrated hacker faction invites to account for starting with 8GB of RAM. BruteSSH only takes 10 minutes at most to complete now 2017-05-24 10:32:45 -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
8eb0809d90 Formatted number in TravelBox. Upgrading Core on Hacknet node even more expensive 2017-05-23 15:20:28 -05:00
Daniel Xie
bfcecd7e0f Added Price display to Locked Augmentations. Updated version constant to 0.15 2017-05-23 14:33:02 -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
b695b19058 Reverted changes to Hacknet Node upgrade costs 2017-05-23 13:26:11 -05:00
Daniel Xie
6b40482e6c Added hasRootAccess() and getNumHacknetNodes commands to netscript 2017-05-23 13:17:37 -05:00
Daniel Xie
ea17334792 Fixed bugs in purchasing/upgrading hacknet nodes in Netscript. Fixed documentation for them as well 2017-05-23 12:49:26 -05:00
Daniel Xie
73c07841a3 Added scan-analyze. Faction rep from donating affected by faction rep multiplier 2017-05-23 12:36:35 -05:00
Daniel Xie
a3c104ca4e Added aliases 2017-05-23 10:12:09 -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
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
88f1e1bae2 Rebalancing. Added slightly more money to the starting servers and gyms. Made many of the augmentations slightly cheaper 2017-05-22 10:39:51 -05:00
Daniel Xie
75513aa59d Added a few more monospace fonts to font-family in css 2017-05-22 08:53:50 -05:00
Daniel Xie
2df93a5b51 Slightly Buffed hacknet nodes 2017-05-22 02:50:48 -05:00
Daniel Xie
a3f0bb04f7 v0.12 Slightly buffed early servers (added more money) 2017-05-21 17:04:43 -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
9e2344919f Small UI changes, adding RAM cost for new script commands. 2017-05-20 22:45:36 -05:00
Daniel Xie
4d0ee212be UI Improvements. Added two new Netscript functions to purchase Hacknet Nodes 2017-05-20 04:27:42 -05:00
Daniel Xie
9e1c7191f5 Fixed typos and improved text in Tutorial and Interactive Tutorial 2017-05-17 00:31:42 -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
b8ccddf256 Changed tabbing i script editor so that it uses four spaces rather than the tab char" 2017-05-15 23:37:14 -05:00
Daniel Xie
223bc3c2c6 Properly focuses on Script editor when its opened 2017-05-15 22:27:47 -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
58e9cc91da Massively nerfed Hacknet nodes because the math behind their production was exponentially growing and broke the game. Fixed a small bug with purchasing tor routers being disabled 2017-05-15 17:22:17 -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
bf1469ce15 Updated version 2017-05-15 12:23:20 -05:00
Daniel Xie
7dfb102ba7 Rebalancing on RAM costs 2017-05-15 12:09:11 -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
bb73fe1101 Operators now have RAM cost 2017-05-15 10:38:17 -05:00
Daniel Xie
51c8e7a6c6 Fixed bug with loading game when working on creating program 2017-05-15 10:28:59 -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
2ae770fbed updated help text for mem command 2017-05-14 21:49:01 -05:00
Daniel Xie
85225ae3ba Updated to v0.5 2017-05-14 21:47:09 -05:00
Daniel Xie
6bbf28411f Added slightly more information to Tutorial docuemntation 2017-05-14 21:36:58 -05:00
Daniel Xie
31ef48f4a8 Small UI improvements based on private beta feedback 2017-05-14 21:21:22 -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
df057ccaab Minor UI improvements, bug fix in Crime.js 2017-05-14 19:14:13 -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
142a1cea38 Updated version and removed a console log 2017-05-13 02:32:32 -05:00
Daniel Xie
9798aae545 More balancing, small bug fix with prestige 2017-05-12 23:40:12 -05:00
Daniel Xie
693e45d98c Fixed some bugs. Updated documentation for Netscript 2017-05-12 13:52:02 -05:00
Daniel Xie
9f9ea73651 rebalanced RAM cost 2017-05-12 01:58:01 -05:00
Daniel Xie
3ac33cd9e7 Added commands for port breaking programs in Netscript 2017-05-10 23:20:17 -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
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
21f73088f6 Added neuroflux governor augmentation (the one you can level up 2017-05-07 05:04:54 -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
66e4fa26a2 Added Dark web. Needs testing 2017-05-05 10:50:55 -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
219373e48e Hacknet Node production and Crime rebalancing 2017-05-04 13:37:57 -05:00
Daniel Xie
01f9bf14af Rebalancing Create program times, crime exp gains 2017-05-04 00:27:22 -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
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
2e73efc6ef Playtesting - Fixes and rebalancing 2017-04-27 15:59:57 -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
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
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
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
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
3ecbed1351 Finished tutorial text for cities 2017-04-12 16:34:08 -05:00
Daniel Xie
5a8b5c2dd1 Merged tutorial text changes 2017-04-11 21:06:19 -05:00
Daniel Xie
a1e80cc0ab Added some tutorial text 2017-04-11 21:05:21 -05:00
Daniel Xie
8658a1bdfd Added perks to Company object 2017-04-11 15:51:03 -05:00
Daniel Xie
2e4925c45d began adding stuff for Perks. Also refactored some constants 2017-04-11 15:42:06 -05:00
Daniel Xie
be641b19db Finished adding Tutorial text 2017-04-11 08:45:56 -05:00
Daniel Xie
e2ad62c62a More work on Tutorial 2017-04-05 16:09:37 -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
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
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
d656ee3114 Implemented control + c functionality to stop running cmds such as hack() and analyze() 2016-12-21 10:33:00 -06:00
Daniel Xie
96fb37c6d1 Fixed loadAllRunningScripts(), now seems to be working properly 2016-12-15 11:51:23 -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
77f0c31777 Got NetScript working asyhcronously with Promises! Only for loops have been tested though. Still need to test while loops and ifs. While loops should work if the for loops do, idk about if statements though. If statements aren't a high priority right now though 2016-11-29 16:56:05 -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
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