Olivier Gagnon
a11e2868df
fmt
2022-04-11 21:45:55 -04:00
hydroflame
a17b81dff3
Merge pull request #2925 from Ornedan/necro-script-fix
...
Necro script fix
2022-04-11 21:36:07 -04:00
TheMas3212
433873c5e2
run formater
2022-04-12 08:27:53 +10:00
TheMas3212
8d5632eb3e
fix netscript wrapper to wrap all functions, not just the top level
2022-04-12 08:20:34 +10:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00
Heikki Aitakangas
a6710eb3e5
No need to return WorkerScript from startNetscript*Script promises, their only calling function already has the correct object in a variable
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
cbd59975d4
makeRuntimeRejectMsg expects the 'msg' to be string-like
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a578763b89
Use a dedicated ScriptDeath type to signal script termination instead of WorkerScript
...
Problem with throwing WorkerScript is that the termination signal object can pass
through user code, which permits user to modify that object and all parts of the
game state accessible through it.
2022-04-02 23:28:21 +03:00
hydroflame
8506dcfed5
Merge pull request #3115 from ApamNapat/remove_unreachable_code
...
Removed unreachable code
2022-03-20 21:46:23 -04:00
BB
9c9550ad42
Removed unreachable code
2022-03-20 19:33:10 +01:00
Master-Guy
7ec1ced729
dialogBox+stop on NS1 async function throw
2022-03-19 18:21:18 +01:00
BB
4eb59ac70c
Turned on no-useless-concat lint and fixed it in code
2022-03-16 20:44:52 +01:00
Olivier Gagnon
d0a44a6088
change asleep
2022-01-18 18:57:43 -05:00
Olivier Gagnon
05cbc25a8f
1.4
2022-01-18 14:03:24 -05:00
nickofolas
ab841f7530
Refactor for ... in
loops
2022-01-15 18:45:03 -06:00
TheMas3212
440d9e4978
Clear Netscript ports on augment install / soft reset / bitnode change
2022-01-09 13:43:52 +11:00
Martin Fournier
71487337cb
Check if running script is null before offlineProd
2022-01-08 09:13:25 -05:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
Olivier Gagnon
383e56e9c8
floor thread count
2021-12-29 02:51:41 -05:00
Hedrauta
8aae2c9b7f
fix typo for #2206
2021-12-28 03:54:04 +01:00
Martin Fournier
9ce8bdd29b
Add dialog when app is unresponsive to reload
...
Checks the electron event 'unresponsive' and triggers a reload / cancel
dialog. Allows all scripts to be killed, checked by default.
Also adds a warning to the terminal when noScript has been executed.
2021-12-22 15:14:03 -05:00
Olivier Gagnon
e9886cc6bc
fix uncaught promise
2021-12-20 13:57:07 -05:00
Olivier Gagnon
5b38ee3cfb
fix undying script bug
2021-12-14 19:39:55 -05:00
Olivier Gagnon
4d80813707
bugfix
2021-12-14 15:56:11 -05:00
Olivier Gagnon
de9fb24156
Fix scripts dying of weird causes.
2021-12-13 22:26:22 -05:00
Olivier Gagnon
7d6947ee01
fix unknown script die for known reason
2021-12-12 14:57:44 -05:00
Olivier Gagnon
dea8abef1d
better error message for bad args
2021-12-12 13:30:28 -05:00
Olivier Gagnon
d4ebc46a19
merge dev
2021-12-03 15:35:45 -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
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
56ddcd9a45
more work on bn13
2021-11-13 22:44:17 -05:00
Olivier Gagnon
fd8be890aa
revert omuretsu fix
2021-11-13 20:39:16 -05:00
Olivier Gagnon
61a51519eb
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-11-13 19:35:37 -05:00
Olivier Gagnon
badba2eb1b
fix scp and write in ns1
2021-11-13 19:33:37 -05:00
Snarling
b0f7fdca44
Fix error throwing for unknown errors
...
Fix error throwing for unknown errors.
This should prevent unknown script/unknown error message and allow players to see custom errors that they throw.
2021-11-13 09:52:17 -05:00
Olivier Gagnon
eb6f016ac1
fix corp softcap
2021-11-05 21:01:23 -04:00
Olivier Gagnon
d83650c3bc
speed up ns1
2021-11-05 14:32:21 -04:00
Olivier Gagnon
b2bf3fc21f
v1 api breaks
2021-11-02 22:11:22 -04:00
Olivier Gagnon
8ab9a27966
fix ram miscalc
2021-10-27 18:55:06 -04:00
Olivier Gagnon
080b5a4a1f
merge dev
2021-10-26 23:11:47 -04:00
Olivier Gagnon
dce11f525a
fix a few bug
2021-10-22 15:21:10 -04:00
Olivier Gagnon
c4f59d4129
throw error when trying to pass non-string or number to other scripts
2021-10-18 14:29:43 -04:00
Olivier Gagnon
3e3aa1a0fe
merge dev
2021-10-15 21:39:53 -04:00
Olivier Gagnon
45c46ce2a0
fix exploit that enabled IPC
2021-10-15 19:13:05 -04:00
Olivier Gagnon
d2f2ab07d7
merge dev
2021-10-15 15:13:48 -04:00
Olivier Gagnon
6b114fab7d
remove unused stuff
2021-10-14 18:45:50 -04:00
Olivier Gagnon
eb846c1318
merge dev
2021-10-14 02:12:15 -04:00
Olivier Gagnon
e436d7f3a0
up to date omg
2021-10-13 02:27:55 -04:00