Commit Graph

290 Commits

Author SHA1 Message Date
phyzical bec40e5274 fix compliation error in dev
bugfix/fix-dev-build

File List:
src/NetscriptFunctions.ts
2022-05-25 17:20:32 +08:00
hydroflame 31fe43715e Merge pull request #3743 from fdellwing/patch-1
MISC: Fix #3742 manualHack() should use correct BitNode Multiplier
2022-05-24 20:22:01 -04:00
Olivier Gagnon 972abcbdc8 Wrap all the API 2022-05-24 20:16:39 -04:00
Olivier Gagnon ae38b11ede made static ram cost typecheck that it's missing no property. 2022-05-24 18:34:00 -04:00
Olivier Gagnon 0da2e74d12 more work on wrapping formulas 2022-05-24 17:51:48 -04:00
Fabian Dellwing 4d41d2deaf Fix #3742 2022-05-24 18:28:10 +02:00
hydroflame b80e2d5fd1 Merge branch 'dev' into wrap-api 2022-05-19 01:37:06 -04:00
Undeemiss b3aa0578fb Minor refactor 2022-05-17 15:54:05 -05:00
Undeemiss c01cf85d27 Formatted and linted 2022-05-17 15:25:27 -05:00
Undeemiss 8903cd2a8b Removed closePid(fn, host, ...args) and fixed closePid(pid) 2022-05-17 15:19:35 -05:00
Undeemiss e17fe6f618 closeTail(fn, host, ...args) can now close dead script tails
closeTail(pid) still cannot
2022-05-17 14:46:30 -05:00
Undeemiss 2b9d408b55 First attempt at an implementation; requires script be running 2022-05-17 13:45:30 -05:00
Undeemiss 5526355a43 Set up the skeleton of an ns.closeTail function 2022-05-16 19:15:38 -05:00
Olivier Gagnon c6806caca2 Wrap most of the API 2022-05-07 19:08:07 -04:00
Zoë Hoekstra 5dee4980e0 Add safeguard toggle to ns.killall() 2022-05-04 17:11:08 +02:00
Olivier Gagnon f6e5f719d1 infiltration API fixes. 2022-04-22 17:12:14 -04:00
Olivier Gagnon 9fdfb77dd4 Update infiltrators 2022-04-22 15:30:49 -04:00
phyzical 8e1300d69d Merge branch 'dev' into feature/add-infiltration-faction
# Conflicts:
#	src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
JP Sugarbroad 01d7ac6967 make jQuery use explicit 2022-04-19 16:14:16 -07:00
phyzical 9c23fc89d1 merge base 2022-04-14 21:27:08 +08:00
Olivier Gagnon 62d15ff3a1 rm SourceFileFlags 2022-04-14 01:22:50 -04:00
Chris380 99923e0f62 Update src/NetscriptFunctions.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:58:43 +02:00
chris380 1dac3fea31 fixed formatting + import 2022-04-13 15:54:48 +02:00
Chris380 e0f4ec6594 Update src/NetscriptFunctions.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:47:31 +02:00
phyzical 90d1c22aca changes all references to "heath reduction to damage reduction" 2022-04-13 18:54:13 +08:00
phyzical 6b48ff8f21 merge base 2022-04-13 18:50:42 +08:00
chris380 44c71347d7 formatting 2022-04-13 09:22:46 +02:00
chris380 355d2bd8f9 use minimum of given and maximum threads 2022-04-13 09:19:09 +02:00
chris380 4c113c19eb take into account max threads needed 2022-04-13 09:16:59 +02:00
Olivier Gagnon e1a56f9270 typos 2022-04-13 02:04:51 -04:00
Heinous Tugboat 492c7012ea Renames SnackbarVariant to ToastVariant, adds enum to ns 2022-04-13 01:54:13 -04:00
hydroflame eee8d3e283 Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
hydroflame c8c271a334 Merge pull request #3401 from TheMas3212/feat/wrap-singularity
Wrap Singularity API with wrapper
2022-04-12 20:53:55 -04:00
Olivier Gagnon 52e01fc026 fix a few things about getRecentScritps 2022-04-12 14:45:48 -04:00
hydroflame 68abd27d2c Merge branch 'dev' into add-ns-getRecentScripts 2022-04-12 14:21:18 -04:00
Olivier Gagnon 864816bd22 fix unknown 2022-04-12 13:37:19 -04:00
chris380 fa29d2d9a8 take into account max thread needed 2022-04-12 17:42:49 +02:00
TheMas3212 b2689eaa5a Wrap Singularity API with wrapper
also refactored the RamCosts IMap as it didnt quite work properly due to
how the wrapper calculates function names
2022-04-12 16:51:10 +10:00
Heinous Tugboat 5b96cedd0c Adds SnackbarVariant enum 2022-04-08 23:46:19 -04:00
phyzical c70f59ac54 merge dev 2022-04-07 16:27:23 +08:00
TheMas3212 f0cfc8700a run formater 2022-04-07 10:23:52 +10:00
TheMas3212 ea2b444b87 Initial API Wrapper Work
onlying wrapping Stanek api currently as test sample
(Rebased onto upstream/dev)
2022-04-07 10:23:46 +10:00
hydroflame b6d68f7353 Merge branch 'dev' into bugfix/fix-tests 2022-04-06 20:16:51 -04:00
Olivier Gagnon f05b533af5 fix a few test 2022-04-06 20:08:03 -04:00
Olivier Gagnon 724c0669da sleep/asleep return promise true 2022-04-06 19:38:30 -04:00
phyzical 18af3f8413 moved updateRam to first call to avoid lack of mocks for tests
* added wrapper funcs to simplify updateRam
* added static parser tests and skiped what isnt worker still for next person to try and fix
2022-03-31 21:41:19 +08:00
Jack e11819f0fd Merge branch 'dev' into feature/add-infiltration-faction 2022-03-31 08:09:00 +08:00
Olivier Gagnon 4b8791e329 Fix toast 2022-03-30 18:59:30 -04:00
Olivier Gagnon b0281154fe fix getScriptLogs 2022-03-30 15:29:25 -04:00
Olivier Gagnon 8812451a32 allbuild commit 432c8dd2 2022-03-30 14:14:47 -04:00