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
hydroflame
8e816e9110
Merge pull request #2488 from TheMas3212/fix-2124
...
log key for gang.ascendMember is 'gang.ascendMember' not 'gang.ascend'
2022-01-09 13:00:10 -05:00
hydroflame
55cd8b3c78
Merge pull request #2498 from dcragusa/dev
...
Fix apostrophe typo
2022-01-09 12:59:52 -05:00
hydroflame
b31517e402
Merge pull request #2490 from TheMas3212/fix-2440
...
Clear Netscript ports on augment install / soft reset / bitnode change
2022-01-09 12:59:40 -05:00
hydroflame
df55c9ce59
Merge pull request #2494 from TheMas3212/fix-2285
...
Add check to readd Corporation Management Handbook after augment install
2022-01-09 12:59:22 -05:00
hydroflame
23cae6489d
Merge pull request #2502 from MartinFournier/fix/brachiblade-sleeve
...
Fix sleeves brachiblades aug with save migration
2022-01-09 12:59:08 -05:00
hydroflame
ee07942d3e
Merge pull request #2500 from MartinFournier/fix/server-list-alphabetical
...
Sort server list alphabetically
2022-01-09 12:58:54 -05:00
hydroflame
9c33e27996
Merge pull request #2506 from MartinFournier/feature/styles-settings
...
Add fontFamily & lineHeight settings
2022-01-09 12:58:27 -05:00
hydroflame
46a8de4924
Merge pull request #2507 from MartinFournier/fix/quit-job-error
...
Fix crash when quitting job
2022-01-09 12:58:03 -05:00
Pavel Ivashkov
b500f540bb
fix small typo in bitnode intro
2022-01-09 17:50:26 +02:00
Martin Fournier
12330e1f12
Fix crash when quitting job
2022-01-09 08:58:13 -05:00
Martin Fournier
0ede6c4295
Add fontFamily & lineHeight settings
2022-01-09 08:40:57 -05:00
Martin Fournier
2220286062
Fix sleeves brachiblades aug with save migration
2022-01-09 05:57:50 -05:00
Martin Fournier
d6fa672fac
Sort server list alphabetically
2022-01-09 05:43:50 -05:00
David Ragusa
056f2e0375
Fix apostrophe typo
2022-01-08 23:36:23 -08:00
TheMas3212
5901312184
Clear input field for CodingContractModal after submission
2022-01-09 15:26:36 +11:00
TheMas3212
ee6794933c
Add check to readd Corporation Management Handbook after augment
...
install/soft reset if player is in BitNode3
2022-01-09 15:01:08 +11:00
TheMas3212
756d5fbc0d
clear Player.companyName if set to company when quiting work for said
...
company
2022-01-09 14:16:44 +11:00
TheMas3212
440d9e4978
Clear Netscript ports on augment install / soft reset / bitnode change
2022-01-09 13:43:52 +11:00
TheMas3212
94eef03c74
fix grammar in Ishima Glitch
2022-01-09 13:32:23 +11:00
TheMas3212
a193f651bc
log key for gang.ascendMember is 'gang.ascendMember' not 'gang.ascend'
...
fixes #2124
2022-01-09 13:21:18 +11:00
TheMas3212
8bf18c1981
Mark Gang as implementing IGang
2022-01-09 13:07:07 +11:00
TheMas3212
ee181e1509
update hp on gaining defense experience
2022-01-09 12:57:46 +11:00
Heikki Aitakangas
c6ff982b1d
Remove stopFlag checks made redundant by the netscriptDelay change
2022-01-09 02:42:36 +02:00
Heikki Aitakangas
59da79a427
Refactor netscriptDelay and script kill interaction
...
Store the Promise reject function instead of resolve in WorkerScript, since
it's only used when killing a script that's blocked in delay. And when killing
a script, reject the delay Promise with the WorkerScript as cause.
2022-01-09 02:36:54 +02:00
philarmstead
43d31c409c
Removing errant apostrophe
2022-01-08 23:56:57 +00:00
nickofolas
474ab69301
Fix terminal grow/weaken EXP gain
2022-01-08 15:57:44 -06:00
nickofolas
357258261a
Use codeblocks for null
2022-01-08 14:59:28 -06:00
nickofolas
a971921417
Document null duration for toasts
2022-01-08 14:56:29 -06:00
nickofolas
01efd372e9
Logs button reopens log window
2022-01-08 14:31:58 -06:00
hydroflame
d74efd6a4a
Merge pull request #2475 from TheMas3212/refactor-gameroot-v2
...
Refactor GameRoot.tsx to use a switch case statement instead of 20 nested ternarys
2022-01-08 15:29:47 -05:00
TheMas3212
2e31dda75e
make Popups use variable like Sidebar does
2022-01-09 07:25:41 +11:00
JustAnOkapi
00b838dab2
fix two typos in HelpText
...
mem -tab
scp +tab
2022-01-08 14:15:40 -06:00
TheMas3212
84845ff9a2
Refactor GameRoot.tsc to use a switch case statement instead of 20
...
nested ternarys
2022-01-09 07:15:28 +11:00
Olivier Gagnon
ea5e142fa1
increase achievment counter
2022-01-08 15:03:36 -05:00
hydroflame
bff3c51a68
Merge pull request #2460 from MartinFournier/feature/convert-extra-hashes-to-cash
...
Use wasted hashes on "Sell for Money"
2022-01-08 14:55:19 -05:00
Olivier Gagnon
fe2270dc27
re-add achievemnets fix
2022-01-08 14:54:21 -05:00
hydroflame
b8eb07dda5
Merge branch 'dev' into feature/achievements
2022-01-08 14:51:36 -05:00
hydroflame
f52fc9fa7b
Merge pull request #2454 from zeddrak/patch-1
...
Apply bitnode multiplier before capping at 1 in calculatePercentMoneyHacked in hacking.ts
2022-01-08 14:33:41 -05:00
hydroflame
f39524b77a
Merge pull request #2167 from Hedrauta/fix#1921
...
workaround? fix for #1921
2022-01-08 14:28:09 -05:00
hydroflame
ec7481b391
Merge pull request #2310 from theit8514/import-via-acorn
...
Replace regex import with acorn AST parser
2022-01-08 14:27:40 -05:00
hydroflame
bc1c5346f5
Merge pull request #2465 from kittycat2002/dev
...
Optimized favor calculations.
2022-01-08 14:22:52 -05:00
hydroflame
6a00501d94
Merge pull request #2472 from TheMas3212/fix-2245
...
Fix toLowercase in fileExists check for literature and message files
2022-01-08 14:14:24 -05:00
hydroflame
20ca1239df
Merge pull request #2229 from FaintSpeaker/update-theme-engine-missing-elements
...
Update theme engine to cover some themeless elements
2022-01-08 14:13:53 -05:00
TheMas3212
446810d98f
Fix toLowercase in fileExists check for literature and message files
...
fixes #2245
2022-01-09 06:11:42 +11:00
hydroflame
7633f271db
Merge pull request #2265 from TheMas3212/fix-2119
...
Fix 2119
2022-01-08 13:56:05 -05:00
hydroflame
ff15d2d730
Merge pull request #2451 from neuralsim/fixSyntaxHighlighting
...
fixed syntax highlighting (don't highlight partial tokens/keywords)
2022-01-08 13:30:35 -05:00
Olivier Gagnon
fb90e21a31
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-08 13:19:44 -05:00
Olivier Gagnon
5a1cabdb34
typo
2022-01-08 13:19:35 -05:00
hydroflame
8d7bc1755c
Merge pull request #2429 from MartinFournier/fix/export-bonus
...
Fix export bonus not being applied when using options menu
2022-01-08 12:43:28 -05:00
hydroflame
30f5559bdf
Merge pull request #2441 from Feodoric/fix-duplicate-messages
...
fix #2174 - icarus message will no longer stack infinitely
2022-01-08 12:42:19 -05:00
hydroflame
1df5e5a2aa
Merge pull request #2447 from Feodoric/fix-gang-augments
...
Fix #2446 - ns.purchaseAugment() can no longer buy NF from gang
2022-01-08 12:41:25 -05:00
hydroflame
dbc1bae7ff
Merge pull request #2464 from MartinFournier/fix/local-mathjax
...
Change better-react-mathjax to use a local version
2022-01-08 12:40:37 -05:00
hydroflame
8cb7c9b460
Merge pull request #2459 from MartinFournier/fix/max-cache-achievement
...
Add check for hash capacity > 0 for MAX_CACHE
2022-01-08 12:37:49 -05:00
hydroflame
3c047d170f
Merge pull request #2467 from MartinFournier/fix/load-running-scripts
...
Check if running script is null before offlineProd
2022-01-08 12:37:39 -05:00
hydroflame
9855916b2e
Merge pull request #2468 from Ornedan/fix-small-town
...
Fix 'Small town' achievement condition to match description text
2022-01-08 12:36:16 -05:00
hydroflame
b373e5dddc
Merge pull request #2469 from MartinFournier/fix/snackbar-zindex
...
Make toasts appear above tail popups
2022-01-08 12:36:05 -05:00
Martin Fournier
f9ed45a895
Pass server to terminal actions that end later
...
Adds the current server object to the finishAction handler so that if
the player changes during the progress he'll hit the original server
with the command.
2022-01-08 11:29:00 -05:00
Martin Fournier
2b0a248673
Make toasts appear above tail popups
2022-01-08 10:07:35 -05:00
Heikki Aitakangas
b1b9d0862b
Fix 'Small town' achievement condition to match description text
2022-01-08 16:37:35 +02:00
Martin Fournier
71487337cb
Check if running script is null before offlineProd
2022-01-08 09:13:25 -05:00
kittycat2002
4fd95a322e
Optimized favor calculations.
2022-01-08 08:14:13 -05:00
Martin Fournier
78a91d9997
Add local reference to mathjax context
2022-01-08 07:48:10 -05:00
Martin Fournier
7ddb66c601
Use wasted hashes on "Sell for Money"
2022-01-08 06:51:25 -05:00
Martin Fournier
38e10e193e
Add achievements dev menu
2022-01-08 05:45:38 -05:00
Martin Fournier
844d518684
Add achievements to base game
...
- Add a script to generate achievement data from Steamworks API
- Add achievements page with a link in sidebar
- Calculate achievements (1/min) with an engine counter
- Store achievements with a timestamp on unlocked in the PlayerObject
- Add a script to generate monochrome icons from Steam icons
- Add toast when unlocking an achievement
2022-01-08 05:45:32 -05:00
Martin Fournier
fc3c896b80
Add check for hash capacity > 0 for MAX_CACHE
...
Achievement would trigger as soon as you entered the node as the
capacity was 0.
2022-01-08 04:57:04 -05:00
zeddrak
cb109d8a3f
Apply bitnode multiplier before capping at 1
...
It is entirely possible to hack more than the BN multiplier, which means this function is reporting the effects of the multiplier incorrectly. By moving the BN multiplier before to before the caps are applied, the functionality is corrected.
(ie, hack % * BN multiplier, THEN cap to 1; not cap to 1, then BM multiply the 1)
TESTED: I'm currently running in BN 5 ( * BitNodeMultipliers.ScriptHackMoney = 0.15), and sent a 4b thread hack against several fully grown servers (Avail Money = 100% of Max Money). Each went down to 0% (not 85% as the current implementation would suggest) after the hack hit
2022-01-07 23:12:44 -08:00
Christopher
ad0b73aaee
fixed syntax highlighting (don't highlight partial tokens/keywords)
2022-01-07 19:19:03 -06:00
Russell Stringer
e8d4265c96
Fix #2446 - ns.purchaseAugment() can no longer buy NF from gang
...
Added the checks from AugmentationPage.tsx to the singularity
purchaseAugment() function to disallow buying NF from player-run
gang and disallow TRP from player-run gang outside BN2
2022-01-07 17:02:44 -05:00
Russell Stringer
1cb65e3f31
fix #2174 - icarus message will no longer stack an unbounded number of alerts
...
AlertManager now stores a hash for each incoming alert and compares the
hash of any newly arriving alert against those still in the queue.
2022-01-07 15:19:36 -05:00
Martin Fournier
b9ad1d3082
Apply export bonus when using options menu
...
Also applies the bonus before saving the game instead of after
2022-01-07 09:03:04 -05:00
Martin Fournier
3562671772
Add SaveTimestamp to saveString, used in import
2022-01-07 09:02:35 -05:00
Jens
ede37767ac
Doc formatting updates & fixing a few spelling errors.
2022-01-06 20:52:15 -08:00
Martin Fournier
8b2ad883e4
Add save file warning for detailed ram usage
2022-01-06 21:13:38 -05:00
hydroflame
4363aa43fe
Merge pull request #2406 from Ornedan/corporation-delay-check-stop
...
Make corporation delayed functions check if script has been stopped
2022-01-06 13:05:06 -05:00
Heikki Aitakangas
804fbfa90a
Make corporation delayed functions check if script has been stopped during delay
2022-01-06 19:06:44 +02:00
Olivier Gagnon
1ac0d761e6
fix incorrect API files
2022-01-06 11:49:21 -05:00
Olivier Gagnon
def945e202
clear up NF desc
2022-01-06 11:38:55 -05:00
hydroflame
3f780397c5
Merge pull request #2390 from TheMas3212/fix-1918
...
Fixes 1918 Reputation Carry Over Bug
2022-01-06 11:37:18 -05:00
hydroflame
b39c00e64f
Merge pull request #2366 from MartinFournier/fix/autosave-toast-setting
...
Change SuppressSaveToast to only work on auto-save
2022-01-06 11:25:57 -05:00
hydroflame
c722ff5982
Merge pull request #2373 from MartinFournier/feature/mem-verbose
...
Add detailed ram cost to mem command
2022-01-06 11:25:41 -05:00
hydroflame
b05f65fc0d
Merge pull request #2369 from SagePtr/patch-1
...
Fix some achievements not triggered if hacked with backdoor command
2022-01-06 11:25:27 -05:00
hydroflame
0d699edd1c
Merge pull request #2374 from thadguidry/patch-2
...
fix grammar typo and simplify dark web instructions
2022-01-06 11:25:03 -05:00
hydroflame
61a50da586
Merge pull request #2378 from SagePtr/patch-2
...
Fix "BN3+" achievement triggered for BN2
2022-01-06 11:24:44 -05:00
hydroflame
6628138d3a
Merge pull request #2395 from TheMas3212/fix-trigger-open-dev-menu-sf
...
Add check for DevMenu exploit to trigger steam achivement
2022-01-06 11:24:28 -05:00
hydroflame
ec49b8ad25
Merge pull request #2392 from TheMas3212/fix-1904
...
Add a Cancel button to exit out of Infiltrations
2022-01-06 11:23:47 -05:00
tigercat2000
6e96428643
Update print and tprint signatures to match code
...
In https://github.com/danielyxie/bitburner/pull/1380 , print() and
tprint() were both changed to allow for variadic arguments, but this
wasn't documented in NetscriptDefinitions.d.ts.
2022-01-06 04:13:36 -08:00
TheMas3212
414cf35321
Add check for DevMenu exploit to trigger steam achivement
2022-01-06 21:26:30 +11:00
TheMas3212
604211112f
Add a Cancel to exit out of Infiltrations
...
fixes #1904
doesnt current impose a penalty for canceling but i can add that in
easily if wanted
2022-01-06 19:30:15 +11:00
TheMas3212
a05dc44599
Fixes 1918 Reputation Carry Over Bug
...
fixes #1918
add a check that stops current work if you apply to a new job as an
employee at a different company
2022-01-06 18:55:16 +11:00
Sage Pointer
ba99612d5d
Fix "BN3+" achievement triggered for BN2
2022-01-06 01:46:53 +02:00
Martin Fournier
4fad90ed4d
Multiply ram cost by threads
2022-01-05 18:32:29 -05:00
Martin Fournier
b345da9dee
Change detailed mem format
2022-01-05 18:04:26 -05:00
Thad Guidry
cc9a88df80
fix grammar typo and simplify dark web instructions
2022-01-05 16:15:48 -06:00
Martin Fournier
4b06bdd89c
Add detailed ram cost to mem command
2022-01-05 16:41:48 -05:00
Sage Pointer
0bd8d3cb8f
Fix some achievements not triggered if hacked with backdoor command
...
Moving to BitVerse and returning from function happened before setting backdoorInstalled property to true, so Achievement Handler believed the current BitNode was not finished (unless we applied backdoor through hack command, which has correct code).
2022-01-05 22:23:10 +02:00
Martin Fournier
46fe8cc94c
Change SuppressSaveToast to only work on auto-save
...
Before this, this setting also suppressed the toast for the manual clicks.
2022-01-05 14:56:28 -05:00
Olivier Gagnon
7e6976986f
rm sf4 penalty
2022-01-05 12:37:49 -05:00
hydroflame
b718fc3ef7
Merge pull request #2343 from MartinFournier/feature/set-theme
...
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-05 10:17:51 -05:00
hydroflame
78de076e9c
Merge pull request #2345 from woody-lam-cwl/cache-level-tooltip
...
Fix #2278
2022-01-05 10:17:05 -05:00
hydroflame
ef3c7494cc
Merge pull request #2354 from TheMas3212/fix-1862
...
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa
2022-01-05 10:16:52 -05:00
hydroflame
f798115259
Merge branch 'dev' into nan-donation
2022-01-05 10:15:40 -05:00
hydroflame
74ef8994bb
Merge pull request #2353 from TheMas3212/fix-1860
...
Fix 1860 donate to gang faction possible via singularity
2022-01-05 10:14:49 -05:00
theit8514
41adedf1bc
Update getOwnedSourceFiles RAM cost
...
Not a singularity function
2022-01-05 07:12:41 -05:00
TheMas3212
c9f0c9c553
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa
2022-01-05 22:02:25 +11:00
TheMas3212
860e77f109
Add check to see if player is in gang before getting Gang Faction
2022-01-05 21:41:04 +11:00
TheMas3212
538a440b7e
Fixes #1860 donate to gang faction possible via singularity
...
also fixes bug i found while testing this where its possible to donate
to a faction you arent a member of
2022-01-05 21:36:09 +11:00
Olivier Gagnon
fc888505ae
rm console log
2022-01-05 01:13:48 -05:00
Olivier Gagnon
feb2a651f6
fix tiem compression
2022-01-05 01:13:11 -05:00
Olivier Gagnon
925bed4430
fix scp
2022-01-04 22:25:41 -05:00
Woody Lam
3ca36fca95
Fix #2275 accepts NaN donation bug
2022-01-05 02:05:56 +00:00
Woody Lam
9a0062b376
Show correct hash capacity gain on cache level upgrade tooltip
2022-01-05 02:02:45 +00:00
Olivier Gagnon
faf8389bef
v1.3
2022-01-04 20:46:10 -05:00
Martin Fournier
c9ca1e9d37
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-04 20:33:18 -05:00
Olivier Gagnon
4860d6dc83
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-04 19:09:38 -05:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
hydroflame
07b12ca6fb
Merge pull request #2332 from woody-lam-cwl/nuke-runtime-error
...
Fix #2329 NUKE.exe runtime error
2022-01-04 19:04:11 -05:00
hydroflame
1f46d69430
Merge pull request #2334 from woody-lam-cwl/getweakentime-typo
...
Fix #2330 typo
2022-01-04 19:03:31 -05:00
Woody Lam
d7cd5b0d96
Fix #2230 typo (again)
2022-01-04 22:40:41 +00:00
nickofolas
c445df4168
Allow notifications to be dismissed by clicking
2022-01-04 16:25:00 -06:00
Woody Lam
f65e546c32
Fix #2329 NUKE.exe runtime error
2022-01-04 21:40:21 +00:00
theit8514
a5d69248dd
Replace regex import with acorn AST parser
2022-01-04 13:55:01 -05:00
hydroflame
772317a4f1
Merge pull request #2317 from nickofolas/validate-ram-purchase
...
Validate RAM amount in ns.purchaseServer()
2022-01-04 12:58:27 -05:00
hydroflame
225de0faf6
Merge pull request #2316 from nickofolas/fix-newline
...
Fix whitespace in Bladeburner console
2022-01-04 12:57:17 -05:00
hydroflame
0dbb067eae
Merge pull request #2318 from nickofolas/fix-throw-undefined
...
Fix throw {nullish} errors
2022-01-04 12:57:04 -05:00
hydroflame
0d02ce6308
Merge pull request #2326 from MartinFournier/feature/editor-wordwrap-option
...
Add wordWrap option to Monaco
2022-01-04 12:54:50 -05:00
hydroflame
042189b187
Merge pull request #2324 from Dexalt142/editor-theme-one-dark
...
feat (editor theme): atom one dark theme
2022-01-04 12:54:34 -05:00
Olivier Gagnon
c9d40ccf95
added new exploit
2022-01-04 12:21:17 -05:00
Olivier Gagnon
449df63dd8
fix tuto
2022-01-04 10:58:47 -05:00
Martin Fournier
f0161367af
Add wordWrap option to Monaco
2022-01-04 09:41:44 -05:00
Dexalt142
914b06ec88
feat (editor theme): atom one dark theme
2022-01-04 18:39:09 +07:00
nickofolas
fff1de63d3
Fix throw (nullish) errors
2022-01-03 17:26:22 -06:00
nickofolas
23b21e63a0
Validate RAM amount in ns.purchaseServer()
2022-01-03 17:00:32 -06:00
nickofolas
88db255f29
Fix whitespace in Bladeburner console
2022-01-03 16:42:49 -06:00
Olivier Gagnon
dfae337d26
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-03 15:49:05 -05:00
Olivier Gagnon
7655b91e2a
rm some bullshit
2022-01-03 15:45:56 -05:00
hydroflame
0368456d1e
Merge pull request #2313 from MartinFournier/fix/import-save
...
Fix import save issue with large files
2022-01-03 15:44:53 -05:00
hydroflame
8191716562
Merge pull request #2306 from MartinFournier/fix/storage-tooltip
...
Fix new lines in corp storage tooltip
2022-01-03 15:44:31 -05:00
hydroflame
69ed320b93
Merge pull request #2287 from daanflore/dev
...
Saw in vscode that some typedefenitions where not the same as how they work in the game
2022-01-03 15:44:08 -05:00
hydroflame
8e0b5e3ecd
Merge pull request #2288 from pan-kuleczka/dev
...
ns.hackAnalyze definition fix to match markdown
2022-01-03 15:43:48 -05:00
hydroflame
ea3a1e5a2a
Merge pull request #2309 from erplsf/dev
...
fix ns.run args type definition
2022-01-03 15:43:29 -05:00
Martin Fournier
dfabc0ac11
Fix import save issue with large files
...
The base64 regex was throwing a maximum stack size exceeded error with
large files.
The whole check was a bit redundant since we already try to parse the
file from base64 just below.
2022-01-03 11:02:29 -05:00
Martin Fournier
6c3618cb65
Check userAgent before running electron init
2022-01-03 10:33:58 -05:00
Martin Fournier
6d8df6744e
Add toasts & terminal funcs to electron app
...
Attach functions to the window object so that the wrapper can executeJs
to display messages to the player
2022-01-03 10:32:01 -05:00
Andriy Mykhaylyk
38923af436
fix ns.run args type definition
2022-01-03 16:10:22 +01:00
Martin Fournier
057a229759
Fix new lines in corp storage tooltip
...
Use react fragments instead of strings so that the <br /> is not
escaped.
2022-01-03 09:31:07 -05:00
daan flore
8c851b577a
Adding correct types at run args command
2022-01-02 20:40:57 +01:00
daan flore
409fa29b65
Merge branch 'dev' of https://github.com/daanflore/bitburner-1 into dev
2022-01-02 19:24:19 +01:00
daan flore
74ee7f371d
String value should also be possible to write
2022-01-02 19:24:16 +01:00
pan-kuleczka
62c19c9078
hackAnalyze definition fix to match markdown
2022-01-02 18:56:52 +01:00
daanflore
f1592a77fb
Merge branch 'danielyxie:dev' into dev
2022-01-02 18:55:27 +01:00
daan flore
f8607ce73e
Adding dorgotten typescript defenitions to file
2022-01-02 18:54:11 +01:00
Olivier Gagnon
d0214c1fed
fix some weird eval
2022-01-02 12:41:54 -05:00
Olivier Gagnon
4fb1dbf2e3
fix some weird eval
2022-01-02 12:13:01 -05:00
Olivier Gagnon
1e0e9f7bd7
change button text
2022-01-02 11:55:06 -05:00
hydroflame
cd9fad06d0
Merge pull request #2231 from ErzengelLichtes/use-numeraljs-for-ram
...
Use numeral.js to format memory, allow use of GiB with an option
2022-01-02 11:43:33 -05:00
hydroflame
d4eab92ed0
Merge pull request #2224 from MartinFournier/fix/joesguns-symbol
...
Update JoesGuns StockSymbols to match new key
2022-01-02 11:42:54 -05:00
hydroflame
01cb0cca81
Merge pull request #2227 from FaintSpeaker/alias-regex-not-matching-exactly
...
Alias command regular expression mismatch
2022-01-02 11:41:50 -05:00
hydroflame
a1ec54ff90
Merge pull request #2241 from billyvg/fix/vim-save
...
fix(editor): Fix vim mode quit and add `wq`
2022-01-02 11:40:40 -05:00
hydroflame
52c82f026c
Merge pull request #2240 from JotaroS/stock-market-ui-fix
...
UI Fix: text style on Investopedia
2022-01-02 11:40:32 -05:00
hydroflame
a6be7ecc3e
Merge pull request #2243 from TheMas3212/dev
...
Add Function Call signatures to ns.kill so typescript is able to call ns.kill correctly
2022-01-02 11:39:56 -05:00
hydroflame
1a07399312
Merge pull request #2248 from MartinFournier/feature/confirm-save-import
...
Add validation & confirm prompt for save import
2022-01-02 11:39:10 -05:00
hydroflame
8cfb355ca2
Merge pull request #2250 from MartinFournier/feature/backdoored-loc-tooltip
...
Add tooltip on backdoored location name
2022-01-02 11:38:01 -05:00
hydroflame
c5248fabb3
Merge pull request #2249 from MartinFournier/feature/add-themes
...
Add new community themes from discord
2022-01-02 11:37:51 -05:00
hydroflame
d53b87b8ce
Merge pull request #2251 from MartinFournier/fix/corp-storage-tooltip
...
Fix #2129 : Add linebreaks in corp storage tooltips
2022-01-02 11:37:45 -05:00
hydroflame
ca51e2144f
Merge pull request #2253 from MartinFournier/fix/disable-alpha-color-picker
...
Remove alpha from color picker
2022-01-02 11:37:30 -05:00
hydroflame
c8667b5194
Merge pull request #2259 from jhollowe-forks/jhollowe-patch-1
...
Fix typo in AugmentationHelpers.tsx
2022-01-02 11:37:19 -05:00
hydroflame
4486d7d454
Merge pull request #2266 from TheMas3212/fix-1752
...
fixes #1752 add check when applying for job to make sure company actually has that job position
2022-01-02 11:36:44 -05:00
Brandon Bothell
dd4b548917
docs: comma for good measure
2022-01-02 02:40:03 -05:00
TheMas3212
1dcde649be
fixes #1752 add check when applying for job to make sure company
...
actually has that job position
2022-01-02 03:08:16 +11:00
TheMas3212
6251678532
clear currentScript to null not undefined
2022-01-02 02:16:32 +11:00
TheMas3212
a20dd47ec6
fixes #2119 close open scripts that exist on deleted servers
...
this prevents a crash by trying to open the script editor with a script
open that exists on a server that has been deleted
this is achieved by filtering the list of open scripts whenever the
editor is opened and removing any that exist on a server that has been
deleted
it also handles the case of the selected script being one that was
removed in which case it defaults to selecting the first script
2022-01-02 02:10:10 +11:00
John Hollowell
2e0242ccbf
Fix typo in AugmentationHelpers.tsx
2021-12-31 18:59:39 -05:00
Martin Fournier
59d8e1f979
Remove alpha from color picker
...
rgba is not currently supported in the themes, so might as well remove
the option from the picker.
2021-12-31 10:13:53 -05:00
TheMas3212
8707dc7079
remove extra function signature for ns.kill()
2021-12-31 23:33:23 +11:00
TheMas3212
e3e1770439
Fix Typedef for getScriptIncome/getScriptExpGain
...
Current Typedef does not allow using the run with no arguments for
totals versions
2021-12-31 23:31:46 +11:00
Martin Fournier
c6ec27781b
Fix #2129 : Add linebreaks in corp storage tooltips
2021-12-31 06:45:49 -05:00
Martin Fournier
50f41e79e6
Add tooltip on backdoored location name
2021-12-31 06:23:52 -05:00
Martin Fournier
2637653d29
Add new community themes from discord
2021-12-31 05:55:46 -05:00
Martin Fournier
2b7464ebb7
Add validation & confirm prompt for save import
2021-12-31 05:32:52 -05:00
TheMas3212
f3aed87fa4
Fix Typing on kill in NetscriptFunctions.ts
...
forgot to mark hostname as optional
2021-12-31 11:12:43 +11:00
TheMas3212
31ed5d8f64
Add Function Call signatures to ns.kill so typescript is able to call
...
ns.kill(pid)
previously it will fail to compile due to not providing a host argument
2021-12-31 10:58:56 +11:00
Billy Vong
38366e45db
fix(editor): Fix vim mode quit and add "wq"
...
This changes `:q` to be quit (w/o saving) and added `:wq` to save *and* close.
2021-12-30 13:14:54 -05:00
JotaroS
351d4151bb
fixed text style Investopedia
2021-12-30 18:50:22 +01:00
ErzengelLichtes
8f3da16ecf
Use numeral.js to format memory, allow use of GiB with an option
...
numeral.js has a formatter for both kilobyte and kibibyte, so why use a custom formatter that only goes up to exabyte?
Also added a setting to allow people who really want to see GiB to enable that, even if it doesn't make sense.
2021-12-29 15:51:59 -08:00
FaintSpeaker
d823b5f28f
Update the addAlias/addGlobalAlias calls to fetch the correct capturing groups.
2021-12-29 14:04:58 -05:00
FaintSpeaker
7a0fdb9ce9
This regular expression expects 7 potential matches.
...
1: The whole string
2: the alias name
3 & 4: the command text in two locations
5 & 6: the quoted command text in two styles
7: the group that selects between the two qoted styles.
2021-12-29 13:56:26 -05:00
FaintSpeaker
c5284d3b02
Alter the standardSuccess alert to use the successlight color, to be consistent with all other toast notification behaviours.
2021-12-29 13:51:18 -05:00
FaintSpeaker
fbb2f4b9f3
Add success to the palette that's being passed to create theme. Mui was using default colors without this inclusion, causing the success colors in it's snackbar to be the wrong colors.
2021-12-29 13:50:44 -05:00
FaintSpeaker
c619191173
When refreshing the theme, apply the black color to the body background color.
2021-12-29 12:26:40 -05:00
FaintSpeaker
ddbb37c2d1
Add the black property to the theme interfaces, so that it can be used in the project elsewhere.
2021-12-29 12:12:04 -05:00
FaintSpeaker
edfefcceda
Use the white property to replace the hard-coded "white" in the city map.
2021-12-29 12:08:14 -05:00
FaintSpeaker
106b8e13a3
Use the white property to replace the hard-coded "white" in the world map.
2021-12-29 12:07:33 -05:00
Martin Fournier
1b41e3326e
Update JoesGuns StockSymbols to match new key
2021-12-29 12:03:29 -05:00
Olivier Gagnon
72d9770a8e
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-29 12:02:23 -05:00
FaintSpeaker
b3c5465ac2
Add the white property to the theme interfaces, so that it can be used in the project elsewhere.
2021-12-29 12:00:02 -05:00
hydroflame
5c5cc9708d
Merge pull request #2172 from theit8514/script-caching
...
Cache the blobs generated by scripts
2021-12-29 11:53:30 -05:00
hydroflame
636fc7cda0
Merge pull request #2204 from ErzengelLichtes/fix-port-validation
...
DRY: Consolidated the code for retrieving a port so it will have consistent errors checks.
2021-12-29 11:30:18 -05:00
Olivier Gagnon
383e56e9c8
floor thread count
2021-12-29 02:51:41 -05:00
hydroflame
91243f4742
Merge pull request #2213 from dou867/dev
...
fix joes guns org name and stock name do not match.
2021-12-29 02:25:51 -05:00
Olivier Gagnon
04f2cfe522
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-29 02:04:28 -05:00
Olivier Gagnon
0fc95e6215
text editor improvements
2021-12-29 02:04:24 -05:00
hydroflame
9673b6f31d
Merge pull request #2170 from theit8514/mv-overwrite
...
Fix mv overwriting script files
2021-12-29 01:58:37 -05:00
hydroflame
3c3f482e7b
Merge pull request #2153 from MartinFournier/fix/sleeves-skill-progress
...
Fix #2021 : Handle sleeves xp in stats overview
2021-12-29 01:54:28 -05:00
hydroflame
cc4f07d037
Merge pull request #2175 from Xynrati/patch-3
...
Removing old comment about removed parameter
2021-12-28 11:59:41 -05:00
Alexander Morland
aaf1ad4ae5
Fixed typo
...
needed to fix docs
2021-12-28 17:27:21 +01:00
dou
1b7a0224c5
fix joes guns org name and stock name do not match.
2021-12-29 03:06:37 +11:00
Xynrati
26ab62eea6
More comments to be removed
2021-12-28 08:04:50 -08:00
hydroflame
9f9ce40ef0
Merge pull request #2179 from antonvmironov/fix-CorporationInfo.state
...
Fix CorporationInfo.state
2021-12-28 10:37:42 -05:00
hydroflame
39c7a7781a
Merge pull request #2162 from mikomyazaki/concise_exp_job_gains
...
Concise exp job gains
2021-12-28 10:37:01 -05:00
hydroflame
f674d2d253
Merge pull request #2169 from maxtimum/feature/add_grep_option_to_ps
...
Feature/add grep option to ps
2021-12-28 10:35:26 -05:00
hydroflame
b27bb36a95
Merge pull request #2196 from sporkwitch/dev
...
Update parseAliasDeclaration to match single quote
2021-12-28 10:34:16 -05:00
hydroflame
329221a974
Merge pull request #2183 from MageKing17/patch-1
...
Get rid of console spam in NetscriptFunctions.ts
2021-12-28 10:34:01 -05:00
hydroflame
952ea89777
Merge pull request #2185 from MageKing17/patch-2
...
Allow shortcuts to work while doing unfocused work.
2021-12-28 10:33:16 -05:00
hydroflame
5aff5fc944
Merge pull request #2193 from Frank-py/patch-2
...
Updated Terminal.tsx to add keypress event.
2021-12-28 10:33:04 -05:00
hydroflame
d181ac4104
Merge pull request #2197 from ReeseJones/fixStockDoc
...
Changed setting to selling in getSaleGain
2021-12-28 10:32:37 -05:00
hydroflame
e583b46b16
Merge pull request #2202 from amclark42/help-analyze-typo-fix
...
Fix two typos in `help` command text
2021-12-28 10:32:19 -05:00
hydroflame
8b42703f95
Merge pull request #2199 from theit8514/log-window-improvements
...
Log window improvements
2021-12-28 10:32:04 -05:00
hydroflame
91d9549999
Merge pull request #2200 from 2PacIsAlive/dev
...
Fix "Terminal capacity" option description typo
2021-12-28 10:31:06 -05:00
hydroflame
a29ffead78
Merge pull request #2211 from anthonydroberts/buy-all-option
...
Add buy all option to buy terminal command
2021-12-28 10:30:54 -05:00
hydroflame
dd3ab9ca48
Merge pull request #2207 from mikomyazaki/scp-mem-docs
...
Fixes scp and mem helptext
2021-12-28 10:30:03 -05:00
Tony Roberts
e9fd5f46eb
Add buy all option to buy terminal command
2021-12-28 03:15:29 -05:00
Hedrauta
8aae2c9b7f
fix typo for #2206
2021-12-28 03:54:04 +01:00
Andrew Cooper
33e4e31099
Fixes scp and mem helptext.
2021-12-28 00:54:35 +00:00
ErzengelLichtes
b13f146bc3
Changed writing specific text to be more generic
2021-12-27 11:36:14 -08:00
BrokenName
90ca9407d5
Update NetscriptFunctions.ts
...
Undid removal of writePort data validation
2021-12-27 10:38:00 -08:00
BrokenName
7c846abb65
DRY: Consolidated the code for retrieving a port so it will give consistent errors.
2021-12-27 10:06:38 -08:00
Ash Clark
58dd450aca
Fix two typos in help
command text
2021-12-27 11:47:02 -05:00
Jared Jolton
e3a9f9edab
Fix "Terminal capacity" option description typo
2021-12-26 20:21:35 -07:00
theit8514
5607561c50
Add minimize button to log windows
2021-12-26 18:52:14 -05:00
theit8514
169d3e6c77
Add title attribute to log title bar
2021-12-26 17:47:32 -05:00
ReeseJones
1087db9f33
changed setting to selling in getSaleGain
2021-12-26 14:35:46 -08:00
Robert Klebes
6a9f6c05ec
Update parseAliasDeclaration to match single quote
...
- Matches foo="bar" and foo='bar'
- Does not match foo="bar' or foo='bar"
2021-12-26 14:14:37 -05:00
Frank-py
73adc71965
Updated Terminal.tsx to add keypress event.
...
Added keypress event to delete the word after input by pressing "alt" + "d".
2021-12-25 23:11:21 +01:00
MageKing17
eb137455f5
Allow shortcuts to work while doing unfocused work.
...
A lot of people thought keyboard shortcuts weren't working because the code to make them stop working was only checking if the player was working without checking if the player was also focused. If doing unfocused work, there's no reason not to allow keyboard shortcuts to keep working.
2021-12-24 21:22:46 -08:00
MageKing17
a16cb745c5
Get rid of console spam in NetscriptFunctions.ts
...
This was filling up the console and making it hard to debug anything other than `exec` calls.
2021-12-24 19:34:34 -08:00
Anton Mironov
3dd818cb7b
Updating doc for CorporationInfo.state
...
Now includes a list of possible values.
2021-12-24 17:35:23 +01:00
Anton Mironov
23683d3482
Fixes CorporationInfo.state
...
Before:
CorporationInfo.state was returning "[Object object]".
After:
CorporationInfo.state returns an actual state like START, PURCHASE, PRODUCTION, SALE, EXPORT
2021-12-24 17:32:51 +01:00
maxtimum
07b00bc377
add -g, --grep flags to ps command, documentation
2021-12-23 22:31:07 -08:00
theit8514
fd93c6d338
Fix linting errors
2021-12-23 23:26:05 -05:00
theit8514
8f77f720e6
Cache the blobs generated by scripts
2021-12-23 23:06:01 -05:00
theit8514
2d949c076b
Fix mv overwriting script files
2021-12-23 21:31:59 -05:00
Hedrauta
4264b07d75
only stop working if working at that company
...
bc you can be employed at multiple companies 😆
2021-12-24 02:57:25 +01:00
maxtimum
deb6d6cc0a
add option to pass grep pattern to ps
2021-12-23 17:39:45 -08:00
Hedrauta
33d8e6d3fe
workaround? fix for #1921
...
simple do: if the player does work for company, quit WIP... otherwise let WIP still run
2021-12-24 02:19:28 +01:00
Hedrauta
3eedd9df88
empty host = current host
2021-12-24 00:23:38 +01:00
Olivier Gagnon
ed86577d6c
imports are more flexible
2021-12-23 15:57:32 -05:00
Olivier Gagnon
16c51e8e8e
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-23 15:35:45 -05:00
Olivier Gagnon
87d6c18254
ext push now save folder correctly
2021-12-23 15:34:01 -05:00
Andrew Cooper
12ba68a375
XP gain summaries now only show non-zero xp gains.
2021-12-23 19:15:39 +00:00
Andrew Cooper
4861ac4153
Fixes penalty message for quitting work early.
2021-12-23 19:15:22 +00:00
hydroflame
b33af9df20
Merge pull request #2150 from Hedrauta/new-Editor-theme_dracula
...
New Editor Theme: Dracula ( from VSCode )
2021-12-23 13:36:16 -05:00
Olivier Gagnon
fcb876695d
remove leading slash when saving via http
2021-12-23 12:23:50 -05:00
Martin Fournier
6458440193
Fix #2021 : Handle sleeves xp in stats overview
2021-12-23 09:11:08 -05:00
Hedrauta
693c6480a0
as close as possible
...
Sadly, i can't color specific variables, because of monaco itself.
Did my best for this. 😉
2021-12-23 07:27:58 +01:00
hydroflame
c056ef2854
Merge pull request #2145 from mikomyazaki/2137-run-cct
...
Helptext for run now mentions coding contracts
2021-12-22 23:20:27 -05:00
TheMas3212
e0aaa383a4
modify BasicHGWOptions definition to mark threads parameter as optional
...
this is used by hack, grow and weaken all of which dont require it to be defined
2021-12-23 14:42:06 +11:00
Andrew Cooper
7805b72457
'help run' docs now mentions coding contracts.
2021-12-23 01:23:57 +00:00
Olivier Gagnon
88151efa61
ext use base64
2021-12-22 19:56:43 -05:00
hydroflame
bfdfee2a68
Merge branch 'dev' into mychanges
2021-12-22 16:16:24 -05:00
Olivier Gagnon
d2d6c33fc8
mychanges
2021-12-22 16:15:56 -05:00
hydroflame
9ea66e8743
Merge pull request #2110 from MartinFournier/feature/themes
...
Add community themes from discord
2021-12-22 15:22:08 -05:00
hydroflame
7c599f2005
Merge pull request #2123 from MartinFournier/feature/reload-unresponsive
...
Add dialog when app is unresponsive to reload
2021-12-22 15:21:58 -05:00
hydroflame
fba2265cce
Merge pull request #2118 from Icehawk78/feat/add-ns2-examples-docs
...
Add ns2 examples to the netscript docs
2021-12-22 15:21:06 -05: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
Nicholas Galauxy
35cfa9492e
Fix unintended spacing change
2021-12-22 13:38:32 -06:00
Nicholas Galauxy
ed4d4d091c
Update docs to include NS2 examples
2021-12-22 13:36:44 -06:00
hydroflame
a97d2a93cb
Merge pull request #2112 from theit8514/cp-2099
...
Fix cp from another folder to current folder
2021-12-22 14:30:29 -05:00
hydroflame
dbf8c788e0
Merge pull request #2111 from mikomyazaki/2027-documentation-updates
...
Documentation updates
2021-12-22 14:30:14 -05:00
Martin Fournier
f2141dd83d
Add community themes from discord
2021-12-22 13:54:04 -05:00
Xynrati
21ac94dbb3
Add ns2 example for scp
2021-12-22 09:38:21 -08:00
theit8514
06ec11a107
Fix cp from another folder to current folder
...
src is already passed through getFilepath. Doing it again roots the file in the current directory.
2021-12-22 12:34:08 -05:00
Andrew Cooper
c2e5c9f371
Documentation updates to getgrowtime, gethacktime, getweakentime, hack, hackanalyze and weaken.
2021-12-22 17:25:09 +00:00
hydroflame
7260d5fe35
Merge pull request #2100 from mikomyazaki/empty-editor-to-terminal
...
Closing the final script in your editor will take you to the terminal
2021-12-22 12:17:32 -05:00
hydroflame
366bffad85
Merge pull request #2098 from FOLLGAD/patch-2
...
Fix incorrect help entry for "weaken" command
2021-12-22 12:17:11 -05:00
hydroflame
1c7b0ab9a3
Merge pull request #2101 from Hedrauta/fix_commiitCrime_docu_description
...
Fix for ns.commitCrime description in the Documentation
2021-12-22 12:16:08 -05:00
hydroflame
ce0fb7a383
Merge pull request #2102 from mikomyazaki/2023-hack-analyze-threads-no-money
...
hackAnalyzeThreads will no longer return NaN under some circumstances
2021-12-22 12:14:57 -05:00
hydroflame
91ac40efd0
Merge pull request #2106 from MartinFournier/fix/ci
...
Split GitHub workflow into multiple jobs to get clearer results
2021-12-22 12:14:46 -05:00
hydroflame
e83c38b5fb
Merge pull request #2103 from mikomyazaki/dev-options-add-minimise-server-money
...
Adds dev options to set server(s) cash to zero
2021-12-22 12:14:31 -05:00
Dan
64dea97e3c
fix(command:buy) don't wrap in typography
...
Warpping the output in typography inserts a newline before/after, this fine until timestamps are enabled and the components don't fall inline, and the typography newline is then visible.
Resolves danielyxie/bitburner#2108
2021-12-22 13:27:06 +00:00
Martin Fournier
6b59a58ea3
Fix linter errors
2021-12-22 04:44:07 -05:00
Andrew Cooper
17b11f107f
hackAnalyzeThreads will return zero instead of NaN when checking the effect of zero threads on a server with zero cash.
2021-12-22 01:12:45 +00:00
Andrew Cooper
7baacf4e1b
Adds dev options to set server cash to zero.
2021-12-22 01:12:08 +00:00
Hedrauta
7f3f5c7648
commitCrime will return milliseconds 😉
2021-12-22 02:00:22 +01:00
Andrew Cooper
f2bdf00aba
Closing the final script in your editor will take you to the terminal.
2021-12-22 00:26:01 +00:00
Emil Ahlbäck
e7e1e82394
Update HelpText.ts
2021-12-21 22:16:12 +01:00
Olivier Gagnon
ea0be338e1
dont make new copies when injecting via localhost
2021-12-21 15:40:23 -05:00
Olivier Gagnon
b2b682fa04
fix editor not loading files
2021-12-21 13:44:18 -05:00
Olivier Gagnon
41593e0dce
fix editor not loading
2021-12-21 12:02:06 -05:00
hydroflame
79eb2f7e0b
Merge pull request #2092 from theit8514/script-focus-v2
...
Add focus parameter to workForCompany/workForFaction
2021-12-21 11:02:26 -05:00
hydroflame
c1c7131545
Merge branch 'dev' into feat/open-multiple-files-from-cli
2021-12-21 11:02:06 -05:00
hydroflame
81e3f2afd1
Merge pull request #1986 from billyvg/feat/add-vim-command
...
feat: add `vim` terminal command
2021-12-21 11:00:33 -05:00
hydroflame
f01b12a56a
Merge pull request #2095 from MartinFournier/fix/bladeburner
...
Bladeburner console fixes & command checks
2021-12-21 10:59:47 -05:00
hydroflame
26106fa71d
Merge pull request #2077 from MartinFournier/feature/get-theme
...
Add ns.ui.getTheme() api function
2021-12-21 10:57:58 -05:00
hydroflame
4be5e45740
Merge pull request #2073 from billyvg/fix/window-resizing
...
fix: Update editor height when resizing window
2021-12-21 10:56:51 -05:00
hydroflame
1830287a6e
Merge pull request #2079 from sschmidTU/dev
...
Fix typo (order -> orders)
2021-12-21 10:49:33 -05:00
hydroflame
7a9e8936ee
Merge pull request #2083 from 65-7a/txt-file-editor-patch
...
Script editor fixes for .txt files
2021-12-21 10:49:08 -05:00
hydroflame
4183ed6f2b
Merge pull request #2087 from 2PacIsAlive/dev
...
Fix typo on Augmentations page
2021-12-21 10:45:55 -05:00
Martin Fournier
2d269c7a4e
Fix #2018 : Blade console check blackops order
...
Prevents you from running blackops if you have not completed the
preceeding one.
2021-12-21 10:13:12 -05:00
theit8514
d873f7279b
Add focus parameter to workForCompany/workForFaction
...
Defaults to true to keep previous behavior.
2021-12-21 08:13:18 -05:00
Martin Fournier
dbe36fd6b7
Fix #1916 : Check blade console blackops rank
...
This prevents the player from starting a blackops without having the
rank requirements
2021-12-21 07:48:09 -05:00
Martin Fournier
f2ccc63b2d
Fix #1915 : Check blade console skill max level
...
Prevents you from leveling up a skill past its max level.
2021-12-21 07:48:09 -05:00
Martin Fournier
1427993a25
Fix #1901 : Fix blade console command history
...
Up or down would not properly update the visible input value
2021-12-21 07:48:09 -05:00
Martin Fournier
0b71a83cfe
Fix blade console input visibility on scroll
...
Before this, when scrolling up the input would be hidden.
2021-12-21 07:38:39 -05:00
Jared Jolton
bd375851a4
Fix typo on Augmentations page
2021-12-20 22:28:55 -07:00
Dan
8ccb128e6f
docs(ns.getPlayer): update doc to have ram cost
...
Resolves danielyxie/bitburner#2084
2021-12-21 01:44:32 +00:00
65-7a
a6aebd4a29
Change model to plaintext for txt files
2021-12-21 10:35:03 +11:00
65-7a
56e540802b
Disable RAM calculation for txt files
2021-12-21 10:21:22 +11:00
Billy Vong
bb2f8e883c
feat: Support opening multiple files from command line
2021-12-20 16:55:17 -05:00
sschmidTU
9a1437559a
fix typo (order -> orders)
2021-12-20 22:39:33 +01:00
Billy Vong
d30edc7f59
feat: Add vim
terminal command
2021-12-20 16:20:50 -05:00
Olivier Gagnon
009bae5870
catch scripts taht end too early
2021-12-20 16:06:19 -05:00
Olivier Gagnon
b57ac45698
doc
2021-12-20 15:59:46 -05:00
Olivier Gagnon
41a7109baa
fix
2021-12-20 15:48:26 -05:00
Martin Fournier
65d0877edc
Add ns.ui.getTheme() api function
2021-12-20 14:37:10 -05:00
Olivier Gagnon
ddd0eaaf5c
weaken message
2021-12-20 14:13:56 -05:00
Billy Vong
63891351be
remove TODO
2021-12-20 14:05:59 -05:00
Billy Vong
60749eefa7
remove console + format
2021-12-20 14:05:22 -05:00
Billy Vong
ee177393fa
fix: Update editor height when resizing window
2021-12-20 14:04:42 -05:00
Olivier Gagnon
4ec021c8f0
cores explanation
2021-12-20 14:03:25 -05:00
Olivier Gagnon
e9886cc6bc
fix uncaught promise
2021-12-20 13:57:07 -05:00
Olivier Gagnon
5dc9ac040a
toast time config
2021-12-20 13:29:04 -05:00
hydroflame
25f78f2b30
Merge pull request #1984 from billyvg/feat/add-vim-mode
...
feat: Add vim mode to script editor
2021-12-20 12:03:05 -05:00
Dan
388a3f56c3
feat(command:buy): show owned items in buy list
...
Just a little output change when you `buy -l`, to show you which items
you already own.
I couldn't access the theme when importing it here for use, it kept
crashing the app so the [OWNED} shows up always as green.. Which isn't
the end of the world considering the money always shows up in Yellow.
I think this area of code/output could do with a little bit of love at
some point.
Resolves danielyxie/bitburner#2069
2021-12-20 16:51:08 +00:00
Billy Vong
3fd904ff87
format
2021-12-20 10:48:32 -05:00
Billy Vong
6641ca9c73
fix ts
2021-12-20 10:45:44 -05:00
Billy Vong
517066a710
fix missed conflicts
2021-12-20 10:44:17 -05:00
Billy Vong
d372166c8b
Merge branch 'dev' into feat/add-vim-mode
2021-12-20 10:36:58 -05:00
hydroflame
8be201cd93
Merge pull request #2064 from MartinFournier/feature/focus-editor-on-open
...
Give focus to editor when opening or changing tabs
2021-12-20 10:19:14 -05:00
hydroflame
ab0ed5d6a4
Merge pull request #2061 from 65-7a/allow-cat-on-scripts-patch
...
Allow cat to work on scripts
2021-12-20 10:18:17 -05:00
Martin Fournier
e60996b86c
Focus editor when opening or changing tabs
2021-12-20 07:15:53 -05:00
Martin Fournier
08a4a1649f
Linting ScriptEditor
2021-12-20 07:01:34 -05:00
65-7a
3df0fd3945
Add script files to tab completion for cat
2021-12-20 21:11:58 +11:00
65-7a
14532cd0a8
Allow cat to work on scripts
2021-12-20 21:11:28 +11:00
BuildTools
302af48be4
Fixed merge conflict
2021-12-20 01:44:51 -06:00
BuildTools
6d90025370
Adapted PR #2055 to the refacted script editor code
2021-12-20 01:40:01 -06:00
BuildTools
e5c4c8f64b
Rebased
...
Added hostname to tab name
Removed -tas arg from the rm command
2021-12-20 01:40:01 -06:00
BuildTools
cbfdfa5753
Removed testing log statements
2021-12-20 01:40:01 -06:00
BuildTools
3120d97cfa
Update
2021-12-20 01:40:01 -06:00
BuildTools
6dc7dc42c5
resolved merge issue
2021-12-20 01:39:20 -06:00
hydroflame
3255768259
Merge pull request #1993 from Nick-Colclasure/file-read-patch
...
Fix problems finding root files in cat and ns.read
2021-12-20 01:56:20 -05:00
hydroflame
7215e73f41
Merge pull request #2055 from hexnaught/s-key-editor-save-patch
...
Change editor save keybind to be CTRL/CMD + S
2021-12-20 01:50:05 -05:00
hydroflame
e4345ebf68
Merge pull request #2057 from hexnaught/remove-partial-exe-on-buy-patch
...
Remove any partially built/created .EXE files on buy from darknet
2021-12-20 01:08:07 -05:00
hydroflame
2267845e2d
Merge pull request #2049 from Kejikus/dev
...
Issue #2048 fix
2021-12-20 01:07:12 -05:00
Dan
b95261d905
fix(darkweb:buy) remove partial exe on buy
...
Remove any matching partial .exe item when buying it from the dark web.
Resolves danielyxie/bitburner#2024
2021-12-20 05:55:35 +00:00
Dan
6ec7fcb9fa
refactor(keybinds): change editor save keybind S
...
We need to stop the event from bubbling up to the browser and opening a
'save html' window to keep support in the browser, other than that,
straight forward change to swap keybinding to 'S' for saving in the
editor.
Resolves danielyxie/bitburner#2053
2021-12-20 04:34:27 +00:00
hydroflame
82f6bbee13
Merge pull request #2046 from MartinFournier/fix/tests
...
Fix jest unit tests & add a github action workflow to build, test & lint
2021-12-19 22:35:25 -05:00
hydroflame
565e7677f8
Merge pull request #2045 from 2PacIsAlive/dev
...
Fix typo for Neuregen Augmentation
2021-12-19 22:33:31 -05:00
hydroflame
d1abe27484
Merge pull request #2047 from TheCoderJT/nuke-github-clarity
...
Fix Docs: made it more clear what nuke exe does
2021-12-19 22:32:41 -05:00
MageKing17
e521415273
Update NetscriptFunctions.ts
...
Just a simple change to make `alert` and `toast` reuse `argsToString` instead of `toNative` and `JSON.stringify` directly.
Fixes #2015 .
2021-12-19 16:58:49 -08:00
Nicholas Colclasure
61dde4cfac
Fix issue introduced handling files in subdirectories ._.
2021-12-19 13:03:50 -08:00
Kejikus
fcbf8a3824
Fixed bug with limited height of terminal screen
...
Needs testing.
2021-12-20 00:03:13 +03:00
Jordan Turner
f678574a6c
made it more clear what nuke exe does
2021-12-19 13:47:34 -07:00
Jared Jolton
06acccdfe1
Fix typo for Neuregen Augmentation
2021-12-19 13:42:09 -07:00
Martin Fournier
3b99da8474
Lint current problems & fix ignore paths
2021-12-19 13:17:44 -05:00
Martin Fournier
d1696148c4
Fix tests syntax for jest
...
Most tests could not run with jest because of syntax difference between
the old test runner.
2021-12-19 12:37:42 -05:00
hydroflame
890b1df593
Merge pull request #2041 from hexnaught/job-shortcut-key-patch
...
Only run job shortcut if the player has a job
2021-12-19 10:28:42 -05:00
hydroflame
3ed5aa8045
Merge pull request #2038 from MartinFournier/fix/skill-progress
...
Fix skills tooltip edge cases
2021-12-19 10:22:43 -05:00
Dan
2f9eb324b4
fix(shortcut): job shortcut only run when have job
...
The shortcut was always allowed to run, meaning when the player doesn't
have a job, they were sent to the job screen with no job and lost the
view context/sidebar.
- Add utility method to check if the player 'hasJob', being at least 1
job.
- Check if player has job when the key combination is pressed
Resolves danielyxie/bitburner#2013
2021-12-19 15:20:02 +00:00
Martin Fournier
05ed3f5461
Fix skills tooltip edge cases
2021-12-19 05:51:35 -05:00
millennIumAMbiguity
a9cf635a84
Improve the readability of text in the theme editor.
...
Copy the string above if you want to backup or share your theme with others. -> Backup your theme or share it with others by copying the string above.
Use the buttons below to replace the current theme with a pre-built template -> Replace the current theme with a pre-built template using the buttons below.
2021-12-19 11:14:16 +01:00
hydroflame
3a21beb708
Merge pull request #2003 from MartinFournier/feature/predetermined-themes
...
Add easily switchable predefined themes
2021-12-19 00:40:59 -05:00
hydroflame
a76f67ade5
Merge pull request #2010 from hexnaught/server-purchase-naming-patch
...
Fix issue of space in server name and server counting when made with same name
2021-12-19 00:35:24 -05:00
hydroflame
24f0c9e65d
Merge pull request #2007 from hexnaught/alias-hyphen-allowed-patch
...
Allow hyphens in command aliases
2021-12-19 00:28:11 -05:00
hydroflame
e6b84a73b2
Merge pull request #2031 from MageKing17/patch-1
...
Update ls.tsx
2021-12-19 00:24:58 -05:00
hydroflame
b6df183953
Merge pull request #2008 from hexnaught/lowercase-exe-call-patch
...
Allow `.exe` (programs) to be ran in a case-insensitive `run`
2021-12-19 00:23:52 -05:00
hydroflame
bc7f94ddda
Update check.ts
2021-12-19 00:23:01 -05:00
MageKing17
1dcc17c4fb
Update ls.tsx
...
`args[numArgs - 1]` is the last argument in the list, so correct usage was being flagged as incorrect, and incorrect usage wasn't working anyway because the filter was `"undefined"`.
Additionally, the function seemed confused as to whether or not `ls` counted as an argument (AFAICT, it isn't).
Fixes #1994 .
2021-12-18 21:22:34 -08:00
Dan
6d79561859
fix(servers): fix issue of space in server name
...
Replace the space in a server name with a hyphen (-), also noticed some
interesting behaviour with the 'count up naming', so tweaked that.
Resolves danielyxie/bitburner#1999
2021-12-19 04:03:14 +00:00
Dan
b8b3897e64
fix(commands): tweak wording for consistency
2021-12-19 03:23:26 +00:00
Dan
b2add6c26b
fix(commands): error feedback, wording consistency
...
Found most (hopefully all) places where the error message wording
incorrectly was shown to the tune of 'no script exists', where it should
have been showing to the effect of 'script is not running'.
Also cleaned up some of the consistency in the wording and added a
'helper' export for knowing valid script extensions used in validation
of 'isScriptFilename', so we can have consistent error messaging.
Resolves danielyxie/bitburner#1966
2021-12-19 03:10:43 +00:00
Dan
24c7fb2b92
fix(cli:run) case insensitive calls to program run
...
Allow the user to run programs (.exe) in a case insensitive manor
Resolves danielyxie/bitburner#1958
2021-12-19 02:41:21 +00:00
Dan
1f6954b393
fix(command:alias) allow hyphen in aliases
...
- Allow hyphens in aliases
- Remove redundant underscore, covered by '\w'
Resolves danielyxie/bitburner#2000
2021-12-19 02:09:47 +00:00
Olivier Gagnon
790ffeb8a1
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-18 18:15:19 -05:00
Olivier Gagnon
555216a39b
Add confirmation to installing
2021-12-18 18:13:49 -05:00
hydroflame
aad4024e0f
Merge branch 'master' into dev
2021-12-18 16:29:22 -05:00
Martin Fournier
db64d9869c
Add easily switchable predefined themes
...
Includes the default theme and a Monokai-ish variant
2021-12-18 16:28:15 -05:00
Olivier Gagnon
02605090df
v1.2.0
2021-12-18 16:28:09 -05:00
hydroflame
853125009b
Merge pull request #1977 from Rez855/feature/multi-tab-script-editor
...
Added the ability to open multiple script files at a time
2021-12-18 14:53:35 -05:00
hydroflame
b739d60490
Merge pull request #1979 from MartinFournier/feature/skill-progress-bars
...
Fix #1889 : Add skill progress to overview
2021-12-18 14:44:18 -05:00
hydroflame
d5201885aa
Merge pull request #1997 from pobiega/fix/nformat-return-type
...
ScriptEditor NetScriptDefinitions: nFormat should return string
2021-12-18 14:40:20 -05:00
hydroflame
0ff110492e
Merge pull request #1982 from wynro/add-ALL-to-enableLog
...
Add support for ALL argument in enableLog function
2021-12-18 14:39:44 -05:00
hydroflame
c723c7ecd2
Merge pull request #1957 from billyvg/feat/add-ctrl-u-clear-line
...
feat: Add `ctrl+u/k/w` hotkeys
2021-12-18 14:35:12 -05:00
hydroflame
a9b0dd0d3f
Merge pull request #1992 from 2PacIsAlive/dev
...
Fix typo in AutolinkProgram description
2021-12-18 10:56:33 -05:00
hydroflame
1dafa03a71
Merge pull request #1995 from Adraxas/dev
...
Fix NS.exec signature
2021-12-18 10:56:01 -05:00
BuildTools
59498f780a
Small css tweaks
2021-12-18 07:11:59 -06:00
Martin Fournier
733f04c343
Add an option to suppress the 'Saved Game' toast
2021-12-18 08:01:15 -05:00
Robin Rexstedt
87d8f67df1
make nFormat return a string
2021-12-18 13:12:23 +01:00
BuildTools
2265f797c4
Added the ability to open multiple script files at a time
...
Fixed a bug where ram would stay the same when switching between scripts
Fixed bug where updating ram could cause the GUI to crash
The editor will now go to the last edited line when switching tabs.
Tidied up the script editor UI
2021-12-18 04:10:25 -06:00
Jared Jolton
5e5e2c60aa
Fix typo in AutolinkProgram description
2021-12-17 21:58:05 -07:00
Nicholas Colclasure
8ba5199e54
Fix problems finding root files in cat and ns.read
...
Cat ends up translating the path it receives from relative to absolute twice, which I fix by changing the filename to an absolute path before it's passed to getTextFile with a leading "/" so that it doesn't interpret the filename as being relative.
Read I fixed by causing getTextFile to remove the leading "/" from files that are in the root directory, since that is required to translate their name into the native "filesystem"s format.
2021-12-17 20:40:46 -08:00
Adraxas
069d76df25
Fix NS.exec signature
2021-12-17 18:40:00 -08:00
hydroflame
504a8a4be5
Merge pull request #1971 from MartinFournier/feature/hashes-upgrades
...
Fix #1863 : Add getHashUpgrades hacknet function
2021-12-17 15:50:46 -05:00
Billy Vong
b3f9380ebd
prettier
2021-12-17 12:56:48 -05:00
hydroflame
2b5cc03e79
Merge pull request #1968 from MageKing17/patch-1
...
Quickly fix silly typo mentioned on Discord.
2021-12-17 12:55:58 -05:00
hydroflame
5b79712817
Merge pull request #1985 from billyvg/fix/prevent-ctrl-alt-j-navigation
...
Prevent `ctrl+alt+j` from navigating to Jobs
2021-12-17 12:55:08 -05:00
Billy Vong
6fb5565b08
remove unused code
2021-12-17 12:48:50 -05:00
Martin Fournier
84c77c1d2c
Fix #1889 : Add skill progress to overview
...
Adds a progress bar for each stat to show how close to level up you are.
2021-12-17 12:44:18 -05:00
Billy Vong
f4ea1ae970
Merge branch 'dev' into fix/prevent-ctrl-alt-j-navigation
2021-12-17 12:39:57 -05:00
Billy Vong
cdd85c09e1
Merge branch 'dev' into feat/add-vim-mode
2021-12-17 12:38:16 -05:00
Billy Vong
659211e1ff
Prevent ctrl+alt+j
from navigating to Jobs
...
This is a browser hot key to open the Chrome Developer Tools.
2021-12-17 12:35:47 -05:00
Billy Vong
fb5d374279
feat: Add vim mode to script editor
...
This adds an option to turn on vim mode using the `monaco-vim` library.
2021-12-17 12:34:00 -05:00
Guillermo Robles
b14432329a
Add support for ALL argument in enableLog function
...
- Fixes : #1928
2021-12-17 17:33:33 +01:00
Martin Fournier
da0cc6d8f1
Fix #1974 : Change default input to deferred
...
The value does not change automatically now, there's a "Set" button in
the popup to trigger the onColorChange event.
2021-12-17 11:00:00 -05:00
Martin Fournier
217b94d0a0
Fix #1863 : Add getHashUpgrades hacknet function
...
Adds a new functions ofr hacknet servers that returns the list of
available hash upgrades.
2021-12-17 05:35:17 -05:00
MageKing17
e8b4d15078
Update TutorialRoot.tsx
...
Correct "NS1 vs NS1" typo.
2021-12-17 00:35:23 -08:00
Olivier Gagnon
ae6f8c5ee7
make tutorial better
2021-12-16 20:54:50 -05:00
Olivier Gagnon
81e291ef6a
change color of terminal input
2021-12-16 20:20:07 -05:00
Olivier Gagnon
99f3566e52
bugfix
2021-12-16 20:09:19 -05:00
Billy Vong
9b64551197
Merge branch 'dev' into feat/add-ctrl-u-clear-line
2021-12-16 17:07:39 -05:00
Billy Vong
2e9a42d74c
add comment
2021-12-16 17:03:49 -05:00
Billy Vong
2804b6ae56
remove console
2021-12-16 17:03:15 -05:00
Billy Vong
d4bf6100a3
feat: Add ctrl+u/k/w
hotkeys
...
Adds the `ctrl+u/k/w` hotkeys to clear line before and after, as well as deleting word before cursor. I implemented deleting word after cursor, but I have not repod the functionality in bash, so I did not add the hotkey.
2021-12-16 16:59:24 -05:00
hydroflame
55d386a504
Merge pull request #1952 from MartinFournier/feature/git-commit-version
...
Fix #1880 : Show git commit of bundled app
2021-12-16 15:45:25 -05:00
hydroflame
88666ec3fa
Merge pull request #1953 from danielyxie/dev
...
doc
2021-12-16 15:30:22 -05:00
Olivier Gagnon
33e918fc49
doc
2021-12-16 15:28:53 -05:00
Martin Fournier
e8e2760c73
Fix #1880 : Show git commit of bundled app
2021-12-16 15:25:59 -05:00
Olivier Gagnon
e16fba2418
scan doc
2021-12-16 15:21:00 -05:00
hydroflame
c38992be8d
Merge pull request #1949 from danielyxie/dev
...
build
2021-12-16 12:58:30 -05:00
Olivier Gagnon
5718800b91
doc update
2021-12-16 12:41:18 -05:00
Olivier Gagnon
6ef99e138c
fix BN exploit
2021-12-16 12:40:24 -05:00
Olivier Gagnon
3c67da02f3
typo
2021-12-16 12:33:44 -05:00
Olivier Gagnon
9292484ed0
minor tweak
2021-12-16 12:29:41 -05:00
Olivier Gagnon
a1af0318d8
minor error message tweak
2021-12-16 12:20:04 -05:00
hydroflame
b05645a61c
Merge pull request #1936 from TheCoderJT/issue1920
...
Issue1920
2021-12-16 12:19:23 -05:00
hydroflame
43aba18b77
Merge pull request #1933 from Saynt-Garmo/dev
...
Issue 1911
2021-12-16 12:18:16 -05:00
Olivier Gagnon
52f2e52456
minor tweak to scp error message
2021-12-16 12:14:48 -05:00
hydroflame
0a63de4539
Merge pull request #1932 from theit8514/cp-1922
...
Update cp and mv terminal commands #1922
2021-12-16 12:14:15 -05:00
Olivier Gagnon
16431f1031
minor tweak to doc
2021-12-16 12:13:00 -05:00
hydroflame
2da9f87031
Merge pull request #1895 from TheCoderJT/editingGitDocs
...
Editing git docs
2021-12-16 12:11:05 -05:00
Olivier Gagnon
91c7811a36
format
2021-12-16 12:04:09 -05:00
Olivier Gagnon
d7f9cb8cec
make setFocus a little more robust
2021-12-16 12:02:46 -05:00
Hedrauta
9e9a1ca882
Update codingcontracttypes.ts
2021-12-16 16:05:46 +01:00
Jordan Turner
e1e032b61f
added semi colons they were missing at the end of some examples
2021-12-15 22:15:29 -07:00
Jordan Turner
db9b0a8ec8
added await before the ns2 method calls
2021-12-15 22:01:44 -07:00