Commit Graph

6240 Commits

Author SHA1 Message Date
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
catloversg
aef362204d
MISC: Handle error when getting save data (#1241) 2024-05-09 02:19:30 -07:00
TheAimMan
bfb9841832
DARKWEB: Update DarkWeb.tsx to buy all possible programs using buy -a (#1240) 2024-05-09 02:18:03 -07:00
catloversg
6f009679ad
INFILTRATION: Add HP and damage to Intro UI (#1242) 2024-05-08 17:10:20 -07:00
catloversg
6a1691fe54
CORPORATION: Update tooltip of storage space (#1237)
The tooltip of the storage space only shows sizes of materials/products. This is confusing for newbies. They use "Unit" (number of material/product units) when buying materials, but that tooltip only shows sizes without any description.
2024-05-08 16:29:03 -07:00
catloversg
bc71b8e18f
INFILTRATION: Update slash game wording / balance (#1243) 2024-05-06 14:07:27 -04:00
catloversg
478646290e
BUGFIX: Fix #795 (#1231) 2024-05-02 18:39:30 -04:00
catloversg
d4bdb8de2b
MISC: Rework reputation bonus after installing a backdoor (#1236) 2024-04-28 18:35:56 -07:00
catloversg
4d3dbf169d
INFILTRATION: Increase timePreparing in SlashGame if players have WKSharmonizer (#1232) 2024-04-27 02:13:16 -07:00
catloversg
dc4a85e591
CORPORATION: Fix wrong error message in buyMaterial API (#1234) 2024-04-27 02:10:58 -07:00
catloversg
de8883ed0f
BUGFIX: Fix #998 (#1233)
CorruptableText wasn't updating state properly
2024-04-27 02:10:17 -07:00
catloversg
3fac471d51
EDITOR: Add "arguments" to the keyword list (#1230) 2024-04-24 16:10:20 -04:00
Michael Ficocelli
0f23c95737
IPVGO: Remove opponent from react state (#1222) 2024-04-24 16:10:01 -04:00
Snarling
f4fcb5cde1 Changelog update 2024-04-23 21:03:58 -04:00
David Walker
e56ed353e5
(Partial) fix for #795 (#1223) 2024-04-23 20:40:59 -04:00
hydroflame
d3b9f32c3f
MISC: Rename an aug (#1218) 2024-04-23 20:40:12 -04:00
David Walker
384d1c1a2b
NETSCRIPT: A minorly breaking change around script launch, and refactoring. (#1213) 2024-04-23 20:21:05 -04:00
catloversg
7a1fce6f64
CORPORATION: Fix wrong average price of material (#1227) 2024-04-23 20:14:22 -04:00
catloversg
eba86e4bf0
BUGFIX: Fix #997 (#1226) 2024-04-23 20:05:24 -04:00
Caldwell
a3f9a5c21e
update and fix (#1225)
Co-authored-by: Caldwell <15591472+Caldwell-74@users.noreply.github.com>
2024-04-23 20:00:28 -04:00
catloversg
703e7c52ae
MISC: Remove unused constants (#1229) 2024-04-23 19:58:45 -04:00
catloversg
7b993f3550
MISC: Remove file-saver (#1217)
Also refactor to dedup our own download code
2024-04-19 13:38:44 -07:00
catloversg
216500ed32
CORPORATION: Add a new API to sell a division (#1210)
Also refactoring around use of "player" variable (whether it is capitalized or not).
2024-04-15 21:19:47 -07:00
Michael Ficocelli
dd3975ab1d
IPVGO: Fix formatting to avoid breaking external editors (#1215) 2024-04-11 14:28:06 -07:00
Michael Ficocelli
ed59f325ef
IPVGO: Ensure full name of method is recorded in the possibleLogs list, to be matched later (#1207) 2024-04-09 18:24:57 -07:00
Michael Ficocelli
057ccc2a2b
IPVGO: Improve error logging to include stacktraces (#1212) 2024-04-09 06:36:05 -07:00
catloversg
1ad6f9f310
CORPORATION: Update documentation (#1209)
New optimal strategy based on API tweaks.
2024-04-08 14:46:16 -07:00
Michael Ficocelli
104a97d711
DOCS: Link to stable instead of dev for player-facing docs (#1208)
* DOCS: Link to stable instead of dev for player-facing docs, to avoid confusion about features that are not yet released or finalized
2024-04-08 14:40:53 -07:00
Snarling
be437c83f6
BLADEBURNER: Allow unsafe positive integers for skill upgrade count (#1211) 2024-04-08 06:33:45 -04:00
catloversg
7ae309edda
UI: Increase margin bottom for BitNode Multipliers in Stats page (BN1) (#1204) 2024-04-02 03:07:49 -07:00
p0n24
7ab4ad8174
fix documentation typo (#1203) 2024-03-31 13:53:51 -07:00
catloversg
524714601e
CORPORATION: Add missing checks for Export API (#1202) 2024-03-31 13:53:02 -07:00
T.J. Eckman
da7f01cca9
DOCS: Fixed a typo in tutorial (#1201) 2024-03-31 13:51:48 -07:00
Michael Ficocelli
6c9555ba32
IPVGO: Tweak cheat success scaling so it is applicable even to endgame stats (#1194) 2024-03-30 16:22:53 -07:00
Snarling
6beb6e9f95
BLADEBURNER: Followup for #1154 (#1200) 2024-03-29 20:43:28 -04:00
catloversg
61274310d6
DEVMENU: Remove SaveFileDev (#1196)
It was broken and no one could be found who had used it.
2024-03-29 14:01:21 -07:00
Snarling
12f9a2b24d Bugfix
Fix Skill.maxLvl defaulting to 1
2024-03-29 14:27:36 -04:00
catloversg
c467daaf86
DOCUMENTATION: Fix wrong identification of inline mathematical expressions (#1195)
Applies backslashes to all relevant "$".
2024-03-29 01:42:18 -07:00
Snarling
a923041382 Changelog update 2024-03-29 01:20:49 -04:00
Paco Delozanne
ae1ca8f9a6
NETSCRIPT: Add Singularity.getFactionEnemies() (#1192) 2024-03-29 01:16:54 -04:00
Snarling
6669c4da6a
BLADEBURNER: Typesafety / refactoring (#1154) 2024-03-28 21:52:37 -04:00
Michael Ficocelli
fe87f1f628
IPVGO: Bugfixes (#1193)
* IPVGO: Explicitly link the generated API documentation in the algorithm design doc
* IPVGO: Fix missing factions in netscript docs
* IPVGO: Linting
* IPVGO: Ensure resetBoardState() logs that a new game has started
2024-03-27 22:02:53 -07:00
catloversg
8553bcb8fc
MISC: Support compression of save data (#1162)
* Use Compression Streams API instead of jszip or other libraries.
* Remove usage of base64 in the new binary format.
* Do not convert binary data to string and back. The type of save data is SaveData, it's either string (old base64 format) or Uint8Array (new binary format).
* Proper support for interacting with electron-related code. Electron-related code assumes that save data is in the base64 format.
* Proper support for other tools (DevMenu, pretty-save.js). Full support for DevMenu will be added in a follow-up PR. Check the comments in src\DevMenu\ui\SaveFileDev.tsx for details.
2024-03-27 21:08:09 -07:00
David Walker
75dabd10be
NETSCRIPT: add formulas.hacking.growAmount() (#1090)
Also, improve docs.
2024-03-26 03:26:50 -07:00
Michael Ficocelli
d8de22a273
IPVGO: Nerf overly-difficult handicap, [issue #1169] misc bugfixes (#1188)
* IPVGO: Nerf overly-difficult handicap on 5x5 board

* IPVGO: Tweak 5x5 handicap
2024-03-25 16:12:35 -07:00
catloversg
714c1cc9d6
CORPORATION: Update documentation (#1191) 2024-03-25 14:49:43 -07:00
adeilt
08097aaf09
CORPORATION: more granular office size upgrades (#1179)
Allows corporation.upgradeOfficeSize to increase the size of a Corporation office by a non-multiple of 3 and also be charged a corresponding amount of corporate funds. See #1166 for details of current behavior.
2024-03-24 17:37:08 -07:00