Commit Graph

5444 Commits

Author SHA1 Message Date
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
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
659ba9e27e removed unsed imports 2022-02-07 22:50:34 +08: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
Logan H Koch
977a6795da
Update recommendedbitnodeorder.rst
Correct wording on source file leveling for Singularity Functions
2022-02-01 19:41:12 -07: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
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
smolgumball
3431997315 fix: electron windowTracker error when reloading and killing scripts 2022-01-29 17:58:09 -07:00
smolgumball
0f43b02685 Add Zoom -> Reset Zoom command 2022-01-29 17:24:57 -07: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
SagePtr
a5f82e96ed Don't hide irrelevant materials if their stock is not empty 2022-01-29 18:58:21 +02:00
hydroflame
9ddb1c4379
Merge pull request #2863 from SagePtr/can-run-scripts
Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command
2022-01-29 11:27:05 -05: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