Commit Graph

3091 Commits

Author SHA1 Message Date
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
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
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