Commit Graph

469 Commits

Author SHA1 Message Date
phyzical 3cbb926fd8 expose the inBladeburner on the player object 2022-03-12 12:36:47 +08:00
hydroflame 31a26a31ad Merge pull request #3055 from ApamNapat/simplified_some_boolean_logic
Simplified some booleans and if elses
2022-03-10 22:11:26 -05:00
hydroflame 9d080c9901 Merge pull request #2934 from phyzical/bugfix/1955
added check for NS interface with user defined guard
2022-03-10 21:44:37 -05:00
Nikolai Korolev 20e3924c6a Merge branch 'dev' into patch-3 2022-03-10 12:06:19 +03:00
BB 0eced1b9f2 Simplified some booleans and if elses 2022-03-08 22:52:26 +01:00
hydroflame 570b8caf78 Merge pull request #2873 from SagePtr/purchaseserver-args
Add user-friendly invalid argument number message to purchaseServer
2022-03-08 16:39:54 -05:00
Nikolai Korolev 25e28df42b Fix Static Ram Circumventing for all NS functions 2022-03-07 16:18:58 +03:00
Nikolai Korolev b2ec5d1691 Fix error message for scp 2022-03-07 11:40:06 +03:00
hydroflame f11e7bac6a Merge pull request #3005 from rhobes/patch-1
Fix https://github.com/danielyxie/bitburner/issues/2996: weakenAnalyze miscalculation
2022-03-01 11:16:31 -05:00
Heikki Aitakangas 66ceff4e33 Fix #3037: wrap user-supplied atExit function so that we can't accidentally leak game objects as 'this' 2022-02-26 01:00:02 +02:00
M 6d87d7b743 Fix https://github.com/danielyxie/bitburner/issues/2996
Trivial fix of https://github.com/danielyxie/bitburner/issues/2996 by adding the BN multiplier to analyze.
2022-02-19 14:21:39 -08:00
phyzical 66ec3f4964 fix function name in error for better trace 2022-02-13 17:10:11 +08:00
phyzical 9770853e29 removed the isNs interface guard as its redunant 2022-02-13 17:08:55 +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
Chris Rabe 3e61780fad fix: fixed hackAnalyzeThreads returning infinity 2022-01-31 08:14:10 +10:00
Phil 08d0b4cbae Adding support for text/select options in Prompt command 2022-01-30 14:06:18 +00:00
SagePtr db5476ebd0 Add user-friendly invalid argument number message to purchaseServer 2022-01-30 00:04:45 +02:00
smolgumball 2add4e9112 Merge branch 'dev' into add-ns-getRecentScripts 2022-01-26 19:07:02 -07:00
hydroflame 1a34d5e363 Merge pull request #2703 from lethern/patch-1
purchaseServer error message fix + small docs change
2022-01-26 00:50:42 -05:00
Terrana f2c4109211 Add ns.printf function
Behaviour is consistent with that of tprintf versus tprint and
should be equivalent to ns.print(ns.sprintf(...))
2022-01-21 12:08:47 +00:00
lethern 61cea12ca2 purchaseServer: improved error message for ram > maxRam 2022-01-19 19:09:33 +01:00
smolgumball 74e2acfa6f Add ns.getRecentScripts() 2022-01-19 00:04:48 -07:00
Olivier Gagnon d2ec38753b Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-18 18:59:17 -05:00
Olivier Gagnon d0a44a6088 change asleep 2022-01-18 18:57:43 -05:00
hydroflame bb34d6b582 Merge pull request #2618 from pigalot/Corp-Api-Updates
Corp api updates
2022-01-18 18:05:23 -05:00
Olivier Gagnon 05cbc25a8f 1.4 2022-01-18 14:03:24 -05:00
lethern bb6c2cd79e Update NetscriptFunctions.ts 2022-01-17 23:53:44 +01:00
hydroflame 27a54217eb Merge pull request #2653 from nickofolas/fix/refactor-loops
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00
pigalot 360b8d8d16 Add has corp to the api player object 2022-01-16 16:11:31 +00:00
nickofolas ab841f7530 Refactor for ... in loops 2022-01-15 18:45:03 -06:00
hydroflame c0f6399a96 Merge pull request #2590 from deathly809/feature/ns_support_rm
Add support for the mv command in NS
2022-01-15 18:26:31 -05:00
hydroflame 0b36c9a4b2 Merge pull request #2648 from SlyCedix/scp-def
Add function signature for scp(files, destination)
2022-01-15 18:23:56 -05:00
hydroflame 03f71bd5f4 Merge pull request #2485 from Ornedan/netscriptdelay-check-stop
Refactor netscriptDelay and script kill interaction
2022-01-15 17:26:23 -05:00
Cyn b179a6a53a make hostname2 argument of scp optional 2022-01-15 16:42:04 -05:00
zeddrak bf48741792 Correction for ns.hack pro-rated security increase
corrects an issue where hacking with more threads than was needed to hack all remaining money from a server with availMoney < maxMoney would have irregular results on security increase.

fix for issue #2307
discord thread: https://discord.com/channels/415207508303544321/931980343970513026/931980345329479750
2022-01-15 11:33:46 -08:00
Jeffrey A. Robinson 0002daa3e9 Merge branch 'dev' of https://github.com/deathly809/bitburner into dev 2022-01-14 17:14:41 -08:00
Jeffrey A. Robinson dc6432fa4e getWeakenTime should take an optional hostname 2022-01-14 17:14:35 -08:00
Jeffrey A. Robinson 910c9d9e7e Correctly label functions so that disableLog will work 2022-01-12 16:55:45 -08:00
Jeffrey A. Robinson bedea0ac73 Add support for the mv command in NS 2022-01-12 09:53:54 -08:00
hydroflame d2fadfe600 Merge pull request #2582 from deathly809/bug/helper_number_should_handle_nan
Ensure INetscriptHelper number function handles NaN
2022-01-12 11:14:51 -05:00
zeddrak 4d0a5a43c0 Made hack log msg consitent with grow and weaken
Changed hack log message from "executing target" to "executing on target".
This makes it consistent with grow and weaken; and reads better as well.
2022-01-12 05:58:12 -08:00
Jeffrey A. Robinson 3b765b2865 Ensure INetscriptHelper number function handles NaN 2022-01-11 22:24:03 -08:00
daan flore 0d006d0a64 Adding correct type to getPortHandle function 2022-01-10 22:49:42 +01:00
Olivier Gagnon d8a5f5b03c many fixes 2022-01-09 15:24:32 -05:00
Heikki Aitakangas c6ff982b1d Remove stopFlag checks made redundant by the netscriptDelay change 2022-01-09 02:42:36 +02: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 925bed4430 fix scp 2022-01-04 22:25:41 -05:00
Olivier Gagnon 4860d6dc83 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-04 19:09:38 -05:00
Olivier Gagnon c59a267437 change sf4 2022-01-04 19:09:34 -05:00