Commit Graph

5090 Commits

Author SHA1 Message Date
zeddrak 4d0a5a43c0 Made hack log msg consitent with grow and weaken
Changed hack log message from "executing target" to "executing on target".
This makes it consistent with grow and weaken; and reads better as well.
2022-01-12 05:58:12 -08:00
Andriy Mykhaylyk 4511078477 change defs 2022-01-12 13:52:36 +01:00
Andriy Mykhaylyk d2ea934c8e change defs 2022-01-12 13:51:21 +01:00
Max Strübing 2cdc2af678 chore: add missing t for AchievementData 2022-01-12 09:20:32 +01:00
Jeffrey A. Robinson 3b765b2865 Ensure INetscriptHelper number function handles NaN 2022-01-11 22:24:03 -08:00
Jeffrey A. Robinson 664e99e3de Ensure that we leave focus when we call stopAction or cancel working 2022-01-11 21:08:15 -08:00
Martin Fournier 16f7058e53 Fix duplicate previous pages 2022-01-11 21:49:10 -05:00
Martin Fournier 9d0a63734d Add details to work in overview
Add a reusable component for the focus section, add a bit of details &
some styling.
2022-01-11 20:46:34 -05:00
hydroflame e9db656e13 Merge pull request #2573 from nickofolas/unfocus-tooltips
Add tooltips to unfocused work
2022-01-11 19:07:22 -05:00
nickofolas a41104f51a Add tooltips to unfocused work 2022-01-11 17:46:59 -06:00
hydroflame 979d785af6 Merge pull request #2572 from nickofolas/fix-relative-autocomplete
Fix autocomplete in directories
2022-01-11 18:20:45 -05:00
nickofolas 5764b783de Fix autocomplete in directories 2022-01-11 17:04:14 -06:00
TheMas3212 562d4ee800 Add ErrorBoundary component to catch rendering error and redirect to recovery page
also add softreset button on recovery page
2022-01-12 09:43:58 +11:00
hydroflame b7fb59691b Merge pull request #2570 from MartinFournier/feature/save-exclude-running-scripts
Add option to exclude running scripts from save
2022-01-11 17:24:53 -05:00
hydroflame 97e0b536a5 Merge pull request #2564 from MartinFournier/fix/clear-history-augs
Move router.clearHistory() to prestigeAugmentation
2022-01-11 17:23:57 -05:00
hydroflame a852454e6d Merge pull request #2566 from deathly809/feature/analyze_reports_backdoor
Analyze now outputs if a server has a backdoor installed or not
2022-01-11 17:23:50 -05:00
Martin Fournier b22eb58aba Add option to exclude running scripts from save 2022-01-11 16:48:00 -05:00
Jeffrey A. Robinson b5392df7a9 Analyze now outputs if a server has a backdoor installed or not 2022-01-11 13:03:23 -08:00
Martin Fournier b169406f8c Move router.clearHistory() to prestigeAugmentation
So it triggers with soft-resets as well.
2022-01-11 15:47:13 -05:00
hydroflame ff2f8849fa Merge pull request #2561 from Feodoric/hacknet-server-cheevos
Hacknet server achievements
2022-01-11 14:29:50 -05:00
hydroflame 72841d5d09 Merge pull request #2563 from Feodoric/hacknet-node-production-highlight
Hacknet node production doesn't display with unbuyable style
2022-01-11 14:29:24 -05:00
Russell Stringer d0394a4bd9 Hacknet node production doesn't display with unbuyable style
Fixes #1890
2022-01-11 13:55:49 -05:00
Russell Stringer f59a145965 Hacknet server achievements grant associated hacknet node achieve
fixes #1905

Added a new property to the Achievement interface to contain a list
of additional achievements that should be granted when an achievement's
conditional passes.

Right now this is only used to unlock the 4 hacknet node achieves
when the corresponding hacknet server achievement is awarded.

