Commit Graph

384 Commits

Author SHA1 Message Date
hydroflame 849046df3a Merge pull request #3985 from Snarling/synchronize
NETSCRIPT: ns.scp and ns.write are now synchronous + fix exec race condition
2022-08-23 12:25:24 -03:00
hydroflame ed76c5e15d Merge pull request #4019 from MageKing17/patch-4
API: All the player sub-objects need to be copied for `getPlayer`.
2022-08-23 12:07:34 -03:00
MageKing17 80aafc7d48 All the player sub-objects need to be copied.
Not just `mults`. Also, `hacking_chance_mult` still being at the base level appears to be a mistake.
2022-08-21 12:22:58 -07:00
Snarling 823cdf70ca Fix compile race conditions 2022-08-19 18:21:31 -04:00
Roman Ivaniuk 5c0c130b4b 3992 Fix: handle null duration in toast ns function
extend SnackbarEvents typing to allow null in third argument
also remove typos in Electron.tsx init functions comments
2022-08-19 14:38:46 +03:00
Snarling 07e9cb9277 refactor scp function 2022-08-17 20:31:26 -04:00
Snarling f6a8d5d337 synchronize scp and write 2022-08-17 18:55:12 -04:00
Snarling 95a1c18139 synchronize write and scp 2022-08-17 17:11:59 -04:00
Snarling b433c366d7 performance update 2022-08-09 19:10:55 -04:00
Snarling c6cb4ca033 Type correctness 2022-08-09 19:02:33 -04:00
Snarling 648b7e84bf Some cleanup 2022-08-09 18:09:26 -04:00
Snarling 931ea730a5 Move entire ns object to top-level 2022-08-09 18:09:26 -04:00
Snarling 01e63b10a1 move ctx.log to NetscriptHelpers 2022-08-09 18:09:26 -04:00
Snarling 208495e269 Initial commit 2022-08-09 18:09:24 -04:00
Snarling 3a2e676c9b Move error functionality to new wrapper 2022-08-09 18:09:24 -04:00
Olivier Gagnon 07c7f0641a allbuild commit c8440ef2 2022-07-28 14:35:55 -04:00
Olivier Gagnon 315b2adf30 Make invalid hostname better 2022-07-27 00:59:43 -04:00
Olivier Gagnon 326d9fd7ef Move player skills and exp to their struct 2022-07-26 23:54:17 -04:00
Olivier Gagnon faa3e212f3 fix a bunch of small v2 related bugs 2022-07-26 08:08:51 -04:00
Olivier Gagnon 631d6ef04a fix few bugs 2022-07-21 18:27:23 -04:00
Olivier Gagnon 43b8cfec5c fix test suite 2022-07-21 02:13:47 -04:00
Olivier Gagnon d01fd55bde lint fmt 2022-07-21 01:58:47 -04:00
Olivier Gagnon ec17cfdaf3 merge corp not async 2022-07-20 17:27:11 -04:00
Olivier Gagnon 94aa547459 more api break sad 2022-07-20 15:14:26 -04:00
Olivier Gagnon e0a24cf381 fix args not beign passed to scripts 2022-07-20 11:34:49 -04:00
Olivier Gagnon 28b9c821d2 fix few as any 2022-07-20 02:36:21 -04:00
Olivier Gagnon 49f6fda1e4 remove last colon any for now 2022-07-20 01:48:54 -04:00
Olivier Gagnon ceb9fa1249 fix more any 2022-07-20 01:13:06 -04:00
Olivier Gagnon 30291f7899 build fix for player in formulas 2022-07-19 23:05:46 -04:00
Olivier Gagnon 70d5390e4d most anys in NetFunc 2022-07-19 19:04:06 -04:00
Olivier Gagnon c3a10d5d95 fix more anys 2022-07-19 18:25:06 -04:00
Olivier Gagnon 2442402af5 fix more anys 2022-07-19 16:46:03 -04:00
Olivier Gagnon bb8af88b77 prep v2 2022-07-19 14:21:12 -04:00
Olivier Gagnon 4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon 5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
Olivier Gagnon fac6633347 remove so many fields and values used by the old system 2022-07-12 23:13:40 -04:00
Olivier Gagnon f7805c4a51 convert faction work to new work system 2022-07-12 01:54:19 -04:00
Olivier Gagnon 606f1bf6c4 create program and grafting done 2022-07-10 01:37:36 -04:00
Olivier Gagnon 647392626e convert taking class ot new work system 2022-07-07 17:28:23 -04:00
Olivier Gagnon 3ee7d593d0 Convert crime to new work model 2022-07-07 02:00:23 -04:00
Staszek Welsh 02b07bb332 Fix relevant linter errors and run formatter 2022-06-02 22:54:50 +01:00
Olivier Gagnon 00adc2ffa2 allbuild commit ddf4ab26 2022-05-26 00:34:30 -04:00
hydroflame bef953bf59 Merge pull request #3758 from danielyxie/api-wrap
Fix a few bugs related to api wrapping
2022-05-25 11:12:38 -04:00
Olivier Gagnon 4dd7afac9d allbuild commit 252b0a30 2022-05-25 11:10:25 -04:00
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