Commit Graph

4219 Commits

Author SHA1 Message Date
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
hydroflame
cf11def6b9
Merge pull request #1813 from danielyxie/dev
many bugfix
2021-12-03 14:12:47 -05:00
Olivier Gagnon
49a545f00e many bugfix 2021-12-03 14:12:32 -05:00
hydroflame
ff4bcb26f4
Merge pull request #1810 from danielyxie/dev
fix log isue
2021-12-03 13:55:03 -05:00
Olivier Gagnon
d852649f2b log issue 2021-12-03 13:54:49 -05:00
Olivier Gagnon
3ed0e7c9cb more electron files 2021-12-03 10:38:21 -05:00
Olivier Gagnon
773f50ba67 doc n steam copypaste 2021-12-02 18:42:30 -05:00
hydroflame
1e9cf015e9
Merge pull request #1809 from danielyxie/dev
getOwnedSF is not sing anymore
2021-12-02 12:43:29 -05:00
Olivier Gagnon
ffd1bd3ab0 build theit pr 2021-12-02 12:43:00 -05:00
hydroflame
2b7acf6012
Merge pull request #1808 from theit8514/move-getownedsourcefiles
Move getOwnedSourceFiles to NS namespace
2021-12-02 12:41:23 -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
hydroflame
326cd5afa0
Merge pull request #1804 from danielyxie/dev
community fixes
2021-11-30 11:15:09 -05:00
Olivier Gagnon
af1a975e0f build community pr 2021-11-30 11:10:53 -05:00
hydroflame
ef5d92455b
Merge pull request #1803 from theit8514/fix-faction-invites
Keep faction invites if not accepted on reset
2021-11-30 11:10:05 -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
hydroflame
ff8cd8b3e2
Merge pull request #1798 from danielyxie/dev
Buncha fix
2021-11-27 11:45:06 -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
hydroflame
1a06b25ff7
Merge pull request #1790 from alainbryden/1773-dont-append-js-to-all-script-files
#1773 - Fix duplicate file extensions
2021-11-26 17:50:09 -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
hydroflame
01a6dd7aab
Merge pull request #1787 from danielyxie/dev
Scripting stuff
2021-11-25 11:47:56 -05: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
hydroflame
c2b58ffcce
Merge pull request #1781 from danielyxie/dev
gang with 0 territory cannot fight
2021-11-24 17:58:37 -05:00
Olivier Gagnon
afe6a72458 gang with 0 territory cannot fight 2021-11-24 17:58:20 -05:00
hydroflame
f42bc288a6
Merge pull request #1780 from danielyxie/dev
Prevent browser back
2021-11-24 16:15:55 -05:00
Olivier Gagnon
31edf92092 prevent browser back in history 2021-11-24 16:15:19 -05:00