This branch also changes the calculateAchievements function so it
only runs the conditionals for achievements the player doesn't have,
instead of checking all of them and then filtering out the unowned.
2022-01-11 13:45:36 -05:00
hydroflame 27a09cfbed Merge pull request #2559 from MartinFournier/fix/root-height
Fix root min-height being over 100vh with padding
2022-01-11 13:08:15 -05:00
Martin Fournier 4bd67113c1 Fix root min-height being over 100vh with padding
It was causing a very small scrollable content.
2022-01-11 12:58:27 -05:00
Russell Stringer c941ec2ba6 only check cheevo conditional if player is missing it 2022-01-11 12:42:20 -05:00
Olivier Gagnon ea2f53e3b4 fix bug of quiting for currently working faction 2022-01-11 12:31:37 -05:00
hydroflame fa0f5cb451 Merge pull request #2558 from Feodoric/autocomplete-with-no-leading-slash
Fixes autocomplete for scripts in directory without using leading slash
2022-01-11 12:10:56 -05:00
Russell Stringer 26ef94b062 Fixes autocomplete when running script in a directory without using leading slash
Fixes #1681
2022-01-11 12:05:32 -05:00
hydroflame 0bbe060074 Merge pull request #2539 from theit8514/export-from-import
Expand support for Export declarations with source parameters
2022-01-11 11:17:39 -05:00
hydroflame 7207e6db11 Merge pull request #2542 from daanflore/dev
NetscriptDefinition.d.ts correcting based on code
2022-01-11 11:15:35 -05:00
hydroflame 9da46668c7 Merge pull request #2544 from nickofolas/autocomplete-partial-executable
Autocomplete partial executables
2022-01-11 11:13:45 -05:00
hydroflame 923dbdc9d1 Merge pull request #2549 from markusariliu/patch-1
clarify error
2022-01-11 11:13:17 -05:00
hydroflame 2b3b460588 Merge pull request #2553 from MartinFournier/fix/mem-padding
Fix mem padding when using GiB
2022-01-11 11:13:04 -05:00
hydroflame ffb6a77d6a Merge pull request #2552 from dcragusa/dev
Fix a couple typos
2022-01-11 11:12:53 -05:00
hydroflame 615e9ff168 Merge pull request #2554 from MartinFournier/feature/add-router-previous
Add toPreviousPage in router
2022-01-11 11:12:42 -05:00
hydroflame f0204fe704 Merge pull request #2556 from MartinFournier/fix/electron-open-file
Prevent external files to be opened by electron
2022-01-11 11:11:46 -05:00
Martin Fournier 63413a646a Prevent external files to be opened by electron 2022-01-11 11:04:58 -05:00
Martin Fournier b0bc3236fd Add toPreviousPage in router
- Allows the WorkInProgress cancel & unfocus to go back to the previous
page instead of a default one.
- Change layout of overview buttons
- Add a back button in the overview, only visible in pages with a
sidebar
- Clear the history on augmentation install & on prestige
2022-01-11 09:38:52 -05:00
Martin Fournier 25839d592d Fix mem padding when using GiB 2022-01-11 05:12:59 -05:00
David Ragusa 77c76144df fix typo 2022-01-10 23:17:14 -08:00
David Ragusa e033670a35 fix typo 2022-01-10 23:15:59 -08:00
markusariliu bb85568cbf clarify error
The error message for running multiple instances of the same script with the same args should be updated to clarify that the args is the issue not just the multiple instances
2022-01-10 21:54:38 -08:00
smolgumball c8db709287 Add hostname safety 2022-01-10 21:00:52 -07:00
smolgumball 358f5ee8ee Add simple clickable links to ls command
Only supports `nano` as I couldn't figure out how to infer `vim`
support without an explicit `nano` or `vim` command being run.
2022-01-10 20:40:02 -07:00
nickofolas 5cd7e2cfbc Add support for contract completion 2022-01-10 16:39:06 -06:00
nickofolas 8c001bd1ae Allow autocomplete for partial executables 2022-01-10 16:32:50 -06:00
daan flore 0d006d0a64 Adding correct type to getPortHandle function 2022-01-10 22:49:42 +01:00
daan flore 66fbec5365 Cleanup of code 2022-01-10 22:33:50 +01:00
daan flore 51edac414e Adding IPort interface and correcting return value of getPortHandle in NetscriptDefinitions file 2022-01-10 22:31:30 +01:00