Commit Graph

5370 Commits

Author SHA1 Message Date
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
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
hydroflame
9294ff3e9e
Merge pull request #2857 from MatthewTh0/patch-1
Spelling fixes in comments
2022-01-28 16:32:56 -05: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
hydroflame
097e808193
Merge pull request #2856 from zeddrak/patch-7
Fix for Dev not building
2022-01-28 13:13:14 -05: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
77b9787fba
Merge pull request #2846 from zeddrak/patch-5
Make crimes detection a little more friendly
2022-01-27 20:52:03 -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
Olivier Gagnon
01680ca584 fix build 2022-01-27 20:44:50 -05:00
Olivier Gagnon
95e67f954b build 2022-01-27 20:24:43 -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
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
463af6cbf2
Merge pull request #2819 from MartinFournier/chore/rm-intermediary-doc
Remove intermediary doc input file
2022-01-26 12:58:10 -05:00
hydroflame
e392e6d71f
Merge pull request #2780 from MartinFournier/feat/electron-store-winposition
Store Electron window position in user settings
2022-01-26 12:57:09 -05:00
hydroflame
b04c23bdd1
Merge pull request #2821 from MartinFournier/chore/npm-deps-audit
Run `npm audit fix` to resolve vulnerabilities
2022-01-26 12:56:59 -05:00