Commit Graph

3130 Commits

Author SHA1 Message Date
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
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
theit8514
dcc9c6955a Expand support for Export declarations with source parameters 2022-01-10 15:54:57 -05: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
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
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
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