Commit Graph

4599 Commits

Author SHA1 Message Date
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
hydroflame
0a1e1c548b
Merge pull request #2645 from nickofolas/improvement/alignments
Align various buttons with display: grid
2022-01-15 12:53:38 -05: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
fac0191f54
Merge pull request #2634 from AIT-OLPE/patch-1
DuplicationSleeve wrong info fixed
2022-01-15 10:49:45 -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
hydroflame
00b672a719 Merge pull request #2638 from deathly809/bug/fix_scripts
When saving we were not saving the script content
2022-01-14 23:38:46 -05:00
Jeffrey A. Robinson
c9391130f4 Add Test 2022-01-14 19:32:44 -08: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
Oliver Persson
1d84ffa01d
DuplicationSleeve wrong info fixed
Currently it states that you can buy duplicate sleeves and upgrade memory in any bitnode at or above BN.10 which you can't, you can only purchase it at BN.10.
2022-01-15 02:00:38 +01:00
Heikki Aitakangas
f8e64a1b4f Reduce log level for the all achievements and player achievements listings 2022-01-14 23:41:01 +02:00
Heikki Aitakangas
c7c303c551 Handle Steam achievement status check failure by logging them 2022-01-14 23:41:01 +02:00
Heikki Aitakangas
521889b027 Fix Steam version trying to record every achievement player has every second 2022-01-14 23:40:59 +02:00
nickofolas
d136198738 Add autocomplete to help command 2022-01-14 15:25:30 -06:00
hydroflame
62ac7f7d17
Merge pull request #2625 from MartinFournier/fix/terminal-unmount
Cancel debounced events on terminal unmount
2022-01-14 15:20:33 -05:00
Martin Fournier
aa3a253b14 Cancel debounced events on terminal unmount 2022-01-14 14:32:30 -05:00
Olivier Gagnon
b446bd9227 template 2022-01-14 14:28:09 -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
hydroflame
d1f145a6c2
Merge pull request #2624 from MartinFournier/fix/allow-no-steam
Handle greenworks.init() errors gracefully
2022-01-14 13:48:16 -05:00
Martin Fournier
8192ab09ef Handle greenworks.init() errors gracefully
Since we are only using it to track achievements, we can still launch
the game if it fails to initialize, we just have to not run the
achievements interval.

Adds a dialog that tells the user to fix the issue & restart the game to
enable achievements.
2022-01-14 06:06:59 -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
hydroflame
4555354957
Merge pull request #2607 from MartinFournier/fix/corruptable-unmount
Clear timers when unmounting CorruptableText
2022-01-13 11:25:35 -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
hydroflame
5b65cd81c5
Merge pull request #2600 from MartinFournier/revert/previous-page
Revert previous page feature
2022-01-12 19:18:45 -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