Snarling
3a139518d8
unified errors
2022-09-27 15:53:45 -04:00
Snarling
ba1a10b4f7
Unify error handling
2022-09-27 15:46:34 -04:00
Snarling
7d37736058
unified errors
2022-09-27 15:35:39 -04:00
Snarling
8d0347577d
Less hardcoding
2022-09-27 15:34:48 -04:00
Snarling
74be61cbdd
remove unnecessary return
2022-09-27 15:34:48 -04:00
Snarling
ad356cf28f
format/lint
2022-09-27 15:34:48 -04:00
Snarling
572c68738f
Unify error handling
2022-09-27 15:34:47 -04:00
Snarling
5798c4c7d3
Unify error handling
2022-09-27 15:32:09 -04:00
Snarling
21f7b7ad06
Fix ns1 Wrapper
2022-09-27 00:03:16 -04:00
Olivier Gagnon
2a0dd6b6f8
Minor improvements to Netscript Port loading and unloading
2022-09-22 23:55:16 -04:00
hydroflame
0044761fd3
Merge pull request #4073 from Hoekstraa/unlimited-ports
...
API: More ports (previously max 20, now practically unlimited)
2022-09-23 00:51:50 -03:00
Snarling
a600e05c0d
Fix typo
2022-09-05 08:29:03 -04:00
Snarling
51d019c16c
Decache Ram on Tail Run
2022-09-05 08:19:24 -04:00
Zoë Hoekstra
d6e5b45db1
Delete now outdated comment
2022-09-01 16:53:58 +02:00
Zoë Hoekstra
55df97d3d5
Format
2022-09-01 16:27:31 +02:00
Zoë Hoekstra
ec81fb60c3
Create ports on demand. Increase max to infinity.
2022-09-01 16:13:10 +02: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
Olivier Gagnon
5f41226c21
Fix scp and write in ns1
2022-08-26 17:49:27 -04:00
Snarling
648b7e84bf
Some cleanup
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
2d522ea1e6
allbuild commit e9254edf
2022-07-21 15:09:55 -04:00
Olivier Gagnon
1b90b42881
rm more any
2022-07-18 02:28:21 -04:00
Olivier Gagnon
5b8eea66d4
rm some any
2022-07-15 23:34:27 -04:00
Olivier Gagnon
59e55de9ca
fix all function being async lmao
2022-07-15 02:11:06 -04:00
Olivier Gagnon
4bee746576
rm any
2022-07-15 01:51:30 -04:00
Snarling
99a0337a14
Dirty fix for available ram float errors
...
1MB added to available ram when checking if available is sufficient. All actual ram values in game are a multiple of 50MB so an extra 1MB can't ever allow additional script load to be ran.
2022-05-06 08:56:19 -04:00
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