Commit Graph

2770 Commits

Author SHA1 Message Date
Jordan Turner
3926913790 updated appearach of example sections based on alainbryden suggestion 2021-12-15 21:47:18 -07:00
theit8514
2e133bcf0a Fix return type of isFocused 2021-12-15 20:55:47 -05:00
theit8514
d59601f848 Add return value and code style cleanup 2021-12-15 20:48:19 -05:00
theit8514
cd4c98d942 Only change to terminal when focused 2021-12-15 20:44:08 -05:00
theit8514
c50c92f9b5 Update SF requirement to match documentation 2021-12-15 20:33:48 -05:00
theit8514
2726420709 Add errors and only change page when focus changes 2021-12-15 20:33:48 -05:00
theit8514
07d449afc2 Ensure focus does not change between calls to work 2021-12-15 20:33:48 -05:00
theit8514
ad57f3dc73 Work functions do not take focus
setFocus readded and updated to send the user to the Work page if focusing.
2021-12-15 20:33:48 -05:00
Jordan Turner
ac79d0aea4 adjusted the wording and added dynamic player server location 2021-12-15 17:52:08 -07:00
Jordan Turner
4836617745 made the terminal error more clear based on issue 1920 2021-12-15 17:19:45 -07:00
tyasuh.taeragan@gmail.com
ce0de40e59 Issue 1934 2021-12-15 18:10:29 -05:00
tyasuh.taeragan@gmail.com
61e962ec12 Issue 1911 2021-12-15 17:59:03 -05:00
theit8514
8ef227595a Add support for relative paths in mv
Fixes mv command deleting file on overwrite
2021-12-15 17:46:36 -05:00
theit8514
4e022c68e9 Add support for relative paths in cp
Fix cp error messages
Add support for directory destinations (e.g. copy file.js directory)
2021-12-15 17:36:15 -05:00
Jordan Turner
632e1f70f3 added rs to backricks to color code syntax 2021-12-15 10:25:54 -07:00
Jordan Turner
687682fcbd added syntax useage to github ns page 2021-12-15 10:10:32 -07:00
Olivier Gagnon
5b38ee3cfb fix undying script bug 2021-12-14 19:39:55 -05:00
Olivier Gagnon
4d80813707 bugfix 2021-12-14 15:56:11 -05:00
Olivier Gagnon
de9fb24156 Fix scripts dying of weird causes. 2021-12-13 22:26:22 -05:00
Olivier Gagnon
c1e3a170ab Augmentations page shows stats reductions 2021-12-13 20:28:21 -05:00
Olivier Gagnon
e5b4dd8e90 Files should be saved on the server that opened them. 2021-12-13 20:08:58 -05:00
Olivier Gagnon
50bc9496ec fix gym not giving discoutns 2021-12-13 19:46:08 -05:00
Olivier Gagnon
1b42b51e5f few bugfix 2021-12-13 18:44:52 -05:00
Olivier Gagnon
7b8e486e3a fix typo in doc 2021-12-13 15:50:01 -05:00
theit8514
3437a0a730 Await scp multiple script copy 2021-12-12 19:50:53 -05:00
Olivier Gagnon
7d6947ee01 fix unknown script die for known reason 2021-12-12 14:57:44 -05:00
Olivier Gagnon
e117548895 fix some stack traces not printing file name 2021-12-12 14:49:02 -05:00
Olivier Gagnon
4460bf1613 fix shortcuts 2021-12-12 14:02:45 -05:00
Olivier Gagnon
11ba8c91be getServer of hacknet doesn't return undefined 2021-12-12 13:47:05 -05:00
Olivier Gagnon
dea8abef1d better error message for bad args 2021-12-12 13:30:28 -05:00
Olivier Gagnon
5f696aba72 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-12 12:48:26 -05:00
Olivier Gagnon
69a9448e47 fix typos 2021-12-12 12:46:56 -05:00
DJMatch3000
445fbd59c7
Player Stats ui bugfix
Fixed a mix-up with Bladeburner stats on the Player Stats page
2021-12-10 15:45:17 -05:00
Olivier Gagnon
172998bef5 boost noodle bar 2021-12-09 16:47:26 -05:00
Olivier Gagnon
2eaa33c9f3 nerf manualHack int gain but differently 2021-12-09 16:30:03 -05:00
Olivier Gagnon
769aad8ead nerf manualHack int gain 2021-12-09 16:26:49 -05:00
Olivier Gagnon
394a286646 formulas for ascension 2021-12-09 12:52:51 -05:00
Olivier Gagnon
5e916ee3bd tighten bn13 2021-12-09 10:45:33 -05:00
Olivier Gagnon
7e6a0bbf56 make BN13 harder 2021-12-09 10:15:50 -05:00
Olivier Gagnon
d195b00ab6 Added option to suppress TIX limit/stop orders 2021-12-08 20:21:44 -05:00
Olivier Gagnon
c915cd06d8 corp doc 2021-12-08 20:03:22 -05:00
Olivier Gagnon
14317628e6 formulas doc 2021-12-08 19:19:07 -05:00
Olivier Gagnon
5a15df9ce7 rename the functions I created 2 minutes ago. 2021-12-08 19:03:33 -05:00
Olivier Gagnon
6eba92b36c rename the functions I created 2 minutes ago. 2021-12-08 18:41:49 -05:00
Olivier Gagnon
d64ce5271e fix receiving multiple times the same invite 2021-12-08 18:29:56 -05:00
Olivier Gagnon
ed821617c0 save files are now chronologically named 2021-12-08 18:27:57 -05:00
Olivier Gagnon
35fa4a4117 fix sleeve function not returning cha 2021-12-08 18:27:14 -05:00
Olivier Gagnon
0306397f53 fix buying negative memory 2021-12-08 18:25:49 -05:00
Olivier Gagnon
2af57cb01e formulas for gang stuff 2021-12-08 18:19:30 -05:00
Olivier Gagnon
d01d75606a few bugfix 2021-12-08 17:39:01 -05:00
Olivier Gagnon
133d80749d add bn14 location 2021-12-04 23:47:53 -05:00
Olivier Gagnon
a845c5ac8f rm tail bound 2021-12-04 18:58:26 -05:00
Olivier Gagnon
25aa5d3afe corp api 2021-12-03 23:08:11 -05:00
Olivier Gagnon
737276e855 corp api 2021-12-03 23:06:04 -05:00
corver
2f55cd27c5 Fix some Bladeburner typos 2021-12-03 16:45:48 -05:00
corver
83090bfa8c Match descriptions of BN5 and SF5 2021-12-03 16:30:06 -05:00
Olivier Gagnon
f487a0c0e9 loosed hacking nerf 2021-12-03 16:27:49 -05:00
Olivier Gagnon
5470f9fdc1 wd diff increase 2021-12-03 16:21:35 -05:00
Olivier Gagnon
3c27893aa3 v1.1.0 2021-12-03 16:14:13 -05:00
hydroflame
ceb008c9fe
Merge pull request #1816 from cvr-119/netscript
Add missing properties of Server interface
2021-12-03 16:09:56 -05:00
Olivier Gagnon
647ccd6a7b BN13 2021-12-03 16:09:13 -05:00
corver
118fddb1bb Add missing properties of Server interface 2021-12-03 16:00:49 -05:00
Olivier Gagnon
8e11e25904 release bn13 2021-12-03 15:45:39 -05:00
Olivier Gagnon
d4ebc46a19 merge dev 2021-12-03 15:35:45 -05:00
Olivier Gagnon
798c9867a7 logbox cant go outside body 2021-12-03 15:31:25 -05:00
Olivier Gagnon
f111beb399 rm consolelog 2021-12-03 15:20:31 -05:00
Olivier Gagnon
e6b263e6ec make infil reward more consistent. 2021-12-03 15:11:31 -05:00
Olivier Gagnon
68cff084ff int helps lower program creation req 2021-12-03 14:49:44 -05:00
Olivier Gagnon
0b92f706ad terminal parses boolean exactly. 2021-12-03 14:46:40 -05:00
Olivier Gagnon
13b08d7cc8 terminal parses boolean exactly. 2021-12-03 14:44:32 -05:00
Olivier Gagnon
99ed9b25a3 autolink less lines 2021-12-03 14:17:29 -05:00
Olivier Gagnon
49a545f00e many bugfix 2021-12-03 14:12:32 -05:00
Olivier Gagnon
d852649f2b log issue 2021-12-03 13:54:49 -05:00
Olivier Gagnon
773f50ba67 doc n steam copypaste 2021-12-02 18:42:30 -05:00
theit8514
9b4e612be2 Update return type 2021-12-02 12:36:09 -05:00
theit8514
cb1aa452a1 Move getOwnedSourceFiles to NetscriptFunctions 2021-12-02 12:17:33 -05:00
Olivier Gagnon
9b009b980c achievements stuff 2021-12-01 14:26:49 -05:00
theit8514
788f1a1d37 Keep faction invites if not accepted on reset 2021-11-30 03:02:04 -05:00
Olivier Gagnon
3a6d51134a Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-11-28 23:51:08 -05:00
Olivier Gagnon
7ee5d8d71a more achievements 2021-11-28 23:51:01 -05:00
hydroflame
2dfc52351d
Merge pull request #1797 from alainbryden/patch-2
Bad copy pasta from isFocused -> setFocus
2021-11-28 13:14:46 -05:00
Olivier Gagnon
e262c9bb38 achievements 2021-11-27 15:07:25 -05:00
Olivier Gagnon
d257cb84ad keep factions now just give an invite. 2021-11-27 11:44:48 -05:00
Alain Bryden
ca2948b854
Bad copy pasta from isFocused -> setFocus 2021-11-26 23:02:02 -04:00
Olivier Gagnon
59d5fa9ef5 fix coding contract focus 2021-11-26 18:59:25 -05:00
Olivier Gagnon
03a703c4b0 fix 2021-11-26 18:56:58 -05:00
Olivier Gagnon
b941753e1b more fixes 2021-11-26 18:54:06 -05:00
Olivier Gagnon
f17870926b tail box close on soft reset 2021-11-26 18:47:12 -05:00
Olivier Gagnon
6e71258a53 fix disable log for tix api 2021-11-26 18:43:50 -05:00
Olivier Gagnon
6fb38b5439 getRunningScript fix 2021-11-26 18:37:03 -05:00
Olivier Gagnon
c05518e162 workerscript log takes a function now, hopefully this will increase performance. 2021-11-26 18:30:58 -05:00
Olivier Gagnon
fe3aa5a357 rm references to fconf 2021-11-26 18:05:14 -05:00
Olivier Gagnon
1cecfa7108 few fixes 2021-11-26 18:04:33 -05:00
Olivier Gagnon
6c24ed69a2 merge prs 2021-11-26 17:56:49 -05:00
Olivier Gagnon
39df55cfe5 fix logbox color 2021-11-26 17:55:14 -05:00
hydroflame
a21e2f0dd5
Merge pull request #1791 from alainbryden/1766-fix-blackjack-double-loss
#1766 - Fix blackjack double loss, black-on-black text
2021-11-26 17:51:45 -05:00
Alain Bryden
f7da154411 Blackjack pays 1.5x, fix appearances
I'll lead with this so it doesn't look like I snuck it in: Winning by blackjack is special and usually pays 1.5x so I made it so :) All the infrastructure was already in place.

