Commit Graph

2785 Commits

Author SHA1 Message Date
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
Olivier Gagnon
55d1dca7b7 Add noodle power. 2021-11-02 20:30:19 -04:00
Olivier Gagnon
3633134a69 doc changes 2021-11-02 20:10:30 -04:00
Olivier Gagnon
40cd679be5 few doc update 2021-11-02 17:48:02 -04:00
Olivier Gagnon
048ef0e69e Added recovery mode 2021-11-02 17:28:19 -04:00
Olivier Gagnon
fa44b38506 fix missing colors in infiltration 2021-11-02 16:20:32 -04:00
Olivier Gagnon
437d96edbe slashgame window cannot be at the end 2021-11-02 16:13:58 -04:00
Olivier Gagnon
d7c23b975c fix code not saving 2021-11-02 16:10:01 -04:00
Olivier Gagnon
94137228e0 remove double server profiler from dark web 2021-11-01 11:41:59 -04:00
Olivier Gagnon
90090f8273 Employee salary no longer increase 2021-10-31 16:01:23 -04:00
Olivier Gagnon
9b0726ca9a documentation 2021-10-30 16:03:34 -04:00
Olivier Gagnon
01dcf3c64f Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-10-30 15:47:04 -04:00
Olivier Gagnon
feb0430aff work on doc 2021-10-30 15:46:34 -04:00
hydroflame
4b52fc81ed
Merge pull request #1638 from Saynt-Garmo/dev
Programs grant int exp based on time
2021-10-30 12:47:28 -04:00
Olivier Gagnon
920b7325b4 City map use more letters than just X 2021-10-30 12:43:45 -04:00
Olivier Gagnon
d031a68fd2 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-10-30 12:34:19 -04:00
Olivier Gagnon
43fc5dfd48 work on doc 2021-10-30 12:34:14 -04:00
tyasuh.taeragan@gmail.com
afd34ef9ca Programs grant int exp based on time 2021-10-29 20:27:20 -04:00
tyasuh.taeragan@gmail.com
55a2f0cd9e Args now stringified next to script names 2021-10-29 18:01:51 -04:00
tyasuh.taeragan@gmail.com
c9b4675061 Going Public Exploit Fix. 2021-10-29 16:20:38 -04:00
Olivier Gagnon
f99c3fd0cd dont double log 2021-10-29 13:09:58 -04:00
Olivier Gagnon
d99d3fc222 dont run inf loop check on ns1 scripts 2021-10-29 01:23:15 -04:00
Olivier Gagnon
2926ee0fc0 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-10-28 23:04:40 -04:00
Olivier Gagnon
d1d0ccf345 added possible infinite loop checker 2021-10-28 23:04:26 -04:00
tyasuh.taeragan@gmail.com
14b2f2ad4d Invisible Black Text 2021-10-28 20:45:09 -04:00
hydroflame
f64e0e0475
Merge pull request #1623 from Saynt-Garmo/dev
Number lvl upgrade corpo ui
2021-10-28 18:21:57 -04:00
tyasuh.taeragan@gmail.com
8d6f0a145e Number lvl upgrade corpo ui 2021-10-28 18:20:43 -04:00
Olivier Gagnon
a34d6e0dfa added button as editable color 2021-10-28 17:38:22 -04:00
Olivier Gagnon
ec49029dde revert formulas safeguard 2021-10-28 16:43:47 -04:00
Olivier Gagnon
cc438cbabd revert safeguard 2021-10-28 16:41:37 -04:00
Olivier Gagnon
ee5eaf9658 safeguyard against Formulas.exe missing 2021-10-28 15:59:04 -04:00
Olivier Gagnon
dc88d9b478 minor tweak 2021-10-28 15:24:33 -04:00
Olivier Gagnon
f710c52bdc background primary/secondary and fix securtiy with grow 2021-10-28 15:22:55 -04:00
Olivier Gagnon
cb6dfd1656 Real Estate takes a LITTLE bit of room 2021-10-28 00:06:57 -04:00
Olivier Gagnon
2e8cdc23d9 use NetscriptDefinitions as source of truth 2021-10-27 23:58:07 -04:00
Olivier Gagnon
e892e16585 Formulas.exe 2021-10-27 23:41:47 -04:00
Olivier Gagnon
91877dc172 netscript def is raw loaded 2021-10-27 23:19:19 -04:00
Olivier Gagnon
d4849cf50f added ram cost for new functions. 2021-10-27 21:13:57 -04:00
Olivier Gagnon
53cb37a9fd added some funcions 2021-10-27 21:07:58 -04:00
Olivier Gagnon
b1328b02ce convert infiltration to use key instead of keyCode 2021-10-27 20:52:16 -04:00
Olivier Gagnon
6835cbaa26 fix autoc single letter flags 2021-10-27 19:21:28 -04:00
Olivier Gagnon
f92db3b8f8 fix ram miscalc 2021-10-27 19:10:15 -04:00
Olivier Gagnon
8ab9a27966 fix ram miscalc 2021-10-27 18:55:06 -04:00
Olivier Gagnon
4ce0b59310 maybe ram miscalc? 2021-10-27 18:25:22 -04:00
Olivier Gagnon
a7632aed29 fix static ram miscalc for stock market 2021-10-27 17:35:02 -04:00
Olivier Gagnon
49d807c9a9 fix static ram calc 2021-10-27 16:17:02 -04:00
Olivier Gagnon
9f14f2b863 comment 2021-10-27 15:56:04 -04:00
Olivier Gagnon
c9565a2263 fix Alter Reality 2021-10-27 15:55:11 -04:00
Olivier Gagnon
97ec193aac add more changelog 2021-10-27 15:23:52 -04:00
Olivier Gagnon
dc09b2a286 v0.58.0 2021-10-27 15:19:53 -04:00
Olivier Gagnon
8f097ebb32 v0.58.0 2021-10-27 15:16:16 -04:00
Olivier Gagnon
b255318a20 remove memory leak 2021-10-27 14:29:13 -04:00
Olivier Gagnon
48988e228e track money more precisely. 2021-10-27 14:18:33 -04:00
Olivier Gagnon
9f6767062b money is readonly 2021-10-27 13:28:36 -04:00
Olivier Gagnon
150b8600e4 fix gang earnings 2021-10-27 11:04:28 -04:00
Olivier Gagnon
080b5a4a1f merge dev 2021-10-26 23:11:47 -04:00
Olivier Gagnon
738152d614 New sf -1 and changes to gang to rely more on territory 2021-10-26 23:02:46 -04:00
Olivier Gagnon
c1448cfe65 few fixes 2021-10-26 22:25:30 -04:00
Olivier Gagnon
7733ee0375 Fix rep transfer on new job 2021-10-26 22:03:34 -04:00
Olivier Gagnon
d4ba39995f Merge branch 'sg' of github.com:danielyxie/bitburner into sg
t push# especially if it merges an updated upstream into a topic branch.
2021-10-26 21:22:47 -04:00
Olivier Gagnon
326e827368 few changes 2021-10-26 21:22:40 -04:00
Olivier Gagnon
504ee46950 terminal colors 2021-10-26 20:26:05 -04:00
Olivier Gagnon
6865fe6463 revert incite violence effect 2021-10-26 19:55:34 -04:00
Olivier Gagnon
f242bb5107 fix bug in corp 2021-10-26 17:43:35 -04:00
Olivier Gagnon
ba72fd7fb5 Added kill all scripts button 2021-10-26 15:50:55 -04:00
Olivier Gagnon
f915ba61a9 fix some issues with badges 2021-10-25 11:17:41 -04:00
tyasuh.taeragan@gmail.com
514150e589 Update FragmentInspector.tsx
Power to Base Power, Fragment Inspector
2021-10-25 10:34:15 -04:00
Olivier Gagnon
c69888f66d Added one definition to NetscritpDefinitions 2021-10-25 10:05:19 -04:00
Olivier Gagnon
65ac7ff6e3 fix sleeve in netscript def 2021-10-24 12:19:01 -04:00
Olivier Gagnon
f044dc6603 no longer remove badges because apparently lmao everything is bugges 2021-10-24 11:14:21 -04:00
Olivier Gagnon
c34d53bc14 Added recent scripts subpage of active scripts 2021-10-23 16:04:00 -04:00
Olivier Gagnon
6d39fda3fa fix a few bugs 2021-10-23 15:22:58 -04:00
Olivier Gagnon
0afb2e5f5d remove comments 2021-10-23 14:40:57 -04:00
Olivier Gagnon
a0039d9667 beautify using monaco 2021-10-23 14:40:46 -04:00
Olivier Gagnon
148611dd4f Merge branch 'dev' of github.com:danielyxie/bitburner into dev
t push
2021-10-23 14:36:13 -04:00
Olivier Gagnon
f5b23262f6 fix react error 2021-10-23 14:36:07 -04:00
tyasuh.taeragan@gmail.com
82c85b381c Hacknet Core Bonus applies on new core bought. 2021-10-23 11:42:18 -04:00
Olivier Gagnon
9493768c0b fmt 2021-10-23 10:09:43 -04:00
Olivier Gagnon
eec75b0840 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-10-23 10:08:11 -04:00
Olivier Gagnon
9982951650 move air 2021-10-23 10:08:06 -04:00
hydroflame
bbb69952e8
Merge pull request #1559 from Saynt-Garmo/dev
Toasts and Typos.
2021-10-23 10:07:39 -04:00
tyasuh.taeragan@gmail.com
2e7f164b5f Prettified 2021-10-22 16:35:05 -04:00
Olivier Gagnon
63939509e5 Chaos has a bigger effect and Incite Violence has diminishing return 2021-10-22 15:54:14 -04:00
Saynt-Garmo
9dcd74462c
Merge branch 'danielyxie:dev' into dev 2021-10-22 15:42:01 -04:00
tyasuh.taeragan@gmail.com
b843958110 Typo correction, Toasts to Noodle Bar, Hopsitlized Functions 2021-10-22 15:32:44 -04:00
tyasuh.taeragan@gmail.com
4f7199c0bd Toasts for Noodles Eaten, Hospitalized. 2021-10-22 15:30:13 -04:00
Olivier Gagnon
a2aa5aa9f3 Merge branch 'dev' of github.com:danielyxie/bitburner into dev
t push
2021-10-22 15:21:15 -04:00
Olivier Gagnon
dce11f525a fix a few bug 2021-10-22 15:21:10 -04:00
hydroflame
5e4934615f
Merge pull request #1554 from CalvinTrop/dev
Added "solarish-dark" and "solarish-light" themes to script editor based on Solarized
2021-10-22 14:30:52 -04:00
Snarling
2867a15b95 Re-add cautionary tale for editing imported scripts 2021-10-19 20:25:37 -04:00
Snarling
14c41d2aab Add script editor documentation for getServer 2021-10-19 10:27:53 -04:00
Snarling
d035a4099f Streamlining for NetscriptFunctions
* Functions that used GetServer and then threw an error on null now use safeGetServer to do that for them.
* Parameter names for ip have been changed to hostname.
* Functionality of getPurchasedServers(false) to return an array of IPs was restored (it was broken by the change to hostnames as primary key).
* Dynamic ram message was updated to omit the part about modifying imported scripts, since this is no longer an issue.
* Dynamic ram violation samples were updated so that they would actually avoid using the variable name 'scan' (which would not subvert ram calculations).
* Included a fix for getServer to default to script's current server if no hostname is specified (per doc page).
2021-10-19 10:13:19 -04:00
CalvinTrop
010d3bfaef
Merge branch 'danielyxie:dev' into dev 2021-10-18 17:00:38 -07:00
Jeff Baars
ab60b411ca Bracket highlighting per Solarized example js images 2021-10-18 16:58:23 -07:00
Jeff Baars
fd9d8d5c8a Added solarish-dark and solarish-light themes to code editor based on Solarized: https://ethanschoonover.com/solarized/ 2021-10-18 16:20:41 -07:00
Olivier Gagnon
a358c270f6 fix corp equation 2021-10-18 18:55:28 -04:00
Jeff Baars
7103601403 Added Solarized dark and light themes to code editor. 2021-10-18 13:41:26 -07:00
Olivier Gagnon
7ef4df414f fix sleeve task selector not getting the right task when loading the screen 2021-10-18 15:01:06 -04:00
Olivier Gagnon
e52eff7771 fix sleeve criming 2021-10-18 14:59:18 -04:00
Olivier Gagnon
c4f59d4129 throw error when trying to pass non-string or number to other scripts 2021-10-18 14:29:43 -04:00
Olivier Gagnon
0419118fb1 fix missing table body 2021-10-18 14:15:43 -04:00
hydroflame
ab48c7062f
Merge pull request #1547 from Snarling/tutorial-text-fixes
Fix some minor tutorial issues
2021-10-18 14:14:00 -04:00
hydroflame
2444305625
Merge pull request #1546 from Snarling/char-overview-overhaul
Character Overview Overhaul
2021-10-18 14:13:52 -04:00
Snarling
f915799fdc Reduce size of visibility-toggle Fab
Current fab is oversized, reduce size to further reduce click footprint of visibility toggle.
2021-10-18 05:45:13 -04:00
Snarling
5be4fb7aae Fix some minor tutorial issues
Changed example prompt to show n00dles for "hack" and "home" commands when connected to n00dles, fixed one missing capitalization
2021-10-18 04:12:45 -04:00
Snarling
61770ea717 Character Overview Overhaul
* Moved hardcoded styles from the hardcoded container div into a class, and assigned that class to a Mui component.
* Otherwise removed excess layered components
* Visibility toggle area no longer occupies the whole width of the overview area. This was blocking input near the top right (noticeable in corp).
2021-10-18 03:14:33 -04:00
Snarling
6bfec83d91 Update GeneralActions.tsx 2021-10-18 00:02:23 -04:00
Snarling
f105002847
Reduce repetitive code sections
Iteratively define general actions instead of defining each individually.
Remove anonymous function that automatically runs, placing code into main section of file so that it still automatically runs.
(untested - I don't have a local copy set up yet to test these changes on)
2021-10-17 20:02:22 -04:00
Olivier Gagnon
cfa10ab206 fix Incite Violence chaos increase 2021-10-17 19:44:43 -04:00
Olivier Gagnon
1b22fe4f3d revert dev meny 2021-10-17 19:01:10 -04:00
Olivier Gagnon
35a5e2f343 change the way charge works 2021-10-17 18:59:37 -04:00
Olivier Gagnon
1b22f28bd8 disable marketta1 is 2 is available. 2021-10-17 18:20:23 -04:00
tyasuh.taeragan@gmail.com
d3ab0353f7 Typo Fix 2021-10-17 09:15:10 -04:00
Snarling
b4c0458590
Actually fix fragment power display for negative numbers
Replace either -x% if present or just x%, to prevent --##.#% power display.
2021-10-17 03:11:42 -04:00
tyasuh.taeragan@gmail.com
850200c98d Corp UI Buyback Shares 2021-10-17 01:21:25 -04:00
Olivier Gagnon
a612352f32 revert sidebar 2021-10-17 00:52:13 -04:00
Olivier Gagnon
79dd27d22f change rep cost for stanek augments 2021-10-17 00:51:43 -04:00
Olivier Gagnon
75b3d9b126 fix boosters with rotations 2021-10-17 00:35:50 -04:00
Olivier Gagnon
e49c1725b5 add stanek modifier in other bns 2021-10-17 00:20:05 -04:00
hydroflame
41adad3991
Merge branch 'dev' into dev 2021-10-16 23:53:29 -04:00
tyasuh.taeragan@gmail.com
da02f8862a Commented Changes 2021-10-16 23:47:11 -04:00
tyasuh.taeragan@gmail.com
2ed961c0d2 #1522 Adressed and Corrected. 2021-10-16 23:09:35 -04:00
Olivier Gagnon
75caf77231 merge dev and added purchased server softcap 2021-10-16 22:39:56 -04:00
Olivier Gagnon
c96c7e3d2e v0.57.0 2021-10-16 22:32:48 -04:00
Olivier Gagnon
fdf2e72896 prestige stuff with sg 2021-10-16 21:38:03 -04:00
Olivier Gagnon
a0a698e0af revert the dev tab 2021-10-16 21:01:05 -04:00
Olivier Gagnon
df6d156e8e Change a few fragment 2021-10-16 21:00:36 -04:00
Olivier Gagnon
50147f6b0b build new version 2021-10-16 19:10:11 -04:00
Olivier Gagnon
ab7d1a8ce9 Fix bug that allowed players to place pieces outside the baord. 2021-10-16 17:27:35 -04:00
Olivier Gagnon
092d5146b4 rotation! 2021-10-16 17:12:04 -04:00
Olivier Gagnon
c0420d1787 merge dev 2021-10-16 15:46:25 -04:00
Olivier Gagnon
84a1d27b9a fix bug with workForFaction 2021-10-16 15:43:28 -04:00
Olivier Gagnon
99c75baea0 Fix working for the CIA 2021-10-16 12:19:53 -04:00
Olivier Gagnon
3e3aa1a0fe merge dev 2021-10-15 21:39:53 -04:00
Olivier Gagnon
371d41b7c3 added placeholder for filename 2021-10-15 21:28:17 -04:00
Olivier Gagnon
02b085cc75 script editor now saves on server that opened the file and displays server name 2021-10-15 21:27:02 -04:00
Olivier Gagnon
e38bfc70cf remove unused export 2021-10-15 21:04:17 -04:00
Olivier Gagnon
52a96b94f9 fix cancel penalty for company servers 2021-10-15 21:03:25 -04:00
Olivier Gagnon
73b9cae203 logbox title isn't infinitely long anymore 2021-10-15 20:59:16 -04:00
Olivier Gagnon
30588a885b make succes toast brighter 2021-10-15 20:50:16 -04:00
Olivier Gagnon
45c46ce2a0 fix exploit that enabled IPC 2021-10-15 19:13:05 -04:00
Olivier Gagnon
58650c5895 Fix blade not being able to start Incite Violence 2021-10-15 19:08:21 -04:00
Olivier Gagnon
09f621e342 Incite Violence doubles chaos 2021-10-15 19:04:44 -04:00
Olivier Gagnon
762e7f127c improve monokai again 2021-10-15 18:58:10 -04:00
Olivier Gagnon
d6ea9c55b1 fixed folder adding space in autocom 2021-10-15 18:33:27 -04:00
Olivier Gagnon
34fa906013 save some text editor notes 2021-10-15 18:27:02 -04:00
Olivier Gagnon
80d197652d improve monokai by making the language a superset of javascript 2021-10-15 18:25:22 -04:00
tyasuh.taeragan@gmail.com
12f61677e3 Issues 1508 and 1506 2021-10-15 17:26:26 -04:00
Olivier Gagnon
b5a8ed1d9d improve script editor display 2021-10-15 16:16:11 -04:00
Olivier Gagnon
e047653ed7 improve text editor scaling 2021-10-15 16:14:27 -04:00
Olivier Gagnon
f645d08a50 small screen script editor 2021-10-15 15:47:17 -04:00
Olivier Gagnon
dbc77f6f0e nerf some shapes 2021-10-15 15:40:19 -04:00
Olivier Gagnon
d2f2ab07d7 merge dev 2021-10-15 15:13:48 -04:00
Olivier Gagnon
515f9e5d4b fixed layer til the end of time 2021-10-15 14:16:30 -04:00
Olivier Gagnon
5e9143371a comment 2021-10-15 14:05:56 -04:00
Olivier Gagnon
536b8360cf small improvement to lgobox layer 2021-10-15 14:04:42 -04:00
Olivier Gagnon
8b59260bd3 logbox layer on click 2021-10-15 13:59:42 -04:00
Olivier Gagnon
3bd05ea398 logbox window z index fix 2021-10-15 13:49:03 -04:00
Olivier Gagnon
79a6c7eb7b logbox uses class to identify drag handle instead of id. 2021-10-15 13:24:00 -04:00
Olivier Gagnon
d35bac1ace Build autocomplete 2021-10-15 13:15:42 -04:00
Olivier Gagnon
c1d4ced331 autocomplete 2021-10-15 13:12:18 -04:00
Olivier Gagnon
6b0e5416c4 wtf 2021-10-15 12:47:43 -04:00
Olivier Gagnon
745fb4fdf6 Merge branch 'dev' into autocomplete 2021-10-15 00:22:15 -04:00
Olivier Gagnon
af816dbc7e fix blade leaving bitverse 2021-10-14 23:57:41 -04:00
Olivier Gagnon
89fa79c4de fix incite violence 2021-10-14 23:39:30 -04:00
Olivier Gagnon
8819042c0f reduce time and effect of incite violence 2021-10-14 23:13:56 -04:00
Olivier Gagnon
7417ff8a10 tmp 2021-10-14 23:11:31 -04:00
Olivier Gagnon
e6a4456d81 Added Incite Violence bladeburner action 2021-10-14 23:01:04 -04:00
Olivier Gagnon
4603216aa0 autocomplete 2021-10-14 22:36:28 -04:00
Olivier Gagnon
3fddb3c9f2 added atExit 2021-10-14 20:13:26 -04:00
Olivier Gagnon
fe6473f426 gotoLocation sing function 2021-10-14 19:43:19 -04:00
Olivier Gagnon
89a6bf175d nuke half the dependencies because they were unused. 2021-10-14 19:31:17 -04:00
Olivier Gagnon
6b114fab7d remove unused stuff 2021-10-14 18:45:50 -04:00
Olivier Gagnon
542b2d6b8a improve market ta ui 2021-10-14 18:05:17 -04:00
Olivier Gagnon
139ccd11ff typo 2021-10-14 17:38:06 -04:00
Olivier Gagnon
38d915372f fix blade raid issue 2021-10-14 17:35:22 -04:00
Olivier Gagnon
dda6235591 revert dynamic ram miscalc 2021-10-14 17:20:13 -04:00
Olivier Gagnon
3d97f2d770 build new function 2021-10-14 15:30:26 -04:00
hydroflame
f60af97e74
Merge pull request #1485 from Tyasuh/dev
upgradeHomeCores
2021-10-14 15:28:58 -04:00
tyasuh.taeragan@gmail.com
db9c3193f7 Commented Fixes 2021-10-14 15:20:05 -04:00
Olivier Gagnon
c556408208 fix parent not being updated when children ram cost increase. 2021-10-14 14:50:57 -04:00
tyasuh.taeragan@gmail.com
f6ffe5b5be Corrective Revisions 2021-10-14 14:35:57 -04:00
Olivier Gagnon
cc056ceef4 fix completed black op being invisible. 2021-10-14 13:57:26 -04:00
tyasuh.taeragan@gmail.com
cee716bbb0 Typo Corrections 2021-10-14 12:22:35 -04:00
tyasuh.taeragan@gmail.com
737d9e027f upgradeHomeCores 2021-10-14 12:01:42 -04:00
Olivier Gagnon
d3fc6a9d48 split NetscriptFunctions 2021-10-14 03:22:02 -04:00