hydroflame
9946a2a667
Merge pull request #3841 from crimsonhawk47/fix-ip-exists-function
...
BUGFIX: Fix #3803 Servers can no longer have duplicate IPs
2022-07-21 01:33:35 -04:00
Olivier Gagnon
810f3a87b9
rm more anys
2022-07-19 21:53:43 -04:00
Olivier Gagnon
55c5190986
fix any in BaseServer
2022-07-18 03:20:11 -04:00
Olivier Gagnon
7195c1b540
fix any in AllServers
2022-07-18 03:06:17 -04:00
Olivier Gagnon
88d9a76b04
yet another any
2022-07-18 02:43:59 -04:00
Olivier Gagnon
6b630753f0
nuke some use of any
2022-07-14 19:00:10 -04:00
Olivier Gagnon
5629c16def
extract multipliers in its own type
2022-07-14 18:43:33 -04:00
Olivier Gagnon
606f1bf6c4
create program and grafting done
2022-07-10 01:37:36 -04:00
Olivier Gagnon
647392626e
convert taking class ot new work system
2022-07-07 17:28:23 -04:00
Gabriel Hawk
60c6536f8e
npm format
2022-06-13 01:13:36 -05:00
Gabriel Hawk
1e2e42af75
ipExists acceses server list correctly
2022-06-13 01:07:21 -05:00
Olivier Gagnon
9af553f63c
Fix
2022-05-19 02:09:00 -04:00
Olivier Gagnon
f1a3fb7d3e
fix buying programs and writing them at the same time.
2022-04-13 00:21:51 -04:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00
Olivier Gagnon
4d9a8e7bba
unknown-ify coding contract API.
2022-03-29 20:29:05 -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
15fae213ab
Merge pull request #2872 from SagePtr/getserver-hasownproperty
...
Add hasOwnProperty check to GetServer
2022-03-20 21:16:04 -04:00
phyzical
44ea479043
update constants
...
* added OperationNames
* added faction names
* used citynames where appropriate
2022-03-19 16:09:59 +08:00
hydroflame
561219a0ab
Merge branch 'dev' into bugfix/2877-2
2022-03-17 12:05:38 -04:00
phyzical
9949cc9a1e
removed ip references
2022-03-17 21:50:23 +08: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
Olivier Gagnon
b810e523ee
update patch notes
2022-02-23 02:01:48 -05:00
qcorradi
5a39a92270
Merge branch 'patch-8' of github.com:zeddrak/bitburner into reverse_grow_newton
2022-02-06 14:00:05 +01: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
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
qcorradi
b09b7fa346
numCycleForGrowth using Newton-Raphson's method
2022-01-31 00:22:59 +01:00
SagePtr
4483c2bbce
Add hasOwnProperty check to GetServer
2022-01-29 23:30:13 +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
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
Sage Pointer
98f40ca092
Add rounding to getPurchaseServerCost
2022-01-26 06:02:05 +02: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
nickofolas
ab841f7530
Refactor for ... in
loops
2022-01-15 18:45:03 -06:00
Martin Fournier
b22eb58aba
Add option to exclude running scripts from save
2022-01-11 16:48:00 -05:00
TheMas3212
446810d98f
Fix toLowercase in fileExists check for literature and message files
...
fixes #2245
2022-01-09 06:11:42 +11:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
nickofolas
23b21e63a0
Validate RAM amount in ns.purchaseServer()
2022-01-03 17:00:32 -06:00
Martin Fournier
3b99da8474
Lint current problems & fix ignore paths
2021-12-19 13:17:44 -05: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
Olivier Gagnon
faa9b87733
added new mechanic that allows the wd to be stronger
2021-11-20 01:30:45 -05:00