Fixed bkack-on-black text, I didn't even know the game kept count of your cards for you! Improved the way it's displayed a bit (screenshot in PR)

Also simplified the code that determines gains and applies the win since there was some duplication there.
2021-11-26 00:37:18 -04:00
Alain Bryden
dbde0b8112 #1766 Fix blackjack double loss
Bet was being removed twice instead of just once. This fact was accounted for in the win and tie if branches, but not the loss branch.
2021-11-25 23:28:23 -04:00
Alain Bryden
ef23033b2c #1773 - Fix duplicate file extensions
For some time now, filenames have included the extension, so there's no need to append ".js" either on a single-file download or zip download.

While I was in the area, I also fixed .txt files in a folder - they had the same bug as scripts used to (appear in the zip as an underscore). I consolidated the code since it was the same for script files and text files.

I also added the ability to download *.js and *.ns (previously only supported *, *.script, and *.txt)

I also made the wildcard matching just a bit more flexible, so if someone really wanted to, they could go "download *blah.js" and get all scripts ending with that pattern ¯\_(ツ)_/¯
2021-11-25 23:06:13 -04:00
Olivier Gagnon
f0a004e75b Fix a bunch of scripting related stuff. 2021-11-25 11:47:31 -05:00
hydroflame
8ad7ca5136
Merge pull request #1763 from alainbryden/patch-1
Return the price paid/recieved on short/sellShort
2021-11-25 11:36:59 -05:00
Olivier Gagnon
afe6a72458 gang with 0 territory cannot fight 2021-11-24 17:58:20 -05:00
Olivier Gagnon
31edf92092 prevent browser back in history 2021-11-24 16:15:19 -05:00
Olivier Gagnon
42518c3caa fix few bugs 2021-11-22 11:36:13 -05:00
Alain Bryden
6b8a91a23b
Return the price paid/recieved on short/sellShort 2021-11-22 11:19:23 -04:00
Bart Koppelmans
79f456b598
Fixed BladeBurner getCityCommunities ram cost
With the renamed function, the ram cost was not taken into account.
2021-11-20 21:12:21 +01:00
Olivier Gagnon
f035457efc build part pr 2021-11-20 15:01:04 -05:00
Bart Koppelmans
b6b191bdbe
Fixed tprintf also printing the file name 2021-11-20 20:54:31 +01:00
Olivier Gagnon
faa9b87733 added new mechanic that allows the wd to be stronger 2021-11-20 01:30:45 -05:00
Olivier Gagnon
3ab3106634 build with dev 2021-11-20 00:26:01 -05:00
Olivier Gagnon
7255ce24ef fix some coloring stuff 2021-11-19 23:55:10 -05:00
Olivier Gagnon
60d34c3cc6 rebuild 2021-11-19 23:45:34 -05:00
Olivier Gagnon
c88dade19a fix tprintf catching errors 2021-11-19 22:58:41 -05:00
Olivier Gagnon
983c102123 v1.0.2 2021-11-19 15:50:22 -05:00
Olivier Gagnon
b80d12b9f8 v1.0.2 part 1 2021-11-19 15:44:12 -05:00
Olivier Gagnon
a4a931dad7 v1.0.2 part 1 2021-11-19 14:39:38 -05:00
Olivier Gagnon
762b5b44aa spawn defaults to 1 thread 2021-11-18 18:00:20 -05:00
Olivier Gagnon
cb4c06d2ba remove cooling because it fucks with very high level hacking strategies 2021-11-18 15:42:49 -05:00
Olivier Gagnon
632de50a73 convert BN13 to a more conventional one. 2021-11-18 15:38:19 -05:00
Olivier Gagnon
ca7cb0bead Merge dev 2021-11-18 15:23:04 -05:00
Olivier Gagnon
e34467ff6e Added blood donation link. 2021-11-18 15:21:12 -05:00
hydroflame
459f73702d
Merge pull request #1740 from danielyxie/doc
Doc
2021-11-18 11:32:33 -05:00
Olivier Gagnon
fc4c0fd8fd rebuild 2021-11-18 11:32:22 -05:00
Olivier Gagnon
f3fa2a7c79 v1.0.1 2021-11-18 11:30:45 -05:00
Olivier Gagnon
c69eb34341 v1.0.1 2021-11-17 19:56:17 -05:00
Alain Bryden
dfd277fc91
Remove forgotten debug statement. 2021-11-17 19:48:22 -04:00
Olivier Gagnon
ef40fb9bb2 few more bugfix 2021-11-17 18:08:58 -05:00
Olivier Gagnon
091f688360 try to make people use ns2 2021-11-17 17:58:55 -05:00
Olivier Gagnon
631bb9fe1b few bugfix 2021-11-17 17:50:02 -05:00
Olivier Gagnon
eb381c7c73 tail box can rerun scripts 2021-11-17 17:33:44 -05:00
Olivier Gagnon
4730347330 revert dev meny thingy 2021-11-17 10:59:33 -05:00
Olivier Gagnon
ae9ad4430e Increase rep gains 2 2021-11-17 10:59:15 -05:00
Olivier Gagnon
022cd7b68d Increase rep gains 2021-11-17 10:51:45 -05:00
Olivier Gagnon
ef781a0627 plenty of bf 2021-11-15 23:49:33 -05:00
Olivier Gagnon
d958aa5ed9 fix charging for 0 rep 2021-11-15 14:41:34 -05:00
Olivier Gagnon
ded230eaaf fix int exp gain in sing func 2021-11-14 08:36:40 -05:00
Olivier Gagnon
d49d8b4764 stanek bitnode mult 2021-11-13 23:58:08 -05:00
Olivier Gagnon
43a6521403 more work on bn13 2021-11-13 23:45:26 -05:00
Olivier Gagnon
56ddcd9a45 more work on bn13 2021-11-13 22:44:17 -05:00
Olivier Gagnon
275c740a16 boost terminal grow 2021-11-13 20:53:21 -05:00
Olivier Gagnon
fd8be890aa revert omuretsu fix 2021-11-13 20:39:16 -05:00
Olivier Gagnon
82314762d5 fix a few bugs 2021-11-13 19:50:39 -05:00
Olivier Gagnon
22048d6ba6 await compiel 2021-11-13 19:35:44 -05:00
Olivier Gagnon
61a51519eb Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-11-13 19:35:37 -05:00
Olivier Gagnon
badba2eb1b fix scp and write in ns1 2021-11-13 19:33:37 -05:00
hydroflame
db82cdcdca
Merge pull request #1716 from Snarling/throw-fix
Fix error throwing for unknown errors
2021-11-13 10:06:04 -05:00
Snarling
b0f7fdca44 Fix error throwing for unknown errors
Fix error throwing for unknown errors.

