Commit Graph

6486 Commits

Author SHA1 Message Date
catloversg
986ac0b627
BUGFIX: Wrong countdown of remaining time for Bladeburner action (#1547) 2024-08-04 13:07:10 -07:00
catloversg
23f193c8eb
MISC: Remove unnecessary dependency in Person class (#1534) 2024-08-04 00:04:06 -07:00
catloversg
1b9676c68e
MISC: Clarify deprecation warning of ns.getTimeSinceLastAug() (#1535) 2024-08-04 00:01:34 -07:00
catloversg
7c7293b687
BUGFIX: Prompt does not reset text value (#1539) 2024-08-04 00:01:01 -07:00
catloversg
1ed47b4bc9
BUGFIX: Tab completion uses wrong command list (#1537) 2024-08-03 23:52:29 -07:00
catloversg
829eda2e5a
MISC: Add help text for changelog command (#1540) 2024-08-03 23:43:14 -07:00
BaxoPlenty
3be9f9dfd7
BUGFIX: Fix link to non-existing page (#1541) 2024-08-03 23:42:43 -07:00
Yichi Zhang
0dd42a1d57
TERMINAL: Stop terminal scp from revealing and copying to unreachable servers (#1542) 2024-08-03 23:38:00 -07:00
catloversg
d9394db543
BUGFIX: Add missing BN multipliers in UI (#1545) 2024-08-03 23:17:50 -07:00
Tom Prince
935ac610d3
EDITOR: Support cross-language imports in editor. (#1518) 2024-08-01 23:59:31 -07:00
Tom Prince
2f95d21503
UI: Sync UI updates to game updates. (#1512)
There are a bunch of React components that update at the same rate
that the game engine processes cycles. Rather than have each place
that does so start its own timer to update that often, add a new
react hook that triggers an update shortly after the engine completes
a cycle.
2024-08-01 23:57:43 -07:00
catloversg
06677a1306
MISC: Refactor Person.ts and Sleeve.ts (#1532) 2024-08-01 22:59:41 -07:00
catloversg
d4b73531f5
DOCUMENTATION: Remove unmaintained VS Code extension (#1531) 2024-08-01 22:45:47 -07:00
catloversg
9308301b12
UI: Fix misleading favor numbers (#1530) 2024-08-01 22:44:03 -07:00
catloversg
bcb4a3835b
BLADEBURNER: Allow upgrading skill level over max safe integer (#1509) 2024-07-31 12:48:09 -07:00
Michael Taylor
0ceb478e32
DOC: Typo in ns2 migration doc (#1528) 2024-07-31 12:41:54 -07:00
mmjr-x
4d57d636af
INFILTRATION: Minesweepergame minor bugfix, made rounding behavior for height, width and mine count consistent (#1526) 2024-07-30 15:23:55 -07:00
TheAimMan
6cae65fc0d
BUGFIX: Cap Gang recruit member calculation (#1523) 2024-07-27 15:44:00 -07:00
gmcew
ad5e2b0fe5
CONTRACT: Remove " "s from .getDescription() result (#1525) 2024-07-27 15:42:28 -07:00
TheAimMan
d4f3cf7d81
BUGFIX: Stop current work when starting a program with Singularity (#1521) 2024-07-26 15:05:27 -07:00
Tom Prince
1e6e635ae3
BUGFIX: Correctly show remaining grafting/programming time left when cycles are skipped. (#1510) 2024-07-26 02:05:29 -07:00
Tom Prince
c3dc275d34
MISC: Show values of constants in type hints. (#1515) 2024-07-26 01:56:09 -07:00
Tom Prince
02538d6953
EDITOR: Enable strict typechecking of typescript. (#1493)
* EDITOR: Tweak typescript language server configuration to match use.

- We allow importing files with `.ts`/`.tsx` extensions.
- We use an file-at-a-time transpiler, so we don't support features
  that require understanding the full type system.
- We use the classic `React.createElement` transform.
2024-07-23 21:28:05 -07:00
Tom Prince
854c1a5921
MISC: Remove unsed attribues of internal ScriptDeath. (#1513) 2024-07-23 17:50:51 -07:00
robofinch
42bcfa1889
BUGFIX: Prevent runtime NotAllowedError on Safari (#1507)
Could occur when the browser’s window is resized.
2024-07-20 01:16:02 -07:00
David Walker
4502fd443e
BUGFIX: Don't spin forever if IDB can't be loaded (#1500)
Our IndexDB handling did not have very good error handling. It wasn't
reporting the actual errors that occured, nor was it using actual Error
objects. In some cases it also had overly convoluted Promise use, and it
didn't need to be .tsx either.

The biggest issue was that if any problem occured during the main
load(), this would end up as an unhandled rejection and so it would only
be logged to the console. This extends the previous catch to also cover
this, so that the recovery screen is activated.
2024-07-19 19:27:04 -07:00
Tom Prince
d1f190c894
BUGFIX: Fix mathjax path on dev server. (#1501) 2024-07-19 17:13:42 -07:00
Tom Prince
dc93d166f0
BUGFIX: Use mathjax from npm, rather than vendored copy. (#1491) 2024-07-18 16:27:01 -07:00
catloversg
ceaf27714b
MISC: Remove testing code in ScriptTransformer (#1499) 2024-07-17 23:23:18 -07:00
catloversg
cea0afe1f4
EDITOR: Follow-up of #1470 (Editor outline) (#1498) 2024-07-17 15:18:10 -07:00
David Walker
abe7a43eec
MISC: Always include stack trace in Recovery Mode (#1487)
We are getting some more error reports coming in that don't have enough
info in them. It turns out that populating the stack trace was gated
behind the dev flag; in reality, production builds are where we need it
most. Even if it ends up being obfuscated (source maps should prevent
this), we can figure out the actual source lines with enough effort if
need be.

This also changes to using the actual stack trace, rather than the
"component" trace (the tree of JSX objects), since knowing where the
code failed is far more valuable. Also, it ensures we get the full error
details when things go wrong in savefile loading.
2024-07-14 22:51:18 -07:00
catloversg
864613c616
MISC: Support JSX, TS, TSX script files (#1216) 2024-07-14 14:47:10 -07:00
catloversg
783120c886
FEATURE: BitNode options (#1411) 2024-07-14 14:30:30 -07:00
catloversg
0e1e8a9862
MISC: Disable rumor of Bladeburners in BN8 (#1484) 2024-07-14 14:20:10 -07:00
catloversg
8d39c7d9fc
UI: Only show relevant changes in "Purchased Augmentations" table (#1476) 2024-07-08 11:07:19 -07:00
David Walker
06553d9700
BUGFIX: Fix "Router called before initialization" race (#1474)
If the game takes long enough to load, certain counters can become
eligible to run as soon as Engine.start() runs. When this happens,
eventually Router.page() is called, which throws an Error since Router
isn't initialized yet. (Dropping a breakpoint before Engine.start() and
waiting at least 30 seconds is enough to reliably repro, but I have seen
this both live and in tests.)

This fixes it so that Router.page() is valid immediately, returning a
value of Page.LoadingScreen. It also removes the isInitialized field,
since this is now redundant. Trying to switch pages is still an error,
but that doesn't happen without user input, whereas checking the current
page is quite common.

This also consolidates a check for "should we show toasts" behind a
function in Router, making the logic central and equal for a few
usecases. This means (for instance) that the "autosave is disabled"
logic won't run during infiltration. (The toast should have already been
suppressed.)
2024-07-07 22:13:37 -07:00
catloversg
2b6ec5cd33
BLADEBURNER: Fix wrong behavior of ns.bladeburner.getSkillUpgradeCost (#1471) 2024-07-07 14:49:23 -07:00
jazzybones-www
1613eb38ed
BUGFIX: fix a typo in the hamming code problem statement (#1472) 2024-07-07 14:41:22 -07:00
catloversg
8f0ea7c8c4
EDITOR: Work around bug in monaco-editor (#1470) 2024-07-07 14:38:22 -07:00
catloversg
b7a996718b
UI: Tweak Hacknet summary (#1466) 2024-07-07 14:33:49 -07:00
Tom Prince
b277975656
EDITOR: Provide type definitions for React and ReactDOM in in-game editor. (#1458)
* Fix the type declaration of `!!raw-loader!` modules.

Instead of declaring them to export an object with a single key
`default` which is a string, the modules have a default export, which
is a string.

Note, that this doesn't actually change the generated code, just the
types that typescript sees. The code worked before because the only
thing done to the values was to coerce the values to a string, which
turned into a no-op.

* Switch from using `raw-loader` to using a source asset module.

`raw-loader` was deprecated in webpack v5.
2024-07-07 00:08:33 -07:00
catloversg
055b4bd7bc
MISC: Add threshold for warning about system clock (#1463) 2024-07-06 22:24:51 -07:00
catloversg
f18d28fc6e
DOCUMENTATION: Add link to NS API documentation (#1460) 2024-07-06 12:54:56 -07:00
catloversg
8ade4801a9
MISC: Remove redundant type of CONSTANTS (#1464) 2024-07-06 12:52:20 -07:00
David Walker
1f2e69631e
EDITOR: Use ramOverride() to set compiled script RAM (#1446)
To use this, add a line like "ns.ramOverride(2);" as the first statement
in main(). Not only will it take effect at runtime, but it will now
*also* be parsed at compile time, changing the script's static RAM
limit. Since ns.ramOverride is a 0-cost function, the call to it on
startup then becomes a no-op.

This is an often-requested feature, and allows for scripts to set their
usage without it needing to be explicitly mentioned via args or options
when being launched. This also reduces pressure on the static RAM
analysis to be perfect all the time. (But certain limits, such as
"functions names must be unique across namespaces," remain.)

This also adds a tooltip to the RAM calculation, to make this slightly
discoverable.
2024-07-05 17:32:46 -07:00
catloversg
29c54df543
BLADEBURNER: Change formula of skill cost (#1443) 2024-07-05 14:27:28 -07:00
catloversg
02f5c5b727
MISC: Update description of source files (#1461) 2024-07-05 14:17:06 -07:00
catloversg
26316c2494
BUGFIX: Fix wrong money source when traveling (#1456) 2024-07-04 14:19:36 -07:00
catloversg
313d6a28b6
MISC: Remove obsolete description of killall (#1453) 2024-07-04 00:03:18 -07:00
Snarling
8ee703760a Start 2.6.3 dev cycle 2024-07-03 19:39:21 -04:00
Snarling
633da38301
RELEASE: 2.6.2 (#1454) 2024-07-03 19:14:45 -04:00
catloversg
3c29757827
CORPORATION: Fix wrong product price calculation (#1451) 2024-07-02 15:11:32 -07:00
catloversg
960fe5aa8b
BUGFIX: Wrong success chance in ns.bladeburner.getActionEstimatedSuccessChance (#1450) 2024-07-02 15:07:56 -07:00
catloversg
922f0bfcc5
BITVERSE: Fix React warning (#1449) 2024-07-01 13:17:30 -07:00
catloversg
e66a8e319f
MISC: Remove debug code (#1448) 2024-07-01 13:16:47 -07:00
catloversg
3fafa23f28
GANG: Fix ns.gang.getRecruitsAvailable (#1442) 2024-06-28 20:18:29 -07:00
catloversg
b1c1fc24a9
GRAFTING: Add new api for checking ongoing grafting (#1435) 2024-06-28 19:59:18 -07:00
Tom Prince
32eb6324fd
MISC: Simplify graftingIntBonus calculation. (#1445)
The weight of the intelligence bonus is a multiplier to the percentage increase. So, rather than calculate it with a weight of 3 and then divide by 3, we can just calculate it with a weight of 1.
2024-06-28 19:52:36 -07:00
Sphyxis
61ec7dde80
API: Get Sleeve Success at BB tasks through existing commands (#1428) 2024-06-28 19:49:52 -07:00
David Walker
9c9a69f2e2
NETSCRIPT: Add ramOverride() function (#1346)
This adds a way to dynamically change the static RAM limit of a script,
which is also its current RAM usage. This makes it possible for scripts
to dynamically change their memory footprint, opening up new strategies
beyond current ram-dodging.

Calling functions still permanently increases the *dynamic* memory
limit; RAM-dodging is still the optimal strategy for avoiding RAM costs,
in that sense.

This also adds dynamicRamUsage to the info returned by
`getRunningScript`, to allow introspection on the currently needed ram.
2024-06-28 18:42:20 -07:00
David Walker
1c20a24079
MISC: Make spawn able to have 0 delay (#1333)
This eliminates a hole where spawn was unrelaible, because other scripts
could jump in and steal the RAM. It's not an API break, because 0 used
to be an invalid value.
2024-06-28 18:41:41 -07:00
David Walker
06d742a7f3
BUGFIX: Fix rounding issues due to ramOverride edge cases (#1339)
*All* RAM calculations must take place in units of hundredths-of-a-GB in
order for there not to be issues.

Also adds slightly more verbose logging when the dynamic RAM check
fails.
2024-06-28 17:58:17 -07:00
muesli4brekkies
357cc568e9
TERMINAL: Tweaks and bugfixes to grep (#1431) 2024-06-28 15:13:49 -07:00
catloversg
21e984bda6
DOCUMENTATION: Clarify logging API (#1444) 2024-06-28 02:37:04 -07:00
catloversg
f620ec889c
MISC: Update BitNode info and documentation (#1436) 2024-06-28 02:11:50 -07:00
catloversg
f162faf60a
INFILTRATION: Improve accuracy of slash game UI (#1422) 2024-06-28 02:09:18 -07:00
catloversg
031b8b9cbb
UI: Remember last position of documentation pages (#1434) 2024-06-28 02:08:10 -07:00
Snarling
64933419d6 Changelog update 2024-06-27 12:37:03 -04:00
Snarling
b597746343
TRAVEL: Unify implementation for Player and Sleeves (and some followup for #1365) (#1439) 2024-06-26 20:46:50 -04:00
catloversg
abdf5f52cd
INFILTRATION: Handle automated infiltration (#1414) 2024-06-26 11:19:52 -04:00
catloversg
fd8eae5cf5
MISC: Cancel spawned scripts in Bitverse (#1429) 2024-06-24 22:20:08 -07:00
ilkecan
bf8c15332e
CORPORATION: Don't check access for getConstants (#1430) 2024-06-24 22:18:57 -07:00
John Gietzen
819f877370
Update codingcontracttypes.ts to clarify '0' (#1433)
Fixes #1432
2024-06-24 22:02:11 -07:00
JamesWilcox-git
67cdd57728
BUGFIX: Hacknet level base cost multiplier fixed (#1412) 2024-06-24 21:40:50 -07:00
catloversg
5a8f0e99af
SINGULARITY: Add ns.singularity.getFactionWorkTypes (#1425) 2024-06-24 20:43:36 -07:00
catloversg
0d8cc54c99
INFILTRATION: Fix React warnings (#1423) 2024-06-24 20:37:57 -07:00
catloversg
c0036b03d4
SINGULARITY: Allow being hospitalized while being busy (#1426) 2024-06-24 20:36:03 -07:00
catloversg
48bebeea2b
MISC: Remove unused properties of source file (#1424) 2024-06-24 20:34:56 -07:00
Michael Ficocelli
49668f10b2
IPVGO: Fix displayed mult to match the actual bonus of SF 14.1 (#1419) 2024-06-24 20:31:09 -07:00
catloversg
847d45f4f4
GANG: Show equipments when there is not enough money (#1417) 2024-06-21 03:14:48 -07:00
catloversg
a62bdcafef
BUGFIX: Fix a bug in ns.singularity.getAugmentationFactions (#1418) 2024-06-21 03:06:57 -07:00
catloversg
337fa4e274
GANG: Fix wrong wanted gain rate (#1415) 2024-06-21 03:05:33 -07:00
catloversg
eff834bfe9
BUGFIX: Fix wrong augmentation price (#1416) 2024-06-21 03:01:57 -07:00
David Walker
99b22a221c
BUGFIX: Fix issues and edge-cases with rm (#1404) 2024-06-16 18:27:46 -07:00
catloversg
4382f860db
CCT: Clarify empty string solution in UI (#1400) 2024-06-15 16:37:14 -07:00
catloversg
7a39a93fa9
MISC: Remove mention of re-sleeving (#1399) 2024-06-15 16:36:32 -07:00
catloversg
ceb58bc6b3
UI: Show BitNode multipliers in BN 5.1 (#1398) 2024-06-15 16:35:32 -07:00
Jesse Clark
f6de21ea18
UI: Clean up Hacknet UI (#1397) 2024-06-14 00:08:10 -07:00
muesli4brekkies
4936d14639
TERMINAL: Add grep command (#1381) 2024-06-14 00:00:48 -07:00
catloversg
a780880531
MISC: Add ns.enums to AutocompleteData (#1389) 2024-06-13 23:56:27 -07:00
Albert Llop
e9347fca76
DOCS: Fix example signature in IPvGO guide (#1396) 2024-06-13 23:55:46 -07:00
catloversg
417d420793
BLADEBURNER: Fix NaN in getSuccessRange (#1394) 2024-06-13 23:48:50 -07:00
catloversg
a12056a898
BLADEBURNER: Add remaining time for actions (#1391) 2024-06-12 19:21:23 -07:00
G4mingJon4s
bec6e82d7f
EDITOR: changed editor tabs to have their own editor mode (#1372) 2024-06-12 19:19:40 -07:00
G4mingJon4s
805ca06922
TERMINAL: Added deleting entire directories using rm (#1378) 2024-06-12 19:17:39 -07:00
catloversg
344054f10d
DOCUMENTATION: Clarify maximum number of ports (#1388) 2024-06-12 19:07:05 -07:00
catloversg
39b18e7659
BUGFIX: Fix wrong position name in ns.formulas.work.companyGains (#1393) 2024-06-12 14:34:13 -07:00
catloversg
e76e254c3e
BLADEBURNER: Fix wrong tooltip description in ActionLevel (#1384) 2024-06-12 01:24:57 -07:00
G4mingJon4s
ab80ee66c8
EDITOR: re-added vim notifications and register view (#1382) 2024-06-12 01:24:10 -07:00
G4mingJon4s
f25756916a
GANG: added effective text to gang UI gains (#1379) 2024-06-12 01:21:27 -07:00
muesli4brekkies
7b3265346d
ACCESSIBILITY: Wire cutting infil now prints colours of wire along the wire (#1380) 2024-06-09 16:49:34 -07:00
catloversg
9a2bb16548
MISC: Fix wrong help text of cd command (#1376) 2024-06-09 16:39:56 -07:00
Albert Llop
ba7d45362f
bladeburner.getTeamSize: fix signature and documentation (#1383) 2024-06-09 16:39:01 -07:00
Albert Llop
995294a770
BUGFIX: bladeburner.getActionRepGain: mark level param as optional in signature (#1375) 2024-06-09 16:34:53 -07:00
catloversg
a0fc9cc713
UI: Automatically show Bitverse UI if BN is finished (#1358) 2024-06-08 13:54:44 -07:00
catloversg
a354867fc4
MISC: Refactor code of traveling and going to location (#1365) 2024-06-08 13:52:10 -07:00
catloversg
b8f03cb50b
BLADEBURNER: Remove unused code (#1368) 2024-06-08 13:51:05 -07:00
catloversg
abcd6c545a
BLADEBURNER: Remove obsolete fix (#1367) 2024-06-07 18:04:08 -07:00
catloversg
ebf08d5d1f
BLADEBURNER: Improve terminal logging (#1361) 2024-06-07 13:41:42 -07:00
catloversg
8b3206e1c6
BLADEBURNER: Add Stop button and refactor code (#1363) 2024-06-07 13:34:47 -07:00
catloversg
d9efea0fe6
SLEEVES: Clarify augmentation condition (#1369) 2024-06-07 13:24:19 -07:00
catloversg
70383d9085
MISC: Change error message when spawning on an invalid server (#1370) 2024-06-07 13:23:04 -07:00
catloversg
e782b6fd7c
DOCUMENTATION: Split changelog.md (#1374) 2024-06-07 13:20:18 -07:00
catloversg
e64247571d
IPVGO: Add missing space characters in API documentation (#1373) 2024-06-07 13:15:46 -07:00
catloversg
7b3cf48453
CORPORATION: Refactor markup multiplier (#1362) 2024-06-06 23:10:16 -07:00
Michael Ficocelli
481938a2fb
IPVGO: Balance and improvements for offline bonus time cycles (#1356) 2024-06-05 19:39:22 -07:00
G4mingJon4s
463d4cdb1d
EDITOR: useVimEditor uses Material UI (#1332) 2024-06-05 18:30:03 -07:00
Michael Ficocelli
cf48d666f5
IPVGO: Add history, and details to status, to go API (#1348) 2024-06-05 18:24:48 -07:00
catloversg
30a6419b11
MISC: Use camel case for CSS properties (#1353) 2024-06-05 18:18:19 -07:00
catloversg
304a918cc9
BUGFIX: Fix negative elapsed time (#1354) 2024-06-05 18:11:59 -07:00
Michael Ficocelli
eeab6df718
IPVGO: Use tss-react makeStyles on the IPvGO board and UI (#1351) 2024-06-05 21:09:16 -04:00
Michael Ficocelli
fe3e8fb348
IPVGO: Fix crash caused by malformed previous move formatting (#1360) 2024-06-05 17:51:01 -07:00
Michael Ficocelli
d9e8161a64
IPVGO: Fix mismatch in board size options on save loader [save corruption bugfix] (#1355) 2024-06-05 18:27:27 -04:00
Kelenius
653d531d0a
Remove sleeve message when quitting job from a script (#1357) 2024-06-05 18:25:54 -04:00
Michael Ficocelli
bd5c502f53
IPVGO: Support bonus cycles from offline time (#1345) 2024-06-04 18:43:29 -07:00
Michael Ficocelli
5f6a5c8785
IPVGO: Fix non-async promise-returning methods to be more consistent (#1327) 2024-06-04 18:37:00 -07:00
catloversg
7321d64383
BUGFIX: Fix manual hack exploit (#1324)
Formula is updated to be still relevant, but not crushing
2024-06-04 18:32:24 -07:00
Caldwell
2316bf5b69
BUGFIX: clamp bitnode mults (#1350) 2024-06-04 18:20:43 -07:00
Caldwell
c42d4143c9
BUGFIX: clamp Hackchance to prevent infinity / infinity (#1349) 2024-06-04 18:19:41 -07:00
Snarling
18ae6ce215 Changelog update 2024-06-04 10:21:44 -04:00
TheAimMan
101914b660
MISC: Add a potential of more than 1 core for initial servers (#963) 2024-06-04 09:50:28 -04:00
Snarling
3afafe4454
SLEEVE: Editorial followup on #1314 (#1347) 2024-06-04 09:49:23 -04:00
Caldwell
cb92643c7e
IMPROVEMENT: partial migration @mui/styles to tss-react (#1338) 2024-06-03 12:27:13 -04:00
TheAimMan
e622b9b904
UI: change time elapsed to time remaining for programs and grafting (#1328) 2024-06-02 20:51:21 -07:00
Michael Ficocelli
d9f04203cf
IPVGO: Record full history to avoid infinite ko capture loops on larger boards (#1299) 2024-06-02 20:19:26 -07:00
catloversg
2f7950b49c
DOCUMENTATION: Clarify server's minimum security level (#1337) 2024-06-02 20:14:18 -07:00
gmcew
1f08724fea
CORP: Products sell all at price of 0 (#1330)
Match material behaviour - price of 0 discards stored products
2024-06-02 18:01:03 -07:00
Michael Ficocelli
a28bb4bd99
IPVGO: Support playing manually as white against your scripts using the No AI type board (#1296) 2024-06-02 17:41:31 -07:00
Caldwell
f40d4f8e92
BUGFIX: fix relative imports (#1305)
Relative paths work in imports, at last.
2024-06-02 17:38:01 -07:00
Snarling
76ce2f9955 Hotfix changelog 2024-06-02 12:09:14 -04:00
Yichi Zhang
54d099e552
TERMINAL: Fix autocomplete for mixed case strings (#1323) 2024-05-29 11:34:46 -07:00
catloversg
bd6585617c
UI: Reverse order of Black Operations list (#1322) 2024-05-29 01:31:44 -07:00
catloversg
f439352438
BUGFIX: Fix wrong HP after calling applyEntropy (#1313) 2024-05-28 12:15:12 -07:00
catloversg
c2a56a6150
MISC: Refactor favor code (#1321) 2024-05-28 12:04:16 -07:00
catloversg
b8d3109158
MISC: Change type of location parameter/property (#1316) 2024-05-28 11:49:48 -07:00
Sphyxis
bed66f980f
BUGFIX: BB Sleeves cannot be assigned to contract programmatically (#1314) 2024-05-27 18:32:21 -07:00
Yichi Zhang
e674a177d6
BUGFIX: Check that the augmentation is available before installing it on a sleeve. (#1320) 2024-05-27 15:34:19 -07:00
catloversg
53f187fb89
MISC: Fix wrong text in Tutorial and NetscriptDefinitions.d.ts (#1319) 2024-05-27 15:30:32 -07:00
catloversg
ee4471e22c
INFILTRATION: Change description of slash game (#1317) 2024-05-27 15:29:10 -07:00
Sphyxis
4b5e0b1f6a
BUGFIX: Update GraftingWork.tsx (#1315)
Removed the purposeful structural typo as it was causing bug reports.
2024-05-27 15:22:31 -07:00
Kelenius
bf5c43daa2
UI: Add a stop button to bladeburner (#1312) 2024-05-27 15:02:56 -07:00
gmcew
30cdaa1a7a
DOCS: Faction work description update (#1310)
- made it clear security gives hacking exp, and utilises it too
- clarified weighting of stats for hacking/field work.
2024-05-27 14:52:05 -07:00
catloversg
48a7eb364f
DOCUMENTATION: Fix wrong examples in NetscriptDefinitions.d.ts (#1309) 2024-05-27 14:42:31 -07:00
catloversg
70521c9156
BUGFIX: Fix hidden debt of exp at level 1 (#1292) 2024-05-27 14:20:41 -07:00
Michael Ficocelli
efd4152eed
IPVGO: Fix outdated docs (#1306) 2024-05-23 20:07:45 -04:00
Jesse Clark
23445a917d
Give the player starting money and programs as declared in augmentation definitions (#1304) 2024-05-23 01:55:06 -07:00
catloversg
8703da4ab6
BUGFIX: Save position of cursor when switching tabs and unmounting editor (#1297) 2024-05-23 01:51:33 -07:00
gmcew
7f8757b536
SLEEVE: Add funds check for sleeve travel (#1298)
This makes it consistent with player behaviour. This also makes the function description more truthful in that it is now possible to return false.
2024-05-23 01:46:55 -07:00
catloversg
b42f775493
BUGFIX: Fix wrong money gain rate of Hacknet node (#1303) 2024-05-23 01:45:04 -07:00
catloversg
30c04f8152
DOCUMENTATION: Fix wrong examples in NetscriptDefinitions.d.ts (#1295) 2024-05-23 01:42:47 -07:00
catloversg
81a707123e
BUGFIX: Engine does not send all faction invitations (#1277) 2024-05-23 01:40:23 -07:00
catloversg
cfa941ce58
DOCUMENTATION: Clarify multipliers of Hacknet server (#1291) 2024-05-23 00:49:06 -07:00
gmcew
c82b2e15a0
MISC: Additional clarity in 'HammingCodes: Encoded Binary to Integer' (#1289)
Should have done this in PR #1244
2024-05-23 00:45:25 -07:00
gmcew
fe14d4fef3
CCT: Minor simplification of 'Shortest Path' solver (#1288)
BFS shouldn't need some checks.
Also allows deletion of a helper file used by this function only.
2024-05-23 00:44:41 -07:00
G4mingJon4s
08eb60d21b
EDITOR: Improved infinite loop checking (#1276) 2024-05-23 00:44:15 -07:00
Yichi Zhang
7ed64cbc9c
Improve performance of checker for valid math contracts (#1286) 2024-05-23 00:41:52 -07:00
catloversg
819e9f3448
MISC: Embed JetBrainsMono font (#1246) 2024-05-22 21:50:09 -04:00
catloversg
7bb36ec111
MISC: Refactor InvitationModal and AlertManager (#1287) 2024-05-22 21:43:31 -04:00
Snarling
fe7e1c86bc
Start 2.6.2 cycle (#1301) 2024-05-22 01:35:35 -04:00
Snarling
d2c7b2504c
Release 2.6.1 (#1300) 2024-05-22 01:14:52 -04:00
catloversg
175af0bd28
BUGFIX: Improve implementation of getRandomInt (#1282) 2024-05-18 15:12:06 -07:00
TheAimMan
8deb907b89
BUGFIX: Correct BN10 Sleeve starting Shock (#1285) 2024-05-17 13:31:40 -07:00
gmcew
36e3dd73ac
IPVGO: Tetrads do def (#1284) 2024-05-17 04:59:21 -07:00
catloversg
585e089976
DOCUMENTATION: Clarify 2 forms of flag in ns.flags (#1283) 2024-05-17 04:57:10 -07:00
Vilsol
7a4a973c06
DOC: remove redundant @remarks for sqlinject() function (#1281) 2024-05-17 04:55:50 -07:00
gmcew
1d8a1d5089
UI: Trigger RAM checking on tab closure (#1279)
Fixes UI bug described at https://discord.com/channels/415207508303544321/415213413745164318/1240361787564490854
2024-05-17 04:46:04 -07:00
gmcew
7113ee5425
UI: Hacknet terminology consistency (#1256)
* UI labels/Augment effects reworded to remove the "Node" parts
* No changes to API-facing labels/savedata/functions
2024-05-17 04:44:09 -07:00
David Walker
38d99ff15e
IPVGO: Remove unneeded functions from boardState.ts (#1270) 2024-05-16 12:26:18 -07:00
Snarling
b7962ad8ab Increment version number early
This is needed to avoid API break spam every time the player loads the game.
2024-05-14 20:18:00 -04:00
Snarling
ed308b4fa6 Changelog update 2024-05-14 20:12:55 -04:00
Snarling
574c284321
API: Add API break utilities, and add an API break for bladeburner.getCurrentAction (#1248) 2024-05-14 19:24:03 -04:00
catloversg
9dc3b22919
BUGFIX: Tail window position does not update when being dragged (#1275) 2024-05-13 00:27:21 -07:00
catloversg
25afecc0ec
CORPORATION: Rename functions in Actions.ts (#1272)
This should be a straight rename, no functionality changes.
2024-05-12 14:52:07 -07:00
catloversg
7f5bc5700e
CORPORATION: Refactor bribery (#1268)
This also removes the useless restriction Player.hasGangWith(factionName). When the corporation is strong enough to bribe, the gang is useless. This problem was discussed on Discord.
2024-05-12 14:49:11 -07:00
Michael Taylor
da6262c856
Modify the source code TS file mode to be a regular (non-executable) file (#1269) 2024-05-11 21:57:21 -07:00
catloversg
1288d1c289
API: Update getInfiltration API (#1235) 2024-05-11 20:13:59 -04:00
catloversg
7ee7a79763
INFILTRATION: Fix a crash when rendering InfiltrationRoot with an invalid location (#1266) 2024-05-11 17:04:02 -07:00
gmcew
519b4fef44
MISC: Hamming Code Contract description clarification (#1244)
Rewording of the Hamming code contract wording based on suggestion at discord.
There's further scope on other contracts to clean up inconsistencies in example formatting.
2024-05-11 17:00:36 -07:00
Snarling
e23db93c8b
GO: Alternate fix for race conditions (#1260) 2024-05-11 19:58:59 -04:00
gmcew
1b8205e9d5
UI: Bladeburner console to use Settings.TimestampsFormat for logging (#1265) 2024-05-11 19:10:55 -04:00
catloversg
52111f6e07
INFILTRATION: Format damage in Intro UI (#1264) 2024-05-10 18:56:24 -07:00
catloversg
8ebfcdb089
MISC: Fix bugs in useRerender hook and ns.moveTail (#1263) 2024-05-10 18:55:45 -07:00
catloversg
19984a6f22
UI: Fix clipped numbers when values are too big in Augmentations page (#1250) 2024-05-10 18:51:12 -07:00
Michael Ficocelli
591ad45154
IPVGO: Handle RNG seeding and visual board updating bugs (#1258) 2024-05-10 01:58:09 -07:00
Michael Ficocelli
b53c35126e
IPVGO: Provide API for getting game stats per opponent (#1255)
Give users access to wins, losses, stat bonuses, and favor gained
2024-05-10 01:57:03 -07:00
catloversg
35c32e2871
BUGFIX: Fix unresolved promise in ns.prompt API (#1257) 2024-05-10 01:55:50 -07:00
catloversg
e55387df4d
INFILTRATION: Rename variables in slash game (#1253)
This PR renames variables in the slash game to match the new description/wording in #1243.
2024-05-10 01:39:20 -07:00
catloversg
2414949c2c
MISC: Update formatHashes function (#1252)
When hash/hashRate value is too small, formatHashes converts it to the useless string 0.000. This PR fixes that.
2024-05-10 01:38:38 -07:00
catloversg
309cd55085
UI: Change buttons in Tutorial (#1251) 2024-05-10 01:34:45 -07:00
catloversg
8289b23cff
UI: Wrap long text in Active Scripts UI (#1247) 2024-05-09 17:07:41 -07:00