borisflagell
ceac0090cf
UI: FIX #2256 Hacknet server's upgrade tooltip were not handling RAM usage correctly.
...
Fix #2256 by using the correct formula to calculate the hashrate increase.
Slightly revamp tooltip to display both theoric and effective increase.
Add a discreet tooltip to the Production line which display details about hashrate and ram usage.
Tested by running two script by intermittence on a loop on the hacknet server.
Value displayed stay coherent all along.
2022-04-21 18:19:04 +02:00
Undeemiss
dabf7098db
Reworded "plotting functions" as simply "plotting"
2022-04-21 10:40:21 -05:00
Undeemiss
399f8614e8
Formatted and linted; I forgot to last commit
2022-04-21 10:35:14 -05:00
Undeemiss
f482e0c4a9
Updated description of 2-coloring contract
...
Fixed a couple of incorrect statements in the 2-coloring contract
description, as well as rephrasing some things for clarity.
2022-04-21 10:32:57 -05:00
hydroflame
b7e319f360
Merge pull request #3530 from Undeemiss/2-coloring-contract
...
CODINGCONTRACT: New "Proper 2-Coloring of a Graph" contract
2022-04-21 00:48:46 -04:00
Undeemiss
6685e8dc46
Added a description for the 2-coloring contract
2022-04-20 22:06:32 -05:00
Undeemiss
8d026e4f10
Randomized the order of the edges as well as the vertices
...
Previously, edge order would stay constant while vertex order was
shuffled. This way, there is even less opportunity for a player to
reverse-engineer the initial bipartite graph.
2022-04-20 21:23:55 -05:00
Undeemiss
951221578a
Implemented no solution case of 2-coloring contract checker
...
Implemented a greedy 2-coloring algorithm to check whether a given
graph is 2-colorable. The algorithm is only used if the player
provides "[]" as their answer; other answers will be checked using
the previously implemented validation code.
2022-04-20 20:54:07 -05:00
borisflagell
e05617d9d3
UI FIX #3415
...
fixes #3415
2022-04-21 00:18:15 +02:00
Undeemiss
bdfd102085
Partially implemented solver for 2-coloring contract
...
Implemented the case for the 2-coloring solver to validate that
entered colorings are proper. Still needs a case for when no
solution exists.
Also, changed the data from type [number, number][] to
[number, [number, number][]], so that the number of vertices in
the graph can be the first parameter.
2022-04-20 17:01:35 -05:00
hydroflame
307ec7961a
Merge pull request #3524 from Snarling/realignAutocomplete
...
UI: FIX #3522 realigned autocomplete popup
2022-04-20 13:05:27 -04:00
Snarling
3f53a1f090
Format+lint
2022-04-20 10:05:55 -04:00
Snarling
16e507127a
Allow cd .. into empty directories
2022-04-20 10:03:51 -04:00
Snarling
5898e27529
Change alignment of autocomplete popper
2022-04-20 09:19:33 -04:00
phyzical
adbd6c3486
spelling mistakes and description updates
2022-04-20 20:12:43 +08:00
phyzical
8e1300d69d
Merge branch 'dev' into feature/add-infiltration-faction
...
# Conflicts:
# src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Undeemiss
a97f864e14
Implemented generator for 2-coloring contract
...
Implemented the generator for a new contract type. For now, has
a description and solution checker designed only for testing. The
generator creates a bipartite graph with random edges, then
attempts to add one additional edge without regard for the partite
sets. It then randomizes the vertices of the graph to make reverse-
engineering the original partite sets impossible.
The shuffling algorithm is adapted from stack overflow code, but
really, what isn't?
2022-04-20 00:24:18 -05:00
hydroflame
4ea7a4d7a8
Merge pull request #3517 from taralx/patch-1
...
MISC: make jQuery use explicit
2022-04-19 22:31:30 -04:00
hydroflame
ee5a3ea52c
Merge pull request #3521 from taralx/patch-4
...
MISC: update @types/numeral and fix type errors
2022-04-19 22:29:56 -04:00
hydroflame
db15744f5f
Merge pull request #3513 from Undeemiss/join-stanek-api
...
STANEK: FIX #3282 Added NS function stanek.acceptGift
2022-04-19 22:29:10 -04:00
JP Sugarbroad
d5be70e886
update @types/numeral and fix type errors
2022-04-19 17:07:51 -07:00
Olivier Gagnon
2922eb4923
Added bitnode difficulty descriptions on the bitverse.
2022-04-19 19:24:37 -04:00
JP Sugarbroad
01d7ac6967
make jQuery use explicit
2022-04-19 16:14:16 -07:00
Olivier Gagnon
7674c7f693
rm console log
2022-04-19 17:21:22 -04:00
Olivier Gagnon
eb778aafa9
refactor bitnode multiplier code to have less side effect.
2022-04-19 17:17:08 -04:00
Undeemiss
6d55bfe795
Removed redundant check for whether the player is in CotMG
2022-04-19 13:39:56 -05:00
Undeemiss
707e643c7d
Merge branch 'dev' of https://github.com/Undeemiss/bitburner into join-stanek-api
2022-04-19 13:38:14 -05:00
Undeemiss
b3e83dd976
Added check for aug status to stanek.acceptGift
...
Added a check to stanek.acceptGift for aug status. It's not
particularly elegant, but I copied the checks from the ui. Also
changed the way CotMG status is checked to be more robust.
2022-04-19 13:33:07 -05:00
Undeemiss
46a90e6271
Added ns function stanek.acceptGift
...
Added a new ns function stanek.acceptGift to the game, with a ram
cost of 2gb. The function attempts to join the CotMG and install
the gift, then returns true iff the player is in the CotMG and has
the gift installed.
2022-04-19 12:08:38 -05:00
hydroflame
657a9a9a96
Merge pull request #3511 from nickofolas/improvement/backup-color
...
UI: Change text color of Augmentations page backup button
2022-04-19 11:10:05 -04:00
hydroflame
d37a4eea38
Merge pull request #3510 from Risenafis/fix-covenant-icon
...
UI: Fix the achievement covenant icon was not shown
2022-04-19 11:09:52 -04:00
nickofolas
75ce3f2346
Use same BN level logic as save name generator
2022-04-19 09:57:26 -05:00
nickofolas
aee413e2e3
Change text color of backup save button
2022-04-19 09:50:25 -05:00
Risenafis
bb978b9420
fix covenant achievement icon path
2022-04-19 22:03:20 +09:00
hydroflame
40febcf22e
Merge pull request #3488 from Snarling/touchScreenTailFix
...
UI: FIX #3341 Enable touch-clicks in react-draggable
2022-04-18 20:52:09 -04:00
hydroflame
ae3c6194f1
Merge pull request #3505 from nickofolas/improvement/settings-ui
...
UI: Overhaul GameOptions UI
2022-04-18 20:51:50 -04:00
Snarling
bd07dea516
Fix quitting active job
...
When quitting active job, if there is another job, set the first remaining job as active.
2022-04-18 19:55:37 -04:00
nickofolas
af461d5e45
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/settings-ui
2022-04-18 12:04:46 -05:00
hydroflame
f43c3831be
Merge pull request #3504 from danielyxie/dev
...
Fix script editor settings.
2022-04-18 12:53:15 -04:00
nickofolas
7054c9daef
Fix editor theme migration
2022-04-18 11:44:00 -05:00
hydroflame
b49b5ba269
Revert "MISC: HammingCodingContracts need rework"
2022-04-18 12:01:10 -04:00
hydroflame
d37e6df779
Merge pull request #3495 from danielyxie/dev
...
blood
2022-04-18 11:19:55 -04:00
Olivier Gagnon
d5b296ddc3
update donations
2022-04-18 11:04:40 -04:00
Olivier Gagnon
3286d85744
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-04-18 11:04:19 -04:00
hydroflame
5d23926556
Merge pull request #3479 from Hedrauta/patch-1
...
MISC: HammingCodingContracts need rework
2022-04-18 11:03:41 -04:00
hydroflame
69feb790cb
Merge pull request #3490 from DavidGrinberg/bugfix/3489
...
Singularity: Fix #3489 Disable checkTixApiAccess for purchase4SMarketData
2022-04-18 11:03:08 -04:00
hydroflame
30920bec09
Merge pull request #3483 from TheMas3212/fix/employee-leak
...
API: Fix leak of real Employee object in hireEmployee
2022-04-18 11:02:13 -04:00
Snarling
f466a880eb
Fix style + Format/Lint
2022-04-18 07:55:59 -04:00
Snarling
02ccda197c
WIP
2022-04-18 07:41:09 -04:00
David Grinberg
d934bb88ad
Disable checkTixApiAccess for purchase4SMarketData
...
This restriction doesn't apply on UI. It doesn't make sense to apply it to singularity api
2022-04-17 22:35:31 -04:00
Snarling
5c53b39edc
Try to fix formatting?
2022-04-17 17:40:37 -04:00
nickofolas
bb0a0148f7
Rearrange some settings
2022-04-17 15:36:19 -05:00
nickofolas
2d4251ca9b
Sidebar dev links tweaks
2022-04-17 15:29:37 -05:00
nickofolas
359c967087
Doc
2022-04-17 15:27:42 -05:00
nickofolas
7f2ab4f27a
Revert noList prop
2022-04-17 15:26:43 -05:00
nickofolas
4073050333
Rename enum
2022-04-17 15:09:47 -05:00
nickofolas
f222dc5277
Some polish
2022-04-17 15:08:58 -05:00
nickofolas
da18115b80
Sidebar updates
2022-04-17 15:08:40 -05:00
Snarling
2e7b7c9d86
Enable touch-clicks in react-draggable
...
Add onTouchEnd events for click functions inside react-draggable. Necessary because react-draggable prevents default click behavior.
2022-04-17 15:57:35 -04:00
nickofolas
9db90709fd
Bulk of design overhaul
2022-04-17 12:51:14 -05:00
nickofolas
02d0d0df53
Options page component
2022-04-17 12:51:00 -05:00
nickofolas
3f46f14e63
Tabs enum
2022-04-17 12:50:43 -05:00
phyzical
c3946af666
moved the disabled button over to the buy material modal
...
to allow bulk purchasing while smart supply is on
2022-04-17 10:59:38 +08:00
TheMas3212
4cf0314766
Fix leak of real Employee object in hireEmployee
2022-04-17 05:16:42 +10:00
Undeemiss
f3bf872b23
Limit shareholder reservation on new shares relative to ownership
...
Updated the computations for issuing new corp shares so that
private investors cannot purchase a greater percentage of the
company than they already own. This change is an indirect buff
to corporations that elect not to use as many private investors
as possible.
Also updated UI elements to reflect the change. I'm not sure about
the wording I chose; I think it could be improved upon, but that
was the best I came up with.
2022-04-16 12:11:05 -05:00
H3draut3r
2d0cccfa3f
HammingCodingContracts need rework
2022-04-16 18:30:38 +02:00
Zoë Hoekstra
43807fb757
Add code for handling when dest. script is running
2022-04-15 19:44:08 +02:00
TheMas3212
7696f582eb
replace a number of references to workerscript.log with _ctx.log that i
...
missed in Singularity.ts
2022-04-15 21:23:35 +10:00
ActuallyCurtis
4b3694d806
Typo fixes to Encoded Binary to Integer
...
Various capitalization and punctuation fixes
Changed "Note" to "NOTE" to match other coding contracts.
Removed "encoded/decoded following hamming's rule" because I couldn't find references to hamming's rule (there are various things called Hamming's Rule, but they didn't seem relevant here). I believe that clause was just emphasizing that the binary string encoded as a hamming code, which we already know?
Rewrote the "return" text to include it should be a string.
*NOTE 4 could be removed, or kept for redundancy's sake
*"So MAYBE there is an altered bit" is also redundant, since note 3 already says a 55% chance, which means "maybe." Left, but could be removed.
2022-04-15 00:34:50 -07:00
phyzical
82610c0c44
Merge branch 'feature/add-infiltration-faction' into feature/refactor-augmentation
2022-04-15 14:26:00 +08:00
phyzical
8db74f343a
merge base
2022-04-15 14:25:13 +08:00
phyzical
1478e7a5b1
lint
2022-04-15 11:17:49 +08:00
phyzical
ec8437cadd
freeze the cost to stop sneeky sneekers
2022-04-15 11:17:27 +08:00
phyzical
0bff9be8a7
missed one reference to making baseCost static
2022-04-15 11:14:16 +08:00
hydroflame
209c46310e
Merge pull request #3466 from Undeemiss/nitesec-test-hostname
...
MESSAGES: Added the name of NiteSec's server to their .msg
2022-04-14 19:16:25 -04:00
Undeemiss
3dfb2afb58
Added the name of NiteSec's server to their .msg
2022-04-14 18:14:15 -05:00
Olivier Gagnon
6f4de879fa
Increase donation count
2022-04-14 18:58:39 -04:00
hydroflame
6ce1bab5fe
Merge pull request #3461 from Hoekstraa/3263
...
API: Add repFromDonation() to the Formula API
2022-04-14 18:26:38 -04:00
rderfler
9e6e97d1fb
fmt and merge upstream
2022-04-14 15:49:21 -04:00
rderfler
3cd8f8a223
merged from upstream
2022-04-14 15:47:00 -04:00
rderfler
332b803332
Fmt and lint
2022-04-14 15:28:13 -04:00
Olivier Gagnon
7685f52f8e
fix import and make rainbow return the answer.
2022-04-14 15:23:49 -04:00
Olivier Gagnon
52e27e317e
Added blood donation bonus
2022-04-14 15:17:46 -04:00
Zoë Hoekstra
accb9f7e23
Add repFromDonation formula to the API
2022-04-14 20:01:31 +02:00
phyzical
db97125d22
remove level, base cost and rep requirment from base augmentation obj
...
* added in place calculations for cost and level of augmentations given player context
* removed redundant logic for dynamically calculating cost,rep and level against the augmentation object
* replaced references to startingCost to baseCost as it is now always whatever it started at
2022-04-15 01:39:38 +08:00
phyzical
c3a3994658
rename augmentation to static augmentation
2022-04-15 01:19:51 +08:00
hydroflame
18fafff91f
Merge pull request #3460 from Undeemiss/stanek-collision
...
STANEK: FIX #3277 Can no longer overlap rotated fragments
2022-04-14 12:27:31 -04:00
Undeemiss
749b93608b
Fixed Stanek fragment collision detection
...
Relaxed some overzealous short-circuiting to ensure fragments
on the Stanek's Gift board properly check for collisions.
2022-04-14 11:13:50 -05:00
Olivier Gagnon
69c5e42e30
remove redundant naming scheme
2022-04-14 12:13:01 -04:00
TheMas3212
de3359dfad
switch to checkEnum
2022-04-15 02:07:47 +10:00
TheMas3212
e07b92a408
fix 2993 sleeve.travel with invalid city names
2022-04-15 02:00:34 +10:00
rderfler
9d18118208
Format, but git forgot this last time
2022-04-14 12:00:17 -04:00
rderfler
3886e31a45
Format
2022-04-14 11:59:49 -04:00
rderfler
1239c7ad7f
Merge branch 'dev' of https://github.com/rderfler/bitburner into dev
2022-04-14 11:57:19 -04:00
rderfler
0406272942
Clean up
...
linter
2022-04-14 11:57:01 -04:00
hydroflame
18a6477342
Merge pull request #3456 from TheMas3212/fix/3395
...
fix #3395 donating to special factions possible via singularity
2022-04-14 11:51:40 -04:00
rderfler
7c468663d4
Merge branch 'danielyxie:dev' into dev
2022-04-14 11:48:44 -04:00
rderfler
d1388a62aa
Merge branch 'dev' of https://github.com/rderfler/bitburner into dev
2022-04-14 11:41:02 -04:00
rderfler
2613948bad
Add bladeburner actions to sleeves
...
This adds bladeburner actions to sleeves. In addition this bulked out the IPerson functionality and updated bladeburner functions to be more sleeve compatible
2022-04-14 11:40:59 -04:00
TheMas3212
89baba2e24
fix #3395 donating to special factions possible via singularity
2022-04-15 01:32:18 +10:00
hydroflame
1ce9f5d9d8
Merge pull request #3453 from Chris380/feature/clickable_lit_and_msg_files
...
Make .lit and .msg files clickable
2022-04-14 11:10:27 -04:00
TheMas3212
a0cab9a163
Fix inconsistancy with trying to work for gang factions while running a gang
2022-04-15 00:35:51 +10:00
Chris380
bfa19eb7ba
Make .lit and .msg files clickable
2022-04-14 16:23:45 +02:00
phyzical
07afda8fbb
remove redundant var
2022-04-14 21:58:25 +08:00
phyzical
9c23fc89d1
merge base
2022-04-14 21:27:08 +08:00
Olivier Gagnon
8dab9f7871
fmt
2022-04-14 02:35:30 -04:00
hydroflame
a9eaea0568
Merge pull request #3449 from danielyxie/dev
...
basic doc no longer hacker themed
2022-04-14 02:25:44 -04:00
Olivier Gagnon
c8df4fff00
Change faction info display
2022-04-14 02:07:13 -04:00
Olivier Gagnon
957c07d9d2
rm the last of source file flags
2022-04-14 01:33:05 -04:00
Olivier Gagnon
62d15ff3a1
rm SourceFileFlags
2022-04-14 01:22:50 -04:00
Olivier Gagnon
eae4eb2a31
comment
2022-04-14 00:23:48 -04:00
Olivier Gagnon
d8382ec762
Corp upgrades are now defined types
2022-04-14 00:21:33 -04:00
Olivier Gagnon
a6ed2b9ed1
doc
2022-04-13 23:53:50 -04:00
Olivier Gagnon
494ad68c4c
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-04-13 19:33:12 -04:00
Olivier Gagnon
7c129f1050
revert corp nerf
2022-04-13 19:33:04 -04:00
hydroflame
89f73d88d1
Merge pull request #3443 from TheMas3212/fix/singularity-sf4-checks
...
fix b1tflum3 and destroyW0r1dD43m0n singularity functions to check for sf4
2022-04-13 19:06:53 -04:00
Olivier Gagnon
abdd8c48d1
nerf Wilson Analytics
2022-04-13 18:26:19 -04:00
Olivier Gagnon
76e539bbb8
bump corpo avg profit length
2022-04-13 18:14:16 -04:00
TheMas3212
775d93b693
fix b1tflum3 and destroyW0r1dD43m0n singularity functions to check for
...
sf4, also refactored the file slightly for consistency to make sure the
sf4 check is the first thing every function does
2022-04-14 08:13:28 +10:00
Olivier Gagnon
88ae27e84d
nerf investors fraud
2022-04-13 18:08:35 -04:00
Olivier Gagnon
49164b5d36
branch 'dev' of github.com:danielyxie/bitburner into dev
2022-04-13 17:50:04 -04:00
Olivier Gagnon
9f3423bd46
save file migration
2022-04-13 17:50:01 -04:00
hydroflame
5e111df832
Merge pull request #3438 from nickofolas/feature/monaco-theme-editor
...
[Feature] Monaco Theme Editor
2022-04-13 17:43:59 -04:00
Olivier Gagnon
811ae1a751
more stanek doc
2022-04-13 17:40:11 -04:00
hydroflame
e2296aa963
Merge branch 'dev' into stanek-examples
2022-04-13 17:38:59 -04:00
Olivier Gagnon
a98f28fe92
change stanek description
2022-04-13 17:38:34 -04:00
hydroflame
f1b2af7360
Merge pull request #3442 from nickofolas/fix/demo-stanek-grid
...
[Fix] Dummy Stanek grid width
2022-04-13 17:35:37 -04:00
Olivier Gagnon
9281cbe559
ns func to flume and destroy wd
2022-04-13 17:34:02 -04:00
nickofolas
4a0fb59e56
Fix dummy stanek width
2022-04-13 16:04:31 -05:00
Undeemiss
605851ddbd
Corrected example grids found in stanek help
...
Updated the descriptions of all four example Stanek grids, updated
the contents of the third, and added spacing between the grids so
that it is clearer which grid each description refers to.
2022-04-13 15:46:09 -05:00
hydroflame
93eb5e2d78
Merge pull request #3247 from Savlik/dev
...
Accept valid JSON arrays in coding contracts
2022-04-13 16:29:26 -04:00
hydroflame
244bb5737e
Merge branch 'dev' into bugfix/corp-updates
2022-04-13 16:20:22 -04:00
nickofolas
e69e45c283
Better imports
2022-04-13 14:52:30 -05:00
nickofolas
58c4861c56
lint
2022-04-13 14:45:26 -05:00
hydroflame
ab0f89cea1
Merge pull request #3436 from Undeemiss/duplicate-programs
...
Create program action no longer creates duplicates
2022-04-13 15:43:21 -04:00
nickofolas
567fcf8fb6
prettier
2022-04-13 14:42:07 -05:00
nickofolas
1f9414fd0e
Resolve conflict
2022-04-13 14:32:30 -05:00
nickofolas
137539c1db
Add missing newline at end of file
2022-04-13 14:32:30 -05:00
nickofolas
d1edbe9a43
Save data sanitization
...
- Run in `Editor.beforeMount`, as well as when the
options modal is closed
- Recursively validates all token colors and
replaces them with bright red if they're invalid
2022-04-13 14:32:30 -05:00
nickofolas
739ca27ab9
Add Paper styling to modal
2022-04-13 14:32:30 -05:00
nickofolas
6f60589779
Tie up loose ends
...
- Ensure that customTheme is redefined whenever the options modal
is closed, regardless of saved or not
- Reset the pending value for the theme editor whenever modal is clsoed
2022-04-13 14:32:30 -05:00
nickofolas
a66ed00998
Change global theme import rows to 10 and format
2022-04-13 14:32:30 -05:00
nickofolas
10513ba5bc
Update label for common.accent
2022-04-13 14:32:30 -05:00
nickofolas
16cf227498
Implement Monaco theme editor
2022-04-13 14:32:30 -05:00
nickofolas
b3f37b2583
Add types token
2022-04-13 14:32:30 -05:00
nickofolas
881d4816cc
Theme attribute cleanup
2022-04-13 14:32:30 -05:00
nickofolas
ec0f20b14f
Framework for custom theme
2022-04-13 14:32:30 -05:00
Undeemiss
87936598e2
Create program action no longer creates duplicates
2022-04-13 13:03:10 -05:00
Olivier Gagnon
3336a6ff61
added openDevMeny
2022-04-13 13:47:48 -04:00
Undeemiss
80b61ea17e
Reran npm format and lint to fix formatting
2022-04-13 12:19:58 -05:00
hydroflame
af95f0bfaf
Merge pull request #3432 from danielyxie/dev
...
keeping up to date
2022-04-13 12:37:41 -04:00
Olivier Gagnon
b5e4d706b2
🔖 Build v1.6.4
2022-04-13 12:32:26 -04:00
Olivier Gagnon
fbb99c1712
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-04-13 12:24:04 -04:00
Olivier Gagnon
c76602a5df
rm aug woned
2022-04-13 12:24:01 -04:00
hydroflame
96d76a84ba
Merge pull request #3431 from Undeemiss/sing-connect-backdoor
...
Allowed ns.singularity.connect to connect to backdoored servers directly
2022-04-13 12:22:17 -04:00
Undeemiss
dfc2ca6669
Allowed ns.singularity.connect to connect to backdoored servers directly
...
Added some small comments for readability and added a new case to
ns.singularity.connect that allows connecting to backdoored servers
directly regardless of if the current server is adjacent to them.
2022-04-13 11:03:17 -05:00
hydroflame
0d11a18ca9
Merge pull request #3428 from Chris380/bugfix/2367_reject_cd_to_invalid_folders
...
Reject cd to invalid folders
2022-04-13 11:27:35 -04:00
hydroflame
cca8aa45d6
Merge pull request #3425 from Chris380/bugfix/3111_growthAnalyzeSecurity_thread_limit
...
Bugfix/3111 growthAnalyzeSecurity thread limit
2022-04-13 11:26:22 -04:00
Olivier Gagnon
a029aee404
fmtlint
2022-04-13 11:18:22 -04:00
hydroflame
e1405a1dd2
Merge pull request #3429 from nickofolas/feature/ns-grafting-get-augs
...
[Feature] Add `ns.grafting.getGraftableAugmentations` function
2022-04-13 11:17:31 -04:00
Olivier Gagnon
501b69bbc2
tighten messages types wth enums
2022-04-13 11:10:56 -04:00
Olivier Gagnon
c21223ca40
Added type declaration to Messages
2022-04-13 11:06:49 -04:00
hydroflame
3b5e877801
Merge pull request #3424 from Undeemiss/smarter-icarus
...
Reduced icarus.msg spam and added new truthgazer.msg
2022-04-13 11:06:26 -04:00
nickofolas
51e5d38c7b
Add grafting API function to get graftable augs
2022-04-13 09:43:27 -05:00
chris380
d93ab92f69
Reject cd to invalid folders
2022-04-13 16:07:41 +02:00
Chris380
99923e0f62
Update src/NetscriptFunctions.ts
...
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:58:43 +02:00
chris380
1dac3fea31
fixed formatting + import
2022-04-13 15:54:48 +02:00
Chris380
baa14f7b4d
Update src/ScriptEditor/NetscriptDefinitions.d.ts
...
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:44 +02:00
Chris380
04abb60708
Update src/ScriptEditor/NetscriptDefinitions.d.ts
...
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:29 +02:00
Chris380
e0f4ec6594
Update src/NetscriptFunctions.ts
...
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:47:31 +02:00
phyzical
7bb23f9a97
lint
2022-04-13 18:56:35 +08:00
phyzical
90d1c22aca
changes all references to "heath reduction to damage reduction"
2022-04-13 18:54:13 +08:00
phyzical
7f288665d3
linting
2022-04-13 18:52:32 +08:00
phyzical
3eb9c4a2e2
regression fix
2022-04-13 18:52:01 +08:00
phyzical
6b48ff8f21
merge base
2022-04-13 18:50:42 +08:00
Jack
2f9ab67cd2
Merge branch 'dev' into bugfix/corp-updates
2022-04-13 16:35:18 +08:00
chris380
44c71347d7
formatting
2022-04-13 09:22:46 +02:00
chris380
355d2bd8f9
use minimum of given and maximum threads
2022-04-13 09:19:09 +02:00
chris380
4c113c19eb
take into account max threads needed
2022-04-13 09:16:59 +02:00
Undeemiss
dfadfcea09
Smarter icarus.msg, new truthgazer.msg, fix long-standing message bug
...
Sorry for putting this all in one commit; it all happened at the same time
as a direct conscequence of trying to get icarus.msg to be smarter.
There's a compilation error on MessageHelpers.ts:24, but the game
seems to run fine so I'm committing and coming back to it later.
2022-04-13 01:53:22 -05:00
Olivier Gagnon
e1a56f9270
typos
2022-04-13 02:04:51 -04:00
Alexander Jarman
dd6d4ec104
Merge branch 'dev' into htugboat/toast-part-deux
2022-04-13 01:55:13 -04:00
Heinous Tugboat
492c7012ea
Renames SnackbarVariant to ToastVariant, adds enum to ns
2022-04-13 01:54:13 -04:00
Olivier Gagnon
d7822b389e
🔖 Build v1.6.3
2022-04-13 01:40:29 -04:00
Olivier Gagnon
aa447d3051
🔖 Build v1.6.1
2022-04-13 01:37:53 -04:00
Olivier Gagnon
f555c4567b
update doc
2022-04-13 01:35:35 -04:00
hydroflame
03b05f53fe
Revert "[Feature] Script Editor Theme Customization"
2022-04-13 01:12:56 -04:00
hydroflame
413576100a
Merge pull request #2876 from nickofolas/feature/monaco-theme-editor
...
[Feature] Script Editor Theme Customization
2022-04-13 01:12:15 -04:00
Olivier Gagnon
729fdf7510
fk it
2022-04-13 01:00:00 -04:00
hydroflame
eee8d3e283
Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
...
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
Olivier Gagnon
d895124267
lint
2022-04-13 00:27:43 -04:00
hydroflame
16dd31331d
Merge pull request #3421 from Undeemiss/message-refactor
...
Removed redpillFlag and refactored MessageHelpers.ts
2022-04-13 00:27:14 -04:00
hydroflame
770a76e7e5
Merge pull request #2979 from phyzical/bugfix/2843
...
updated material dmd based on old tag
2022-04-13 00:24:29 -04:00
Olivier Gagnon
f1a3fb7d3e
fix buying programs and writing them at the same time.
2022-04-13 00:21:51 -04:00
Undeemiss
f47f2239bd
Added "Check Messages" button to dev menu
2022-04-12 22:29:06 -05:00
Undeemiss
64a5cd038e
Formatted and linted
2022-04-12 20:56:21 -05:00
Undeemiss
e30e6ef47f
Fixed reference to now-deleted setter for redpillFlag
2022-04-12 20:53:10 -05:00
Undeemiss
0d26976f1a
Refactored icarus.msg check
2022-04-12 20:47:00 -05:00
Undeemiss
001e8f6d06
Removed redPillFlag and minor refactors to MessageHelpers.ts
...
Removed redPillFlag, replacing its use with appropriate UI checks.
converted MessageFilenames to enum and removed unnecessary type checks.
2022-04-12 20:32:01 -05:00
Olivier Gagnon
eaf0098cc7
move singularity to its own namespace but still support the old.
2022-04-12 20:55:28 -04:00
hydroflame
c8c271a334
Merge pull request #3401 from TheMas3212/feat/wrap-singularity
...
Wrap Singularity API with wrapper
2022-04-12 20:53:55 -04:00
Olivier Gagnon
3e357ab9a7
Added demos in stanek
2022-04-12 20:23:03 -04:00
Olivier Gagnon
2b4b59b371
fmy
2022-04-12 19:10:58 -04:00
hydroflame
df3314c2f2
Merge pull request #3416 from Undeemiss/stanek-info
...
Added info button to Stanek's Gift page
2022-04-12 19:09:38 -04:00
Undeemiss
1c58f29fe9
Added info button to Stanek's Gift page
...
Added a small button that can be clicked to bring up a concise,
to the point description of how the Stanek's Gift mechanic works.
2022-04-12 17:54:42 -05:00
hydroflame
b017fd2300
Merge pull request #3000 from JonathanBeverley/corp-expose-things-in-ui
...
Expose product and material details in API match UI
2022-04-12 17:49:29 -04:00
hydroflame
997f20aa68
Merge pull request #3414 from danielyxie/dev
...
clean up root files.
2022-04-12 17:38:31 -04:00
Olivier Gagnon
de8b38b299
few stanek improvements.
2022-04-12 17:18:36 -04:00
Olivier Gagnon
52e01fc026
fix a few things about getRecentScritps
2022-04-12 14:45:48 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts
2022-04-12 14:21:18 -04:00
Olivier Gagnon
8958046421
fix test
2022-04-12 14:06:24 -04:00
hydroflame
243cdceb8c
Merge pull request #3390 from nickofolas/improvement/stats-augs-ui
...
[Improvement] Overhaul Stats and Augmentations UI
2022-04-12 13:43:09 -04:00
hydroflame
0513aed239
Merge pull request #3403 from Chris380/bugfix/2486_auto_complete_connect_backdoored_server
...
Bugfix/2486 auto complete for connect and backdoored server
2022-04-12 13:37:43 -04:00
hydroflame
aa1ab030a3
Merge pull request #3404 from Chris380/bugfix/3057_hashCost_example_code
...
Fixed hashCost() example code
2022-04-12 13:37:32 -04:00
Olivier Gagnon
864816bd22
fix unknown
2022-04-12 13:37:19 -04:00
hydroflame
c38ab9e65f
Merge pull request #3405 from Chris380/bugfix/3111_hackAnalyzeSecurity_thread_limit
...
take into account max thread needed
2022-04-12 13:35:13 -04:00
Risenafis
e27994367d
fix HammingCodes description
2022-04-13 01:13:21 +09:00
chris380
fa29d2d9a8
take into account max thread needed
2022-04-12 17:42:49 +02:00
chris380
a49f68b0de
Fixed hashCost() example code
2022-04-12 16:23:05 +02:00
chris380
93f59f0df2
formatting updated
2022-04-12 15:11:38 +02:00
chris380
16720ec3b7
update connect help text
2022-04-12 15:08:04 +02:00
chris380
6a941d57ed
Add backdoored servers to connect autocompletion
2022-04-12 15:03:45 +02:00
TheMas3212
b2689eaa5a
Wrap Singularity API with wrapper
...
also refactored the RamCosts IMap as it didnt quite work properly due to
how the wrapper calculates function names
2022-04-12 16:51:10 +10:00
Olivier Gagnon
2d74b493ee
Add sourceURL in comment to fill in stack trace
2022-04-11 21:46:17 -04:00
Olivier Gagnon
a11e2868df
fmt
2022-04-11 21:45:55 -04:00
hydroflame
a17b81dff3
Merge pull request #2925 from Ornedan/necro-script-fix
...
Necro script fix
2022-04-11 21:36:07 -04:00
Olivier Gagnon
93e7083301
fix lint
2022-04-11 20:59:37 -04:00
hydroflame
674f3b0c9f
Merge pull request #3318 from smmalis37/empjobs
...
Fix docs for employeeProd and add employeeJobs.
2022-04-11 20:48:17 -04:00
hydroflame
3f4d00a8c2
Merge pull request #3350 from phyzical/bugfix/3348
...
Fix for install augmentation stale objects bug
2022-04-11 20:05:46 -04:00
TheMas3212
433873c5e2
run formater
2022-04-12 08:27:53 +10:00
TheMas3212
8d5632eb3e
fix netscript wrapper to wrap all functions, not just the top level
2022-04-12 08:20:34 +10:00
Olivier Gagnon
5cbeae9353
lint
2022-04-11 14:17:27 -04:00
hydroflame
34b68f6722
Merge pull request #3398 from danielyxie/dev
...
Sync main
2022-04-11 14:07:10 -04:00
hydroflame
fc9e7244aa
Merge pull request #3197 from TheMas3212/feat/api-wrapper
...
Initial API Wrapper Work
2022-04-11 13:26:38 -04:00
hydroflame
1b87628a4d
Merge pull request #3387 from nickofolas/improvement/grafting-tweaks
...
[Improvement] Small grafting tweaks based around Congruity aug, plus some general grafting fixes
2022-04-11 13:22:34 -04:00
hydroflame
92f04903f9
Merge pull request #3385 from anatoly-kussul/cct-array-jumping-game-2
...
New coding contract type: Array Jumping Game II
2022-04-11 13:21:36 -04:00
hydroflame
d5ad2118dd
Merge pull request #3383 from anatoly-kussul/cct-total-ways-to-sum-2
...
New coding contract type: Total Ways to Sum II
2022-04-11 13:21:24 -04:00
hydroflame
03650344f4
Merge pull request #3379 from nickofolas/improvement/super-important-lore
...
[Improvement] Add super important lore tidbit to an Augmentation
2022-04-11 13:21:11 -04:00
hydroflame
eecc96c3cd
Merge pull request #3380 from ApamNapat/make_charisma_spelling_consistent
...
Charisma is now spelled consistently with other mults
2022-04-11 13:21:01 -04:00
hydroflame
8f2adaf1b7
Merge pull request #3386 from phyzical/bugfix/add-missing-stockmarket-init
...
add call to missing stock market init when using the api
2022-04-11 13:18:25 -04:00
nickofolas
8da51b7e0a
Replace references to crafting with grafting
2022-04-11 11:07:15 -05:00
hydroflame
99ad015d4b
Merge pull request #3389 from ChrissiQ/fix-ui-style-corp-width
...
♿ ️ (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
2022-04-11 11:59:45 -04:00
hydroflame
f8807c5612
Merge pull request #3392 from phyzical/bugfix/fix-bulk-purchase
...
fix for the bulk purchase
2022-04-11 11:59:27 -04:00
phyzical
e3da5e0e03
added the ability to cancel products when still being developed
2022-04-11 21:55:38 +08:00
phyzical
a66b5bfb69
fixes and pr comments
2022-04-11 21:54:50 +08:00
phyzical
1718b55c27
fix for the bulk purchase
2022-04-11 08:10:58 +08:00
Anatoly Kussul
0855532081
small pharsing changes
2022-04-11 00:11:46 +03:00
Anatoly Kussul
cb756808a2
added coments, removed possible infinite loop, changed problem phrasing
2022-04-11 00:01:52 +03:00
nickofolas
f6af85a38d
Fix prettier
2022-04-10 15:57:34 -05:00
nickofolas
4de3caa56a
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/grafting-tweaks
2022-04-10 13:42:41 -05:00
ChrissiQ
2111c2e3d7
♿ ️ (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
...
The rendering engine doesn't seem to respond properly to a limit of 65% for the tabs
area. Though the tab area visually appears to be limited, the parent container is
still using the full extended width of the tabs, causing page stretch. Using 65vw
instead of 65% for maxWidth causes the calculation to be based on the actual page
width so no stretching occurs.
2022-04-10 12:37:10 -06:00
phyzical
909e5e964f
add call to missing stock market init when using the api
2022-04-10 18:19:45 +08:00
Anatoly Kussul
0538bf3299
New coding contract type: Array Jumping Game II
2022-04-10 02:47:40 +03:00
Heinous Tugboat
dd19d6451d
Updates sleeve functions so names match
2022-04-09 18:40:01 -04:00
Anatoly Kussul
27180ebccb
New coding contract type: Total Ways to Sum II
2022-04-09 22:38:42 +03:00
nickofolas
bf518836a5
Minor grafting tweaks around Congruity aug
2022-04-09 09:24:14 -05:00
nickofolas
4a0998c568
Fix DOM parse warnings
2022-04-09 09:06:32 -05:00
nickofolas
48895c8d2d
Fix SF list selection
2022-04-09 08:41:03 -05:00
nickofolas
236a5cd645
Minor code improvements
2022-04-09 08:35:31 -05:00
TheMas3212
f53c90b21c
Change Signature of InternalFunction
...
Mark properties of Wrapped NetscriptAPI as readonly
2022-04-09 15:15:45 +10:00
Heinous Tugboat
5b96cedd0c
Adds SnackbarVariant enum
2022-04-08 23:46:19 -04:00
BB
29c1593263
Charisma is now spelled consistently with other mults
2022-04-09 01:45:38 +02:00
nickofolas
271173dca2
Fix consistency of purchased aug list
2022-04-08 16:58:21 -05:00
nickofolas
693ca7baba
Change theme variable used for entropy color
2022-04-08 16:40:06 -05:00
nickofolas
7c9fc3248f
Reduce purchased aug tooltip delay
2022-04-08 16:29:15 -05:00
nickofolas
34ca4d236b
Add ability to clear queued augs from dev menu
2022-04-08 16:28:43 -05:00
nickofolas
101c34effa
Overhaul PlayerMultipliers columns logic
2022-04-08 16:27:16 -05:00
nickofolas
f40af55f46
Change money stat color
2022-04-08 16:10:35 -05:00
nickofolas
79c878dbc3
Add super important lore tidbit to an Augmentation
2022-04-08 13:11:17 -05:00
nickofolas
2d904e08b4
Fix keys
2022-04-08 11:48:37 -05:00
nickofolas
96226f199f
Improve purchased Augs section
2022-04-08 11:22:46 -05:00
nickofolas
b9cc6321fd
SF -1 related fixes
2022-04-08 10:49:10 -05:00
nickofolas
a4bc793cf1
Hide SF display when no SFs owned
2022-04-08 10:21:40 -05:00
nickofolas
81f971b52e
Add coloring to NFG display
2022-04-08 09:43:21 -05:00
nickofolas
5dea27bc28
Fix NFG appearing in installed list
2022-04-08 09:43:09 -05:00
Olivier Gagnon
758b0e1127
fix home ram tooltip
2022-04-08 01:02:36 -04:00
nickofolas
fbf9bc521f
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/stats-augs-ui
2022-04-07 23:55:46 -05:00
Olivier Gagnon
2b994f244d
fmtlint
2022-04-08 00:54:54 -04:00
hydroflame
386106f574
Merge pull request #3378 from nickofolas/fix/congruity-availability
...
[Fix] Removed nickofolas Congruity Implant Augmentation from gangs
2022-04-08 00:53:57 -04:00
Olivier Gagnon
2b2af797a7
fmt and lint
2022-04-08 00:39:45 -04:00
nickofolas
251cdcd6dc
Fix nickofolas Congruity Implant being available in gangs
2022-04-07 23:39:11 -05:00
hydroflame
d956e47246
Merge pull request #3331 from Ornedan/shortest-path-cct
...
New coding contract: Shortest Path in a Grid
2022-04-08 00:38:19 -04:00
hydroflame
1b7abbffaf
Merge pull request #3371 from Hedrauta/Hamming-Coding-Contracts
...
2 new Coding Contracts
2022-04-08 00:35:19 -04:00
nickofolas
e7ad5c5f9e
Remove unnecessary code
2022-04-07 23:33:47 -05:00
nickofolas
e720930f04
Improve sizing of some list-based menus
2022-04-07 23:29:24 -05:00
Olivier Gagnon
a2dddb0e5a
Fix soft reset not installing augs anymore
2022-04-08 00:28:37 -04:00
nickofolas
3d296e2bf0
Consistently respect SF5 BN mult unlock
2022-04-07 23:19:05 -05:00
Olivier Gagnon
589e61c5d1
fix lint
2022-04-08 00:07:48 -04:00
nickofolas
e3e77ea2cc
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/stats-augs-ui
2022-04-07 23:07:43 -05:00
hydroflame
4aa012f9c0
Merge pull request #3372 from nickofolas/feature/unique-aug
...
[Feature] Add special Augmentation for Grafting
2022-04-07 23:35:05 -04:00
nickofolas
9dea381536
Fix SF levels and tweak spacing
2022-04-07 20:44:29 -05:00
nickofolas
960dc354c1
Further tweaks/fixes
2022-04-07 19:06:42 -05:00
TheMas3212
b2e7817a0b
format
2022-04-08 10:02:59 +10:00
TheMas3212
9b53896732
slight change on how wrapping work based on discussion in #development
2022-04-08 09:57:16 +10:00
nickofolas
d728648bfa
Stats tweaks
2022-04-07 18:32:11 -05:00
nickofolas
c94b4f4fd3
Initial aug page overhaul work
2022-04-07 17:53:58 -05:00
nickofolas
a9a31662ce
Tweak style for stats page
2022-04-07 13:17:27 -05:00
nickofolas
3651a8d379
Add employers modal to stats page
2022-04-07 11:50:23 -05:00
nickofolas
57f04d3911
Fix prettier
2022-04-07 11:45:21 -05:00
nickofolas
ed8e1537d6
Initial overhaul work
2022-04-07 11:31:06 -05:00
nickofolas
78463ed1c0
Tweaks and improvements
2022-04-07 11:25:12 -05:00
hydroflame
6ca2bcb3fc
Merge pull request #3375 from danielyxie/dev
...
fix aug main
2022-04-07 10:44:13 -04:00
Olivier Gagnon
dca1ceaf20
fix aug cost
2022-04-07 10:39:13 -04:00
hydroflame
3f82190859
Merge pull request #3374 from danielyxie/dev
...
update main
2022-04-07 10:33:30 -04:00
phyzical
afa2210aa6
Merge branch 'dev' into bugfix/2843
2022-04-07 16:38:48 +08:00
phyzical
d24a26a208
merge dev
2022-04-07 16:37:57 +08:00
phyzical
2b0c618222
fix build error with fix for augmentations not being static
2022-04-07 16:31:31 +08:00
phyzical
c70f59ac54
merge dev
2022-04-07 16:27:23 +08:00
phyzical
43248bbc42
merge dev
2022-04-07 16:25:33 +08:00
phyzical
a4e1b73b19
Merge branch 'dev' into bugfix/3348
...
# Conflicts:
# src/Faction/FactionInfo.tsx
# src/NetscriptFunctions/Singularity.ts
2022-04-07 16:17:28 +08:00
nickofolas
314e37430d
Add Augmentation unique to Grafting
2022-04-07 00:48:39 -05:00
Hedrauta
e286ee1de5
2 new Coding Contracts
...
also run format and lint on it this time 😉
2022-04-07 06:16:14 +02:00
TheMas3212
f0cfc8700a
run formater
2022-04-07 10:23:52 +10:00
TheMas3212
8c58f0676d
Improve Typesafety on API Wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
40f74e4a98
add wrapped helpers to ctx
...
add ramcheck into wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
ea2b444b87
Initial API Wrapper Work
...
onlying wrapping Stanek api currently as test sample
(Rebased onto upstream/dev)
2022-04-07 10:23:46 +10:00
hydroflame
b6d68f7353
Merge branch 'dev' into bugfix/fix-tests
2022-04-06 20:16:51 -04:00
Olivier Gagnon
4fc352a792
fix a few test
2022-04-06 20:12:54 -04:00
Olivier Gagnon
f05b533af5
fix a few test
2022-04-06 20:08:03 -04:00
hydroflame
c94f31fc2a
Merge pull request #3369 from danielyxie/dev
...
fmt / fix sleep
2022-04-06 19:43:57 -04:00
Olivier Gagnon
724c0669da
sleep/asleep return promise true
2022-04-06 19:38:30 -04:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00
hydroflame
ddf0ee6d0c
Merge pull request #3367 from danielyxie/dev
...
Few bugfix
2022-04-06 15:21:20 -04:00
hydroflame
ba6304fbd1
Merge pull request #3351 from phyzical/bugfix/augmentations-not-reseting-correctly
...
changes static arrays to functions to force new creation of augmentations when called
2022-04-06 15:03:45 -04:00
hydroflame
d8b2c003c2
Merge pull request #3307 from steven-r/fix-3281
...
Fix 3281 - ns.goToLocation is expecting the wrong minimum RAM
2022-04-05 20:03:42 -04:00
hydroflame
d683fa5eda
Merge pull request #3337 from phyzical/feature/3332
...
added apr1 terminal command
2022-04-05 20:02:26 -04:00
hydroflame
8e2f9a513b
Merge pull request #3335 from ApamNapat/eslint_warnings_fixes
...
Fixed eslint warnings for unused vars
2022-04-05 20:01:58 -04:00
hydroflame
4cdef2d898
Merge pull request #3349 from phyzical/bugfix/3347
...
add logic to block sleeve working for gang faction
2022-04-05 20:01:02 -04:00
Qiyi Shan
b9caddeeef
Fix workForFaction invalid worktype case
...
When invalid work type, the function should return false instead of true
2022-04-05 11:22:02 -04:00
phyzical
42276db351
add fix for augmentations not reseting
2022-04-04 19:50:01 +08:00
phyzical
4a5edb9f3c
changes static arrays to functions to force new creation when called
2022-04-04 19:44:25 +08:00
phyzical
2ee73cc8d6
missing space
2022-04-04 18:34:07 +08:00
phyzical
dfe9e98c77
move route to terminal to the inside of the common fucntion
...
* tested without bandaid still works correctly
* fix default script with installAugmentations
2022-04-04 18:29:43 +08:00
phyzical
8eccdf16e1
add logic to block working for gang faction
2022-04-04 18:10:21 +08:00
Heikki Aitakangas
a7d200f7c6
Strip trailing spaces
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a6710eb3e5
No need to return WorkerScript from startNetscript*Script promises, their only calling function already has the correct object in a variable
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
cbd59975d4
makeRuntimeRejectMsg expects the 'msg' to be string-like
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
4fd55f099b
This should not reject with ScriptDeath, the script is not being killed. Just 'undefined' isn't great either so left a TODO about improving it
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a578763b89
Use a dedicated ScriptDeath type to signal script termination instead of WorkerScript
...
Problem with throwing WorkerScript is that the termination signal object can pass
through user code, which permits user to modify that object and all parts of the
game state accessible through it.
2022-04-02 23:28:21 +03:00
Heikki Aitakangas
1ed1f78222
Fixed a wrong comment
2022-04-02 23:27:06 +03:00
phyzical
10fafd39f3
fix the amt issue for modal also
2022-04-02 20:17:30 +08:00
phyzical
a8689cb28b
Merge branch 'dev' into bugfix/corp-updates
2022-04-02 20:12:19 +08:00
phyzical
61fc815a6b
added apr1 terminal command
...
* just opens the rickroll modal
2022-04-02 20:08:57 +08:00
phyzical
0fbb8553e6
add fix for bulk buy when purchase amount exceeds warehouse size
...
* add logic to disable button when input is invalid
2022-04-02 19:38:26 +08:00
BB
c7a95ccb2d
Fixed eslint warning for unused vars
2022-04-02 13:11:55 +02:00
phyzical
8d56c41dd6
actual fix for the reseting of limit, need to reset modal internal state
2022-04-02 13:29:56 +08:00
phyzical
fadc1de2bd
added logic to not include NF in infil, bladburner, cotmg
2022-04-02 10:50:39 +08:00
phyzical
9e39ca32a5
fix text for sell shares modal text
2022-04-02 10:47:21 +08:00
Heikki Aitakangas
233289af56
Fix lint errors
2022-04-02 05:16:48 +03:00
Heikki Aitakangas
197e875610
Set Shortest Path contract difficulty factor
2022-04-02 04:34:16 +03:00
Heikki Aitakangas
809f8f6687
Tuned Shortest Path contract generation
...
Now generates about 4/5 puzzles where a path exists and 1/5 with the destination
completely blocked off.
2022-04-02 04:27:42 +03:00
Heikki Aitakangas
fb0cc15794
New coding contract type: 'Shortest Path in a Grid'
2022-04-02 03:18:18 +03:00
Heikki Aitakangas
d69e94002e
Add binary heap data structure
2022-04-02 03:18:18 +03:00
BB
c495d39e6b
Fixed type of makeRuntimeErrorMsg in INetscriptHelper
2022-04-02 00:30:12 +02:00
Olivier Gagnon
e3e6b449d4
Make Stanek hacknet cost percentage better.
2022-04-01 16:59:23 -04:00
hydroflame
f6c3c86b7a
Merge pull request #3327 from danielyxie/dev
...
Fix stanek initializing some fragment to -1-1
2022-04-01 16:42:09 -04:00
Olivier Gagnon
b86ff7d405
allbuild commit 6c8a46d3
2022-04-01 16:39:58 -04:00
hydroflame
9eab252cbf
Merge pull request #3326 from danielyxie/dev
...
v1.6.3
2022-04-01 16:06:02 -04:00
Olivier Gagnon
6c8a46d38b
allbuild commit 1bf12d29
2022-04-01 16:05:16 -04:00
Olivier Gagnon
cd09589f25
stanek-formula-rework
2022-04-01 15:45:12 -04:00
phyzical
4224c7defd
fix stock price estimate text when selling
2022-04-02 00:37:42 +08:00
phyzical
50cfa99b24
fix for reseting limit production
...
closes #3175
2022-04-01 23:21:05 +08:00
phyzical
b73570e2f7
added the ability to mass upgrade warehouse
2022-04-01 23:19:08 +08:00
phyzical
e5bb695f6f
expose material cost
...
closes #3173
2022-04-01 22:32:48 +08:00
phyzical
13c486d639
added logic to support material production limit
...
* added ns functions for limit production and limit material
closes #3180
2022-04-01 22:28:48 +08:00
phyzical
60f56a55ab
move modals to a modals folder
2022-04-01 21:55:23 +08:00
phyzical
2efa3ac351
dissalow corporations when multiplier is below 0.15
...
closes #3003
2022-04-01 21:05:01 +08:00
phyzical
1eca9449a0
removes spaces in at start and end of product name on creation
...
closes #3007
2022-04-01 20:58:36 +08:00
phyzical
a1871fb0e9
add logic in dev menu to support easy corp, gang and bladeburner
...
closes #3205
2022-04-01 20:54:07 +08:00
phyzical
ea14646d39
added check for already expanding into city
...
fixes #3312
2022-04-01 19:50:21 +08:00
Steven Malis
e572c6e139
Add unassigned and training.
2022-04-01 01:44:53 -04:00
Steven Malis
bb62973905
Fix docs for employeeProd and add employeeJobs.
2022-04-01 01:37:27 -04:00
hydroflame
01122cc397
Merge pull request #3320 from danielyxie/dev
...
apr1
2022-04-01 01:21:11 -04:00
Olivier Gagnon
9b4750aed4
allbuild commit d9499077
2022-04-01 01:18:03 -04:00
hydroflame
d94990779f
Merge pull request #3319 from danielyxie/apr1
...
Added apr1
2022-04-01 01:13:37 -04:00
hydroflame
fa9aa67577
Merge pull request #3315 from danielyxie/dev
...
Added formulas for faction
2022-03-31 15:54:39 -04:00
Olivier Gagnon
4b867fea3e
rename factions formulas to reputation
2022-03-31 15:52:03 -04:00
PSEUDOSTAGE
a5f63e5932
fixed trailing spaces
2022-03-31 15:38:35 -04:00
PSEUDOSTAGE
ad9ff78533
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
...
The favorToRep and repToFavor formulas are shown to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor functions.
2022-03-31 15:28:25 -04:00
PSEUDOSTAGE
a0333d36a5
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
...
The favorToRep and repToFavor formulas are displayed to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor as new functions.
2022-03-31 15:27:02 -04:00
Olivier Gagnon
384cfb0044
Added apr1
2022-03-31 12:04:06 -04:00
hydroflame
3158c18129
Merge pull request #3310 from danielyxie/dev
...
Fix a few bugs
2022-03-31 10:59:54 -04:00
Olivier Gagnon
d04e05eac8
allbuild commit 5d36336d
2022-03-31 10:52:24 -04:00
Olivier Gagnon
5d36336db9
allbuild commit 65c8e2b2
2022-03-31 10:50:06 -04:00
Olivier Gagnon
65c8e2b280
Fix aug cost
2022-03-31 10:45:52 -04:00
phyzical
4232741613
change back general augment price adjustment
2022-03-31 22:40:53 +08:00
phyzical
2edfb6e35d
merge base
2022-03-31 22:36:47 +08:00
phyzical
18af3f8413
moved updateRam to first call to avoid lack of mocks for tests
...
* added wrapper funcs to simplify updateRam
* added static parser tests and skiped what isnt worker still for next person to try and fix
2022-03-31 21:41:19 +08:00
phyzical
d56702b742
Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction
2022-03-31 19:00:35 +08:00
phyzical
5831409418
move augmentationsCreator to data
...
* only show multiple on purchase augmentation for non infiltrators
2022-03-31 19:00:15 +08:00
Stephen Reindl
689059ea83
Fix expected ram calculation for ns.goToLocation()
2022-03-31 12:37:33 +02:00
hydroflame
a0361c9a42
Merge pull request #3304 from danielyxie/revoke-fix
...
revoke-fix
2022-03-30 21:43:43 -04:00
Olivier Gagnon
3e6d1f6d95
round 2
2022-03-30 21:40:51 -04:00
Olivier Gagnon
695bca73b8
revoke-fix
2022-03-30 21:38:36 -04:00
nickofolas
a80693dab2
Merge branch 'dev' into fix/grafting-pre-reqs
2022-03-30 21:12:44 -04:00
hydroflame
176ddd4f0b
Merge pull request #3303 from danielyxie/dev
...
Re-add some gang augs at random.
2022-03-30 21:00:55 -04:00
Olivier Gagnon
c511fa644d
Re-add augs in gangs but randomly based on BNx.y
2022-03-30 20:58:09 -04:00
hydroflame
ce944bfccb
Merge pull request #3280 from nickofolas/improvement/filter-helper-func
...
[Improvement] Implement helper function for filtering Faction Augmentations
2022-03-30 20:28:31 -04:00
Jack
e11819f0fd
Merge branch 'dev' into feature/add-infiltration-faction
2022-03-31 08:09:00 +08:00
hydroflame
2a0f1ddc98
Merge pull request #3248 from phyzical/bugfix/3244
...
recovery screen fix for when augmenting and working
2022-03-30 19:51:28 -04:00
hydroflame
d58a30a3f1
Merge pull request #3300 from bradygroharing/fix/WireCuttingFix
...
Fixed the dropped ! for the boolean evaluation
2022-03-30 19:48:27 -04:00
hydroflame
2b523b51f5
Merge pull request #3294 from nickofolas/fix/grafting-crash
...
[Fix] Grafting crash when all Augmentations owned
2022-03-30 19:48:00 -04:00
hydroflame
21f0426e99
Merge pull request #3301 from danielyxie/dev
...
Fix toasts
2022-03-30 19:09:37 -04:00
Olivier Gagnon
4b8791e329
Fix toast
2022-03-30 18:59:30 -04:00
Brady
1e928af5db
Fixed the dropped ! for the boolean evaluation
2022-03-30 15:19:08 -06:00
hydroflame
8c2bfc32f8
Merge pull request #3299 from danielyxie/dev
...
Fix getScriptslOgs
2022-03-30 15:32:08 -04:00
Olivier Gagnon
b0281154fe
fix getScriptLogs
2022-03-30 15:29:25 -04:00
hydroflame
1fe24b842f
Merge pull request #3297 from danielyxie/dev
...
Fix aug cost not updating properly
2022-03-30 15:02:52 -04:00
Olivier Gagnon
ec87752e79
fix aug cost not properly updating
2022-03-30 14:59:53 -04:00
nickofolas
83a386584c
Make compiler happy
2022-03-30 14:37:34 -04:00
nickofolas
73af73fdb4
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/filter-helper-func
2022-03-30 14:35:27 -04:00
nickofolas
a384b8af52
Fix grafting crash when all Augs owned
2022-03-30 14:29:59 -04:00
hydroflame
5413abbb7a
Merge pull request #3293 from danielyxie/dev
...
fix is running
2022-03-30 14:15:20 -04:00
Olivier Gagnon
8812451a32
allbuild commit 432c8dd2
2022-03-30 14:14:47 -04:00
Olivier Gagnon
432c8dd206
Fix isRunning
2022-03-30 14:11:21 -04:00
hydroflame
d3a87ba0be
Merge pull request #3292 from danielyxie/dev
...
Fix more unknown type errros
2022-03-30 13:47:10 -04:00
Olivier Gagnon
2985cf1cec
fix rm
2022-03-30 13:44:24 -04:00
Olivier Gagnon
3458b57c7d
fix tail
2022-03-30 13:37:10 -04:00
hydroflame
510eb39988
Merge pull request #3291 from danielyxie/dev
...
Fix getRunningScript
2022-03-30 13:35:55 -04:00
Olivier Gagnon
fdcd13c312
fix getRunnignScript
2022-03-30 13:33:04 -04:00
hydroflame
4340460a35
Merge pull request #3290 from danielyxie/dev
...
Fix ns.kill
2022-03-30 13:17:09 -04:00
Olivier Gagnon
f8e050ba26
allbuild commit f4a58ff5
2022-03-30 13:16:14 -04:00
hydroflame
38b15eeeba
Merge pull request #3289 from danielyxie/dev
...
Cut grafting time in hafl.
2022-03-30 12:13:53 -04:00
Olivier Gagnon
f4a58ff5a9
allbuild commit cc4dd100
2022-03-30 12:11:41 -04:00
hydroflame
8354ba2314
Merge pull request #3286 from phyzical/bugfix/fix-max-warehouse-bulk-purchase
...
incorrect ternary with bulk purchase
2022-03-30 11:34:48 -04:00
Olivier Gagnon
73023f4f3c
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-03-30 11:34:07 -04:00
Olivier Gagnon
98ae97afea
Validate city name coming from netscript
2022-03-30 11:34:03 -04:00
phyzical
3c991a743c
incorrect ternary
2022-03-30 23:33:45 +08:00
phyzical
64d095e911
change to any for ns location
2022-03-30 22:24:19 +08:00
Heinous Tugboat
9b0422f9ee
Removes extra asterisk in template
2022-03-30 10:18:07 -04:00
phyzical
5486398199
fix prices of augments reseting when refreshing the game
2022-03-30 21:58:27 +08:00
phyzical
6f5d22c1bd
fix for off by one with neruflux
2022-03-30 21:53:53 +08:00
phyzical
ee45f91960
move back to original spot
2022-03-30 19:17:24 +08:00
phyzical
7338bb6766
fix for neruflux pricing i think..
2022-03-30 19:14:51 +08:00
phyzical
a4cd3ad38d
minor adjustments to where getNerufluxGenerator is after merge base
2022-03-30 19:13:44 +08:00
phyzical
be24562d34
merge dev
2022-03-30 19:11:34 +08:00
phyzical
07c6051004
merge dev
2022-03-30 19:00:57 +08:00
Olivier Gagnon
ab93cfa887
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-03-30 00:18:05 -04:00
Olivier Gagnon
95f7112987
typo
2022-03-30 00:18:02 -04:00
hydroflame
0e89017794
Merge pull request #3246 from phyzical/refactor-more-key-codes
...
slice out event key constant refactors
2022-03-30 00:12:36 -04:00
Olivier Gagnon
93f5249916
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-03-29 23:49:46 -04:00
Olivier Gagnon
6d591db0d2
Fix NF not working.
2022-03-29 23:49:39 -04:00
hydroflame
80d5132291
Merge pull request #3245 from phyzical/augmentation-refactors
...
slice out refactor of augmenation realted stuff from new faction pr
2022-03-29 23:47:27 -04:00
Olivier Gagnon
12d5f55aec
unknown-ify the rest of the basic API.
2022-03-29 22:14:56 -04:00
Olivier Gagnon
aa0425a23d
unknown-ify half the basic API.
2022-03-29 21:42:27 -04:00
nickofolas
5d27ce7aa3
Impl faction augs filter helper function
2022-03-29 21:10:07 -04:00
Olivier Gagnon
cd1f01846f
unknown-ify bladeburner API.
2022-03-29 20:44:27 -04:00
phyzical
b3a52c6224
one minor compile issue
2022-03-30 08:36:27 +08:00
Olivier Gagnon
4d9a8e7bba
unknown-ify coding contract API.
2022-03-29 20:29:05 -04:00
Jack
b79f466395
Merge branch 'dev' into bugfix/2958
2022-03-30 08:26:18 +08:00
Olivier Gagnon
6c9a3a336e
unknown-ify corp API.
2022-03-29 20:24:04 -04:00
phyzical
6c530202b2
missed one file removal
2022-03-30 08:19:25 +08:00
phyzical
cee53ee1a7
merge base
2022-03-30 08:18:16 +08:00
Olivier Gagnon
c1401bef27
unknown-ify the gang API.
2022-03-29 20:12:55 -04:00
Olivier Gagnon
bbbaa89f74
unknown-ify singularity API
2022-03-29 20:05:40 -04:00
Olivier Gagnon
725c8234c9
unknown-ify the singularity API.
2022-03-29 19:49:37 -04:00
hydroflame
fa18ee63a2
Merge pull request #3276 from danielyxie/dev
...
Fix some ram costs.
2022-03-29 18:37:40 -04:00
Olivier Gagnon
cccd39456c
allbuild commit 6b25ba5c
2022-03-29 18:28:52 -04:00
Olivier Gagnon
6b25ba5cd8
allbuild commit da27223a
2022-03-29 18:13:08 -04:00
hydroflame
da27223a9b
Merge pull request #3272 from jjclark1982/patch-3
...
Update RamCostGenerator
2022-03-29 18:06:20 -04:00
hydroflame
78c1af79e8
Merge pull request #3275 from danielyxie/dev
...
Re-add TRP in gang and make .singularity a namespace.
2022-03-29 18:03:25 -04:00
Olivier Gagnon
48e73a9131
allbuild commit /usr/bin/git
2022-03-29 18:00:57 -04:00
Olivier Gagnon
a6e256ad5a
Step 1 of moving singularity functions
2022-03-29 17:48:45 -04:00
Jesse Clark
fcc121cc21
Fix spelling of grafting functions
2022-03-29 14:34:48 -07:00
Jesse Clark
cde6eca6b5
Set mv
ram cost to ScriptReadWriteRamCost
...
This seems a bit high but avoids an exploit due to setting it lower than `rm`.
2022-03-29 14:27:30 -07:00
Jesse Clark
1d0c5d8fef
Set atExit ram cost to 0
2022-03-29 14:24:38 -07:00
hydroflame
c793965a4b
Merge pull request #3273 from danielyxie/dev
...
Remove tail window search
2022-03-29 17:20:20 -04:00
Olivier Gagnon
1789e1b745
allbuild commit /usr/bin/git
2022-03-29 17:19:14 -04:00
Jesse Clark
4d48b7c621
Update Stanek functions in RamCostGenerator
2022-03-29 14:17:42 -07:00
nickofolas
4f7b44df39
Handle pre-requisite augmentations
2022-03-29 17:09:36 -04:00
hydroflame
c3fd002644
Merge pull request #3270 from danielyxie/dev
...
Documentation generation
2022-03-29 15:50:20 -04:00
Olivier Gagnon
24ede1c68d
allbuild commit /usr/bin/git
2022-03-29 15:49:31 -04:00
Olivier Gagnon
8dcd60289c
allbuild commit /usr/bin/git
2022-03-29 15:45:50 -04:00
hydroflame
8ccf5a2d43
Merge pull request #3269 from danielyxie/dev
...
v1.6.0
2022-03-29 15:37:55 -04:00
Olivier Gagnon
05cf27d3d0
Final fix for 1.6
2022-03-29 15:33:22 -04:00
Olivier Gagnon
ac34829649
pre-1.6
2022-03-29 15:30:22 -04:00
Olivier Gagnon
443b0b6a89
rename functions in staneks gift
2022-03-29 14:20:40 -04:00
Olivier Gagnon
6e12e3a85b
typo
2022-03-29 14:09:52 -04:00
Olivier Gagnon
680081c548
post-grafting changes
2022-03-29 14:09:17 -04:00
hydroflame
fb1bce579f
Merge pull request #3170 from nickofolas/feature/grafting
...
[Feature] Grafting
2022-03-29 13:25:41 -04:00
phyzical
79238ea5e9
fix for augmentation pricing
2022-03-29 23:42:57 +08:00
hydroflame
346ffa259b
Merge pull request #3250 from MartinFournier/feat/warn-autosave-off
...
Add a warning triggered while auto-saves are off
2022-03-29 11:30:15 -04:00
hydroflame
c618e71a9a
Merge pull request #3251 from waffleattack/patch-7
...
Clarified error message
2022-03-29 11:27:50 -04:00
hydroflame
3456acc6a8
Update connect.ts
2022-03-29 11:27:34 -04:00
hydroflame
4a6d1c67c8
Merge pull request #3249 from ApamNapat/fix_field_analysis_log
...
Log info for field analysis now displays actual rank gained
2022-03-29 11:10:53 -04:00
phyzical
fd64746ff8
various fixes and adjustments
2022-03-29 22:43:28 +08:00
Thomas B
0a9bded0d8
Clarify Error Message
...
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-28 08:33:05 -04:00
nickofolas
bd3f256536
Update doc for some grafting API funcs
2022-03-27 15:44:25 -04:00
nickofolas
5890ce0cf1
Cleanup comments in Constants.ts
2022-03-27 15:40:24 -04:00
nickofolas
3b32811f5e
Grafting API RAM cost & doc update
2022-03-27 15:33:31 -04:00
nickofolas
9f6c827dee
Properly return false from craftAug
2022-03-27 15:33:03 -04:00
nickofolas
2aaf880e27
Fix oversight in WIPRoot
2022-03-27 15:23:35 -04:00
phyzical
7c5097ee83
added ns functions
...
* refactored out logic to be reused by api
2022-03-27 15:53:13 +08:00
phyzical
aa3b692aac
Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction
2022-03-27 12:27:56 +08:00
phyzical
7f28158005
moved over to player stats
...
* added new augmentations
2022-03-27 12:26:43 +08:00
DavidGrinberg
4497fbdda0
Update documentation for purchaseTor
...
Reflect the changes to the logic
2022-03-25 23:02:23 -04:00
Jack
557f0d8bff
Merge branch 'dev' into feature/add-infiltration-faction
2022-03-26 10:59:24 +08:00
phyzical
e11cc1946e
UP_ARROW fix
2022-03-26 10:58:28 +08:00
phyzical
d94f391dc6
fix augmentation side effect for bribe game
...
fix double tick for wire cutting game
2022-03-26 10:50:28 +08:00
DavidGrinberg
c6a2664296
purchaseTor returns true if player already has tor
...
Change `purchaseTor` to return `true` if the player already has purchased Tor. Previously it would return `false`
Changing this to true puts the behavior inline with the already existing behavior of `purchaseProgram`, which returns true if you have already purchased the program. Additionally this lets us call `purcahseTor` with the same logic that we use to call `purchaseProgram`
2022-03-25 13:06:12 -04:00
phyzical
a0d845ffae
mini game fixes
2022-03-25 23:39:14 +08:00
Thomas B
fe0b6d5982
Clarified error message
2022-03-25 09:41:23 -04:00
Martin Fournier
2262d6d8dd
Add a warning triggered while auto-saves are off
...
The check auto-save engine loop will show a warning toast if the auto-saves are disabled (at 0s) and not suppressed. This warning includes a button to re-enable them.
Adds a user setting to suppress those warnings.
Adds information to save button tooltip.
2022-03-25 09:18:35 -04:00
Jack
57b59de9be
fix arrows
2022-03-25 20:10:20 +08:00
phyzical
e69bb21b5c
Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction
2022-03-25 19:56:15 +08:00
BB
2bdc00bc9e
Log info for field analysis now displays actual rank gained instead of 0.1 regardless of modifiers
2022-03-24 19:00:38 +01:00
phyzical
2bebb4e228
reroute to terminal instead
2022-03-24 23:20:11 +08:00
phyzical
6ad2f156d7
recovery screen fix for when augmenting and working
2022-03-24 23:13:54 +08:00
Tomas Pavlik
f439f960b7
Accept valid JSON arrays in coding contracts
2022-03-24 16:13:13 +01:00
phyzical
c681828ec1
few more event key. constant refactors
2022-03-24 23:09:24 +08:00
phyzical
a65c82ff22
slice out refactor of augmenation realted stuff from new faction pr
...
* moved some of augmentation helper stuff to new file augmentation creator
* simplified init augmenations
* converted augmentation names to enum
2022-03-24 22:33:38 +08:00
Jack
f0bf01680b
Update src/Infiltration/ui/WireCuttingGame.tsx
2022-03-24 22:26:24 +08:00
Jack
f2095e35c2
a revert
2022-03-24 22:15:36 +08:00
phyzical
ef06bc30e5
missed refactor
2022-03-24 21:56:53 +08:00
phyzical
d80346f816
incorrect import
2022-03-24 21:52:27 +08:00
phyzical
e8fffc6183
added two additonal augmentations
...
* refactored augmentation names to enum
2022-03-24 21:19:49 +08:00
nickofolas
b437adb16c
Simplify API check
2022-03-23 15:48:39 -05:00
nickofolas
3476f0f0eb
Grafting API (no RAM costs yet)
2022-03-23 12:35:15 -05:00
nickofolas
1c696b5518
Update purchaseAugmentation rules
2022-03-23 12:04:49 -05:00
nickofolas
6a8426abd2
Allow every aug in gangs in BN2
2022-03-23 11:17:03 -05:00
nickofolas
5416038fd7
Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting
2022-03-23 11:10:18 -05:00
phyzical
80edb744bf
added logic to rewward and invite to infiltrators on infil completion
2022-03-23 23:23:01 +08:00
phyzical
0b171822df
more updates
...
* added more keycodes constant support
* implemented new faction mechanics for mini games
* more small refactors
2022-03-23 22:31:56 +08:00
nickofolas
3df3e04f9c
Formulas
2022-03-22 17:53:57 -05:00
phyzical
4e73e489ed
more refactors
2022-03-22 23:02:15 +08:00
hydroflame
1c801c5651
Merge pull request #3217 from phyzical/bugfix/dom-nesting-error-with-ul
...
fix for dom nesting with elements like ul
2022-03-22 10:46:35 -04:00
hydroflame
3af0a32436
Merge pull request #3222 from MartinFournier/chore/rm-unused
...
Remove old & unused files from repository
2022-03-22 10:43:16 -04:00
hydroflame
6905651b22
Merge pull request #3219 from phyzical/bugfix/1775-2
...
fix to log manager take 2
2022-03-22 10:42:21 -04:00
hydroflame
4c64863314
Merge pull request #3220 from phyzical/bugfix/3214
...
add similar sort to the faction joined list
2022-03-22 10:41:59 -04:00
hydroflame
2edc01776d
Merge pull request #3225 from waffleattack/patch-6
...
Cap Staneks gift at 25x25 to prevent crashes
2022-03-22 10:37:04 -04:00
Olivier Gagnon
1fae48e1ce
lint
2022-03-22 10:36:56 -04:00
Olivier Gagnon
1ad27bb95e
lint
2022-03-22 10:36:01 -04:00
phyzical
673222eaf8
update new augmentation outcomes
2022-03-22 21:30:38 +08:00
Thomas B
5d2f2d4373
Update StaneksGift.ts
2022-03-22 08:38:28 -04:00
Thomas B
8b8b098fb6
Update Constants.ts
2022-03-22 08:37:11 -04:00
Thomas B
70306ce61b
Merge branch 'danielyxie:dev' into patch-6
2022-03-22 08:36:11 -04:00
Thomas B
67ca1fc3e5
Update Constants.ts
2022-03-22 08:35:22 -04:00
phyzical
5ede4a70db
removed unused imports
2022-03-22 19:48:18 +08:00
phyzical
78c0cac50b
reafactored augmentations helpers to have another file it was getting tooooo big
...
reused duplicated code
2022-03-22 19:24:32 +08:00
BB
961a887c56
Removed BladeburnerSkillCost from skill point cost description
2022-03-22 02:09:31 +01:00
hydroflame
4cba813fe4
Merge pull request #3229 from danielyxie/dev
...
Fix keyboard bug
2022-03-21 20:02:55 -04:00
Dominik Winter
14cdff5edd
fix handling for UpArrow in bladeburner console
2022-03-21 21:32:07 +01:00
nickofolas
d6e0180116
Add confirmation modal to crafting
2022-03-21 14:54:39 -05:00
nickofolas
16fa4c8d7f
Update BN10 description
2022-03-21 14:44:50 -05:00
nickofolas
720e2112c6
prettier and remove formulas dir
2022-03-21 14:40:17 -05:00
nickofolas
010a4f1aa3
Fix Entropy application after grafting
2022-03-21 14:30:03 -05:00
nickofolas
c68093f71c
Show Entropy in Augmentations page
2022-03-21 14:25:58 -05:00
Thomas B
9381cb4a67
Cap Stanek at 25x25
2022-03-21 12:46:38 -04:00
nickofolas
59a67c0f93
Update Entropy lore
2022-03-21 11:44:58 -05:00
Thomas B
a57042276b
Cap Staneks Gift at 25x25
2022-03-21 12:44:26 -04:00
nickofolas
d820625721
Remove fragment and fix typo
2022-03-21 11:17:06 -05:00
nickofolas
dfca624e35
Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting
2022-03-21 11:08:48 -05:00
phyzical
dc9c05b345
another multipler based on purchases
2022-03-21 23:17:52 +08:00
phyzical
7d647c0b1b
added startinRepRequirement for multiplying
...
added logic to increase ost based on amount of infiltators augmentations purchased
removed some copyright issues
2022-03-21 23:17:36 +08:00
Jack
4c862ef313
Update src/Faction/ui/FactionsRoot.tsx
2022-03-21 23:11:04 +08:00
phyzical
796881f35d
fix the correct base point for sorting
2022-03-21 21:23:34 +08:00
phyzical
c6accf1eaf
merge base
2022-03-21 21:00:51 +08:00
phyzical
5532b81285
add similar sort to the faction invite list
2022-03-21 20:13:28 +08:00
phyzical
54e8f701a1
change to 100 ms
2022-03-21 20:02:59 +08:00
phyzical
7271f37ec5
added logic to pick up log when its closed via event emotter
2022-03-21 19:56:54 +08:00
Martin Fournier
28f11a3211
Remove unused files
2022-03-21 07:48:07 -04:00
phyzical
14b4b08294
fix for dom nesting with elements like ul
2022-03-21 19:17:12 +08:00
hydroflame
4b7b34833b
Merge pull request #3213 from danielyxie/dev
...
critical bug fix
2022-03-21 00:32:32 -04:00
Olivier Gagnon
0171fc236c
Fix some augs not getting added.
2022-03-21 00:30:11 -04:00
hydroflame
01a2530863
Merge pull request #3211 from danielyxie/dev
...
Little fixes and PRs
2022-03-20 23:31:11 -04:00
Olivier Gagnon
699ae2e967
with SLEEVE_8, fix workForFaction
2022-03-20 23:27:53 -04:00
Olivier Gagnon
05fe14a5ed
Fix some key not working
2022-03-20 23:11:26 -04:00
phyzical
b4260173e7
more intial infil aug changes
2022-03-21 10:53:36 +08:00
hydroflame
81d1c02fdf
Merge pull request #3210 from danielyxie/prettier-ci
...
Added dark web functions to ns api
2022-03-20 22:50:42 -04:00
Olivier Gagnon
fb7c65957d
Added dark web functions to ns api
2022-03-20 22:49:46 -04:00
hydroflame
e56f7356cd
Merge pull request #2883 from chrisrabe/fix/hackanalyzethreads-infinity
...
fix: fixed hackAnalyzeThreads returning infinity
2022-03-20 22:23:15 -04:00
hydroflame
ecffc8655a
Merge pull request #3209 from danielyxie/prettier-ci
...
prettier ci
2022-03-20 22:21:00 -04:00
Olivier Gagnon
00d1d294ed
fix lint errors
2022-03-20 22:14:32 -04:00
hydroflame
8506dcfed5
Merge pull request #3115 from ApamNapat/remove_unreachable_code
...
Removed unreachable code
2022-03-20 21:46:23 -04:00
hydroflame
290f36b600
Merge pull request #2881 from dwRchyngqxs/reverse_grow_newton
...
growthAnalyze (choice 2 / documented math) - only merge one of these
2022-03-20 21:40:02 -04:00
hydroflame
9eee30170f
Merge pull request #3189 from Master-Guy/issues/2725
...
dialogBox+stop on NS1 async function throw
2022-03-20 21:27:57 -04:00
hydroflame
04d45a1f0e
Merge pull request #3192 from gianfun/check-corp-upgrade-before-purchase
...
Check before unlocking corp upgrade
2022-03-20 21:27:21 -04:00
Olivier Gagnon
10f7d0ebbc
fix react error
2022-03-20 21:26:10 -04:00
Olivier Gagnon
edb347e566
rm current task from gang
2022-03-20 21:22:21 -04:00
hydroflame
2ad1016df8
Merge pull request #3191 from phyzical/feature/aug-simplification
...
augment simplification
2022-03-20 21:18:35 -04:00
hydroflame
15fae213ab
Merge pull request #2872 from SagePtr/getserver-hasownproperty
...
Add hasOwnProperty check to GetServer
2022-03-20 21:16:04 -04:00
hydroflame
27603e7a66
Merge pull request #2739 from surdaft/bugfix/2734-theme-apply-fails
...
WIP: 2734: Fix regex to enable alpha transparency hex codes (8 digits)
2022-03-20 21:14:50 -04:00
hydroflame
251aa6d862
Merge pull request #2848 from SagePtr/share-change
...
[Balance] Add CalculateShareMult to Field Work and Security Work
2022-03-20 21:14:03 -04:00
BB
9c9550ad42
Removed unreachable code
2022-03-20 19:33:10 +01:00
hydroflame
7b075f31ee
Merge pull request #2868 from zeddrak/patch-4
...
(Not Tested) Show current task on gang management screen
2022-03-20 14:28:52 -04:00
hydroflame
b295dd084d
Merge pull request #2878 from phyzical/bugfix/fix-ui-gang-member-task
...
Fix for ui of gang members current task when set via api
2022-03-20 14:25:23 -04:00
hydroflame
a980cb495f
Merge pull request #3150 from Master-Guy/issues/3080
...
Fixed number formatting and added tests
2022-03-20 14:23:16 -04:00
hydroflame
9922ffb3c2
Merge branch 'dev' into issues/2308
2022-03-20 14:22:32 -04:00
hydroflame
d2dedace2e
Merge pull request #3152 from Master-Guy/issues/1944
...
Issues/1944
2022-03-20 14:21:28 -04:00
hydroflame
8faacfc4ef
Merge pull request #3158 from Master-Guy/features/2462
...
Tabelize linked output of `ls`
2022-03-20 14:20:53 -04:00
Olivier Gagnon
0fbcc30555
rm unused improt
2022-03-20 14:20:17 -04:00
hydroflame
7a2bf64fce
Revert "Fix #3194 : include all division employees in small town achievement calc"
2022-03-20 14:16:03 -04:00
hydroflame
21cab81ba6
Merge pull request #3195 from BrianLDev/issue-3194
...
Fix #3194 : include all division employees in small town achievement calc
2022-03-20 14:15:37 -04:00
hydroflame
7e3a5e76c3
Merge pull request #3193 from t-wolfeadam/feature/corp-api-bonustime
...
Implement getBonusTime in Corporation API
2022-03-20 14:13:35 -04:00
hydroflame
629707dc32
Merge pull request #3199 from phyzical/bugfix/fix-sleeve-shock-check
...
purchaseSleeveAug
2022-03-20 14:13:17 -04:00
hydroflame
97685ac7b4
Merge pull request #3200 from phyzical/bugfix/combine-no-faction-check
...
combine !faction check modals
2022-03-20 14:11:30 -04:00
Heikki Aitakangas
f6a9bd1de7
Fix #3198 : give player code a copy of Division.upgrades instead of the live object
2022-03-20 15:12:21 +02:00
phyzical
dc5f709223
combine !faction check modals
2022-03-20 20:58:42 +08:00
phyzical
7fdbc81594
used the getSleeveStats as it seems to be a miss connection between whats displayed and whats used
...
i.e sleeve.shock of 100 is actually a shock value of 0 for the use
2022-03-20 20:56:33 +08:00
phyzical
58e3ecbf69
added inital augs
2022-03-20 20:47:59 +08:00
Brian Leip
07a3f3b753
Fix #3194 : include all division employees in small town achievement calc
2022-03-19 15:28:37 -07:00
t.wolfeadam
5702cb04b6
Implement getBonusTime in Corporation
...
Used documentation from other 'getBonusTime' methods
2022-03-19 15:22:29 -05:00
Gian P
8be65faf9f
Check before unlocking corp upgrade
2022-03-19 16:53:28 -03:00
nickofolas
3aa0b6b948
Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting
2022-03-19 14:16:20 -05:00
nickofolas
1f4f13c8ef
Main grafting exposition
2022-03-19 14:12:58 -05:00
nickofolas
4c422347d4
Polish entropy
...
- Also adds DevMenu entry
2022-03-19 13:59:34 -05:00
phyzical
a25fdb9f75
updated factionInfo
2022-03-20 02:41:13 +08:00
phyzical
b8556c34fb
Merge branch 'feature/aug-simplification' into feature/add-infiltration-faction
2022-03-20 02:40:15 +08:00
phyzical
7008919724
augment simplification
2022-03-20 02:29:20 +08:00
hydroflame
07c64b684c
Merge pull request #3190 from danielyxie/dev
...
few bugfix
2022-03-19 14:25:09 -04:00
nickofolas
c92b159580
Implement entropy accumulation system
2022-03-19 13:15:31 -05:00
Master-Guy
7ec1ced729
dialogBox+stop on NS1 async function throw
2022-03-19 18:21:18 +01:00
Olivier Gagnon
f801dc6d8a
allbuild commit /usr/bin/git
2022-03-19 12:58:18 -04:00
nickofolas
c33c23700e
Remove resleeving from code
2022-03-19 11:43:58 -05:00
Master-Guy
91841836c9
One more IP reference
2022-03-19 17:35:55 +01:00
nickofolas
a70969df14
Add back button to GraftingRoot
2022-03-19 11:17:28 -05:00
nickofolas
d2dd88c5ca
Polish some UI
2022-03-19 11:04:15 -05:00
nickofolas
fef5ab31b2
Implement CraftableAugmentation
2022-03-19 11:03:18 -05:00
phyzical
8d83c27077
Merge branch 'dev' into feature/add-infiltration-faction
2022-03-19 23:56:46 +08:00
phyzical
e5f5ea413b
added inital factions for infiltrators
2022-03-19 23:56:29 +08:00
nickofolas
dc5b925f65
Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting
2022-03-19 10:38:21 -05:00
Olivier Gagnon
cbeb6d13d3
fix misnamed factions
2022-03-19 11:37:13 -04:00
nickofolas
c5d86fba4d
Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting
2022-03-19 10:27:49 -05:00
hydroflame
15badafd37
Merge pull request #3184 from nickofolas/improvement/sleeve-and-clash-ui
...
Sleeve and Territory UI refresh
2022-03-19 11:23:28 -04:00
Olivier Gagnon
bdb4d96f43
fix tooltip not dissapearing.
2022-03-19 11:19:59 -04:00
hydroflame
e3bf2d4d42
Merge pull request #3181 from incubusnb/WseAndTix
...
Wse and tix
2022-03-19 11:13:28 -04:00
nickofolas
4789455b9c
Implement basic crafting functionality
2022-03-19 09:31:48 -05:00
nickofolas
78f962318c
Add router to grafting root
2022-03-19 08:56:02 -05:00
nickofolas
06425d6d63
Implement new aug filtering for gangs
2022-03-19 08:43:30 -05:00
phyzical
44ea479043
update constants
...
* added OperationNames
* added faction names
* used citynames where appropriate
2022-03-19 16:09:59 +08:00
parax
458f02051f
Added functions to RamCostGenerator.ts
2022-03-18 23:52:13 -06:00
parax
ac38e715aa
Fixed Lint Errors
2022-03-18 22:52:09 -06:00
parax
daadecb4e6
Removed requirement to already have WSE access
2022-03-18 22:33:22 -06:00
nickofolas
5918e12f01
Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting
2022-03-18 23:23:11 -05:00
nickofolas
919f8480dd
Grafting UI framework
2022-03-18 23:22:21 -05:00
hydroflame
adf2615784
Merge pull request #3179 from danielyxie/unique
...
add info to augs
2022-03-19 00:18:00 -04:00
Olivier Gagnon
8411fa6fcf
rm unused function
2022-03-19 00:16:20 -04:00
Olivier Gagnon
a0cf44ad6a
add info to augs
2022-03-19 00:15:24 -04:00
parax
e46c67a78a
Added NS functions to buy WSE and TIX
2022-03-18 21:58:18 -06:00
hydroflame
77cb7dd775
Merge pull request #3176 from incubusnb/Sleeve
...
Fixed: purchaseSleeveAug checks shock value
2022-03-18 23:43:43 -04:00
parax
f04ee5a65c
Linted file
2022-03-18 21:37:59 -06:00
hydroflame
fd94a1fa69
Merge pull request #3178 from TheMas3212/fix/missing-tFormat-ramcost
...
Fix bug with missing ramcost for tFormat
2022-03-18 23:32:40 -04:00
TheMas3212
68cc5fba6c
Fix bug with missing ramcost for tFormat
2022-03-19 14:21:52 +11:00
parax
8b52e2ef3d
Fixed: purchaseSleeveAug checks shock value
2022-03-18 20:30:54 -06:00
Jack Haden-Enneking
a8064f739e
re-add pre tags to support \n in prompt
...
#2880 was merged after #2968 , causing a regression of #2520 . This reapplies the small change from #2968 (thank you @phyzical).
2022-03-18 14:13:21 -07:00
Olivier Gagnon
fc963bb583
allbuild commit /usr/bin/git
2022-03-18 16:35:56 -04:00
hydroflame
e38621cd1a
Merge pull request #3169 from danielyxie/dev
...
Fix bug with hacknet api
2022-03-18 11:18:55 -04:00
Olivier Gagnon
06b2ec8957
allbuild commit /usr/bin/git
2022-03-18 11:18:08 -04:00
Master-Guy
3f1f275581
Renamed new function to largestAbsoluteNumber()
2022-03-18 13:03:13 +01:00
Master-Guy
8bf0641d28
Recently changed file
2022-03-18 11:15:51 +01:00
Master-Guy
9373d65a16
Merge branch 'danielyxie:dev' into issues/2308
2022-03-18 11:12:21 +01:00
Master-Guy
d4f01c8b40
Fix for SRC folder
2022-03-18 11:07:29 +01:00
Master-Guy
65832e72d2
Merge branch 'issues/2308' of https://github.com/Master-Guy/bitburner-1 into issues/2308
2022-03-18 10:49:23 +01:00
Master-Guy
9dd933ecee
Changed .keyCode to .key for files in "src"
2022-03-18 10:43:56 +01:00
Master-Guy
1d07bf049f
Changed the furthestFrom0() function + added tests
2022-03-18 09:30:25 +01:00
hydroflame
7128330bf5
Merge pull request #3165 from danielyxie/dev
...
Fix crash with new prompt
2022-03-17 18:18:21 -04:00
Olivier Gagnon
bfa30dcdbb
allbuild commit /usr/bin/git
2022-03-17 18:17:19 -04:00
hydroflame
28ab283020
Merge pull request #3164 from danielyxie/dev
...
Fix spendHashes bug
2022-03-17 17:54:26 -04:00
Olivier Gagnon
f17e685744
allbuild commit /usr/bin/git
2022-03-17 17:52:58 -04:00
Master-Guy
2871bba379
Review comments by ApamNapat
2022-03-17 22:25:30 +01:00
hydroflame
7afc7d5c78
Merge pull request #3162 from danielyxie/dev
...
Few fixes
2022-03-17 16:48:47 -04:00
Olivier Gagnon
3cdf0452a4
fix up the new prompt UI
2022-03-17 16:44:44 -04:00
hydroflame
83ef5a940b
Merge branch 'dev' into prompt-additions
2022-03-17 15:38:13 -04:00
Olivier Gagnon
726e9f38cb
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-03-17 14:00:27 -04:00
Olivier Gagnon
8c9603d903
more unknown
2022-03-17 14:00:22 -04:00
Master-Guy
e0377980a5
Merge branch 'dev' into issues/1944
2022-03-17 18:29:18 +01:00
Master-Guy
a575c0cfe3
Tabelize linked output of ls
2022-03-17 17:50:39 +01:00
hydroflame
2411aac1b0
Merge pull request #3153 from Master-Guy/issues/3139
...
Fix typo
2022-03-17 12:05:57 -04:00
hydroflame
561219a0ab
Merge branch 'dev' into bugfix/2877-2
2022-03-17 12:05:38 -04:00
hydroflame
9453537af4
Merge pull request #3151 from Master-Guy/issues/2877
...
Remove IP option from connect helptext
2022-03-17 12:04:53 -04:00
hydroflame
12527c501a
Merge pull request #3157 from Master-Guy/issues/2462
...
Quick fix to prevent division by 0
2022-03-17 12:04:23 -04:00
Master-Guy
93f4c499d4
Quick fix to prevent division by 0
2022-03-17 16:56:32 +01:00
Master-Guy
edd60cff5c
Changed .keyCode to .key for files in "src"
2022-03-17 15:29:14 +01:00
phyzical
9949cc9a1e
removed ip references
2022-03-17 21:50:23 +08:00
Master-Guy
ef9632bf63
Added 0 cost of asleep()
2022-03-17 13:32:49 +01:00
Master-Guy
eb847d1580
Fix typo
2022-03-17 13:25:47 +01:00
Master-Guy
59ec6213b9
Processed review comments
2022-03-17 13:17:43 +01:00
Master-Guy
01776bffac
remove IP option from connect helptext
2022-03-17 13:00:07 +01:00
Master-Guy
90fd496a24
Fixed number formatting and added tests
2022-03-17 12:47:27 +01:00
Olivier Gagnon
28bd5e1b30
convert more user facing functions to unknown
2022-03-16 19:50:56 -04:00
Olivier Gagnon
989d0709ed
unknown-ify some code
2022-03-16 19:33:45 -04:00
nickofolas
ea61c36790
Modal content proofreading
2022-03-16 18:29:15 -05:00
nickofolas
a032ee16be
Update gang territory UI
2022-03-16 18:20:23 -05:00
nickofolas
a205f42d88
Finalize (?) sleeves
2022-03-16 17:35:04 -05:00
nickofolas
2524b429ec
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/sleeve-ui
2022-03-16 16:48:13 -05:00
BB
4eb59ac70c
Turned on no-useless-concat lint and fixed it in code
2022-03-16 20:44:52 +01:00
Olivier Gagnon
3aabbb7aaa
dont hide int anymore
2022-03-16 15:42:25 -04:00
Olivier Gagnon
d6ac7f44c2
Sleeves can no longer buy augs that can't help them.
2022-03-16 15:09:31 -04:00
hydroflame
5865f8a1ea
Merge pull request #3082 from CrafterKolyan/patch-3
...
Fix Static Ram Circumventing for all NS functions
2022-03-16 14:58:00 -04:00
hydroflame
03ab9ed1e2
Merge pull request #2914 from pd/product-industry-research
...
Fix research tree of product industries post-prestige
2022-03-16 14:54:10 -04:00
hydroflame
9a385dad34
Merge pull request #3129 from InDieTasten/fix-unique-ip-generation
...
Fix unique ip generation
2022-03-16 14:53:34 -04:00
hydroflame
2ed342b8c2
Merge pull request #3124 from phyzical/feature/3122
...
expose the inBladeburner on the player object
2022-03-16 14:51:41 -04:00
hydroflame
8c9e14ac0e
Merge pull request #3119 from nickofolas/fix/augmentations-left
...
Fix `Augmentations Left` with gang factions
2022-03-16 14:51:14 -04:00
hydroflame
f65221b1f1
Merge pull request #3114 from ApamNapat/turn_on_three_more_lints
...
Mixing spaces and tabs, extra semicolons and lonely ifs are now illegal
2022-03-16 14:51:05 -04:00
hydroflame
f62c0c0cef
Merge pull request #3137 from phyzical/feature/filter-open-scripts
...
Add the ability to filter open scripts
2022-03-16 14:50:30 -04:00
hydroflame
80251818e0
Merge pull request #3131 from nickofolas/improvement/create-programs-ui
...
Refresh "Create Programs" page UI
2022-03-16 14:50:05 -04:00
hydroflame
cb668fd30f
Merge pull request #3140 from TheRealMaxion/patch-3
...
Fix some misleading corporation errors
2022-03-16 14:48:53 -04:00
Olivier Gagnon
328ef3a70a
Added achievements data for the 2 new SF minus 1
2022-03-16 14:39:23 -04:00
Olivier Gagnon
321579c6cb
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-03-16 14:34:10 -04:00
Olivier Gagnon
e93be42e7c
2 new exploits
2022-03-16 14:34:05 -04:00
TheRealMaxion
208af6ce9c
Fix some misleading corporation errors
2022-03-16 12:08:00 +01:00
phyzical
61ed4a4d43
Add the ability to filter open scripts
...
* icon that opens up on click and reset and closes on X
2022-03-15 20:37:11 +08:00
Jack
41974b042c
Merge branch 'dev' into bugfix/2958
2022-03-15 20:34:08 +08:00
hydroflame
e704843d91
Merge pull request #3117 from nickofolas/fix/editor-tabs-height
...
Add minHeight to editor tabs
2022-03-14 14:36:25 -04:00
BB
1c7c4c29bd
Added missing apostrophe
2022-03-13 13:06:20 +01:00
nickofolas
230d68aab2
Implement common stats row element
2022-03-12 15:49:07 -06:00
InDieTasten
17cba1d853
Fix unique ip generation
...
The previous implementation had a bug in it, where the generated IP
wouldn't be unique, if the generated IP wouldn't be unique two times in
a row.
2022-03-12 18:29:01 +01:00
nickofolas
46e03b454d
Only import what's needed from lodash
2022-03-12 11:03:33 -06:00
nickofolas
a93e2b670f
Redesign Create Program UI
2022-03-12 10:59:55 -06:00
phyzical
3cbb926fd8
expose the inBladeburner on the player object
2022-03-12 12:36:47 +08:00
Jack
2fa7aa6503
Update src/ScriptEditor/ui/ScriptEditorRoot.tsx
...
Co-authored-by: nickofolas <60761231+nickofolas@users.noreply.github.com>
2022-03-12 11:40:45 +08:00
nickofolas
7dbb285f8a
Simplify conditions
2022-03-11 17:56:34 -06:00
hydroflame
5874fff0bd
Merge pull request #3120 from danielyxie/dev
...
arcade
2022-03-11 15:23:29 -05:00
Olivier Gagnon
b265d7ba78
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-03-11 15:19:15 -05:00
Olivier Gagnon
30776e5aca
added arcade
2022-03-11 15:19:10 -05:00
nickofolas
7220cab437
More robust augs left calculations
...
- Should fix all issues with incorrect amount remaining
2022-03-11 13:04:17 -06:00
nickofolas
a1b3dddf9e
Add minHeight to editor tabs
2022-03-11 11:10:28 -06:00
hydroflame
e2af0aa41f
Merge pull request #3109 from nickofolas/fix/equip-minwidth
...
Properly expand gang equipment cards to fill entire screen
2022-03-11 12:08:08 -05:00
BB
5e2ccc71ec
Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden
2022-03-11 16:32:48 +01:00
Jack
6f10d5f8bf
Merge branch 'dev' into bugfix/2958
2022-03-11 17:49:35 +08:00
nickofolas
6db267ff76
Fix trailing whitespace
2022-03-10 23:23:51 -06:00
nickofolas
0236bdc73d
Merge branch 'dev' into feature/monaco-theme-editor
2022-03-10 23:16:44 -06:00
nickofolas
c7e228807b
Resolve conflict
2022-03-10 23:11:09 -06:00
nickofolas
07a61c38a4
Clean up imports
2022-03-10 23:02:32 -06:00
nickofolas
7b309c2624
Refactor sleeve stats row to JSX element
2022-03-10 22:47:18 -06:00
nickofolas
62331af141
Properly expand gang equipment cards to fill entire screen
2022-03-10 22:43:01 -06:00
nickofolas
8ce1660f8a
Fix missing newline at EOL
2022-03-10 22:21:02 -06:00
nickofolas
5d6952dbac
First iteration of sleeves UI improvements
2022-03-10 22:14:11 -06:00
Olivier Gagnon
ca19e15168
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-03-10 23:05:40 -05:00
Olivier Gagnon
81d3246cb8
fix not being able to work on program
2022-03-10 23:05:35 -05:00
hydroflame
0e526853bd
Merge pull request #3108 from nickofolas/patch-1
...
Initialize `purchasingAugs` state to correct value
2022-03-10 22:45:11 -05:00
Olivier Gagnon
9c3c83dcd5
fix lint
2022-03-10 22:34:54 -05:00
nickofolas
beebcefb18
Initialize purchasingAugs
state to correct value
...
Overwritten in merge commit, just fixing before I forget haha
2022-03-10 21:21:08 -06:00
Olivier Gagnon
dfb29626f3
fix mc
2022-03-10 22:17:01 -05:00
hydroflame
d955398a68
Merge pull request #2757 from ltoni90/bugfix/2719_Corporation_Expressions
...
Bug fix corporation expressions
2022-03-10 22:15:39 -05:00
hydroflame
f117cc8a74
Merge pull request #2912 from phyzical/bugfix/2899
...
Added a check for exisiting industry type before expanding
2022-03-10 22:14:18 -05:00
hydroflame
6a09cbd2ce
Merge pull request #2933 from phyzical/bugfix/1954
...
added filter for possibleFactions to filter factions without tasks
2022-03-10 22:13:24 -05:00
hydroflame
b7ffdeb5e2
Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on
...
Trailing whitespace and files not ending with \n are now illegal
2022-03-10 22:12:17 -05:00
hydroflame
f802b95b30
Merge pull request #3054 from ApamNapat/simplified_redundant_regex
...
Removed redundant repetitions of | in alias regex
2022-03-10 22:11:35 -05:00
hydroflame
31a26a31ad
Merge pull request #3055 from ApamNapat/simplified_some_boolean_logic
...
Simplified some booleans and if elses
2022-03-10 22:11:26 -05:00
hydroflame
1ed27bb88a
Merge pull request #3104 from MartinFournier/fix/bladeburner-early-routing
...
Attempt to fix `bladeburner.process()` early routing issue
2022-03-10 22:10:06 -05:00
hydroflame
f5ca700476
Merge pull request #2864 from SagePtr/corp-material-fix
...
Don't hide irrelevant materials if their stock is not empty and hide irrelevant divisions from Export
2022-03-10 21:46:13 -05:00
hydroflame
9372eef691
Merge pull request #2930 from JParisFerrer/vim_tab_switching
...
Add tab switching support to vim mode
2022-03-10 21:45:14 -05:00
hydroflame
9d080c9901
Merge pull request #2934 from phyzical/bugfix/1955
...
added check for NS interface with user defined guard
2022-03-10 21:44:37 -05:00
hydroflame
459296c160
Merge pull request #3068 from phyzical/hotfix/2902
...
Fix for work in progress modal when augmenting
2022-03-10 21:41:48 -05:00
hydroflame
e5c488e533
Merge pull request #3066 from phyzical/hotfix/2961-2
...
Fix editor "close" naming
2022-03-10 21:41:22 -05:00
hydroflame
c13ff7ea52
Merge branch 'dev' into improvement/aug-page-link
2022-03-10 21:40:58 -05:00
hydroflame
fdcbc4c508
Merge pull request #3095 from phyzical/bugfix/add-charge-for-stanek-width-height
...
added ram charge for stanek width and height
2022-03-10 21:40:28 -05:00
hydroflame
2dfecc8ad0
Merge pull request #3093 from mbrannen/expr-remainder-fix
...
updated regex sanitization
2022-03-10 21:39:59 -05:00
hydroflame
64223d2f4e
Merge pull request #3100 from phyzical/bugfix/early-out-fix-for-play-faction-issue
...
added logic to show a sorry page when augmenting with faction screen open
2022-03-10 21:39:24 -05:00
hydroflame
1a9b3bd113
Merge pull request #3101 from phyzical/bugfix/work-in-progress-augment-fix
...
work in progress augment fix
2022-03-10 21:38:45 -05:00
nickofolas
e960fbfa28
Implement faction augs page shortcut
2022-03-10 18:39:54 -06:00
nickofolas
e39817cb57
Very slightly adjust router.toFaction
...
- Faction argument is now required
- Added augPage argument
2022-03-10 18:37:57 -06:00
Nikolai Korolev
20e3924c6a
Merge branch 'dev' into patch-3
2022-03-10 12:06:19 +03:00
Martin Fournier
6588bbb8b1
Attempt to fix bladeburner.process()
issue
...
For a certain user, it appears that the engine attempts to route to the
bitverse screen before the router is properly initialized. I could not
reproduce the problem on my side and we were not able to extract his
save game, so this is a blind shot if it'll work or not.
2022-03-09 15:44:19 -05:00
phyzical
0ba66ad2f4
fix typo on ops page
2022-03-09 22:58:34 +08:00
Jack
a3555d101e
Update src/ui/WorkInProgressRoot.tsx
2022-03-09 22:50:41 +08:00
Jack
2f40906d4b
Update src/Faction/ui/FactionRoot.tsx
...
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-09 22:49:50 +08:00
phyzical
e5acd10c86
moved to only apply when working for faction
2022-03-09 22:14:42 +08:00
phyzical
f7dcf5ca97
add early out to say "sorry not part of faction when working and augmenting"
2022-03-09 22:09:14 +08:00
phyzical
de0b0f9fa9
added logic to show a sorry page when augmenting with faction screen open
2022-03-09 22:02:34 +08:00
mbrannen
9602dbda2e
Update src/Terminal/commands/expr.ts
...
Updated to ApamNapat's suggestion
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-08 18:02:54 -07:00
TheRealMaxion
02f231af2e
Fixes #3098 missing space in Smart Supply
...
Quick fix to stop this from erroring due to the missing space in the upgrade name.
2022-03-09 01:05:00 +01:00
BB
0eced1b9f2
Simplified some booleans and if elses
2022-03-08 22:52:26 +01:00
BB
6e9990aead
Removed redundant repetitions of | in alias regex
2022-03-08 22:51:41 +01:00
BB
2f4d879c16
Trailing whitespace and files not ending with \n are now illegal
2022-03-08 22:51:02 +01:00
hydroflame
570b8caf78
Merge pull request #2873 from SagePtr/purchaseserver-args
...
Add user-friendly invalid argument number message to purchaseServer
2022-03-08 16:39:54 -05:00
hydroflame
92909689b3
Merge pull request #2891 from tigercat2000/autocomplete_documentation
...
Terminal: There is now an interface definition for the autocomplete() 'data' argument.
2022-03-08 16:34:57 -05:00
hydroflame
1c1b696853
Merge pull request #3046 from jjayeon/nicer-factions-page
...
add box showing remaining augments per faction
2022-03-08 16:33:02 -05:00
hydroflame
1ceb8b24f6
Merge pull request #3067 from phyzical/hotfix/2951
...
added CorporationSoftCap to NetscriptDefinitions
2022-03-08 16:32:28 -05:00
hydroflame
4518b3a7cb
Merge pull request #3070 from phyzical/bugfix/2832-2
...
Sleeve fix for when faction isnt found
2022-03-08 16:32:10 -05:00
hydroflame
8136407b1d
Merge pull request #3091 from nickofolas/fix/editor-tab-width
...
Fix extra space on editor tabs
2022-03-08 16:31:47 -05:00
hydroflame
e06a3e6578
Merge pull request #3074 from DSteve595/offline-message-list
...
Present offline message as list
2022-03-08 16:31:32 -05:00
hydroflame
6ed4268173
Merge pull request #3075 from ApamNapat/simplified_imports
...
Simplified some relative imports
2022-03-08 16:30:37 -05:00
Jack
a2fae480f3
Update src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx
2022-03-08 17:32:03 +08:00
phyzical
ec927fe1f4
added ram charge for stanek width and height
2022-03-08 17:28:45 +08:00
mbrannen
bb6d90fb41
updated expression.
...
-removed escaping and reverted back for /
2022-03-07 23:50:05 -07:00
ChrissiQ
44c4529d90
🐛 (Bug: Corp) Fixes sufficient player money check to buy back shares.
...
`BuyBackShares()` checks the corp for sufficient funds, but since shares are purchased with player money, it should be checking the player's money instead.
2022-03-07 23:18:51 -07:00
mbrannen
31ea56084e
updated regex sanitization
...
-allows %
-updated escape characters to \
2022-03-07 23:15:55 -07:00
nickofolas
472503814b
Remove 200px min width of script editor tabs
2022-03-07 17:33:56 -06:00
hydroflame
8358e62fb0
Merge pull request #3089 from danielyxie/dev
...
allbuild commit `git rev-parse --short HEAD`
2022-03-07 18:09:23 -05:00
Olivier Gagnon
192a037dfa
allbuild commit git rev-parse --short HEAD
2022-03-07 18:07:21 -05:00
hydroflame
ef167046eb
Merge pull request #3088 from danielyxie/dev
...
v1.5.0
2022-03-07 17:51:40 -05:00
Olivier Gagnon
bc952147fd
v1.5.0
2022-03-07 17:51:02 -05:00
hydroflame
4921cdea24
Merge branch 'dev' into phyzical/Corp-Api-Updates
2022-03-07 17:44:43 -05:00
hydroflame
e10571c0e8
Merge branch 'dev' into bugfix/corp-api-fixes
2022-03-07 17:43:29 -05:00
hydroflame
b226b3d872
Merge pull request #3087 from nickofolas/improvement/tabs
...
#2710 Addendum
2022-03-07 17:42:54 -05:00
nickofolas
e9033914e1
Update corp tabs to account for excessively long names
2022-03-07 16:40:22 -06:00
hydroflame
46628cb636
Merge pull request #3052 from ApamNapat/remove_unused_eslint_disable
...
Removed unnecessary eslint-disable lines
2022-03-07 17:31:59 -05:00
hydroflame
59aa0df456
Merge pull request #3078 from CrafterKolyan/patch-1
...
Fix error message for scp
2022-03-07 17:30:44 -05:00
hydroflame
5e558ffc5d
Merge pull request #3081 from CrafterKolyan/patch-2
...
Add closing quote in description of sanitize parentheses coding contract
2022-03-07 17:30:05 -05:00
hydroflame
3310928598
Merge pull request #2710 from nickofolas/improvement/tabs
...
Update `<Tabs>` sizing and style
2022-03-07 17:22:06 -05:00
Nikolai Korolev
25e28df42b
Fix Static Ram Circumventing for all NS functions
2022-03-07 16:18:58 +03:00
Nikolai Korolev
19750c6bba
Add closing quote in description of sanitize parentheses coding contract
2022-03-07 15:10:13 +03:00
Nikolai Korolev
b2ec5d1691
Fix error message for scp
2022-03-07 11:40:06 +03:00
Steven Schoen
19b45a7411
Show reputation unconditionally
2022-03-06 03:38:17 -05:00
Jack
d4f5f54fb6
Update src/ui/WorkInProgressRoot.tsx
...
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-06 12:42:35 +08:00
BB
2c3e0985c4
Simplified some relative imports
2022-03-06 05:05:55 +01:00
Steven Schoen
7b95acefde
Present offline message as list
2022-03-05 21:05:05 -05:00
phyzical
7a6e7ed992
added early out for when faction isnt found
2022-03-05 13:56:11 +08:00
phyzical
0e1929b561
added early out for when it goes wrong here too
2022-03-05 13:14:28 +08:00
phyzical
a389b515df
fix for work in progress modal when augmenting
...
* added an early out to turns a basic error for the work modal when the current work faction to show the faction or faction not found
2022-03-05 13:05:37 +08:00
phyzical
bdca45388d
added CorporationSoftCap to NetscriptDefinitions
2022-03-05 12:49:32 +08:00
phyzical
c5fc009d91
renamed close to Terminal
...
* evened out spacing of buttons
2022-03-05 12:23:10 +08:00
hydroflame
e80190e687
Merge pull request #3053 from waffleattack/patch-2
...
Made getBonusTime return miliseconds
2022-03-04 11:34:04 -05:00
hydroflame
b765266c23
Merge pull request #3056 from ApamNapat/new_god_book_fix
...
Fixed the text of The New God book
2022-03-04 11:33:49 -05:00
BB
b2959e71ca
Fixed and improved wording in Stanek's gift description
2022-03-01 21:53:20 +01:00
BB
3d5c92fe65
Fixed the text of New God book
2022-03-01 21:02:41 +01:00
Thomas B
9636fda082
Made getBonusTime return miliseconds
2022-03-01 12:39:35 -05:00
BB
7212cc2f1c
Removed unnecessary eslint-disable lines
2022-03-01 17:33:27 +01:00
hydroflame
76f965911d
Merge pull request #2938 from reacocard/fix-sleeve-augs
...
Don't check only gangs for sleeve augs
2022-03-01 11:19:06 -05:00
hydroflame
c24bab2cae
Merge pull request #2940 from phyzical/bugfix/2088
...
fixes for editor and tabs when names too long
2022-03-01 11:18:19 -05:00
hydroflame
f11e7bac6a
Merge pull request #3005 from rhobes/patch-1
...
Fix https://github.com/danielyxie/bitburner/issues/2996 : weakenAnalyze miscalculation
2022-03-01 11:16:31 -05:00
hydroflame
dd07ef3a88
Merge pull request #2886 from DrCuriosity/DrCuriosity/hacknet-name-colspans
...
QoI: Increase HacknetNodeElem name colSpan
2022-03-01 11:08:17 -05:00
hydroflame
d721c1e65a
Merge pull request #2968 from phyzical/bugfix/2520
...
added pre tags to support \n
2022-03-01 10:56:32 -05:00
hydroflame
46d37a89b0
Merge pull request #3045 from jjayeon/dev
...
sort player's joined factions for cleaner rendering
2022-03-01 10:53:06 -05:00
hydroflame
3d6d729b33
Merge pull request #3038 from Ornedan/fix-atexit-leak
...
Fix #3037 : wrap user-supplied atExit function so that we can't accide…
2022-03-01 10:51:49 -05:00
hydroflame
94a6ba2c91
Merge pull request #3001 from ChrissiQ/bitnode-portal-button-a11y-fix
...
♿ ️ (Bitverse UI: Portal Button Accessibility) Makes clickable element into button.
2022-03-01 10:50:59 -05:00
hydroflame
fc3a7edf6d
Merge pull request #3044 from ChrissiQ/fix-ui-style-corp-spacing
...
♿ ️ (Corp Warehouse UI Accessibility) Stop warehouse UI jump at higher zoom.
2022-03-01 10:50:09 -05:00
hydroflame
14fef142c5
Merge pull request #3047 from DJ-Laser/patch-1
...
Fix typo (await ed => awaited)
2022-03-01 10:49:40 -05:00
hydroflame
763800570b
Merge pull request #2867 from SagePtr/corp-formula
...
Better readable production equation (rewording)
2022-03-01 10:48:39 -05:00
hydroflame
213b03523b
Merge pull request #2869 from SagePtr/patch-1
...
Fix ps documentation
2022-03-01 10:47:58 -05:00
hydroflame
7fd6d6859a
Merge pull request #2888 from BrianLDev/issue-2377
...
fixes #2377 : No passive reputation gain on BN6, BN7
2022-03-01 10:46:36 -05:00
hydroflame
201e00cdd9
Merge pull request #2894 from manniL/fix/typo
...
fix: typo in corporate error message
2022-03-01 10:45:36 -05:00
hydroflame
e89a9e8f4c
Merge pull request #2897 from Jedimaster4559/patch-1
...
Fixing Broken Error Message
2022-03-01 10:44:40 -05:00
hydroflame
3a0eb8eca6
Merge pull request #2906 from waffleattack/patch-2
...
Reset Location Upon Reset
2022-03-01 10:44:15 -05:00
hydroflame
d2e05f6d2f
Merge pull request #2909 from Arrow2thekn33/typo-fix
...
Typo Fix (unprecendented -> unprecedented)
2022-03-01 10:43:01 -05:00
hydroflame
6f57c0e888
Merge pull request #2919 from fwolfst/2918_typo-fix
...
fix typo (UnforTunately) fix #2918
2022-03-01 10:42:52 -05:00
hydroflame
c8dd535d63
Merge pull request #2966 from MatthewTh0/dev
...
Grammar Fix
2022-03-01 10:39:02 -05:00
hydroflame
36e0177b0c
Merge pull request #2967 from AdamTReineke/AdamTReineke-patch-1
...
Fix log message in ns.bladeburner.startAction
2022-03-01 10:38:50 -05:00
hydroflame
4cf28b47ea
Merge pull request #2971 from citrusmunch/tutorial-typo
...
FIX: tutorial typo
2022-03-01 10:38:36 -05:00
hydroflame
6a1af43555
Merge pull request #2972 from factubsio/patch-2
...
Clarify units for RunningScript.*RunningTime
2022-03-01 10:38:26 -05:00
hydroflame
5c6640dcde
Merge pull request #2977 from citrusmunch/scan-usage
...
FIX: old name netstat/scan to just scan
2022-03-01 10:38:10 -05:00
hydroflame
0dd7058830
Merge pull request #2978 from factubsio/patch-3
...
Clarify math expression operator precedence for coding contract
2022-03-01 10:38:00 -05:00
hydroflame
f3ecff2e93
Merge pull request #2980 from Risenafis/donate-threshold
...
Fix favor threshold for donateToFaction
2022-03-01 10:37:13 -05:00
hydroflame
c7127ed56f
Merge pull request #2982 from citrusmunch/augmentation-typo
...
FIX: typo in augmentation installation message
2022-03-01 10:36:52 -05:00
hydroflame
fe20a98763
Merge pull request #2983 from factubsio/patch-4
...
Clarify some of the fields in `GangMemberInfo`
2022-03-01 10:36:44 -05:00
hydroflame
c5c48a96b3
Merge pull request #3033 from ChrissiQ/fix-documentation-stopaction-add-gym
...
📝 (TSDoc Definitions) Add gym workout to stopAction actions.
2022-03-01 10:32:59 -05:00
hydroflame
81c4a7f6cf
Merge pull request #3021 from ChrissiQ/tsdoc-inherit-overloaded-fns
...
📝 (TSDoc Definitions) Inherits doc for overloaded NS methods.
2022-03-01 10:32:48 -05:00
autumn
ef230b8265
Update FactionsRoot.tsx
2022-02-28 21:20:58 -05:00
DJ_Laser
f3f86ff102
Fix typo (await ed => awaited)
...
I fixed a typo.
2022-02-28 13:48:09 -05:00
jjayeon
e74d6107c9
add box showing remaining augments per faction
2022-02-28 07:04:47 -05:00
jjayeon
e0611a5aa3
sort player's joined factions for cleaner rendering
2022-02-28 06:47:37 -05:00
ChrissiQ
565a827f28
♿ ️ (Corp Warehouse UI Accessibility) Stop warehouse UI jump at higher zoom
2022-02-26 14:03:12 -07:00
Heikki Aitakangas
66ceff4e33
Fix #3037 : wrap user-supplied atExit function so that we can't accidentally leak game objects as 'this'
2022-02-26 01:00:02 +02:00
ChrissiQ
8ab5ff9565
📝 (TSDoc Definitions) Add gym workout to stopAction actions.
2022-02-24 14:57:05 -07:00
Olivier Gagnon
c26c9a0c3a
fix lint
2022-02-23 02:50:38 -05:00
Olivier Gagnon
b810e523ee
update patch notes
2022-02-23 02:01:48 -05:00
ChrissiQ
a2fd6736f4
📝 (TSDoc Definitions) Inherits doc for overloaded NS methods.
...
The overloaded methods `NS.kill()`, `NS.getScriptExpGain()`,
`NS.getScriptIncome()`, and `NS.scp()` have broken documentation because the
overloaded function is not documented correctly. I've added `@inheritDoc` tags to
the declarations in order to associate the documentation to the overloaded method.
As shown in these files with broken documentation:
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.kill_1.md
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.scp_1.md
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.getscriptexpgain_1.md
https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.getscriptincome_1.md
2022-02-22 18:36:30 -07:00
ChrissiQ
3cfbf0708b
♿ ️ (Bitverse UI: Portal Button Accessibility) Add aria-description, change labels, accomodate disabled ASCII art.
...
Adds aria-description and corrects labels to be more clear about the results of
pressing buttons.
2022-02-20 18:34:48 -07:00
ChrissiQ
cf0c4510c4
Merge remote-tracking branch 'TheMas3212/feat-improve-bitverse-accessibility' into bitnode-portal-button-a11y-fix
2022-02-20 18:03:57 -07:00
nickofolas
67382f0ac9
Add missing newline at end of file
2022-02-20 09:03:16 -06:00
M
6d87d7b743
Fix https://github.com/danielyxie/bitburner/issues/2996
...
Trivial fix of https://github.com/danielyxie/bitburner/issues/2996 by adding the BN multiplier to analyze.
2022-02-19 14:21:39 -08:00
phyzical
887f3f1e49
use text friendly divison name
2022-02-19 16:06:52 +08:00
phyzical
6e21f16160
adjustments per review comments
...
* updated error message
* used correct price for bulk purchasing check
* moved onclose and rerenders outside try blocks
2022-02-19 16:05:55 +08:00
ChrissiQ
34b54ffc5a
♿ ️ (Bitverse UI: Portal Button Accessibility) Makes clickable element into button.
...
Clickable elements in a page which are not hyperlinks to other pages should be buttons for accessibility. This changes the clickable area into a button to more closely align with best practices.
2022-02-17 23:32:49 -07:00
Jonathan Beverley
922aafb115
Expose product and material details in API match UI
2022-02-17 23:49:59 -05:00
TheMas3212
71ed2eafb8
Add A Simple Button menu to the Bitverse Screen if ascii art is disabled
...
this fixed the issue that was noticed that the current ascii art page is
not possible to navigate with a screen reader
2022-02-17 00:48:25 +11:00
phyzical
7dd8deb1ed
missed a change
2022-02-16 20:16:27 +08:00
phyzical
26002e0429
added logic to display server on save dialog
...
*added logic to display external servers as red
2022-02-16 20:11:37 +08:00
phyzical
ca28582265
added logic to also check hostname for "current script"
2022-02-16 18:41:22 +08:00
phyzical
a2b4a63c2e
merge latest dev
2022-02-15 20:24:24 +08:00
factubsio
5193ff3156
Clarify some of the fields in GangMemberInfo
...
The most misleading of these is `str_mult`, which is actually the multiplier from equipment.
2022-02-14 20:00:49 +00:00
citrusmunch
a534d27313
FIX: typo in augmentation installation message
...
"chosing" -> "choosing"
2022-02-14 10:14:54 -05:00
Risenafis
04cfdc76ae
Fix favor threshold for donateToFaction
2022-02-14 23:25:30 +09:00
phyzical
bacc0004fe
updated material dmd based on old tag
2022-02-14 21:37:58 +08:00
factubsio
a666fb888a
Add clarification to in-game text
2022-02-14 11:00:15 +00:00
citrusmunch
cc3452a766
FIX: old name netstat/scan to just scan
...
seems like an old/deprecated name not used anywhere else
2022-02-14 00:47:37 -05:00
factubsio
7902699f99
Clarify units for RunningScript.*RunningTime
...
Most other times are specified in milliseconds, rather than the seconds used for the running time - this should be made clear in the docs.
2022-02-13 22:22:03 +00:00
citrusmunch
6e09241ff4
FIX: tutorial typo
...
"connect so it" -> "connect to it"
2022-02-13 16:46:13 -05:00
phyzical
1931734694
added pre tags to support \n
2022-02-13 18:49:24 +08:00
phyzical
da955a4774
refector of setEmployeeToJob
2022-02-13 17:57:13 +08:00
phyzical
66ec3f4964
fix function name in error for better trace
2022-02-13 17:10:11 +08:00
phyzical
9770853e29
removed the isNs interface guard as its redunant
2022-02-13 17:08:55 +08:00
Adam Reineke
41fe4e5813
Fix log message in ns.bladeburner.startAction
2022-02-12 21:26:06 -08:00
Matthew Thornton
fe0262eda1
Grammar Fix
...
Product is the noun, while the correct part of speech here is the verb "produce".
Also of note, the limit doesn't change unless data is entered and then removed (otherwise the previous limit is kept) even if the button is clicked (which isn't the expected behavior based on the text). However, I'm not sure how to convey this succintly though and I'm not familiar enough with React to change the value when only the button is clicked (especially since it is probably the intended behavior to not change the value when the modal is closed by clicking outside of it).
2022-02-12 15:40:17 -06:00
phyzical
3e36e6a80b
few more adjustments
...
* fixed the export material fix
* changed teh dev menu fund adjuster for more granular control
* added checks for smartSupply and setSmartSupply
* few random autolints
2022-02-12 11:31:50 +08:00
phyzical
51d10290d2
added early out for redundant assignment
2022-02-12 00:13:56 +08:00
phyzical
8b55b0293c
corp api fixes
...
* added early out in UpgradeWarehouse when not enough cash
* added checks to enforce maxProducts
* added checks to enforce export material is valid for location
* added checks for market ti reasearches
2022-02-11 23:48:19 +08:00
Waladil
8df09a0568
Fix grammar
...
Literally just adds an 's' to "Synthoid" in one place that it's grammatically proper to do so.
2022-02-08 11:18:19 -07:00
phyzical
d586743bf6
fixes for editor and tabs when names too long
...
* coupled some of the styles to avoid breaking this later on
* added tooltip incase its too long/ too small
* changes to use elipsis and RTL to read the end of file name
2022-02-09 00:12:37 +08:00
Ayla Ounce
5fbe4b0f26
Don't check only gangs for sleeve augs
...
It is possible for a player to qualify for an aug through a faction and
not the gang, e.g. when the gang is newly formed and still getting up to
speed. So, we need to consider both gang qualifications and faction
qualifications when constructing the sleeve augmentation list.
2022-02-07 14:40:44 -08:00
ltoni90
b4cce9b57f
typo fix
...
Co-authored-by: ChrissiQ <1127719+ChrissiQ@users.noreply.github.com>
2022-02-07 16:00:08 +01:00
phyzical
e8954bc1ee
added basic type check to tryWritePort
2022-02-07 22:14:48 +08:00
phyzical
6ed5a445a8
added check for NS interface with user defined guard
2022-02-07 21:56:04 +08:00
phyzical
4af4634ada
added filter for possibleFactions to filter factions without tasks
2022-02-07 19:48:28 +08:00
Jordi Paris Ferrer
419d585694
add tab switching support to vim mode
2022-02-06 16:34:14 -08:00
qcorradi
5a39a92270
Merge branch 'patch-8' of github.com:zeddrak/bitburner into reverse_grow_newton
2022-02-06 14:00:05 +01:00
phyzical
26df6fd39c
doc updates
2022-02-06 00:12:28 +08:00
phyzical
d41b19bced
added support for ls -l
2022-02-06 00:05:48 +08:00
phyzical
9a3731cf18
updated grep for ls
...
* implemented flags logic for grep
* added --grep and -g
* updated docs
2022-02-05 23:27:08 +08:00
Felix Wolfsteller
a755af8176
fix typo (UnforTunately) fix #2918
2022-02-05 11:04:23 +01:00
Phil Despotos
16655349f5
Fix research tree of product industries post-prestige
...
After destroying a BitNode, the `resetIndustryResearchTrees` reset all
industries to the _base_ research tree, leaving the product industries
without the `uPgrade` researches in the graph. So corporations started
in the next BitNode were unable to expand product capacity.
This fixes that reset function to use the correct product industry tree.
2022-02-04 19:40:49 -06:00
phyzical
105ea19eae
add the industry name to assist with debugging when error occurs
2022-02-04 17:46:08 +08:00
phyzical
608cc089b2
Added a check for exisiting industry type before expanding
2022-02-04 17:34:16 +08:00
Justin Wade
0e4affdf0e
fix typo in FactionInfo.tsx
2022-02-03 22:31:39 -05:00
Thomas B
c6573fb19d
Reset Location Upon Reset
2022-02-03 08:50:08 -05:00
zeddrak
bfaecc644d
startMoney check should be >= moneyMax, not ==
...
Just realized that I checked for exactly equal (as would be likely when operating internally), but really, it should treat anything greater than or equal to as a zero growth scenario (just better protection from a wider range of potential issues)
2022-02-01 14:34:27 -08:00
Nathan Solomon
df30a45388
Fixing Broken Error Message
2022-02-01 15:45:50 -06:00
Alexander Lichter
5564f82b44
fix typo
2022-02-01 12:43:14 +01:00
tigercat2000
f0557eadf7
Terminal: There is now an interface definition for the autocomplete() 'data' argument.
2022-01-31 20:47:15 -08:00
zeddrak
5cc7a6a0a2
added numCycleForGrowthByMultiplier (ie old growthAnalyze parameters)
...
implemented numCycleForGrowthByMultiplier (fully compatible with old growthAnalyze - though still slightly wrong, it does so in a way that could be seen as beneficial and is compatible with existing scripts)
Also some fixes to numCycleForGrowthByHackAmt (wrong parameter order)
2022-01-31 20:41:42 -08:00
zeddrak
76cc1532a7
Added note to numCycleForGrowthByHackAmt
...
* NOTE: the prehackMoney parameter can be removed and server.moneyMax used in its place. The return value would then give a thread count
* that would slowly grow the server more than it is hacked until reaching moneyMax where it would return the correct number of threads.
2022-01-31 20:15:55 -08:00
zeddrak
63e833317b
more otpys
...
fuinction => function
2022-01-31 20:06:13 -08:00
zeddrak
94bcd0484a
Small comment change
...
had an "a the" and the point was redundant, so removed it
2022-01-31 20:04:39 -08:00
zeddrak
28a32ed3a0
Ytpo fix
...
Missed one
2022-01-31 19:56:02 -08:00
zeddrak
7bb3a8169e
Comment Ytop fixes
...
Sigh, my fingers are soo old and don't work right any more... :)
Thanks for the info.
2022-01-31 19:54:38 -08:00
Brian Leip
1a414358cc
Fixed issue-2377: No passive reputation gain on BN6, BN7
2022-01-31 15:21:01 -08:00
Phil
378f67097c
Amending NetscriptDefinitions
2022-01-31 18:15:13 +00:00
David Thompson
37bf1aac81
QoI: Increase HacknetNodeElem name colSpan
...
Spanning {node.name} across all three table columns in the Hacknet Node UI uses a bit less screen real estate, so that on larger font sizes you don't end up with e.g. "hacknet- " on one line and "node-11" on the next.
2022-01-31 21:46:47 +13:00
qcorradi
b09b7fa346
numCycleForGrowth using Newton-Raphson's method
2022-01-31 00:22:59 +01:00
Chris Rabe
3e61780fad
fix: fixed hackAnalyzeThreads returning infinity
2022-01-31 08:14:10 +10:00
nickofolas
21e27dfab6
Save data sanitization
...
- Run in `Editor.beforeMount`, as well as when the
options modal is closed
- Recursively validates all token colors and
replaces them with bright red if they're invalid
2022-01-30 10:38:58 -06:00
Phil
af43e63415
Blanking Prompt value on close
2022-01-30 14:21:46 +00:00
Phil
08d0b4cbae
Adding support for text/select options in Prompt command
2022-01-30 14:06:18 +00:00
phyzical
f2ba3e0ac7
gang member current task disconnect fix
...
* Added check to manually update interal state of dropdown on change of a members task via api
2022-01-30 18:33:04 +08:00
nickofolas
dd77deca7b
Add Paper styling to modal
2022-01-29 23:54:36 -06:00
nickofolas
e800886d42
Tie up loose ends
...
- Ensure that customTheme is redefined whenever the options modal
is closed, regardless of saved or not
- Reset the pending value for the theme editor whenever modal is clsoed
2022-01-29 23:44:31 -06:00
nickofolas
0d700bd252
Change global theme import rows to 10 and format
2022-01-29 23:19:58 -06:00
nickofolas
7ad0c53234
Update label for common.accent
2022-01-29 23:19:24 -06:00
nickofolas
83e5b46f3e
Implement Monaco theme editor
2022-01-29 23:17:57 -06:00
nickofolas
5a476178fa
Add types token
2022-01-29 23:11:21 -06:00
nickofolas
4ba6926e01
Theme attribute cleanup
2022-01-29 22:39:13 -06:00
nickofolas
20d3115e4a
Framework for custom theme
2022-01-29 19:27:49 -06:00
SagePtr
db5476ebd0
Add user-friendly invalid argument number message to purchaseServer
2022-01-30 00:04:45 +02:00
SagePtr
4483c2bbce
Add hasOwnProperty check to GetServer
2022-01-29 23:30:13 +02:00
Sage Pointer
ac054b0065
Fix ps documentation
2022-01-29 22:20:27 +02:00
SagePtr
622ba0a2bd
Better readable production equation
2022-01-29 20:59:18 +02:00
SagePtr
f22f0ed50a
Hide irrelevant divisions in Export modal
2022-01-29 20:02:07 +02:00
smolgumball
d3ac29609d
Merge branch 'dev' into add-ns-getRecentScripts
2022-01-29 10:11:55 -07:00
SagePtr
a5f82e96ed
Don't hide irrelevant materials if their stock is not empty
2022-01-29 18:58:21 +02:00
SagePtr
40f2d16f44
Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command
2022-01-29 18:10:59 +02:00
zeddrak
ecdde9c96c
learning ts
...
forgot a return type, all better now, we hope....
2022-01-28 15:34:39 -08:00
zeddrak
1b81aa2533
moar fixes
...
just tidying up some more parameters left over from copy/paste
2022-01-28 15:30:28 -08:00
zeddrak
f8c4d07cc2
quick fix
...
forgot to remove a line used for notes
2022-01-28 15:25:03 -08:00
zeddrak
9af0ed7dba
(WIP) intermediate save 2
...
Have all the functions in, but need to setup the repercussions.
2022-01-28 15:21:05 -08:00
zeddrak
744cecb058
minor fix
...
Better to leave off with a commit that at least passes checks ;)
2022-01-28 13:45:12 -08:00
zeddrak
3401f7d0d0
(WIP) Incremental save
...
Just saving my progress so far before pressing on after lunch.
2022-01-28 13:36:28 -08:00
Matthew Thornton
48d4f698c2
Spelling fixes in comments
...
This just fixes some misspelling in the comments, doesn't change any code or variables.
2022-01-28 14:57:52 -06:00
zeddrak
3e9728f4c4
more fix
...
really can't count...
2022-01-28 10:08:20 -08:00
zeddrak
db2369a669
more fix
...
can't count...
2022-01-28 10:03:40 -08:00
zeddrak
33ed170e29
more fix
...
two missing ( is better than one...
2022-01-28 10:00:28 -08:00
zeddrak
dc8b051bde
Fix for Dev not building
...
It's the little things, like a missing "(", that make programmers happy all day long... >.<
2022-01-28 09:54:35 -08:00
hydroflame
47c2f9762c
Merge pull request #2850 from HeinousTugboat/htugboat/replace-stanek-anys
...
Replaces anys in Stanek with unknown
2022-01-28 00:19:12 -05:00
hydroflame
a4b8a9ffd5
Update CrimeHelpers.ts
2022-01-27 20:51:48 -05:00
Heinous Tugboat
c7a3ac216f
Replaces anys in Stanek with unknown
2022-01-27 20:48:37 -05:00
SagePtr
1726a0f930
Add CalculateShareMult to Field Work and Security Work
2022-01-27 22:46:29 +02:00
zeddrak
09da6ac63f
Make crimes detection a little more friendly
...
Initially just wanted to change "traffick" to "traffic" (as that supports both the American and British spelling), but then noticed there were a couple of other ones that could be made slightly less restrictive to improve detection. All changes make detection LESS RESTRICTIVE for the player (ie, they have more ways to provide the parameter), none are MORE RESTRICTIVE (ie, won't break any existing code, etc.
Anything that worked before will still work, but now a few things that may not have worked before - like "traffic arms" (without the k), "illegal arms", and "assassin" will work. (Also allowed for the common misspelling of "forgary")
2022-01-27 11:36:06 -08:00
Jack Stupple
2942ca500b
2734: Fix regex to enable alpha transparency hex codes (8 digits)
2022-01-27 18:21:17 +00:00
smolgumball
2add4e9112
Merge branch 'dev' into add-ns-getRecentScripts
2022-01-26 19:07:02 -07:00
zeddrak
5a46aeb26d
(WIP) Show current task on gang management screen
...
First draft of a fix for #2718
I haven't been able to test it, so please have someone test before implementing.
2022-01-26 15:57:54 -08:00
hydroflame
cef0f30993
Merge pull request #2820 from MartinFournier/chore/declutter
...
Declutter repository root
2022-01-26 12:56:37 -05:00
Martin Fournier
bf6366cef4
Move markdown doc & quotes to ./docs subfolder
2022-01-26 05:35:21 -05:00
Martin Fournier
a47eae8b25
Add function to enable/disable routing
...
Wraps the toX() functions of the Router to add a check to only run the
function when it is allowed.
The check is used in the import page to prevent user scripts from
redirecting away to a crime or something else.
2022-01-26 03:56:19 -05:00
Martin Fournier
855a4e622d
Add Electron preload script to allow communication
...
Adds a channel to communicate between the main process & the renderer
process, so that the game can easily ship data back to the main process.
It uses the Electron contextBridge & ipcRenderer/ipcMain.
Connects those events to various save functions. Adds triggered events
on game save, game load, and imported game. Adds way for the Electron
app to ask for certain actions or data.
Hook handlers to disable automatic restore
Allows to temporarily disable restore when the game just did an import
or deleted a save game. Prevents looping screens.
2022-01-26 03:56:19 -05:00
Martin Fournier
26432082e2
Add an import save comparison page
...
This adds a new page reachable from the import save file
options menu. It shows the difference between the current save
and the data that is being imported, for confirmation.
Includes an "automatic" variant, which has different wording for when
Electron decides it has access to a newer version of the game.
While in this screen, the autosave is disabled.
This also adds a new BypassWrapper component around the game's tree.
It allows for content to be displayed without rendering the nested
pages (import, recovery). This prevents player scripts from messing
with the screen.
2022-01-26 03:56:17 -05:00
Martin Fournier
974344545d
Move import save functionality into SaveObject
...
Adds a lot of metadata to be able to easily compare the new save to the
current player.
- Adds lastSaved & identifier to the PlayerObject
- Includes a hash method used to generate an identifier
2022-01-26 03:42:52 -05:00
Martin Fournier
588c3e42d7
Refactor download.ts (export "download *" command)
...
Export the "download *" helper to be able to be called from Electron.
2022-01-26 03:40:22 -05:00
nickofolas
41eac2e775
Adjust sizing for corp and gang tabs
2022-01-26 00:53:17 -06:00
nickofolas
c0a27e7d66
Active scripts tab sizing
2022-01-26 00:53:16 -06:00
nickofolas
e81bd48ca6
Update Tab(s) design
2022-01-26 00:53:16 -06:00
Olivier Gagnon
022dd5d7d7
fix compile error
2022-01-26 00:58:02 -05:00
hydroflame
d27bac9be6
Merge pull request #2716 from lordducky/enhance-api-server
...
Enhance api server
2022-01-26 00:53:17 -05:00
hydroflame
2f36fb107f
Merge pull request #2803 from MartinFournier/feat/github-actions
...
Adds GitHub workflows to fetch a changelog & to bump the app's version
2022-01-26 00:52:06 -05:00
hydroflame
9fa706073f
Merge pull request #2745 from jamie-mac/fix/roulette-result
...
Fix incorrect result being detected on the roulette table
2022-01-26 00:51:03 -05:00
hydroflame
1a34d5e363
Merge pull request #2703 from lethern/patch-1
...
purchaseServer error message fix + small docs change
2022-01-26 00:50:42 -05:00
hydroflame
a05ecc76c2
Merge pull request #2727 from nickofolas/feature/editor-tab-actions
...
Script Editor Tab Actions
2022-01-26 00:50:23 -05:00
hydroflame
3654a238ae
Merge pull request #2726 from SagePtr/recheck-achievements
...
Force achievements recalculation on bitnode completion
2022-01-26 00:50:06 -05:00
hydroflame
6e33417399
Merge pull request #2736 from MartinFournier/feature/sleeve-bonus-time
...
Display bonus time in sleeve detailed stats panel
2022-01-26 00:49:20 -05:00
hydroflame
ae2c6a4c7c
Merge pull request #2737 from pd/crimestats-name
...
NetscriptDefinitions: Fix type of CrimeStats.name
2022-01-26 00:49:04 -05:00
hydroflame
4a1e3e75ec
Merge pull request #2760 from jamie-mac/fix/slots
...
Fixes issue with incorrect result in slots, and corrects the direction of the reel spin
2022-01-26 00:48:54 -05:00
hydroflame
ac9381e30d
Merge pull request #2784 from dwRchyngqxs/blackjack_precise_decks
...
Add the deck count for blackjack
2022-01-26 00:48:42 -05:00
hydroflame
7e81575cb5
Merge pull request #2782 from dwRchyngqxs/hacking_exp_mult
...
Fixed player hacking exp multiplier application
2022-01-26 00:48:09 -05:00
hydroflame
ea9871fef0
Merge pull request #2641 from MartinFournier/feature/save-command-history
...
Copy terminal command history into game save
2022-01-26 00:47:02 -05:00
hydroflame
acee3c2994
Merge pull request #2705 from pigalot/bug-corp-product-cost
...
BUG: Fix for corp product cost
2022-01-26 00:46:39 -05:00
hydroflame
7a5dfd0e72
Merge pull request #2707 from MartinFournier/feature/theme-browser
...
Add Theme Browser accessible from GameOptions
2022-01-26 00:46:17 -05:00
hydroflame
77ba45df40
Merge pull request #2735 from Ninetailed/ns_printf
...
Add ns.printf function
2022-01-26 00:45:18 -05:00
hydroflame
2fe8a334ef
Merge pull request #2747 from smolgumball/improve-faction-root
...
ui: cleanup styles + presentation in FactionsRoot.tsx
2022-01-26 00:44:55 -05:00
hydroflame
2ecc71ba28
Merge pull request #2738 from pd/corp-jsdoc
...
NetscriptDefinitions: fix jsdoc for Corp research functions
2022-01-26 00:44:43 -05:00
hydroflame
85a8036ecf
Merge pull request #2751 from nickofolas/improvement/ui-pass
...
UI Improvements Pass
2022-01-26 00:44:20 -05:00
hydroflame
6c3ad48ef5
Merge pull request #2763 from Ornedan/formulas-access-checks
...
Fix formulas access checks
2022-01-26 00:42:51 -05:00
hydroflame
44a6f1b5a8
Merge pull request #2775 from dwRchyngqxs/script_nan_fix
...
Fixed array comparison handling of NaN
2022-01-26 00:42:29 -05:00
hydroflame
64662df91e
Merge pull request #2764 from zeddrak/patch-1
...
HacknetServer Grow/Weaken error messages
2022-01-26 00:42:11 -05:00
hydroflame
80396a3416
Merge pull request #2769 from zeddrak/patch-2
...
In response to Issue #2732
2022-01-26 00:41:51 -05:00
hydroflame
bbef8452b3
Merge pull request #2771 from zeddrak/patch-3
...
Documentation edit in response to Issue #2678
2022-01-26 00:40:28 -05:00
hydroflame
5e10f7df1f
Revert "Use min server.moneyAvailable
of 1$ when growing server money"
2022-01-26 00:35:42 -05:00
hydroflame
0a0b7db06f
Merge pull request #2785 from davidpa9708/improve-server-grow-low-money
...
Use min `server.moneyAvailable` of 1$ when growing server money
2022-01-26 00:34:52 -05:00
hydroflame
939136a32a
Merge pull request #2807 from dowinter/dev
...
Fix augmentation order when set to alphabetically
2022-01-26 00:32:59 -05:00
hydroflame
0dd339bb4d
Merge pull request #2790 from SlyCedix/travelToCity-money-fix
...
Make travelToCity throw on invalid city name and return false on no money
2022-01-26 00:32:25 -05:00
hydroflame
13453e678f
Merge pull request #2809 from pd/corp-api-leftovers
...
Corp API: Add setSmartSupplyUseLeftovers
2022-01-26 00:31:58 -05:00
hydroflame
a6fb6df04f
Merge pull request #2811 from reasonablytall/dev
...
Indicate that getRunningScript can return null
2022-01-26 00:31:26 -05:00
hydroflame
0f2dd23eba
Merge pull request #2813 from jamie-mac/fix/cypress-tests
...
Fix: Cypress tests for dev (updates to match UI changes)
2022-01-26 00:31:00 -05:00
Sage Pointer
98f40ca092
Add rounding to getPurchaseServerCost
2022-01-26 06:02:05 +02:00
jamie-mac
1b1206c95d
Fix: Cypress tests for dev (updates to match UI changes)
2022-01-25 23:57:36 +00:00
Alex Aubuchon
6342ccbad5
Indicate that getRunningScript can return null
2022-01-25 18:28:47 -05:00
Phil Despotos
65ffbcc27e
Corp API: Add setSmartSupplyUseLeftovers
...
The API can already toggle smart supply on/off, but can't manage the
related controls for whether smart supply will draw from the existing
materials in the warehouse. Without it, we can't keep some resources in
storage to boost the production multiplier without disabling smart
supply entirely.
2022-01-25 12:51:07 -06:00
Dominik Winter
e29eceb2bd
fix augmentation order when set to alphabetically
2022-01-25 18:21:09 +01:00
Martin Fournier
8a2cad6c4a
Reset styles for html changelogs in getUpdateText
...
Adds an optional sxProps to the DialogBox component.
2022-01-25 10:20:36 -05:00
David Perez Alvarez
6de6fa092f
"improve" server money grow when 0
...
min `server.moneyAvailable` of 1$ when growing
unify displayed growth
2022-01-24 09:51:36 -05:00
Cyn
cdeae4ef68
Make travelToCity throw on invalid city name and return false on no money
2022-01-23 22:08:07 -05:00
Martin Fournier
e7aa977eb0
Persist terminal command history in game save
...
Copy the terminal commands into the player object so that they are saved
between game reloads.
Adds a 'history' command to display history, and a 'history -c' command
to clear it from both the current terminal & the player's save.
2022-01-23 17:09:54 -05:00
qcorradi
23cd53aad4
Add the deck count for blackjack
2022-01-23 22:08:23 +01:00
qcorradi
08314ed33e
Fixed array comparison handling of NaN
...
Issue #2033 is fixed, not using Object.is as recommended by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#when_to_use_object.is_versus_triple_equals
2022-01-23 20:33:32 +01:00
qcorradi
341975ee09
Fixed player hacking exp multiplier application
...
Fixing the application of player's exp multiplier as indicated in #2260 ,
the game balance will need to get re-adjusted in consequence.
2022-01-23 20:30:36 +01:00
zeddrak
56fe63cdd5
In response to Issue #2678
...
Added some clarifications in response to Issue #2678 .
Did not rebuild the md files (I didn't want to cause unnecessary file conflicts).
2022-01-22 21:41:53 -08:00
zeddrak
3fa580cb93
Update codingcontracttypes.ts
2022-01-22 21:06:20 -08:00
zeddrak
57a1bef967
In response to Issue #2732 (Optional)
...
This simply clarifies the description for the find all valid math expressions in response to issue #2732
https://github.com/danielyxie/bitburner/issues/2732
2022-01-22 21:00:28 -08:00
zeddrak
4ffe5508dc
HacknetServer Grow/Weaken error messages
...
It may be intentional to use hack for all 3 (ie, assume the player makes the connection that can't hack, also means can't grow or weaken), in which case, disregard.
On the other hand, it could've easily been a copy/paste artifact, and this would be more explicitly clear, so thought it was worth bringing up.
2022-01-22 14:47:33 -08:00
Heikki Aitakangas
621df103cf
Fix formulas access checks
2022-01-23 00:31:59 +02:00
nickofolas
f6bb4e0138
Fix console warning on ascension modal
2022-01-22 11:37:27 -06:00
nickofolas
3921457ee6
Update Gang equip. page UI
2022-01-22 11:16:51 -06:00
jamie-mac
ef95ec2e90
Fix: slots result matches against a previous state of the reels
...
Fix: reels spin the wrong way
2022-01-22 16:05:27 +00:00
nickofolas
310374dc56
Fix console complaints with gang cards
2022-01-22 09:36:36 -06:00
Luca Montagna
bd775f167e
fixed temp evaluation of MAX and PROD for products
2022-01-22 13:58:51 +01:00
Luca Montagna
bfa271881b
fixed temporary evaluation of MAX and PROD
2022-01-22 13:32:35 +01:00
Xi-Lin Yeh
cf8908fbc8
Add metadata (hash, ramUsage) to be returns
...
Allows for better dirty checking and integrations
2022-01-21 20:49:12 -08:00
nickofolas
c6ddba9f5f
Redesign Gang management page
2022-01-21 20:02:29 -06:00
smolgumball
1c856bf7ef
Resort imports
2022-01-21 15:57:44 -07:00
smolgumball
f28c5b3b45
Improve row spacing
2022-01-21 15:55:10 -07:00
nickofolas
259071e3d5
Align slider endpoints in settings
2022-01-21 16:32:32 -06:00
smolgumball
275e8c8756
Cleanup styles + presentation in FactionsRoot.tsx
2022-01-21 15:29:24 -07:00
nickofolas
a954095519
Prevent FactionRoot options from extending beyond the window
2022-01-21 16:15:41 -06:00
nickofolas
6018f2280d
Research modal UI pass
2022-01-21 16:08:02 -06:00
jamie-mac
8963842276
Fixes black matching 0 on the roulette table
2022-01-21 21:28:25 +00:00
jamie-mac
60c354622d
Fixes incorrect result being detected on the roulette table
...
Resolves #2382
Resolves #2086
2022-01-21 20:42:09 +00:00
nickofolas
844b228596
Align overview page
2022-01-21 14:32:02 -06:00
nickofolas
a904c362d9
Office UI alignment
2022-01-21 14:32:02 -06:00
nickofolas
542f164930
Align warehouse buttons
2022-01-21 14:32:02 -06:00
smolgumball
90e855053d
Merge branch 'dev' into add-ns-getRecentScripts
2022-01-21 13:13:18 -07:00
lethern
a96053a82b
Aug info: fixed typo
2022-01-21 15:51:31 +01:00
Kyle Hargraves
b7604709e5
NetscriptDefinitions: fix jsdoc for Corp research functions
2022-01-21 07:37:16 -06:00
Kyle Hargraves
267a7144cb
Fix type of CrimeStats.name
2022-01-21 07:32:39 -06:00
Martin Fournier
6dba1db3c9
Display bonus time in sleeve detailed stats panel
...
Also adds a field to modify the stored cycles in the dev menu.
2022-01-21 07:50:41 -05:00
Terrana
f2c4109211
Add ns.printf function
...
Behaviour is consistent with that of tprintf versus tprint and
should be equivalent to ns.print(ns.sprintf(...))
2022-01-21 12:08:47 +00:00
Olivier Gagnon
07fe3c1906
update scam msg
2022-01-20 23:53:33 -05:00
Olivier Gagnon
a3c599e6c5
update to prevent scam
2022-01-20 23:43:19 -05:00
nickofolas
1a8a24587f
Ensure that the proper editor is updated by syncing
2022-01-20 17:45:54 -06:00
Martin Fournier
5c0d76828f
Add ID to ThemeEditorButton
2022-01-20 18:43:36 -05:00
Martin Fournier
a26b9c8dcf
Add theme browser page accessible from game options
...
Removed the themes buttons that were in the ThemeEditorModal and only
left a "Revert to Default" button along with a link to the ThemeBrowser
page.
Split off the buttons into reusable components since they are now used
in two pages.
Display the themes in big cards with a zoomable screenshot. Applying the
theme now shows a toast with an option to undo the action.
The snackbar now allows ReactNode instead of only strings.
- Add link with details on how to create a new theme in the game.
- Add link to the theme-sharing discord channel.
- Add icons to the theme & style buttons in GameOptions
- Add "Theme Editor" button to ThemeBrowser
- Add "Style Editor" button to ThemeBrowser
- Move Styles related files into Themes folder
- Includes a modal that shows a bigger version of the screenshot.
- Change Snackbar to allow for ReactNode as the message
2022-01-20 18:41:49 -05:00
Martin Fournier
61d6e43b37
Add theme screenshots & make some fields required
...
- Description, Name & Author is now mandatory
- Add screenshots
- Add dist/images to electron build
2022-01-20 18:41:49 -05:00
Martin Fournier
a9e2e35446
Move theme related things into its own subfolder
...
This will make contributions easier and less prone to conflicts.
2022-01-20 18:41:48 -05:00
Martin Fournier
aae3851d59
Add webpack file-loader to handle images
...
It lets us bundle static files such as images.
Allows us to `imports img from "./img.png"` to retrieve an image's path.
Note that we'll have to add other entries in the global.d.ts file if we
want to handle other extensions than .png.
Adds mocks to Jest tests so that we don't fail tests when loading static
assets.
2022-01-20 18:41:48 -05:00
nickofolas
a5ad97f47d
Remove unnecessary editor code
2022-01-20 17:28:19 -06:00
nickofolas
99ef71de4a
Update prompt message content
2022-01-20 17:14:38 -06:00
SagePtr
32ba81883f
Force achievements recalculation on bitnode completion
2022-01-21 00:04:47 +02:00
nickofolas
bc50f5180a
Refactor
2022-01-20 15:48:17 -06:00
nickofolas
b4a78c26f3
Implement editor tab actions
2022-01-20 15:48:16 -06:00
Olivier Gagnon
f7d18efaf6
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-20 16:14:35 -05:00
Olivier Gagnon
77f525c98c
rm blob caching
2022-01-20 16:11:48 -05:00
hydroflame
ca7b8068ea
Merge pull request #2713 from JohnnyUrosevic/dev
...
Change "import" to "important" in hackers-starting-handbook.lit
2022-01-20 12:24:45 -05:00
Martin Fournier
6e908814db
Add game version in document.title
...
Also add [dev] prefix when in development mode.
2022-01-20 09:26:07 -05:00
Xi-Lin Yeh
4a3ee95b63
Enhanced API Server interface
...
- Used restful patterns for handling server calls (GET/PUT/DELETE)
- Utilized Server interface for saves rather than reimplementing code
- Exposed operations for getting codebase of scripts on the home server and deleting files.
- Added a common response structure
2022-01-20 00:03:07 -08:00
Johnny Urosevic
81db1b0a97
Change "import" to "important"
2022-01-19 13:00:59 -08:00
smolgumball
1a6300b287
Cleanup @usage docs
2022-01-19 13:32:07 -07:00
pigalot
5c7ac9ab8e
Fix for corp product cost
2022-01-19 18:44:48 +00:00
lethern
61cea12ca2
purchaseServer: improved error message for ram > maxRam
2022-01-19 19:09:33 +01:00
smolgumball
74e2acfa6f
Add ns.getRecentScripts()
2022-01-19 00:04:48 -07:00
Sage Pointer
5fc7993dff
Remove console spamming from CalculateShareMult
2022-01-19 02:47:51 +02:00
phyzical
71ac4aacf1
updated buyback and sells functions docs
2022-01-19 08:25:12 +08:00
Olivier Gagnon
53727f6222
typo
2022-01-18 19:20:16 -05:00
Olivier Gagnon
69cf98ff34
doc
2022-01-18 19:12:52 -05:00
Olivier Gagnon
d2ec38753b
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-01-18 18:59:17 -05:00
Olivier Gagnon
d0a44a6088
change asleep
2022-01-18 18:57:43 -05:00
hydroflame
bb34d6b582
Merge pull request #2618 from pigalot/Corp-Api-Updates
...
Corp api updates
2022-01-18 18:05:23 -05:00
hydroflame
b6f514dd4d
Merge pull request #2693 from nickofolas/fix/body-background
...
Use background primary for `<body>`
2022-01-18 17:50:49 -05:00
hydroflame
7bebc86b11
Merge pull request #2684 from nickofolas/improvement/script-editor
...
Script Editor Improvements
2022-01-18 17:49:07 -05:00
nickofolas
eb7a0ebace
Use background primary before #000000 for body
2022-01-18 16:15:36 -06:00
hydroflame
ae83eeacb7
Merge pull request #2689 from nickofolas/fix/singularity-focus
...
Fix Singularity focus arg issues
2022-01-18 17:00:12 -05:00
Olivier Gagnon
05cbc25a8f
1.4
2022-01-18 14:03:24 -05:00
lethern
1dcae1aeec
Update NetscriptDefinitions.d.ts
...
grow/weaken/hack: removed threads part from example - confuses newbies
2022-01-18 16:15:40 +01:00
nickofolas
2d38ce8f72
Fix focus arg for sing functions
2022-01-18 08:49:06 -06:00
nickofolas
89fd54698b
Fix ns.setFocus
2022-01-18 08:20:58 -06:00
nickofolas
258a1b262e
Update options button
2022-01-17 17:20:38 -06:00
lethern
bb6c2cd79e
Update NetscriptFunctions.ts
2022-01-17 23:53:44 +01:00
nickofolas
a9314f2447
Show N/A when editing a txt file
2022-01-17 16:44:55 -06:00
nickofolas
c41cd68a8d
Add modal to editor with RAM details
2022-01-17 16:32:45 -06:00
nickofolas
c1b777733f
Improve clarity of editor tabs
2022-01-17 15:14:07 -06:00
hydroflame
c5089ab82a
Merge pull request #2664 from MartinFournier/feature/recovery
...
Add information to the recovery page
2022-01-17 16:05:00 -05:00
hydroflame
1d83247f8d
Merge pull request #2671 from gianfun/fix_ns_tail_behavior
...
Fix ns.tail() behaviour for multiple calls
2022-01-17 16:01:34 -05:00
hydroflame
25112acefb
Merge pull request #2654 from SlyCedix/bounded-logs
...
Bound log windows to screen
2022-01-17 16:01:16 -05:00
hydroflame
27a54217eb
Merge pull request #2653 from nickofolas/fix/refactor-loops
...
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00
hydroflame
f591935757
Merge pull request #2655 from SagePtr/patch-1
...
Fix "travel" achievement icon
2022-01-17 15:56:44 -05:00
hydroflame
574c541b2e
Merge pull request #2656 from SagePtr/patch-2
...
Minor fix to growth parameter description
2022-01-17 15:56:35 -05:00
hydroflame
8df950721c
Merge pull request #2657 from theit8514/grandparent-script-cache
...
Remove dependents from cache when dependency updated
2022-01-17 15:56:06 -05:00
hydroflame
ef89c2eb1d
Merge pull request #2660 from nickofolas/fix/extraneous-br
...
Remove extraneous line breaks from buttons
2022-01-17 15:55:51 -05:00
hydroflame
247c02856a
Merge pull request #2658 from smolgumball/clickable-ls-style-tweak
...
Fix issues with timestamps on same line as clickable script rows in `ls`
2022-01-17 15:55:22 -05:00
hydroflame
b5357ec04e
Merge pull request #2665 from MartinFournier/feature/ns-ui-getgameinfo
...
Add ns.ui.getGameInfo() to retrieve game version
2022-01-17 15:53:43 -05:00
hydroflame
abef252547
Merge pull request #2666 from MartinFournier/fix/dupe-cost
...
Remove duplicated 'cost' keyword for RAM cost.
2022-01-17 15:53:31 -05:00
hydroflame
5344548740
Merge pull request #2668 from MartinFournier/fix/locked-shortcuts
...
Shortcuts now check to see if feature is unlocked
2022-01-17 15:53:18 -05:00
hydroflame
4e5f05d269
Merge pull request #2667 from MartinFournier/fix/hash-cache-achievement
...
Add check for hash capacity > 0 for MAX_CACHE
2022-01-17 15:52:42 -05:00
hydroflame
b58a2c3cd5
Merge pull request #2674 from nickofolas/fix/help-format-fix-merge
...
Fix formatting lost in merge commit
2022-01-17 15:52:28 -05:00
hydroflame
2a8a958a7a
Merge pull request #2673 from MartinFournier/feature/sidebar-collapsed-tooltip
...
Add tooltips on sidebar icons when collapsed
2022-01-17 15:52:13 -05:00
hydroflame
a9a2764d62
Merge pull request #2672 from MartinFournier/fix/sidebar-stays-collapsed
...
Keep the sidebar opened or closed on reload
2022-01-17 15:52:01 -05:00
hydroflame
cd372c7a55
Merge pull request #2676 from TheMas3212/fix-2675
...
Add Formulas.exe on start of bitnode 5
2022-01-17 15:51:27 -05:00
hydroflame
cdb73319b2
Merge pull request #2679 from MartinFournier/fix/job-shortcut
...
Change job shortcut test to match sidebar item
2022-01-17 15:50:58 -05:00
hydroflame
facca0c2e3
Merge pull request #2680 from attrib/patch-2
...
Fix formatting of respect needed on gang UI
2022-01-17 15:50:24 -05:00
theit8514
31ebdbb139
Handle 'export default' in static RAM calculation
2022-01-17 13:16:03 -05:00
theit8514
423efe19e1
Remove dependents from cache when dependency updated
2022-01-17 12:02:00 -05:00
Karl Fritsche
c638b51e50
Fix formatting of respect needed on gang UI
2022-01-17 15:18:19 +01:00
Martin Fournier
82fe86820f
Change job shortcut test to match sidebar item
...
I switched it to match the same condition as the sidebar menu item,
which checks for player.companyName, which should be set to the latest
company the player worked at. This can prevent a crash loading the jobs
page with an invalid companyName.
This fixes a problem a user had where the player.companyName was empty
while actually items in player.jobs, but I could not figure out how
to replicate. It may have had something to do with part-time jobs.
2022-01-17 08:08:33 -05:00
phyzical
dd47a8baa0
throw error without bulk purchase reasearch
2022-01-17 20:00:19 +08:00
phyzical
6f2924dc0d
generated docs
2022-01-17 18:24:42 +08:00
phyzical
d50e199171
added buybackShares, sellShares and bulkPurchase
2022-01-17 18:03:29 +08:00
phyzical
b742fae1c6
Bugfix for creating products in invalid industries
2022-01-17 17:58:09 +08:00
TheMas3212
0ba4f07a34
Add Formulas.exe on start of bitnode 5
...
fixes #2675
2022-01-17 17:30:50 +11:00
nickofolas
7a31b19c88
Fix formatting lost in merge commit
2022-01-16 20:40:11 -06:00
Martin Fournier
490da6d374
Add tooltips on sidebar icons when collapsed
2022-01-16 17:11:12 -05:00
Martin Fournier
f9daf5df64
Keep the sidebar opened or closed on reload
...
Previously, going to a full-width page and heading back to the terminal would default the sidebar to its opened state regardless of what it was before.
Now it stores it in the GameRoot's state and also in the Settings so
that it persists over reloads.
2022-01-16 17:00:06 -05:00
Gian P
e38010a9a4
Revert "Logs button reopens log window"
...
This reverts commit 01efd372e95628d419575ade0e6536a458fd61d2.
2022-01-16 18:21:02 -03:00
Martin Fournier
a03e47593f
Shortcuts now check to see if feature is unlocked
...
The sidebar now checks if the Player has unlocked the features before using the router to head to the new page.
- Check added for Bladeburner
- Check added for Gangs
2022-01-16 11:31:52 -05:00
Martin Fournier
da7f161e45
Add check for hash capacity > 0 for MAX_CACHE
...
Achievement would trigger as soon as you entered the node as the
capacity was 0.
It looks like this fix was lost in a merge resolution (see PR #2459 )
2022-01-16 11:20:15 -05:00
pigalot
d34d720ab9
Office Size Upgrade Cost
2022-01-16 16:12:03 +00:00
pigalot
2246dd7fe6
Update src/ScriptEditor/NetscriptDefinitions.d.ts
...
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-01-16 16:12:00 +00:00
pigalot
416c4ad619
swap if for Math.min
2022-01-16 16:12:00 +00:00
pigalot
4f391682b7
Fix for unneeded extra =
2022-01-16 16:12:00 +00:00
pigalot
bd20f16a2d
Fix for AI Cores in smart supply
2022-01-16 16:12:00 +00:00
pigalot
4562102448
Fix for js docs
2022-01-16 16:11:32 +00:00
pigalot
62f40b3dc1
Add bribe
2022-01-16 16:11:32 +00:00
pigalot
ea88f5f150
spelling mistake
2022-01-16 16:11:32 +00:00
pigalot
1b1dc20c16
fix error message
2022-01-16 16:11:32 +00:00
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
Jordan Turner
3926913790
updated appearach of example sections based on alainbryden suggestion
2021-12-15 21:47:18 -07:00
theit8514
2e133bcf0a
Fix return type of isFocused
2021-12-15 20:55:47 -05:00
theit8514
d59601f848
Add return value and code style cleanup
2021-12-15 20:48:19 -05:00
theit8514
cd4c98d942
Only change to terminal when focused
2021-12-15 20:44:08 -05:00
theit8514
c50c92f9b5
Update SF requirement to match documentation
2021-12-15 20:33:48 -05:00
theit8514
2726420709
Add errors and only change page when focus changes
2021-12-15 20:33:48 -05:00
theit8514
07d449afc2
Ensure focus does not change between calls to work
2021-12-15 20:33:48 -05:00
theit8514
ad57f3dc73
Work functions do not take focus
...
setFocus readded and updated to send the user to the Work page if focusing.
2021-12-15 20:33:48 -05:00
Jordan Turner
ac79d0aea4
adjusted the wording and added dynamic player server location
2021-12-15 17:52:08 -07:00
Jordan Turner
4836617745
made the terminal error more clear based on issue 1920
2021-12-15 17:19:45 -07:00
tyasuh.taeragan@gmail.com
ce0de40e59
Issue 1934
2021-12-15 18:10:29 -05:00
tyasuh.taeragan@gmail.com
61e962ec12
Issue 1911
2021-12-15 17:59:03 -05:00
theit8514
8ef227595a
Add support for relative paths in mv
...
Fixes mv command deleting file on overwrite
2021-12-15 17:46:36 -05:00
theit8514
4e022c68e9
Add support for relative paths in cp
...
Fix cp error messages
Add support for directory destinations (e.g. copy file.js directory)
2021-12-15 17:36:15 -05:00
Jordan Turner
632e1f70f3
added rs to backricks to color code syntax
2021-12-15 10:25:54 -07:00
Jordan Turner
687682fcbd
added syntax useage to github ns page
2021-12-15 10:10:32 -07:00
Olivier Gagnon
5b38ee3cfb
fix undying script bug
2021-12-14 19:39:55 -05:00
Olivier Gagnon
4d80813707
bugfix
2021-12-14 15:56:11 -05:00
Olivier Gagnon
de9fb24156
Fix scripts dying of weird causes.
2021-12-13 22:26:22 -05:00
Olivier Gagnon
c1e3a170ab
Augmentations page shows stats reductions
2021-12-13 20:28:21 -05:00
Olivier Gagnon
e5b4dd8e90
Files should be saved on the server that opened them.
2021-12-13 20:08:58 -05:00
Olivier Gagnon
50bc9496ec
fix gym not giving discoutns
2021-12-13 19:46:08 -05:00
Olivier Gagnon
1b42b51e5f
few bugfix
2021-12-13 18:44:52 -05:00
Olivier Gagnon
7b8e486e3a
fix typo in doc
2021-12-13 15:50:01 -05:00
theit8514
3437a0a730
Await scp multiple script copy
2021-12-12 19:50:53 -05:00
Olivier Gagnon
7d6947ee01
fix unknown script die for known reason
2021-12-12 14:57:44 -05:00
Olivier Gagnon
e117548895
fix some stack traces not printing file name
2021-12-12 14:49:02 -05:00
Olivier Gagnon
4460bf1613
fix shortcuts
2021-12-12 14:02:45 -05:00
Olivier Gagnon
11ba8c91be
getServer of hacknet doesn't return undefined
2021-12-12 13:47:05 -05:00
Olivier Gagnon
dea8abef1d
better error message for bad args
2021-12-12 13:30:28 -05:00
Olivier Gagnon
5f696aba72
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-12 12:48:26 -05:00
Olivier Gagnon
69a9448e47
fix typos
2021-12-12 12:46:56 -05:00
DJMatch3000
445fbd59c7
Player Stats ui bugfix
...
Fixed a mix-up with Bladeburner stats on the Player Stats page
2021-12-10 15:45:17 -05:00
Olivier Gagnon
172998bef5
boost noodle bar
2021-12-09 16:47:26 -05:00
Olivier Gagnon
2eaa33c9f3
nerf manualHack int gain but differently
2021-12-09 16:30:03 -05:00
Olivier Gagnon
769aad8ead
nerf manualHack int gain
2021-12-09 16:26:49 -05:00
Olivier Gagnon
394a286646
formulas for ascension
2021-12-09 12:52:51 -05:00
Olivier Gagnon
5e916ee3bd
tighten bn13
2021-12-09 10:45:33 -05:00
Olivier Gagnon
7e6a0bbf56
make BN13 harder
2021-12-09 10:15:50 -05:00
Olivier Gagnon
d195b00ab6
Added option to suppress TIX limit/stop orders
2021-12-08 20:21:44 -05:00
Olivier Gagnon
c915cd06d8
corp doc
2021-12-08 20:03:22 -05:00
Olivier Gagnon
14317628e6
formulas doc
2021-12-08 19:19:07 -05:00
Olivier Gagnon
5a15df9ce7
rename the functions I created 2 minutes ago.
2021-12-08 19:03:33 -05:00
Olivier Gagnon
6eba92b36c
rename the functions I created 2 minutes ago.
2021-12-08 18:41:49 -05:00
Olivier Gagnon
d64ce5271e
fix receiving multiple times the same invite
2021-12-08 18:29:56 -05:00
Olivier Gagnon
ed821617c0
save files are now chronologically named
2021-12-08 18:27:57 -05:00
Olivier Gagnon
35fa4a4117
fix sleeve function not returning cha
2021-12-08 18:27:14 -05:00
Olivier Gagnon
0306397f53
fix buying negative memory
2021-12-08 18:25:49 -05:00
Olivier Gagnon
2af57cb01e
formulas for gang stuff
2021-12-08 18:19:30 -05:00
Olivier Gagnon
d01d75606a
few bugfix
2021-12-08 17:39:01 -05:00
Olivier Gagnon
133d80749d
add bn14 location
2021-12-04 23:47:53 -05:00
Olivier Gagnon
a845c5ac8f
rm tail bound
2021-12-04 18:58:26 -05:00
Olivier Gagnon
25aa5d3afe
corp api
2021-12-03 23:08:11 -05:00
Olivier Gagnon
737276e855
corp api
2021-12-03 23:06:04 -05:00
corver
2f55cd27c5
Fix some Bladeburner typos
2021-12-03 16:45:48 -05:00
corver
83090bfa8c
Match descriptions of BN5 and SF5
2021-12-03 16:30:06 -05:00
Olivier Gagnon
f487a0c0e9
loosed hacking nerf
2021-12-03 16:27:49 -05:00
Olivier Gagnon
5470f9fdc1
wd diff increase
2021-12-03 16:21:35 -05:00
Olivier Gagnon
3c27893aa3
v1.1.0
2021-12-03 16:14:13 -05:00
hydroflame
ceb008c9fe
Merge pull request #1816 from cvr-119/netscript
...
Add missing properties of Server interface
2021-12-03 16:09:56 -05:00
Olivier Gagnon
647ccd6a7b
BN13
2021-12-03 16:09:13 -05:00
corver
118fddb1bb
Add missing properties of Server interface
2021-12-03 16:00:49 -05:00
Olivier Gagnon
8e11e25904
release bn13
2021-12-03 15:45:39 -05:00
Olivier Gagnon
d4ebc46a19
merge dev
2021-12-03 15:35:45 -05:00
Olivier Gagnon
798c9867a7
logbox cant go outside body
2021-12-03 15:31:25 -05:00
Olivier Gagnon
f111beb399
rm consolelog
2021-12-03 15:20:31 -05:00
Olivier Gagnon
e6b263e6ec
make infil reward more consistent.
2021-12-03 15:11:31 -05:00
Olivier Gagnon
68cff084ff
int helps lower program creation req
2021-12-03 14:49:44 -05:00
Olivier Gagnon
0b92f706ad
terminal parses boolean exactly.
2021-12-03 14:46:40 -05:00
Olivier Gagnon
13b08d7cc8
terminal parses boolean exactly.
2021-12-03 14:44:32 -05:00
Olivier Gagnon
99ed9b25a3
autolink less lines
2021-12-03 14:17:29 -05:00
Olivier Gagnon
49a545f00e
many bugfix
2021-12-03 14:12:32 -05:00
Olivier Gagnon
d852649f2b
log issue
2021-12-03 13:54:49 -05:00
Olivier Gagnon
773f50ba67
doc n steam copypaste
2021-12-02 18:42:30 -05:00
theit8514
9b4e612be2
Update return type
2021-12-02 12:36:09 -05:00
theit8514
cb1aa452a1
Move getOwnedSourceFiles to NetscriptFunctions
2021-12-02 12:17:33 -05:00
Olivier Gagnon
9b009b980c
achievements stuff
2021-12-01 14:26:49 -05:00
theit8514
788f1a1d37
Keep faction invites if not accepted on reset
2021-11-30 03:02:04 -05:00
Olivier Gagnon
3a6d51134a
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-11-28 23:51:08 -05:00
Olivier Gagnon
7ee5d8d71a
more achievements
2021-11-28 23:51:01 -05:00
hydroflame
2dfc52351d
Merge pull request #1797 from alainbryden/patch-2
...
Bad copy pasta from isFocused -> setFocus
2021-11-28 13:14:46 -05:00
Olivier Gagnon
e262c9bb38
achievements
2021-11-27 15:07:25 -05:00
Olivier Gagnon
d257cb84ad
keep factions now just give an invite.
2021-11-27 11:44:48 -05:00
Alain Bryden
ca2948b854
Bad copy pasta from isFocused -> setFocus
2021-11-26 23:02:02 -04:00
Olivier Gagnon
59d5fa9ef5
fix coding contract focus
2021-11-26 18:59:25 -05:00
Olivier Gagnon
03a703c4b0
fix
2021-11-26 18:56:58 -05:00
Olivier Gagnon
b941753e1b
more fixes
2021-11-26 18:54:06 -05:00
Olivier Gagnon
f17870926b
tail box close on soft reset
2021-11-26 18:47:12 -05:00
Olivier Gagnon
6e71258a53
fix disable log for tix api
2021-11-26 18:43:50 -05:00
Olivier Gagnon
6fb38b5439
getRunningScript fix
2021-11-26 18:37:03 -05:00
Olivier Gagnon
c05518e162
workerscript log takes a function now, hopefully this will increase performance.
2021-11-26 18:30:58 -05:00
Olivier Gagnon
fe3aa5a357
rm references to fconf
2021-11-26 18:05:14 -05:00
Olivier Gagnon
1cecfa7108
few fixes
2021-11-26 18:04:33 -05:00
Olivier Gagnon
6c24ed69a2
merge prs
2021-11-26 17:56:49 -05:00
Olivier Gagnon
39df55cfe5
fix logbox color
2021-11-26 17:55:14 -05:00
hydroflame
a21e2f0dd5
Merge pull request #1791 from alainbryden/1766-fix-blackjack-double-loss
...
#1766 - Fix blackjack double loss, black-on-black text
2021-11-26 17:51:45 -05:00
Alain Bryden
f7da154411
Blackjack pays 1.5x, fix appearances
...
I'll lead with this so it doesn't look like I snuck it in: Winning by blackjack is special and usually pays 1.5x so I made it so :) All the infrastructure was already in place.
Fixed bkack-on-black text, I didn't even know the game kept count of your cards for you! Improved the way it's displayed a bit (screenshot in PR)
Also simplified the code that determines gains and applies the win since there was some duplication there.
2021-11-26 00:37:18 -04:00
Alain Bryden
dbde0b8112
#1766 Fix blackjack double loss
...
Bet was being removed twice instead of just once. This fact was accounted for in the win and tie if branches, but not the loss branch.
2021-11-25 23:28:23 -04:00
Alain Bryden
ef23033b2c
#1773 - Fix duplicate file extensions
...
For some time now, filenames have included the extension, so there's no need to append ".js" either on a single-file download or zip download.
While I was in the area, I also fixed .txt files in a folder - they had the same bug as scripts used to (appear in the zip as an underscore). I consolidated the code since it was the same for script files and text files.
I also added the ability to download *.js and *.ns (previously only supported *, *.script, and *.txt)
I also made the wildcard matching just a bit more flexible, so if someone really wanted to, they could go "download *blah.js" and get all scripts ending with that pattern ¯\_(ツ)_/¯
2021-11-25 23:06:13 -04:00
Olivier Gagnon
f0a004e75b
Fix a bunch of scripting related stuff.
2021-11-25 11:47:31 -05:00
hydroflame
8ad7ca5136
Merge pull request #1763 from alainbryden/patch-1
...
Return the price paid/recieved on short/sellShort
2021-11-25 11:36:59 -05:00
Olivier Gagnon
afe6a72458
gang with 0 territory cannot fight
2021-11-24 17:58:20 -05:00
Olivier Gagnon
31edf92092
prevent browser back in history
2021-11-24 16:15:19 -05:00
Olivier Gagnon
42518c3caa
fix few bugs
2021-11-22 11:36:13 -05:00
Alain Bryden
6b8a91a23b
Return the price paid/recieved on short/sellShort
2021-11-22 11:19:23 -04:00
Bart Koppelmans
79f456b598
Fixed BladeBurner getCityCommunities
ram cost
...
With the renamed function, the ram cost was not taken into account.
2021-11-20 21:12:21 +01:00
Olivier Gagnon
f035457efc
build part pr
2021-11-20 15:01:04 -05:00
Bart Koppelmans
b6b191bdbe
Fixed tprintf also printing the file name
2021-11-20 20:54:31 +01:00
Olivier Gagnon
faa9b87733
added new mechanic that allows the wd to be stronger
2021-11-20 01:30:45 -05:00
Olivier Gagnon
3ab3106634
build with dev
2021-11-20 00:26:01 -05:00
Olivier Gagnon
7255ce24ef
fix some coloring stuff
2021-11-19 23:55:10 -05:00
Olivier Gagnon
60d34c3cc6
rebuild
2021-11-19 23:45:34 -05:00
Olivier Gagnon
c88dade19a
fix tprintf catching errors
2021-11-19 22:58:41 -05:00
Olivier Gagnon
983c102123
v1.0.2
2021-11-19 15:50:22 -05:00
Olivier Gagnon
b80d12b9f8
v1.0.2 part 1
2021-11-19 15:44:12 -05:00
Olivier Gagnon
a4a931dad7
v1.0.2 part 1
2021-11-19 14:39:38 -05:00
Olivier Gagnon
762b5b44aa
spawn defaults to 1 thread
2021-11-18 18:00:20 -05:00
Olivier Gagnon
cb4c06d2ba
remove cooling because it fucks with very high level hacking strategies
2021-11-18 15:42:49 -05:00
Olivier Gagnon
632de50a73
convert BN13 to a more conventional one.
2021-11-18 15:38:19 -05:00
Olivier Gagnon
ca7cb0bead
Merge dev
2021-11-18 15:23:04 -05:00
Olivier Gagnon
e34467ff6e
Added blood donation link.
2021-11-18 15:21:12 -05:00
hydroflame
459f73702d
Merge pull request #1740 from danielyxie/doc
...
Doc
2021-11-18 11:32:33 -05:00
Olivier Gagnon
fc4c0fd8fd
rebuild
2021-11-18 11:32:22 -05:00
Olivier Gagnon
f3fa2a7c79
v1.0.1
2021-11-18 11:30:45 -05:00
Olivier Gagnon
c69eb34341
v1.0.1
2021-11-17 19:56:17 -05:00
Alain Bryden
dfd277fc91
Remove forgotten debug statement.
2021-11-17 19:48:22 -04:00
Olivier Gagnon
ef40fb9bb2
few more bugfix
2021-11-17 18:08:58 -05:00
Olivier Gagnon
091f688360
try to make people use ns2
2021-11-17 17:58:55 -05:00
Olivier Gagnon
631bb9fe1b
few bugfix
2021-11-17 17:50:02 -05:00
Olivier Gagnon
eb381c7c73
tail box can rerun scripts
2021-11-17 17:33:44 -05:00
Olivier Gagnon
4730347330
revert dev meny thingy
2021-11-17 10:59:33 -05:00
Olivier Gagnon
ae9ad4430e
Increase rep gains 2
2021-11-17 10:59:15 -05:00
Olivier Gagnon
022cd7b68d
Increase rep gains
2021-11-17 10:51:45 -05:00
Olivier Gagnon
ef781a0627
plenty of bf
2021-11-15 23:49:33 -05:00
Olivier Gagnon
d958aa5ed9
fix charging for 0 rep
2021-11-15 14:41:34 -05:00
Olivier Gagnon
ded230eaaf
fix int exp gain in sing func
2021-11-14 08:36:40 -05:00
Olivier Gagnon
d49d8b4764
stanek bitnode mult
2021-11-13 23:58:08 -05:00
Olivier Gagnon
43a6521403
more work on bn13
2021-11-13 23:45:26 -05:00
Olivier Gagnon
56ddcd9a45
more work on bn13
2021-11-13 22:44:17 -05:00
Olivier Gagnon
275c740a16
boost terminal grow
2021-11-13 20:53:21 -05:00
Olivier Gagnon
fd8be890aa
revert omuretsu fix
2021-11-13 20:39:16 -05:00
Olivier Gagnon
82314762d5
fix a few bugs
2021-11-13 19:50:39 -05:00
Olivier Gagnon
22048d6ba6
await compiel
2021-11-13 19:35:44 -05:00
Olivier Gagnon
61a51519eb
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-11-13 19:35:37 -05:00
Olivier Gagnon
badba2eb1b
fix scp and write in ns1
2021-11-13 19:33:37 -05:00
hydroflame
db82cdcdca
Merge pull request #1716 from Snarling/throw-fix
...
Fix error throwing for unknown errors
2021-11-13 10:06:04 -05:00
Snarling
b0f7fdca44
Fix error throwing for unknown errors
...
Fix error throwing for unknown errors.
This should prevent unknown script/unknown error message and allow players to see custom errors that they throw.
2021-11-13 09:52:17 -05:00
Olivier Gagnon
3cbf2e8e7d
fix doc
2021-11-13 09:35:13 -05:00
Olivier Gagnon
c21644397d
Make alter reality harder
2021-11-12 19:28:52 -05:00
Olivier Gagnon
f5d6132dfc
fix bladeburner action cancel
2021-11-12 16:54:34 -05:00
Olivier Gagnon
b6279ac08c
some api break stuff
2021-11-12 15:56:48 -05:00
Olivier Gagnon
25eda90781
fix bn5 not giving formulas.exe
2021-11-12 15:48:30 -05:00
Olivier Gagnon
6bd6b3061e
rename some stuff and close some exploits
2021-11-12 15:42:57 -05:00
Olivier Gagnon
7059bdf08a
added ramUsed to getNodeStats
2021-11-12 10:10:33 -05:00
Olivier Gagnon
c0d28c17e7
fix more bugs
2021-11-11 23:40:48 -05:00
Olivier Gagnon
3112dc60c0
few more bugfixes
2021-11-11 23:28:08 -05:00
Olivier Gagnon
a54e613e42
upgrade version
2021-11-11 22:45:29 -05:00
Olivier Gagnon
9d435bbe47
fix corp not loading
2021-11-11 22:43:40 -05:00
Olivier Gagnon
0114c92829
fix decimal
2021-11-11 21:35:26 -05:00
Olivier Gagnon
aa07ea981a
saving timebomb
2021-11-11 20:42:19 -05:00
Olivier Gagnon
6e74716940
huh?
2021-11-11 20:31:26 -05:00
Olivier Gagnon
809b5c70bd
build
2021-11-11 20:14:06 -05:00
Olivier Gagnon
3edbfd6916
wtf
2021-11-11 20:09:38 -05:00
hydroflame
70ffe25bb4
Revert "bunch of bugfixes"
2021-11-11 20:06:05 -05:00
Olivier Gagnon
d91d7c564e
bunch of bugfixes
2021-11-11 19:56:09 -05:00
Olivier Gagnon
cf2efe7698
few bugdic
2021-11-11 17:00:36 -05:00
hydroflame
486e8a107f
Merge pull request #1685 from skytos/offline-hacking-attribution
...
attribute offline hacking gains to hacking rather than hacknet
2021-11-11 15:53:31 -05:00
Olivier Gagnon
3fe25d64e5
ns function token even more precise.
2021-11-11 11:21:21 -05:00
Olivier Gagnon
3f28b066b0
working on timestamps and make netscript function highlight more specific.
2021-11-11 10:07:16 -05:00
Skylar Broad
df6a9ff400
attribute offline hacking gains to hacking rather than hacknet
2021-11-10 21:08:43 -08:00
Olivier Gagnon
1e7da4c610
make timestamp with seconds
2021-11-10 19:50:21 -05:00
Olivier Gagnon
15b3a82a41
plenty of bug fix.
2021-11-10 19:28:20 -05:00
Olivier Gagnon
2cf3d640bb
fix exploit duplicate
2021-11-10 19:11:19 -05:00
Olivier Gagnon
a3346719a0
rm console log
2021-11-10 12:37:40 -05:00
Olivier Gagnon
9799d2f33b
dont run the migration every time
2021-11-10 12:36:15 -05:00
Olivier Gagnon
9fe817daf2
fix backup_ folder not working
2021-11-10 12:34:56 -05:00
Olivier Gagnon
77fce11813
lower gang power
2021-11-10 09:23:48 -05:00
Olivier Gagnon
7cc4295c63
fix a few bugs
2021-11-10 07:52:26 -05:00
Olivier Gagnon
7cc2a1b49a
fix mc
2021-11-09 23:57:44 -05:00
Olivier Gagnon
57cec546f0
some documentation
2021-11-09 23:46:22 -05:00
Olivier Gagnon
c87e9bdf84
v1.0.0 changes
2021-11-09 23:42:36 -05:00
Olivier Gagnon
e690dad1ea
tried docker but performance is abysmal
2021-11-09 00:06:51 -05:00
Olivier Gagnon
d0eb8aaab9
added v1.0.0 cutover msg
2021-11-08 09:27:11 -05:00
Olivier Gagnon
b692bb90b9
fix ns1 blue colors
2021-11-06 17:46:55 -04:00
Olivier Gagnon
58d652da54
fix something about covenant sleeve purchases
2021-11-05 21:57:41 -04:00
Olivier Gagnon
eb6f016ac1
fix corp softcap
2021-11-05 21:01:23 -04:00
Olivier Gagnon
88b4a7d862
bugfix
2021-11-05 17:12:52 -04:00
Olivier Gagnon
f8917473f8
get rid of rollover rep
2021-11-05 16:09:19 -04:00
Olivier Gagnon
d83650c3bc
speed up ns1
2021-11-05 14:32:21 -04:00
Olivier Gagnon
362d2eb51d
Fix a few bugs and also added the concept of gang power multiplier
2021-11-05 13:20:52 -04:00
Olivier Gagnon
73d0f2074c
formulas time in millis
2021-11-05 00:27:30 -04:00
Olivier Gagnon
14150d3e33
work on making the netscript api tighter
2021-11-03 20:19:52 -04:00
Olivier Gagnon
c5fb5155f3
work on making sure all the functions are accounted for
2021-11-03 18:16:10 -04:00
Olivier Gagnon
2578ea51c3
fix blade time
2021-11-03 13:43:03 -04:00
Olivier Gagnon
d82f3e7ad7
more doc
2021-11-03 00:33:14 -04:00
Olivier Gagnon
2b79871c02
doc
2021-11-03 00:27:21 -04:00
Olivier Gagnon
37845c57c0
migrate some of formulas
2021-11-02 22:58:40 -04:00
Olivier Gagnon
0bee743b47
v1.0.0 migration guide
2021-11-02 22:49:46 -04:00
Olivier Gagnon
b2bf3fc21f
v1 api breaks
2021-11-02 22:11:22 -04:00
Olivier Gagnon
fcf29fa37c
br in noodle bar
2021-11-02 20:34:03 -04:00
Olivier Gagnon
55d1dca7b7
Add noodle power.
2021-11-02 20:30:19 -04:00
Olivier Gagnon
3633134a69
doc changes
2021-11-02 20:10:30 -04:00
Olivier Gagnon
40cd679be5
few doc update
2021-11-02 17:48:02 -04:00
Olivier Gagnon
048ef0e69e
Added recovery mode
2021-11-02 17:28:19 -04:00
Olivier Gagnon
fa44b38506
fix missing colors in infiltration
2021-11-02 16:20:32 -04:00
Olivier Gagnon
437d96edbe
slashgame window cannot be at the end
2021-11-02 16:13:58 -04:00
Olivier Gagnon
d7c23b975c
fix code not saving
2021-11-02 16:10:01 -04:00
Olivier Gagnon
94137228e0
remove double server profiler from dark web
2021-11-01 11:41:59 -04:00
Olivier Gagnon
90090f8273
Employee salary no longer increase
2021-10-31 16:01:23 -04:00
Olivier Gagnon
9b0726ca9a
documentation
2021-10-30 16:03:34 -04:00
Olivier Gagnon
01dcf3c64f
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-10-30 15:47:04 -04:00
Olivier Gagnon
feb0430aff
work on doc
2021-10-30 15:46:34 -04:00
hydroflame
4b52fc81ed
Merge pull request #1638 from Saynt-Garmo/dev
...
Programs grant int exp based on time
2021-10-30 12:47:28 -04:00
Olivier Gagnon
920b7325b4
City map use more letters than just X
2021-10-30 12:43:45 -04:00
Olivier Gagnon
d031a68fd2
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-10-30 12:34:19 -04:00
Olivier Gagnon
43fc5dfd48
work on doc
2021-10-30 12:34:14 -04:00
tyasuh.taeragan@gmail.com
afd34ef9ca
Programs grant int exp based on time
2021-10-29 20:27:20 -04:00
tyasuh.taeragan@gmail.com
55a2f0cd9e
Args now stringified next to script names
2021-10-29 18:01:51 -04:00
tyasuh.taeragan@gmail.com
c9b4675061
Going Public Exploit Fix.
2021-10-29 16:20:38 -04:00
Olivier Gagnon
f99c3fd0cd
dont double log
2021-10-29 13:09:58 -04:00
Olivier Gagnon
d99d3fc222
dont run inf loop check on ns1 scripts
2021-10-29 01:23:15 -04:00
Olivier Gagnon
2926ee0fc0
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-10-28 23:04:40 -04:00
Olivier Gagnon
d1d0ccf345
added possible infinite loop checker
2021-10-28 23:04:26 -04:00
tyasuh.taeragan@gmail.com
14b2f2ad4d
Invisible Black Text
2021-10-28 20:45:09 -04:00
hydroflame
f64e0e0475
Merge pull request #1623 from Saynt-Garmo/dev
...
Number lvl upgrade corpo ui
2021-10-28 18:21:57 -04:00
tyasuh.taeragan@gmail.com
8d6f0a145e
Number lvl upgrade corpo ui
2021-10-28 18:20:43 -04:00
Olivier Gagnon
a34d6e0dfa
added button as editable color
2021-10-28 17:38:22 -04:00
Olivier Gagnon
ec49029dde
revert formulas safeguard
2021-10-28 16:43:47 -04:00
Olivier Gagnon
cc438cbabd
revert safeguard
2021-10-28 16:41:37 -04:00
Olivier Gagnon
ee5eaf9658
safeguyard against Formulas.exe missing
2021-10-28 15:59:04 -04:00