Commit Graph

121 Commits

Author SHA1 Message Date
Daniel Xie
206d5dbe34 Nerfed all augmentations. Hacking speed multiplier increases rather than decreases. Servers have minimum server security. Hacking no money leads to less experience. Grow and weaken give same exp as hacking 2017-06-17 23:36:16 -05:00
Daniel Xie
36eb7608d5 Added ability to pass arguments into scripts 2017-06-16 21:53:57 -05:00
Daniel Xie
4aa7edb576 Fixed bug where you could purchase Darkweb items without router 2017-06-13 20:07:02 -05:00
Daniel Xie
5de47f600a Updated to version 0.20.2. Fixed bug with Netscript arrays. Updated documentation 2017-06-11 15:28:20 -05:00
Daniel Xie
c55b677bc2 Added threading capabilities when running manually. Need to add for run(0 and exec() in netscript. Also fixed some bugs 2017-06-10 20:46:02 -05:00
Daniel Xie
598efda098 FIxed bug with script errors in nested progs 2017-06-07 16:18:21 -05:00
Daniel Xie
c331bd7add Edit scripts that are running. Implement maximum money on server 2017-06-06 19:04:18 -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
f738034033 scp() command in scripts now overwrites scripts at destination. Fixed some bugs in Network creation 2017-06-02 14:46:14 -05:00
Daniel Xie
3fa2e4d2a3 Classes even more expensive. 2017-06-02 09:36:17 -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
6ff028b5ea Slightly buffed hacknet nodes 2017-06-01 08:36:49 -05:00
Daniel Xie
70e52553dd Remove good augmentation from CyberSec. Created The Black Hand Server 2017-05-31 21:19:14 -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
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
3771e00d1f Iron-gym and Max-hardware servers now have 2GB of RAM 2017-05-24 10:34:22 -05:00
Daniel Xie
4ad770091f Buffed gyms and zer0 servers 2017-05-22 10:55:39 -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
a3f0bb04f7 v0.12 Slightly buffed early servers (added more money) 2017-05-21 17:04:43 -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
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
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
534f5c1dbe Small UI improvements, balancing crime money 2017-05-06 14:12:45 -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
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
25b5016fda Renamed PurchaseServers.js to ServerPurchases.js (more generic file). 2017-04-25 15:18:00 -05:00
Daniel Xie
dbdb089887 Playtesting - Rebalancing, bugfixes, improved UI 2017-04-23 20:43:41 -05:00
Daniel Xie
d6c094f4de Playtesting - Rebalancing 2017-04-22 21:32:51 -05:00
Daniel Xie
c69d6ce538 playtesting - rebalancing 2017-04-22 15:29:23 -05:00
Daniel Xie
17efb718a4 Playtesting - Rebalancing and bug fixes 2017-04-22 03:41:49 -05:00
Daniel Xie
c1c37f008e Playtesting - Fixed bugs and some rebalancing with foreign servers 2017-04-20 03:29:07 -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
558939fd85 Rebalanced RAM of foreign servers 2017-04-13 13:03:59 -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
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
f1ec376f33 Implemented server growth (might need rebalancing). No wwhen a script is killed it is properly removed from the Active Scripts tab 2016-12-20 14:18:34 -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
c485f28e20 updated README with TODOS. FIxed kill command and sleep() command in script 2016-12-13 17:52: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
2d41a63707 Added some TODOs 2016-11-29 17:38:50 -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
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
40b0b585e1 Added InputStream, Tokenizer, and Parser(unfinished) class. Changed Newerth to Aevum 2016-11-14 00:42:31 -06:00
Daniel Xie
f311b0b84f Began deining the Faction class 2016-11-03 16:36:01 -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
cc6b178a96 Added New Servers.need to properly init them 2016-10-28 16:57:58 -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
0307b3334d Added port properties to server. Wrote code for hacking() and PortHacking, currently untested 2016-10-24 16:16:51 -05:00
Daniel Xie
1446a8d96e Fixed some issues with the width of terminal 2016-10-24 02:18:01 -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
4517020719 Added some init functions to the engine's init(). Began writing out the hack function for servers 2016-10-20 16:34:21 -05:00
Daniel Xie
ce0ca6c24d Fixed syntactical bugs/typos 2016-10-20 13:26:38 -05:00
Daniel Xie
f6212a4c6d Finished creating all the companies (for now) and adding their starting properties in the init function 2016-10-20 13:07:12 -05:00
Daniel Xie
672cd697d6 Added more companies. Began creating Init() function for all foreign servers 2016-10-19 16:43:49 -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