Commit Graph

2443 Commits

Author SHA1 Message Date
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
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
tyasuh.taeragan@gmail.com
850200c98d Corp UI Buyback Shares 2021-10-17 01:21:25 -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
c96c7e3d2e v0.57.0 2021-10-16 22:32:48 -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
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
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
Olivier Gagnon
e245c2d3a7 fixed a few things 2021-10-14 02:07:05 -04:00
Olivier Gagnon
3f1d4875e7 Added toast function 2021-10-13 17:25:58 -04:00
Olivier Gagnon
c4e17c3fb3 fix mathjax 2021-10-13 15:57:15 -04:00
Olivier Gagnon
b7823f46e4 change location of home cores cost formula 2021-10-13 15:48:34 -04:00
Olivier Gagnon
e2c8fed307 figured out new mathjax 2021-10-13 02:42:43 -04:00
Olivier Gagnon
e436d7f3a0 up to date omg 2021-10-13 02:27:55 -04:00
Olivier Gagnon
a5a28db47f asd 2021-10-13 02:15:29 -04:00
Olivier Gagnon
3c2a237140 reduce code of ENM core 2021-10-12 20:23:21 -04:00
Olivier Gagnon
0dbeac52ac Added alert function 2021-10-12 20:02:37 -04:00
Olivier Gagnon
6543e73f6f Fix blade corp gang equal 0 2021-10-12 19:23:36 -04:00
Olivier Gagnon
85aa67ac26 blade action in ui 2021-10-12 16:06:32 -04:00
Olivier Gagnon
bf75cf80b8 rm console log 2021-10-12 14:22:57 -04:00
Olivier Gagnon
a90575aea9 load monokai 2021-10-12 10:56:19 -04:00
Olivier Gagnon
a0baab6f6c dont update int when you dont have it 2021-10-12 10:29:41 -04:00
Olivier Gagnon
83137a2364 v0.56.0 2021-10-12 00:29:16 -04:00
Olivier Gagnon
78d9c25671 fix error message with wrong reviver, refactor part of player 2021-10-11 23:14:15 -04:00
Olivier Gagnon
56c8a23631 corp MAXMPPROD is now case insensitive 2021-10-11 22:54:28 -04:00
Olivier Gagnon
1d4cf45a92 fix issue with corp export popup 2021-10-11 22:48:34 -04:00
Olivier Gagnon
b1e37acaa1 added autocomplete for scp 2021-10-11 22:35:00 -04:00
Olivier Gagnon
65ee49fb92 Added cp command 2021-10-11 22:34:04 -04:00
Olivier Gagnon
6a795a7c50 neuroflux doesnt appear in gangs 2021-10-11 19:00:14 -04:00
Olivier Gagnon
ae33a23db4 remove Neuroflux from specila factions 2021-10-11 18:56:51 -04:00
Olivier Gagnon
faad0ae8a7 Try to make an error message more helpful 2021-10-11 18:47:05 -04:00
Olivier Gagnon
1ff7f4bcd4 table pagination text no longer black 2021-10-11 18:30:46 -04:00
Olivier Gagnon
1335ca8e01 Impossible to buy real estate with negative money 2021-10-11 18:22:57 -04:00
Olivier Gagnon
8e07cc999d change GB to TBPBEB 2021-10-11 18:14:10 -04:00
Olivier Gagnon
06775b20fa saving file now saves game 2021-10-11 17:57:17 -04:00
Olivier Gagnon
30554560da softcap hacknet max moneyt upgrade 2021-10-11 17:43:48 -04:00
Olivier Gagnon
ac3a6b9a6f setToCommitCrime sleeve works with rough crime name 2021-10-11 17:12:08 -04:00
Olivier Gagnon
b126bd01ee ram check is debounced 2021-10-11 16:59:37 -04:00
Olivier Gagnon
8f13363466 prettier 2021-10-11 16:38:50 -04:00
Olivier Gagnon
dd61fd6efb document learn js and make getServer not require sf5 2021-10-11 16:18:05 -04:00
Olivier Gagnon
010f43e5d4 few bugfix 2021-10-11 14:26:44 -04:00
Olivier Gagnon
3d36982a56 fix disableLog not disabling blade functions 2021-10-11 13:31:12 -04:00
Olivier Gagnon
3fd26bea9b fix int not calculating 2021-10-11 13:18:37 -04:00
Olivier Gagnon
e9ba4ae9a2 added vscode module def in netscript 2021-10-10 13:52:56 -04:00
Olivier Gagnon
12b192ab43 prerawloader 2021-10-10 13:23:36 -04:00
Olivier Gagnon
cdbbc657e2 nano new ns2 file starts with param 2021-10-09 23:21:22 -04:00
Olivier Gagnon
995a0b11d9 build fix for duplicate autocomplete 2021-10-09 23:07:18 -04:00
Olivier Gagnon
06df10d2f9 build fix for duplicate autocomplete 2021-10-09 22:59:06 -04:00
Olivier Gagnon
01d15176ac Added kindof monokai to monaco 2021-10-09 19:00:27 -04:00
Olivier Gagnon
f9afff57b2 fix ram miscalc 2021-10-09 15:07:42 -04:00
Olivier Gagnon
2bf47c60df fix sleeve consuming too much time at once. 2021-10-09 14:31:06 -04:00
Olivier Gagnon
752534bc4d fix joinBladeburner 2021-10-09 12:49:53 -04:00
Olivier Gagnon
3346f3539c increase the price of Wilson to stop feedback loop 2021-10-09 02:24:31 -04:00
Olivier Gagnon
bbf3a1d19a fix server ram recalc 2021-10-08 23:45:54 -04:00
Olivier Gagnon
a2599f19d7 patch time compression 2021-10-08 15:31:32 -04:00
Olivier Gagnon
8e4722c5e7 write can be awaited in order to wait for the ram calculation to go through 2021-10-08 14:05:47 -04:00
Olivier Gagnon
e91c183d37 blade getCurrentAction says type general 2021-10-08 13:17:27 -04:00
Olivier Gagnon
effa9f15af growthanalyze has core argument 2021-10-08 12:09:44 -04:00
Olivier Gagnon
3ca7c49ce8 Fixed Script Editor last filename not keeping proper track 2021-10-08 00:21:30 -04:00
Olivier Gagnon
ec3037f8c6 readded font 2021-10-07 23:53:44 -04:00
Olivier Gagnon
7d0536a4d2 finish convert to hostname 2021-10-07 17:55:49 -04:00
Olivier Gagnon
2958034ad4 more ip conversion 2021-10-07 17:04:32 -04:00
Olivier Gagnon
a7dfb1a537 more convertion from ip to hostname 2021-10-07 16:56:01 -04:00
Olivier Gagnon
be29481689 unexport AllServers 2021-10-07 16:04:04 -04:00
Olivier Gagnon
42890843fb Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-10-07 15:08:27 -04:00
Olivier Gagnon
c06aff3437 Improve logbox behavior 2021-10-07 15:02:54 -04:00
tyasuh.taeragan@gmail.com
0edd4ffdf1 Corpo Typo Fixes 2021-10-07 13:46:33 -04:00
Olivier Gagnon
b1d1de9118 revert growthAnalyze stuff because it causes errors 2021-10-06 19:41:36 -04:00
Olivier Gagnon
83a84c6d38 corp bonus time consumes faster 2021-10-06 01:59:41 -04:00
Olivier Gagnon
75a2742911 fix netscript port read not correctly converting ns1 objects 2021-10-05 16:37:54 -04:00
Olivier Gagnon
a420a87eba fix bug with hacknet servers and grow 2021-10-05 15:23:30 -04:00
Olivier Gagnon
f579ee398b made log box resize a tad better 2021-10-05 01:44:46 -04:00
Olivier Gagnon
4901c84d34 remove some unused css 2021-10-05 01:30:37 -04:00
Olivier Gagnon
227fbd7060 made log box resizable 2021-10-05 01:23:20 -04:00
Olivier Gagnon
70796e7674 use react-draggable 2021-10-05 00:59:40 -04:00
Olivier Gagnon
bb0bdb776b extracted some of the Netscript functions into their own file. 2021-10-04 22:25:21 -04:00
Olivier Gagnon
48b839d68c Added font size to text editor 2021-10-04 21:06:55 -04:00
Olivier Gagnon
c47a5bc8cc added grow, weaken, and time compression 2021-10-04 19:58:34 -04:00
Olivier Gagnon
33ea31be87 convert autocomplete to tooltip 2021-10-04 17:52:20 -04:00
Olivier Gagnon
27fc90c87a fix corp ui text fields now clearing on city change 2021-10-04 13:49:27 -04:00
Olivier Gagnon
d58e2df9c7 cat now accepts newline 2021-10-04 13:15:04 -04:00
Olivier Gagnon
c989e6713f fix logbox newlines and corp researching multiple times 2021-10-04 12:37:19 -04:00
Olivier Gagnon
81fd2c1236 remove log 2021-10-03 21:34:56 -04:00
Olivier Gagnon
ab2ffb112f fix some bugs 2021-10-03 21:33:48 -04:00
Olivier Gagnon
fae6e6d22f fix research tree, kinda 2021-10-02 00:24:50 -04:00
Olivier Gagnon
826357e8b8 change SF9 to seem more appealing 2021-10-01 23:20:44 -04:00
Olivier Gagnon
94550dbaee forgot about grwothAnalyze 2021-10-01 23:03:37 -04:00
Olivier Gagnon
83c159e901 fix miscalculation in growth formulas 2021-10-01 23:02:09 -04:00
Olivier Gagnon
3f5b412547 fixed prompt 2021-10-01 22:53:23 -04:00
Olivier Gagnon
1fdb5c33c7 fix sleeves not being able to work at volhaven 2021-10-01 22:42:31 -04:00
Olivier Gagnon
665d25650a fixed log boxes 2021-10-01 22:31:58 -04:00
Olivier Gagnon
447731c5f3 fix infil 2021-10-01 22:27:32 -04:00
Olivier Gagnon
cc02701e97 fix autolink wrong font 2021-10-01 16:42:07 -04:00
Olivier Gagnon
50cf362b3b v0.55.0 2021-10-01 16:22:33 -04:00
Olivier Gagnon
5ba7b2796d build gang in mui 2021-10-01 15:39:56 -04:00
Olivier Gagnon
9cbb525da3 remove hacking missions 2021-10-01 15:26:12 -04:00
Olivier Gagnon
0ae8b72188 100% mui I think 2021-10-01 15:19:37 -04:00
Olivier Gagnon
1e641468f7 build the little mui conversions 2021-10-01 13:40:16 -04:00
Olivier Gagnon
3187bb990d Everything except Gang is Muified 2021-10-01 13:36:59 -04:00
Olivier Gagnon
4e8bb96f3f removing some of the classes 2021-10-01 13:08:37 -04:00
Olivier Gagnon
97c04a1037 logbox manager, alert manager and fix bitverse colors 2021-10-01 10:39:09 -04:00
Olivier Gagnon
62cd8ffcc6 pre-dialogbox-convert 2021-10-01 01:00:50 -04:00
Olivier Gagnon
0d9caac455 mui-fy some modals 2021-09-30 20:06:40 -04:00
Olivier Gagnon
f701cbffa7 lint 2021-09-30 18:57:44 -04:00
Olivier Gagnon
73d0dd98f2 stock market in Mui 2021-09-30 18:56:09 -04:00
Olivier Gagnon
c05be66c60 corp in mui 2021-09-30 17:24:08 -04:00
Olivier Gagnon
b0e4a2a775 finalize corp in mui 2021-09-30 17:02:07 -04:00
Olivier Gagnon
86ddc940aa convert some corp to mui 2021-09-30 15:12:06 -04:00
Olivier Gagnon
510fcedf90 convert some corp to mui 2021-09-30 13:51:55 -04:00
Olivier Gagnon
5cce1c255c convert some corp to mui 2021-09-29 19:05:25 -04:00
Olivier Gagnon
854239ceb1 convert some corp to mui 2021-09-29 17:41:19 -04:00
Olivier Gagnon
73834d03cd faction dont rerender 2021-09-29 10:33:21 -04:00
Olivier Gagnon
cefd499ff6 use tabs for corp 2021-09-29 01:54:17 -04:00
Olivier Gagnon
c5713fa6d8 learned and implemented default props 2021-09-29 01:49:22 -04:00
Olivier Gagnon
b0739f8942 fix bad scritp not dying properly 2021-09-28 20:48:44 -04:00
Olivier Gagnon
a6d7f93111 work on corp mui 2021-09-28 19:38:51 -04:00
Olivier Gagnon
86678b6290 convert blade to mui 2021-09-27 17:09:48 -04:00
Olivier Gagnon
498a204c88 rm unused log 2021-09-26 21:38:21 -04:00
Olivier Gagnon
d6584386ff set disabled color 2021-09-26 21:37:22 -04:00
Olivier Gagnon
b5abbbc240 hacknet nodes in mui 2021-09-26 21:26:25 -04:00
Olivier Gagnon
514b467e27 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-09-26 21:22:13 -04:00
Olivier Gagnon
1fc2e6fd2a added unfocus aug 2021-09-26 21:11:49 -04:00
hydroflame
b758807ba1
Merge pull request #1384 from vmesecher/dev
Fixes Corporation bribe uninentionally affect Bladeburners under cert…
2021-09-26 20:59:12 -04:00
Olivier Gagnon
14e6dd0158 sleeves to mui 2021-09-26 20:55:38 -04:00
vmesecher
ce578206eb Fixes Corporation bribe uninentionally affect Bladeburners under certain circumstances. Also contains small lint fixes found by running npm run lint. 2021-09-25 15:43:30 -07:00
Olivier Gagnon
3289f76cd0 safeguards 2021-09-25 17:29:51 -04:00
Olivier Gagnon
3aacab504b convert casino to mui 2021-09-25 15:42:37 -04:00
Olivier Gagnon
6d179be018 buttons should have typograaphy as child 2021-09-25 15:41:00 -04:00
Olivier Gagnon
86da356478 convert most of the city to mui 2021-09-25 15:34:12 -04:00
Olivier Gagnon
06f716c0fa moved a bunch of files 2021-09-25 14:42:57 -04:00
Olivier Gagnon
07bc697477 remove uneeded part of the tutorial 2021-09-25 14:21:34 -04:00