Olivier Gagnon
cbb7f58231
Make the main player object an alias, makes it easier to import
2022-10-09 18:42:14 -04:00
Olivier Gagnon
3c03ac4f18
fix fileExists not finding coding contrafcts
2022-10-09 02:57:43 -04:00
Olivier Gagnon
5d4b72e1d1
Added some purchased server functions
2022-10-09 02:32:13 -04:00
Olivier Gagnon
f6f023eeb4
Fix tons of typos
2022-10-09 01:25:31 -04:00
Snarling
068533cd2f
format, lint, more enums, revert fn rename
2022-10-05 14:52:48 -04:00
Snarling
361466b7fa
unasync trywriteport
2022-10-04 07:59:50 -04:00
Snarling
aa80cf6451
See description
...
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings.
Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
2022-10-04 06:40:10 -04:00
Snarling
50f14b4f58
Commit1
2022-10-03 12:12:16 -04:00
Snarling
b682d441e3
better fix for cores check
2022-09-29 00:02:33 -04:00
Snarling
17be0911b2
fix growthAnalyzeSecurity
2022-09-28 23:59:58 -04:00
Snarling
21a2d49de7
Finish removing player passing
2022-09-27 15:35:41 -04:00
Snarling
dc59a10e19
Fix lit files, reallow html alerts
2022-09-27 15:35:40 -04:00
Snarling
824d8db653
simplify/dehardcode failOnHacknetServer
2022-09-27 15:35:39 -04:00
Snarling
572c68738f
Unify error handling
2022-09-27 15:34:47 -04:00
hydroflame
ed14f2a4d7
Merge pull request #4072 from Snarling/exitExits
...
NETSCRIPT: FIX #2376 ns.exit now exits immediately
2022-09-23 00:57:15 -03:00
Zoë Hoekstra
c7573cd97b
Remove unused imports.
2022-09-02 19:19:00 +02:00
Zoë Hoekstra
335eab0f14
tryWritePort now also uses helper function
2022-09-02 19:14:56 +02:00
Zoë Hoekstra
ec81fb60c3
Create ports on demand. Increase max to infinity.
2022-09-01 16:13:10 +02:00
Snarling
137f58c36d
actually exitOnExit
2022-09-01 08:37:59 -04:00
Snarling
1be015898c
exitExits
2022-09-01 08:23:31 -04:00
Olivier Gagnon
c9a0998cc1
Improve wrong arg user message and add ui.windowSize
2022-08-29 18:07:17 -04:00
Snarling
ef1f376c09
format, lint, remove unused "running" property on ws
2022-08-27 22:32:48 -04:00
Snarling
6f36e9cdc5
Fix/Unify NS1 wrapper
2022-08-27 20:56:12 -04:00
Snarling
bba9317ef6
incorporate read changes
2022-08-24 18:42:42 -04:00
Snarling
4d47785f28
Fix ns documentation for scp and write
2022-08-23 22:06:05 -04:00
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