Commit Graph

71 Commits

Author SHA1 Message Date
Olivier Gagnon
28584c8461 executeCommand has been removed in favor of connect and manualHack, which is what people have been asking for. 2021-03-23 21:30:15 -04:00
Olivier Gagnon
1eddddd14f Added executeCommand netscript function 2021-03-23 16:02:34 -04:00
Olivier Gagnon
2ce6ff2041 work to make documentation unified. 2021-03-12 02:51:56 -05:00
Olivier Gagnon
cd972dabe3 crash now prints ns stack trace, workerscript now does the shouldLog check on its own, many ns function are way simpler. 2021-03-11 03:02:05 -05:00
Olivier Gagnon
e1aec379c1 getCrimeStats returns the inner stats of a crime 2021-03-07 22:22:23 -05:00
Olivier Gagnon
619db14622 Added gang.getTaskStats which returns the stats of a gang task 2021-03-07 22:12:02 -05:00
Olivier Gagnon
84423e6309 gang.getEquipmentStats added, returns equipment multipliers 2021-03-07 22:01:31 -05:00
Olivier Gagnon
bbe4f9c286 Pid resets to 1 when installing or destroying a BitNode. 2021-03-07 13:08:12 -05:00
Olivier Gagnon
dc402bef68 added getAugmentationStats to netscript, it returns the stat boost of an aug 2021-03-07 04:57:49 -05:00
Olivier Gagnon
64272c99fb Added softReset to netscript 2021-03-07 04:49:57 -05:00
danielyxie
042f926700 Minor bugfixes with killing Netscript scripts, and cleaned up text 2019-07-15 21:40:43 -07:00
danielyxie
3a374de210 killWorkerScript() now takes an optional argument for whether to rerenderUI. This is used to batch UI updates on killall() 2019-06-24 22:48:54 -07:00
danielyxie
4cc6437408 Updated WorkerScript-related code for the workerScripts array->map change 2019-06-24 22:48:54 -07:00
danielyxie
821725cf4d Initial commit for converting workerScripts pool to Map data structure 2019-06-24 22:48:54 -07:00
danielyxie
3b7f9c9fb0 Fixed issues with Active Scripts UI. Implemented event emitter for Active Scripts UI 2019-05-17 13:41:16 -07:00
danielyxie
c1ec3c5eba Finished refactoring Active Scripts UI into React/TypeScript. Currently untested 2019-05-16 23:44:59 -07:00
danielyxie
42804b0cd3 Refactored 'workerScripts' array and killWorkerScript() fn to be their own modules in TypeScript 2019-05-15 23:05:36 -07:00
danielyxie
fef7aaba8f Adding more directory-related unit tests. Several more bug fixes and QoL improvements 2019-05-14 01:35:37 -07:00
danielyxie
9dd68947f1 Added Dynamic RAM calculation unit tests 2019-05-10 02:24:50 -07:00
danielyxie
ece246b391 Converted mocha unit tests to run using mocha-webpack (mochapack) package 2019-05-09 19:03:13 -07:00
danielyxie
8a5b6f6cbc Refactored stock buying/selling code into its own file. Refactored WorkerScript & NetscriptEnvironment into their own Typescript classes. Refactored a ton of code to remove circular dependencies 2019-05-04 21:03:40 -07:00
Daniel Xie
78c3d0d060 Moved netscript files into src folder and renamed 2017-05-13 02:42:25 -05:00
Daniel Xie
55ded7d60c Rebalanced part tiem company position wages 2017-05-12 00:25:54 -05:00
Daniel Xie
c44b514342 If statements in NetScript should work now 2017-05-11 23:59:07 -05:00
Daniel Xie
3ac33cd9e7 Added commands for port breaking programs in Netscript 2017-05-10 23:20:17 -05:00
Daniel Xie
f2287b5696 Lots of changes, didn't keep track ofthem all 2017-05-10 12:42:46 -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
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