Commit Graph

134 Commits

Author SHA1 Message Date
hydroflame c0f6399a96 Merge pull request #2590 from deathly809/feature/ns_support_rm
Add support for the mv command in NS
2022-01-15 18:26:31 -05:00
hydroflame 03f71bd5f4 Merge pull request #2485 from Ornedan/netscriptdelay-check-stop
Refactor netscriptDelay and script kill interaction
2022-01-15 17:26:23 -05:00
Martin Fournier 9b638b911f Add ns.ui.[getStyles, setStyles, resetStyles]
Adds three Netscript functions to manipulate the user's styles like the
player can with theme.
2022-01-12 18:34:05 -05:00
Jeffrey A. Robinson bedea0ac73 Add support for the mv command in NS 2022-01-12 09:53:54 -08:00
Heikki Aitakangas 59da79a427 Refactor netscriptDelay and script kill interaction
Store the Promise reject function instead of resolve in WorkerScript, since
it's only used when killing a script that's blocked in delay. And when killing
a script, reject the delay Promise with the WorkerScript as cause.
2022-01-09 02:36:54 +02:00
Olivier Gagnon 7e6976986f rm sf4 penalty 2022-01-05 12:37:49 -05:00
hydroflame b718fc3ef7 Merge pull request #2343 from MartinFournier/feature/set-theme
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-05 10:17:51 -05:00
theit8514 41adedf1bc Update getOwnedSourceFiles RAM cost
Not a singularity function
2022-01-05 07:12:41 -05:00
Olivier Gagnon 925bed4430 fix scp 2022-01-04 22:25:41 -05:00
Martin Fournier c9ca1e9d37 Add ns.ui.setTheme() and ns.ui.resetTheme() 2022-01-04 20:33:18 -05:00
Olivier Gagnon c59a267437 change sf4 2022-01-04 19:09:34 -05:00
Martin Fournier 65d0877edc Add ns.ui.getTheme() api function 2021-12-20 14:37:10 -05:00
Olivier Gagnon d01d75606a few bugfix 2021-12-08 17:39:01 -05:00
Olivier Gagnon 737276e855 corp api 2021-12-03 23:06:04 -05:00
Olivier Gagnon 5470f9fdc1 wd diff increase 2021-12-03 16:21:35 -05:00
Olivier Gagnon d4ebc46a19 merge dev 2021-12-03 15:35:45 -05:00
Olivier Gagnon b941753e1b more fixes 2021-11-26 18:54:06 -05:00
Olivier Gagnon c05518e162 workerscript log takes a function now, hopefully this will increase performance. 2021-11-26 18:30:58 -05:00
Olivier Gagnon f0a004e75b Fix a bunch of scripting related stuff. 2021-11-25 11:47:31 -05:00
Bart Koppelmans 79f456b598 Fixed BladeBurner getCityCommunities ram cost
With the renamed function, the ram cost was not taken into account.
2021-11-20 21:12:21 +01:00
Olivier Gagnon 632de50a73 convert BN13 to a more conventional one. 2021-11-18 15:38:19 -05:00
Olivier Gagnon ef781a0627 plenty of bf 2021-11-15 23:49:33 -05:00
Olivier Gagnon 43a6521403 more work on bn13 2021-11-13 23:45:26 -05:00
Olivier Gagnon 56ddcd9a45 more work on bn13 2021-11-13 22:44:17 -05:00
Olivier Gagnon 6bd6b3061e rename some stuff and close some exploits 2021-11-12 15:42:57 -05:00
Olivier Gagnon 58d652da54 fix something about covenant sleeve purchases 2021-11-05 21:57:41 -04:00
Olivier Gagnon 14150d3e33 work on making the netscript api tighter 2021-11-03 20:19:52 -04:00
Olivier Gagnon c5fb5155f3 work on making sure all the functions are accounted for 2021-11-03 18:16:10 -04:00
Olivier Gagnon b2bf3fc21f v1 api breaks 2021-11-02 22:11:22 -04:00
Olivier Gagnon d4849cf50f added ram cost for new functions. 2021-10-27 21:13:57 -04:00
Olivier Gagnon 8f097ebb32 v0.58.0 2021-10-27 15:16:16 -04:00
Olivier Gagnon 080b5a4a1f merge dev 2021-10-26 23:11:47 -04:00
Olivier Gagnon c34d53bc14 Added recent scripts subpage of active scripts 2021-10-23 16:04:00 -04:00
Olivier Gagnon dce11f525a fix a few bug 2021-10-22 15:21:10 -04:00
Olivier Gagnon d2f2ab07d7 merge dev 2021-10-15 15:13:48 -04:00
Olivier Gagnon c1d4ced331 autocomplete 2021-10-15 13:12:18 -04:00
Olivier Gagnon 3fddb3c9f2 added atExit 2021-10-14 20:13:26 -04:00
Olivier Gagnon 87c63cde59 merge v0.56.0 2021-10-12 01:35:30 -04:00
Olivier Gagnon 8f13363466 prettier 2021-10-11 16:38:50 -04:00
Olivier Gagnon f9afff57b2 fix ram miscalc 2021-10-09 15:07:42 -04:00
Olivier Gagnon bbf3a1d19a fix server ram recalc 2021-10-08 23:45:54 -04:00
Olivier Gagnon 8d7f0488f8 merge dev 2021-10-07 17:58:32 -04:00
Olivier Gagnon 7d0536a4d2 finish convert to hostname 2021-10-07 17:55:49 -04:00
Olivier Gagnon a7dfb1a537 more convertion from ip to hostname 2021-10-07 16:56:01 -04:00
Olivier Gagnon be29481689 unexport AllServers 2021-10-07 16:04:04 -04:00
Olivier Gagnon 793d9b34ce update BN13 for new UI 2021-09-25 17:21:50 -04:00
Olivier Gagnon 06f716c0fa moved a bunch of files 2021-09-25 14:42:57 -04:00
Olivier Gagnon dc2bf871cf all typescript 2021-09-24 21:49:49 -04:00
Olivier Gagnon ad75fa5ebc convert to ts 2021-09-24 18:13:20 -04:00
Olivier Gagnon 61e3959a25 Improve event emitter 2021-09-18 15:44:39 -04:00