Terrana
f2c4109211
Add ns.printf function
...
Behaviour is consistent with that of tprintf versus tprint and
should be equivalent to ns.print(ns.sprintf(...))
2022-01-21 12:08:47 +00:00
Olivier Gagnon
07fe3c1906
update scam msg
2022-01-20 23:53:33 -05:00
Olivier Gagnon
a3c599e6c5
update to prevent scam
2022-01-20 23:43:19 -05:00
nickofolas
1a8a24587f
Ensure that the proper editor is updated by syncing
2022-01-20 17:45:54 -06:00
Martin Fournier
5c0d76828f
Add ID to ThemeEditorButton
2022-01-20 18:43:36 -05:00
Martin Fournier
a26b9c8dcf
Add theme browser page accessible from game options
...
Removed the themes buttons that were in the ThemeEditorModal and only
left a "Revert to Default" button along with a link to the ThemeBrowser
page.
Split off the buttons into reusable components since they are now used
in two pages.
Display the themes in big cards with a zoomable screenshot. Applying the
theme now shows a toast with an option to undo the action.
The snackbar now allows ReactNode instead of only strings.
- Add link with details on how to create a new theme in the game.
- Add link to the theme-sharing discord channel.
- Add icons to the theme & style buttons in GameOptions
- Add "Theme Editor" button to ThemeBrowser
- Add "Style Editor" button to ThemeBrowser
- Move Styles related files into Themes folder
- Includes a modal that shows a bigger version of the screenshot.
- Change Snackbar to allow for ReactNode as the message
2022-01-20 18:41:49 -05:00
Martin Fournier
61d6e43b37
Add theme screenshots & make some fields required
...
- Description, Name & Author is now mandatory
- Add screenshots
- Add dist/images to electron build
2022-01-20 18:41:49 -05:00
Martin Fournier
a9e2e35446
Move theme related things into its own subfolder
...
This will make contributions easier and less prone to conflicts.
2022-01-20 18:41:48 -05:00
Martin Fournier
aae3851d59
Add webpack file-loader to handle images
...
It lets us bundle static files such as images.
Allows us to `imports img from "./img.png"` to retrieve an image's path.
Note that we'll have to add other entries in the global.d.ts file if we
want to handle other extensions than .png.
Adds mocks to Jest tests so that we don't fail tests when loading static
assets.
2022-01-20 18:41:48 -05:00
nickofolas
a5ad97f47d
Remove unnecessary editor code
2022-01-20 17:28:19 -06:00
nickofolas
99ef71de4a
Update prompt message content
2022-01-20 17:14:38 -06:00
SagePtr
32ba81883f
Force achievements recalculation on bitnode completion
2022-01-21 00:04:47 +02:00
nickofolas
bc50f5180a
Refactor
2022-01-20 15:48:17 -06:00
nickofolas
b4a78c26f3
Implement editor tab actions
2022-01-20 15:48:16 -06:00
Olivier Gagnon
f7d18efaf6
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-20 16:14:35 -05:00
Olivier Gagnon
77f525c98c
rm blob caching
2022-01-20 16:11:48 -05:00
hydroflame
ca7b8068ea
Merge pull request #2713 from JohnnyUrosevic/dev
...
Change "import" to "important" in hackers-starting-handbook.lit
2022-01-20 12:24:45 -05:00
Martin Fournier
6e908814db
Add game version in document.title
...
Also add [dev] prefix when in development mode.
2022-01-20 09:26:07 -05:00
Xi-Lin Yeh
4a3ee95b63
Enhanced API Server interface
...
- Used restful patterns for handling server calls (GET/PUT/DELETE)
- Utilized Server interface for saves rather than reimplementing code
- Exposed operations for getting codebase of scripts on the home server and deleting files.
- Added a common response structure
2022-01-20 00:03:07 -08:00
Johnny Urosevic
81db1b0a97
Change "import" to "important"
2022-01-19 13:00:59 -08:00
pigalot
5c7ac9ab8e
Fix for corp product cost
2022-01-19 18:44:48 +00:00
lethern
61cea12ca2
purchaseServer: improved error message for ram > maxRam
2022-01-19 19:09:33 +01:00
Sage Pointer
5fc7993dff
Remove console spamming from CalculateShareMult
2022-01-19 02:47:51 +02:00
phyzical
71ac4aacf1
updated buyback and sells functions docs
2022-01-19 08:25:12 +08:00
Olivier Gagnon
53727f6222
typo
2022-01-18 19:20:16 -05:00
Olivier Gagnon
69cf98ff34
doc
2022-01-18 19:12:52 -05:00
Olivier Gagnon
d2ec38753b
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-18 18:59:17 -05:00
Olivier Gagnon
d0a44a6088
change asleep
2022-01-18 18:57:43 -05:00
hydroflame
bb34d6b582
Merge pull request #2618 from pigalot/Corp-Api-Updates
...
Corp api updates
2022-01-18 18:05:23 -05:00
hydroflame
b6f514dd4d
Merge pull request #2693 from nickofolas/fix/body-background
...
Use background primary for `<body>`
2022-01-18 17:50:49 -05:00
hydroflame
7bebc86b11
Merge pull request #2684 from nickofolas/improvement/script-editor
...
Script Editor Improvements
2022-01-18 17:49:07 -05:00
nickofolas
eb7a0ebace
Use background primary before #000000 for body
2022-01-18 16:15:36 -06:00
hydroflame
ae83eeacb7
Merge pull request #2689 from nickofolas/fix/singularity-focus
...
Fix Singularity focus arg issues
2022-01-18 17:00:12 -05:00
Olivier Gagnon
05cbc25a8f
1.4
2022-01-18 14:03:24 -05:00
lethern
1dcae1aeec
Update NetscriptDefinitions.d.ts
...
grow/weaken/hack: removed threads part from example - confuses newbies
2022-01-18 16:15:40 +01:00
nickofolas
2d38ce8f72
Fix focus arg for sing functions
2022-01-18 08:49:06 -06:00
nickofolas
89fd54698b
Fix ns.setFocus
2022-01-18 08:20:58 -06:00
nickofolas
258a1b262e
Update options button
2022-01-17 17:20:38 -06:00
lethern
bb6c2cd79e
Update NetscriptFunctions.ts
2022-01-17 23:53:44 +01:00
nickofolas
a9314f2447
Show N/A when editing a txt file
2022-01-17 16:44:55 -06:00
nickofolas
c41cd68a8d
Add modal to editor with RAM details
2022-01-17 16:32:45 -06:00
nickofolas
c1b777733f
Improve clarity of editor tabs
2022-01-17 15:14:07 -06:00
hydroflame
c5089ab82a
Merge pull request #2664 from MartinFournier/feature/recovery
...
Add information to the recovery page
2022-01-17 16:05:00 -05:00
hydroflame
1d83247f8d
Merge pull request #2671 from gianfun/fix_ns_tail_behavior
...
Fix ns.tail() behaviour for multiple calls
2022-01-17 16:01:34 -05:00
hydroflame
25112acefb
Merge pull request #2654 from SlyCedix/bounded-logs
...
Bound log windows to screen
2022-01-17 16:01:16 -05:00
hydroflame
27a54217eb
Merge pull request #2653 from nickofolas/fix/refactor-loops
...
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00
hydroflame
f591935757
Merge pull request #2655 from SagePtr/patch-1
...
Fix "travel" achievement icon
2022-01-17 15:56:44 -05:00
hydroflame
574c541b2e
Merge pull request #2656 from SagePtr/patch-2
...
Minor fix to growth parameter description
2022-01-17 15:56:35 -05:00
hydroflame
8df950721c
Merge pull request #2657 from theit8514/grandparent-script-cache
...
Remove dependents from cache when dependency updated
2022-01-17 15:56:06 -05:00
hydroflame
ef89c2eb1d
Merge pull request #2660 from nickofolas/fix/extraneous-br
...
Remove extraneous line breaks from buttons
2022-01-17 15:55:51 -05:00
hydroflame
247c02856a
Merge pull request #2658 from smolgumball/clickable-ls-style-tweak
...
Fix issues with timestamps on same line as clickable script rows in `ls`
2022-01-17 15:55:22 -05:00
hydroflame
b5357ec04e
Merge pull request #2665 from MartinFournier/feature/ns-ui-getgameinfo
...
Add ns.ui.getGameInfo() to retrieve game version
2022-01-17 15:53:43 -05:00
hydroflame
abef252547
Merge pull request #2666 from MartinFournier/fix/dupe-cost
...
Remove duplicated 'cost' keyword for RAM cost.
2022-01-17 15:53:31 -05:00
hydroflame
5344548740
Merge pull request #2668 from MartinFournier/fix/locked-shortcuts
...
Shortcuts now check to see if feature is unlocked
2022-01-17 15:53:18 -05:00
hydroflame
4e5f05d269
Merge pull request #2667 from MartinFournier/fix/hash-cache-achievement
...
Add check for hash capacity > 0 for MAX_CACHE
2022-01-17 15:52:42 -05:00
hydroflame
b58a2c3cd5
Merge pull request #2674 from nickofolas/fix/help-format-fix-merge
...
Fix formatting lost in merge commit
2022-01-17 15:52:28 -05:00
hydroflame
2a8a958a7a
Merge pull request #2673 from MartinFournier/feature/sidebar-collapsed-tooltip
...
Add tooltips on sidebar icons when collapsed
2022-01-17 15:52:13 -05:00
hydroflame
a9a2764d62
Merge pull request #2672 from MartinFournier/fix/sidebar-stays-collapsed
...
Keep the sidebar opened or closed on reload
2022-01-17 15:52:01 -05:00
hydroflame
cd372c7a55
Merge pull request #2676 from TheMas3212/fix-2675
...
Add Formulas.exe on start of bitnode 5
2022-01-17 15:51:27 -05:00
hydroflame
cdb73319b2
Merge pull request #2679 from MartinFournier/fix/job-shortcut
...
Change job shortcut test to match sidebar item
2022-01-17 15:50:58 -05:00
hydroflame
facca0c2e3
Merge pull request #2680 from attrib/patch-2
...
Fix formatting of respect needed on gang UI
2022-01-17 15:50:24 -05:00
theit8514
31ebdbb139
Handle 'export default' in static RAM calculation
2022-01-17 13:16:03 -05:00
theit8514
423efe19e1
Remove dependents from cache when dependency updated
2022-01-17 12:02:00 -05:00
Karl Fritsche
c638b51e50
Fix formatting of respect needed on gang UI
2022-01-17 15:18:19 +01:00
Martin Fournier
82fe86820f
Change job shortcut test to match sidebar item
...
I switched it to match the same condition as the sidebar menu item,
which checks for player.companyName, which should be set to the latest
company the player worked at. This can prevent a crash loading the jobs
page with an invalid companyName.
This fixes a problem a user had where the player.companyName was empty
while actually items in player.jobs, but I could not figure out how
to replicate. It may have had something to do with part-time jobs.
2022-01-17 08:08:33 -05:00
phyzical
dd47a8baa0
throw error without bulk purchase reasearch
2022-01-17 20:00:19 +08:00
phyzical
6f2924dc0d
generated docs
2022-01-17 18:24:42 +08:00
phyzical
d50e199171
added buybackShares, sellShares and bulkPurchase
2022-01-17 18:03:29 +08:00
phyzical
b742fae1c6
Bugfix for creating products in invalid industries
2022-01-17 17:58:09 +08:00
TheMas3212
0ba4f07a34
Add Formulas.exe on start of bitnode 5
...
fixes #2675
2022-01-17 17:30:50 +11:00
nickofolas
7a31b19c88
Fix formatting lost in merge commit
2022-01-16 20:40:11 -06:00
Martin Fournier
490da6d374
Add tooltips on sidebar icons when collapsed
2022-01-16 17:11:12 -05:00
Martin Fournier
f9daf5df64
Keep the sidebar opened or closed on reload
...
Previously, going to a full-width page and heading back to the terminal would default the sidebar to its opened state regardless of what it was before.
Now it stores it in the GameRoot's state and also in the Settings so
that it persists over reloads.
2022-01-16 17:00:06 -05:00
Gian P
e38010a9a4
Revert "Logs button reopens log window"
...
This reverts commit 01efd372e95628d419575ade0e6536a458fd61d2.
2022-01-16 18:21:02 -03:00
Martin Fournier
a03e47593f
Shortcuts now check to see if feature is unlocked
...
The sidebar now checks if the Player has unlocked the features before using the router to head to the new page.
- Check added for Bladeburner
- Check added for Gangs
2022-01-16 11:31:52 -05:00
Martin Fournier
da7f161e45
Add check for hash capacity > 0 for MAX_CACHE
...
Achievement would trigger as soon as you entered the node as the
capacity was 0.
It looks like this fix was lost in a merge resolution (see PR #2459 )
2022-01-16 11:20:15 -05:00
pigalot
d34d720ab9
Office Size Upgrade Cost
2022-01-16 16:12:03 +00:00
pigalot
2246dd7fe6
Update src/ScriptEditor/NetscriptDefinitions.d.ts
...
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-01-16 16:12:00 +00:00
pigalot
416c4ad619
swap if for Math.min
2022-01-16 16:12:00 +00:00
pigalot
4f391682b7
Fix for unneeded extra =
2022-01-16 16:12:00 +00:00
pigalot
bd20f16a2d
Fix for AI Cores in smart supply
2022-01-16 16:12:00 +00:00
pigalot
4562102448
Fix for js docs
2022-01-16 16:11:32 +00:00
pigalot
62f40b3dc1
Add bribe
2022-01-16 16:11:32 +00:00
pigalot
ea88f5f150
spelling mistake
2022-01-16 16:11:32 +00:00
pigalot
1b1dc20c16
fix error message
2022-01-16 16:11:32 +00:00
pigalot
6533913b3b
add docs for create corp self fund
2022-01-16 16:11:32 +00:00
pigalot
19ecda1607
Fix doc bug
2022-01-16 16:11:32 +00:00
pigalot
1384b86810
Added better job assignment function, and fix docs
2022-01-16 16:11:32 +00:00
pigalot
abdc786403
prevent DreamSense from pushing over max
2022-01-16 16:11:32 +00:00
pigalot
e245cc471a
Prevent awareness and pop going over max
2022-01-16 16:11:31 +00:00
pigalot
98e8910c3a
Research func, gopublic function, and validation
2022-01-16 16:11:31 +00:00
pigalot
2269f79b15
Add investments to the api
2022-01-16 16:11:31 +00:00
pigalot
1b8c715a5e
Add costs and count function for ads
2022-01-16 16:11:31 +00:00
pigalot
42d767b443
Fix Bug with smart supply leftovers
2022-01-16 16:11:31 +00:00
pigalot
74019bc2be
Make list of divisions accessable on the corp
2022-01-16 16:11:31 +00:00
pigalot
360b8d8d16
Add has corp to the api player object
2022-01-16 16:11:31 +00:00
pigalot
2cfa589da6
Prevent seed money outside of 3
2022-01-16 16:11:31 +00:00
pigalot
e2bb76ae6d
Add createCorp
2022-01-16 16:11:31 +00:00
pigalot
bea6b0e0b1
Fix create corp text
2022-01-16 16:11:31 +00:00
pigalot
8729b54a9c
Make 3.3 unlock all corp APIs
2022-01-16 16:11:31 +00:00
Martin Fournier
739294da1d
Remove duplicated 'cost' keyword for RAM cost.
...
Only some of the entries had this, so I assume they were introduced by a bad find & replace.
2022-01-16 10:51:34 -05:00
Martin Fournier
07403eaaaa
Add ns.ui.getGameInfo() to retrieve game version
...
Returns { version, commit, platform }
2022-01-16 10:49:01 -05:00
Martin Fournier
65964c84b2
Add information to the recovery page
...
Adds error & environment information to the recovery page when
available. The info will be displayed when the error boundary catches an error only.
Otherwise, does a few minor tweaks to the UI of the page.
- Add DevPage button to throw an uncaught error to go into recovery
- Add "Delete Save" button in recovery from Game Options (refactored into its own
component)
- Use "Soft Reset" button from Game Options (refactored into its own
component)
- The "Soft Reset" & "Delete Save" buttons now have confirmations
- Add tooltip on "Disable Recovery Mode" button
- Add timestamp to the RECOVERY.json filename
- Add textarea containing markdown with the current error details, if
available
- Error
- Page
- Version
- Environment
- Platform
- UserAgent
- Features
- Source
- Stack Trace
- Change GitHub new issue link to contain default body & title, if possible
- Change links to not take the full width (they were clickable by mistake)
- Fix "Disable Recovery Mode" not resetting the ErrorBoundary's state,
making going back to terminal impossible
2022-01-16 09:07:53 -05:00
nickofolas
1eea092391
Remove extraneous line breaks from buttons
2022-01-16 01:31:06 -06:00
smolgumball
cb82907817
Fix issues with timestamps on same line as clickable script rows in ls
2022-01-15 21:29:12 -07:00
Sage Pointer
32982f4ee8
Minor fix to growth parameter description
2022-01-16 04:44:50 +02:00
Sage Pointer
12ad8b7d03
Fix "travel" achievement icon
2022-01-16 04:27:27 +02:00
Cyn
8d7b71c5aa
Prevent dragging log window off screen & reset log window position if resized off screen
2022-01-15 20:52:02 -05:00
SlyCedix
c25067c062
bound log box to parent div
2022-01-15 20:52:02 -05:00
nickofolas
ab841f7530
Refactor for ... in
loops
2022-01-15 18:45:03 -06:00
Olivier Gagnon
8b69fd7faa
doc
2022-01-15 18:39:37 -05:00
hydroflame
f1c2dc2693
Merge pull request #2650 from BuckAMayzing/update-hacknet-constant-typing
...
Fix `constants()` function typing for hacknet nodes/servers
2022-01-15 18:29:13 -05:00
hydroflame
c0f6399a96
Merge pull request #2590 from deathly809/feature/ns_support_rm
...
Add support for the mv command in NS
2022-01-15 18:26:31 -05:00
hydroflame
7a84fa4d29
Merge pull request #2591 from nickofolas/improvement/singularity-focus-args
...
Add focus arg to Singularity functions
2022-01-15 18:25:56 -05:00
hydroflame
a7d7405e04
Merge pull request #2610 from Dexalt142/fix-exploit-achievement
...
fix: dev menu achievement name & visibility
2022-01-15 18:24:10 -05:00
hydroflame
0b36c9a4b2
Merge pull request #2648 from SlyCedix/scp-def
...
Add function signature for scp(files, destination)
2022-01-15 18:23:56 -05:00
hydroflame
37401f0917
Merge pull request #2580 from deathly809/bug/cancel_should_clear_focus
...
Ensure that we leave focus when we call stopAction or cancel working
2022-01-15 18:15:50 -05:00
Olivier Gagnon
d5c3d89613
fix bug
2022-01-15 18:13:35 -05:00
hydroflame
a454e21977
Merge branch 'dev' into feature-catch-errors-and-softreset-recovery
2022-01-15 18:00:33 -05:00
Olivier Gagnon
58fa091dd5
fix mc
2022-01-15 17:53:19 -05:00
Olivier Gagnon
de64777c75
some chagens
2022-01-15 17:52:50 -05:00
hydroflame
2ff7639b79
Merge pull request #2550 from TheMas3212/feature-save-validator
...
Feature save validator
2022-01-15 17:52:17 -05:00
hydroflame
0c7070ad32
Merge pull request #2548 from smolgumball/ls-clickable-scripts
...
feat: add clickable script links to `ls` command
2022-01-15 17:49:23 -05:00
hydroflame
f621dd4a14
Merge branch 'dev' into documentation-updates
2022-01-15 17:47:17 -05:00
hydroflame
59100e33e0
Merge pull request #2537 from nickofolas/parallelize-favor-gain
...
(Breaking change) Parallelize favor gain
2022-01-15 17:42:42 -05:00
hydroflame
6bf6d1f217
Merge branch 'dev' into add-simple-globs-nano-vim
2022-01-15 17:38:25 -05:00
hydroflame
03f71bd5f4
Merge pull request #2485 from Ornedan/netscriptdelay-check-stop
...
Refactor netscriptDelay and script kill interaction
2022-01-15 17:26:23 -05:00
hydroflame
0db08c3477
Merge pull request #2476 from nickofolas/reopen-log-windows
...
Logs button reopens log window
2022-01-15 17:18:59 -05:00
Buck Mayzes
71fa6dd2fd
Fix constants()
function typing for hacknet nodes/servers
2022-01-15 17:03:17 -05:00
Cyn
b179a6a53a
make hostname2 argument of scp optional
2022-01-15 16:42:04 -05:00
Cyn
78fa85a24e
Add function signature for scp(files, destination)
2022-01-15 16:28:58 -05:00
zeddrak
bf48741792
Correction for ns.hack pro-rated security increase
...
corrects an issue where hacking with more threads than was needed to hack all remaining money from a server with availMoney < maxMoney would have irregular results on security increase.
fix for issue #2307
discord thread: https://discord.com/channels/415207508303544321/931980343970513026/931980345329479750
2022-01-15 11:33:46 -08:00
nickofolas
919c001060
Program page button alignment
2022-01-15 10:21:45 -06:00
nickofolas
14af744a0c
Separate Bladeburner button from grid
2022-01-15 10:21:45 -06:00
nickofolas
c6a80a0a83
Improve hacknet nodes alignment
2022-01-15 10:21:45 -06:00
nickofolas
0359229af6
Grid-align buttons in location UIs (and options)
2022-01-15 10:21:45 -06:00
hydroflame
5479c7e135
Merge pull request #2631 from nickofolas/improvement/help-autocomplete
...
Add autocomplete to help command
2022-01-15 10:54:48 -05:00
hydroflame
903e8f16a2
Merge pull request #2640 from deathly809/bug/getWeakenTime_should_take_optional_hostname
...
GetWeakenTime should take optional hostname as docs suggest
2022-01-15 10:49:32 -05:00
Jeffrey A. Robinson
5f864c123b
When saving we were not saving the script content
2022-01-14 19:01:11 -08:00
Jeffrey A. Robinson
0002daa3e9
Merge branch 'dev' of https://github.com/deathly809/bitburner into dev
2022-01-14 17:14:41 -08:00
Jeffrey A. Robinson
dc6432fa4e
getWeakenTime should take an optional hostname
2022-01-14 17:14:35 -08:00
nickofolas
d136198738
Add autocomplete to help command
2022-01-14 15:25:30 -06:00
Martin Fournier
aa3a253b14
Cancel debounced events on terminal unmount
2022-01-14 14:32:30 -05:00
hydroflame
c6cb258446
Merge pull request #2622 from nickofolas/improvement/console-improvements
...
Terminal and Bladeburner console improvements
2022-01-14 13:48:53 -05:00
hydroflame
ba2e2e191c
Merge pull request #2623 from MartinFournier/fix/editor-asterisk
...
Ignore trailing whitespace for dirty file asterisk
2022-01-14 13:48:35 -05:00
Martin Fournier
aec2763b27
Ignore trailing whitespace for dirty file asterisk
...
Saved scripts is stored on servers with its starting & trailing whitespace removed, so
comparison would fail and show the file as dirty when there was a
trailing newline in the script.
2022-01-14 05:34:33 -05:00
nickofolas
15ce6a503a
Add missing semicolon
2022-01-13 20:23:04 -06:00
nickofolas
e2acd10339
Slight stats redesign
2022-01-13 19:46:39 -06:00
nickofolas
8b95697bd4
Console improvements
2022-01-13 19:46:30 -06:00
nickofolas
01d6edb2a1
Refactor BladeburnerRoot to use display: grid
2022-01-13 19:45:58 -06:00
nickofolas
4195eb759b
Update Bladeburner help formatting
2022-01-13 18:51:26 -06:00
nickofolas
c7b3b9918e
Update help text formatting
2022-01-13 18:47:21 -06:00
Olivier Gagnon
5126d72742
rm some stuff from netdef to make it work in-game
2022-01-13 14:26:05 -05:00
Dexalt142
8b9e89ea59
fix: dev menu achievement name & visibility
2022-01-14 00:22:43 +07:00
hydroflame
ea2f2bd92b
Merge pull request #2592 from nickofolas/fix/empty-editor-formatting
...
Fix formatting for empty editor splash
2022-01-13 11:34:36 -05:00
hydroflame
c5462eb6f4
Merge pull request #2601 from deathly809/bug/attemp_logs_even_when_disabled
...
Correctly handle logging so that disableLog will work
2022-01-13 11:26:25 -05:00
hydroflame
493ce4e684
Merge pull request #2594 from zeddrak/patch-4
...
Make the augments multiplier look nicer
2022-01-13 11:25:55 -05:00
Martin Fournier
6633c00f5d
Clear timers when unmounting CorruptableText
...
The interval was cleared, but not the setTimeout to replace the character
2022-01-13 09:34:08 -05:00
Jeffrey A. Robinson
910c9d9e7e
Correctly label functions so that disableLog will work
2022-01-12 16:55:45 -08:00
hydroflame
d274e21a10
Merge pull request #2596 from MartinFournier/feature/ns-ui-styles
...
Add ns.ui.[getStyles, setStyles, resetStyles]
2022-01-12 19:18:54 -05:00
Martin Fournier
0a2187bdf5
Revert "Add toPreviousPage in router"
...
This reverts commit b0bc3236fdcd2c9f6cfb9c540010e9520c2cbe01.
2022-01-12 18:49:53 -05:00
Martin Fournier
2dee036e90
Revert "Move router.clearHistory() to prestigeAugmentation"
...
This reverts commit b169406f8cff4d367ccf5c0de0f66211a6ba5525.
2022-01-12 18:46:07 -05:00
Martin Fournier
9033640c0c
Revert "Fix duplicate previous pages"
...
This reverts commit 16f7058e536648ddce8f9949b276071ae6baa854.
2022-01-12 18:46:01 -05:00
Martin Fournier
9b638b911f
Add ns.ui.[getStyles, setStyles, resetStyles]
...
Adds three Netscript functions to manipulate the user's styles like the
player can with theme.
2022-01-12 18:34:05 -05:00
zeddrak
693169996c
Make the augments multiplier look nicer
...
Sorry about the last one, thought that was format Exponent not Experience.
I used formatMultiplier this time, which seems more appropriate. :)
Might still need to go to a larger number type format, but that might be better addressed by modifying the formatMultiplier, so I'll leave it at just this for now. :)
2022-01-12 12:41:47 -08:00
nickofolas
e7983552dc
Fix formatting for empty editor splash
2022-01-12 12:15:03 -06:00
nickofolas
415f922a37
Add focus arg to Singularity functions
2022-01-12 12:03:49 -06:00
Jeffrey A. Robinson
bedea0ac73
Add support for the mv command in NS
2022-01-12 09:53:54 -08:00
hydroflame
3e7a9ac896
Merge pull request #2578 from MartinFournier/feature/work-overview
...
Add details to work in overview
2022-01-12 11:16:20 -05:00
hydroflame
48c1386e51
Merge pull request #2579 from MartinFournier/fix/duplicate-previous-pages
...
Fix navigation issue (duplicate previous pages in history)
2022-01-12 11:15:25 -05:00
hydroflame
7696636f8d
Merge pull request #2585 from erplsf/dev
...
Change typescript definitions for sprintf/vsprintf
2022-01-12 11:15:13 -05:00
hydroflame
d2fadfe600
Merge pull request #2582 from deathly809/bug/helper_number_should_handle_nan
...
Ensure INetscriptHelper number function handles NaN
2022-01-12 11:14:51 -05:00
hydroflame
f468a2ce1f
Merge pull request #2584 from mstruebing/chore/typo
...
chore: add missing t for `AchievementData`
2022-01-12 11:14:15 -05:00
hydroflame
40b3cea836
Merge pull request #2586 from zeddrak/patch-4
...
Made hack log msg consitent with grow and weaken
2022-01-12 11:14:04 -05:00
waffleattack
ff2f354f38
Update Literatures.ts
2022-01-12 09:35:07 -05:00
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
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
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
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
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
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
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
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
Russell Stringer
a16fad7f01
Add documentation about using PID for some ns functions
...
Fixes #2219
2022-01-10 16:23:06 -05:00
Russell Stringer
3276cf3c32
Add documentation for NetscriptPort to NetscriptDefinitions
2022-01-10 16:23:06 -05:00
Russell Stringer
26ae4345cf
Try to clear up confusing documentation for TIX.getOrders()
...
api-documenter won't generate property lists for [key: string]: type
interfaces, so I tried to put explanations and @links in the appropriate
remarks sections.
Since the list of stock symbols is known, this could also be fixed by
setting each symbol as an optional property of the StockOrder interface
Fixes #2269
2022-01-10 16:23:06 -05:00
Russell Stringer
e123642c8f
Changes possibly ambiguous description of array jumping game contract
...
fixes #2281
2022-01-10 16:23:06 -05:00
Russell Stringer
2989306ac8
Add (in GB) note to params/return values documentation where missing
...
fixes #2403
2022-01-10 16:23:06 -05:00
Russell Stringer
cfa1b9e236
adds missing bitnode mults to definitions file
...
fixes #2424
2022-01-10 16:23:06 -05:00
theit8514
dcc9c6955a
Expand support for Export declarations with source parameters
2022-01-10 15:54:57 -05:00
nickofolas
4e94b3db4e
Remove unneeded rolloverRep attribute
2022-01-10 14:19:25 -06:00
nickofolas
30f6d157d9
Fix indentation
2022-01-10 14:15:32 -06:00
nickofolas
b731b9946e
Update Company favor gaining
2022-01-10 14:08:17 -06:00
nickofolas
e9dcfb9bd0
Update job page in real time
2022-01-10 13:39:58 -06:00
stinky-lizard
3411823b8d
Update BitverseRoot.tsx
2022-01-10 14:07:31 -05:00
hydroflame
5eaf31cfce
Merge pull request #2526 from pigalot/expose-react-as-global
...
Expose react as global
2022-01-10 13:27:39 -05:00
hydroflame
ae0e24eba0
Merge pull request #2528 from XxKingsxX-Pinu/dev
...
Fixing spelling mistake
2022-01-10 13:26:53 -05:00
hydroflame
b51a2dee8d
Merge pull request #2512 from MartinFournier/feature/draggable-overview
...
Update Character Overview to use react-draggable
2022-01-10 13:26:32 -05:00
hydroflame
4156212c0d
Merge pull request #2523 from MartinFournier/fix/unavailable-achievements
...
Fix unavailable achievements condition
2022-01-10 13:26:10 -05:00
Martin Fournier
7ee2612c17
Allow drag on character overview
...
Makes the character overview (and tutorial) draggable, persisting the
{x, y, opened} in the user's settings.
- Remove margin & padding from html, body and ensure main content is
full height
- Add setting to disable progress bars
- Refactor options to use new OptionSwitch
- Add exclusions to prettierignore
- Specify line ending in prettier & gitattributes
2022-01-10 07:37:01 -05:00
zeddrak
02e9ae6e8e
Commit Crime Returns updated
...
Updated the text for the return value of commitCrime to match the description (and not the create programs hold-over)
2022-01-10 02:58:16 -08:00
XxKingsxX-Pinu
034592678e
Fixing spelling mistake
...
Fixing spelling mistake on indexedDbRequest.onsuccess promise reject
2022-01-10 15:17:04 +10:00
smolgumball
3f032d7006
Update verbiage to match UI (Script Editor vs. Text Editor)
2022-01-09 20:41:48 -07:00
smolgumball
b6f252cd8c
Update terminal help to mention globs; refactor to dedupe nano/vim usage details
2022-01-09 20:26:56 -07:00
smolgumball
74ba063772
Add simple glob support to nano/vim usage
2022-01-09 20:26:26 -07:00
pigalot
59bb921a39
Expose React and ReactDOM as global objects
2022-01-10 02:11:51 +00:00
Martin Fournier
964cd74b9a
Add missing achievement icon
2022-01-09 18:03:00 -05:00
Martin Fournier
0f9409789e
Fix unique keys warning for secrets
2022-01-09 18:02:22 -05:00
Martin Fournier
b768a68467
Fix unavailable achievements condition
2022-01-09 17:51:46 -05:00
TheMas3212
3da3a61e20
manMax, oneOf, subsetOf validators
2022-01-10 07:37:46 +11:00
TheMas3212
d9064b608f
PoC for save validation on load via hooking the Reviver function and
...
static property validationData on classes
PoC/example implemented with HacknetNode:
validates cores is a number in the range between 1 and HacknetNodeConstants.MaxCores
validates level is a number in range between 1 and HacknetNodeConstants.MaxLevel
validates ram is a number in range between 1 and HacknetNodeConstants.MaxRam
validates onlineTimeSeconds in non negative number
validates totalMoneyGenerated is a non negative number
2022-01-10 07:37:46 +11:00
Olivier Gagnon
d8a5f5b03c
many fixes
2022-01-09 15:24:32 -05:00
hydroflame
74504a68f8
Merge pull request #2493 from TheMas3212/fix-2492
...
clear Player.companyName if set to company when quiting work for said company
2022-01-09 13:02:59 -05:00
hydroflame
f6bc3b0b5e
Merge pull request #2495 from TheMas3212/fix-2163
...
Clear input field for CodingContractModal after submission
2022-01-09 13:01:34 -05:00
hydroflame
eb57149a3f
Merge pull request #2487 from TheMas3212/fix-2127
...
update hp on gaining defense experience
2022-01-09 13:01:24 -05:00
hydroflame
a2cf8c0244
Merge pull request #2489 from TheMas3212/fix-2452
...
fix grammar in Ishima Glitch
2022-01-09 13:00:35 -05:00
hydroflame
3fe77f5a0b
Merge pull request #2483 from PhilipArmstead/warehouse-typo
...
Removing errant apostrophe
2022-01-09 13:00:23 -05:00