Commit Graph

98 Commits

Author SHA1 Message Date
Daniel Xie
60207b8e04 Added arrays to Netscript. Fixed bug with Hacknet Nodes 2017-06-10 17:44:33 -05:00
Daniel Xie
598efda098 FIxed bug with script errors in nested progs 2017-06-07 16:18:21 -05:00
Daniel Xie
f92556e754 Fixed bugs with new Netscript commands 2017-06-06 23:09:53 -05:00
Daniel Xie
a461491094 Fixed bugs with new Netscript functions. Adding ActiveScriptsUI.js file to git 2017-06-06 21:33:50 -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
d3fa9f8c6e Slight rebalancing. Added kill() and killall() commands 2017-06-05 20:34:00 -05:00
Daniel Xie
f7018f082c Added killall command to terminal 2017-06-05 12:59:30 -05:00
Daniel Xie
0dc3d56e3c Added isRunning() Netscript command. Account for new commands in RAM usage 2017-06-05 12:50:32 -05:00
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
bb24c017f1 Refactor Netscript Interpreter 2017-06-04 23:48:37 -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
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
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
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
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
92a1f41164 Significantly buffed money gains from hacking. Slightly nerfed Hacknet Node production 2017-05-30 16:04:33 -05:00
Daniel Xie
9cc0a26d0b Added reject for stopflags in getHostname() 2017-05-30 11:57:27 -05:00
Daniel Xie
501abfeae0 Player hacking speed affects time to execute grow() 2017-05-30 10:10:15 -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
3ff1e8e87d Added scp command to netscript. Nerfed Hacknet Node augmentations 2017-05-29 20:25:52 -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
d8fd1e1164 Removed a log statement from Netscriopt 2017-05-29 17:42:42 -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
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
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
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
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
5d415a1a60 Fix bug with purchaseHacknetNode(). Improve nano interface 2017-05-23 21:55:24 -05:00
Daniel Xie
6b40482e6c Added hasRootAccess() and getNumHacknetNodes commands to netscript 2017-05-23 13:17:37 -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
14e6b604b4 Bug fix 2017-05-22 22:50:06 -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
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
f32ec4f9a7 Added getServerMoneyAvailable(), run(), and getHackingSkill() commands, and some small bug fixes + UI improvements 2017-05-15 01:35:09 -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
78c3d0d060 Moved netscript files into src folder and renamed 2017-05-13 02:42:25 -05:00