Commit Graph

145 Commits

Author SHA1 Message Date
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
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
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
36a261bd2e Rebalancing to job wages, hack time, and create program level requirements 2017-05-02 12:06:46 -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
37a38c1e27 Fixed at least some of the bugs with Evaluator. needs more testing 2017-05-01 00:39:48 -05:00
Daniel Xie
53273596e2 Playtesting - Small UI improvements. Bug in evaluator that needs fixing 2017-04-27 17:01:26 -05:00
Daniel Xie
2e73efc6ef Playtesting - Fixes and rebalancing 2017-04-27 15:59:57 -05:00
Daniel Xie
d6c094f4de Playtesting - Rebalancing 2017-04-22 21:32:51 -05:00
Daniel Xie
c1c37f008e Playtesting - Fixed bugs and some rebalancing with foreign servers 2017-04-20 03:29:07 -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
685103c5d4 Implemented 'rm' command. FIxed some bugs 2017-04-13 14:36: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
e9c2fd46ff Added logging to scripts 2017-04-11 08:59:48 -05:00
Daniel Xie
8de538a59a More work on Create Program 2017-03-31 07:32:04 -05:00
Daniel Xie
db476ee902 Changed text to show 'Apply for Promotion' At a company if you already have a job there. Script runtime errors create dialog boxes now 2017-02-24 09:11:45 -06:00
Daniel Xie
fa456c48b6 Added Prestiging 2017-02-20 16:06:16 -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
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
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
7ec22480a2 Trying to get the functionality to load all running scripts upon load to work 2016-12-14 15:44:18 -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
c485f28e20 updated README with TODOS. FIxed kill command and sleep() command in script 2016-12-13 17:52:32 -06:00
Daniel Xie
7a5a9ccb65 Implemented kill command. UNTESTED, TEST THIS WHEN YOU CAN 2016-12-06 12:09:23 -06:00
Daniel Xie
8c58710495 Resolving and rejecting at the top level now returns a reference to workerScripts. This makes killing/deleting a running script possible. The feature appears to be working now 2016-12-06 10:59:20 -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
6d9f0669ba Added an autosave feature that auto saves every minute. Made the updateHackProgress() take in the number of cycles that have passed when calculating its progress 2016-12-02 15:57:20 -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
Daniel Xie
2d41a63707 Added some TODOs 2016-11-29 17:38:50 -06:00
Daniel Xie
867ae191b5 Refactored Netscript code into their respective files since it will no longer be done in Web Worker 2016-11-29 17:07:24 -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
1efee3b7d6 Testing making the script runner NOT be a different web worker thread. 2016-11-28 16:13:13 -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
320526ebb3 Added stuff to Script queue functionality..it's gonna get deleted anyways so w.e 2016-11-25 16:08:04 -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