Commit Graph

4686 Commits

Author SHA1 Message Date
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
hydroflame
67899a4901
Merge pull request #2470 from MartinFournier/fix/terminal-finishaction-server
Pass server to terminal actions that end later
2022-01-08 12:35:33 -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
bf133689a4 Include local version of mathjax 2022-01-08 07:49:35 -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
4f42c920b0 Add grayscale achievement SVG icons in /dist/
They are generated using the script in the steam achievement folder.
2022-01-08 05:45:38 -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
hydroflame
9bac18b04f
Merge pull request #2438 from KenJohansson/patch-1
Update netscriptjs.rst
2022-01-07 12:50:52 -05:00
hydroflame
0835adbdc0
Merge pull request #2437 from KenJohansson/patch-2
Update terminal.rst
2022-01-07 12:50:43 -05:00
hydroflame
52f2b3b182
Merge pull request #2436 from KenJohansson/patch-3
Update scripts.rst
2022-01-07 12:50:03 -05:00
hydroflame
c54c0751d8
Merge pull request #2435 from KenJohansson/patch-4
Update autocomplete.rst
2022-01-07 12:49:55 -05:00
KenJohansson
d015f7bca1
Update autocomplete.rst
Removed references to .ns
2022-01-07 18:46:47 +01:00
KenJohansson
4010e5791f
Update scripts.rst
Removed reference to .ns
2022-01-07 18:44:56 +01:00
KenJohansson
1c9a1b6c19
Update terminal.rst
Removed references to .ns.
2022-01-07 18:42:37 +01:00
KenJohansson
c48aaed6c5
Update netscriptjs.rst
Removed references to .ns and changed those to .js. Also fixed minor spelling/grammar mistake.
2022-01-07 18:25:17 +01:00
hydroflame
d2193e017d
Merge pull request #2422 from Spacejoker/spacejoker-docs
Doc formatting updates & fixing a few spelling errors.
2022-01-07 12:24:35 -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
hydroflame
79b3bb0f0e
Update BN14.md 2022-01-07 02:50:32 -05:00
hydroflame
a3a718218b
Update BN14.md 2022-01-07 02:48:15 -05:00
hydroflame
24b9affa80
Update BN14.md 2022-01-07 02:43:24 -05:00
hydroflame
22817fc201
Update BN14.md 2022-01-07 02:43:12 -05:00
hydroflame
2218415aca
Update BN14.md 2022-01-07 02:42:15 -05:00
hydroflame
121e2816fe
Update BN14.md 2022-01-07 02:41:39 -05:00
Olivier Gagnon
a389f888c8 Merge brat push
nch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-07 02:39:59 -05:00
Olivier Gagnon
c44daea997 BN14 md 2022-01-07 02:39:43 -05:00
Jens
ede37767ac Doc formatting updates & fixing a few spelling errors. 2022-01-06 20:52:15 -08:00
hydroflame
77d17a965f
Merge pull request #2417 from SlyCedix/patch-2
Remove Incorrect Line
2022-01-06 21:31:11 -05:00
hydroflame
3bb3363bf3
Merge pull request #2419 from MartinFournier/fix/mem
Add save file warning for detailed ram usage
2022-01-06 21:28:52 -05:00
Martin Fournier
8b2ad883e4 Add save file warning for detailed ram usage 2022-01-06 21:13:38 -05:00
Cyn
3769081e4e
Remove Incorrect Line 2022-01-06 19:51:11 -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