This should prevent unknown script/unknown error message and allow players to see custom errors that they throw.
2021-11-13 09:52:17 -05:00
Olivier Gagnon
3cbf2e8e7d fix doc 2021-11-13 09:35:13 -05:00
Olivier Gagnon
c21644397d Make alter reality harder 2021-11-12 19:28:52 -05:00
Olivier Gagnon
f5d6132dfc fix bladeburner action cancel 2021-11-12 16:54:34 -05:00
Olivier Gagnon
b6279ac08c some api break stuff 2021-11-12 15:56:48 -05:00
Olivier Gagnon
25eda90781 fix bn5 not giving formulas.exe 2021-11-12 15:48:30 -05:00
Olivier Gagnon
6bd6b3061e rename some stuff and close some exploits 2021-11-12 15:42:57 -05:00
Olivier Gagnon
7059bdf08a added ramUsed to getNodeStats 2021-11-12 10:10:33 -05:00
Olivier Gagnon
c0d28c17e7 fix more bugs 2021-11-11 23:40:48 -05:00
Olivier Gagnon
3112dc60c0 few more bugfixes 2021-11-11 23:28:08 -05:00
Olivier Gagnon
a54e613e42 upgrade version 2021-11-11 22:45:29 -05:00
Olivier Gagnon
9d435bbe47 fix corp not loading 2021-11-11 22:43:40 -05:00
Olivier Gagnon
0114c92829 fix decimal 2021-11-11 21:35:26 -05:00
Olivier Gagnon
aa07ea981a saving timebomb 2021-11-11 20:42:19 -05:00
Olivier Gagnon
6e74716940 huh? 2021-11-11 20:31:26 -05:00
Olivier Gagnon
809b5c70bd build 2021-11-11 20:14:06 -05:00
Olivier Gagnon
3edbfd6916 wtf 2021-11-11 20:09:38 -05:00
hydroflame
70ffe25bb4
Revert "bunch of bugfixes" 2021-11-11 20:06:05 -05:00
Olivier Gagnon
d91d7c564e bunch of bugfixes 2021-11-11 19:56:09 -05:00
Olivier Gagnon
cf2efe7698 few bugdic 2021-11-11 17:00:36 -05:00
hydroflame
486e8a107f
Merge pull request #1685 from skytos/offline-hacking-attribution
attribute offline hacking gains to hacking rather than hacknet
2021-11-11 15:53:31 -05:00
Olivier Gagnon
3fe25d64e5 ns function token even more precise. 2021-11-11 11:21:21 -05:00
Olivier Gagnon
3f28b066b0 working on timestamps and make netscript function highlight more specific. 2021-11-11 10:07:16 -05:00
Skylar Broad
df6a9ff400 attribute offline hacking gains to hacking rather than hacknet 2021-11-10 21:08:43 -08:00
Olivier Gagnon
1e7da4c610 make timestamp with seconds 2021-11-10 19:50:21 -05:00
Olivier Gagnon
15b3a82a41 plenty of bug fix. 2021-11-10 19:28:20 -05:00
Olivier Gagnon
2cf3d640bb fix exploit duplicate 2021-11-10 19:11:19 -05:00
Olivier Gagnon
a3346719a0 rm console log 2021-11-10 12:37:40 -05:00
Olivier Gagnon
9799d2f33b dont run the migration every time 2021-11-10 12:36:15 -05:00
Olivier Gagnon
9fe817daf2 fix backup_ folder not working 2021-11-10 12:34:56 -05:00
Olivier Gagnon
77fce11813 lower gang power 2021-11-10 09:23:48 -05:00
Olivier Gagnon
7cc4295c63 fix a few bugs 2021-11-10 07:52:26 -05:00
Olivier Gagnon
7cc2a1b49a fix mc 2021-11-09 23:57:44 -05:00
Olivier Gagnon
57cec546f0 some documentation 2021-11-09 23:46:22 -05:00
Olivier Gagnon
c87e9bdf84 v1.0.0 changes 2021-11-09 23:42:36 -05:00
Olivier Gagnon
e690dad1ea tried docker but performance is abysmal 2021-11-09 00:06:51 -05:00
Olivier Gagnon
d0eb8aaab9 added v1.0.0 cutover msg 2021-11-08 09:27:11 -05:00
Olivier Gagnon
b692bb90b9 fix ns1 blue colors 2021-11-06 17:46:55 -04:00
Olivier Gagnon
58d652da54 fix something about covenant sleeve purchases 2021-11-05 21:57:41 -04:00
Olivier Gagnon
eb6f016ac1 fix corp softcap 2021-11-05 21:01:23 -04:00
Olivier Gagnon
88b4a7d862 bugfix 2021-11-05 17:12:52 -04:00
Olivier Gagnon
f8917473f8 get rid of rollover rep 2021-11-05 16:09:19 -04:00
Olivier Gagnon
d83650c3bc speed up ns1 2021-11-05 14:32:21 -04:00
Olivier Gagnon
362d2eb51d Fix a few bugs and also added the concept of gang power multiplier 2021-11-05 13:20:52 -04:00
Olivier Gagnon
73d0f2074c formulas time in millis 2021-11-05 00:27:30 -04:00
Olivier Gagnon
14150d3e33 work on making the netscript api tighter 2021-11-03 20:19:52 -04:00
Olivier Gagnon
c5fb5155f3 work on making sure all the functions are accounted for 2021-11-03 18:16:10 -04:00
Olivier Gagnon
2578ea51c3 fix blade time 2021-11-03 13:43:03 -04:00
Olivier Gagnon
d82f3e7ad7 more doc 2021-11-03 00:33:14 -04:00
Olivier Gagnon
2b79871c02 doc 2021-11-03 00:27:21 -04:00
Olivier Gagnon
37845c57c0 migrate some of formulas 2021-11-02 22:58:40 -04:00
Olivier Gagnon
0bee743b47 v1.0.0 migration guide 2021-11-02 22:49:46 -04:00
Olivier Gagnon
b2bf3fc21f v1 api breaks 2021-11-02 22:11:22 -04:00
Olivier Gagnon
fcf29fa37c br in noodle bar 2021-11-02 20:34:03 -04:00