Commit Graph

590 Commits

Author SHA1 Message Date
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
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
3e3aa1a0fe merge dev 2021-10-15 21:39:53 -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
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
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
6b114fab7d remove unused stuff 2021-10-14 18:45:50 -04:00
Olivier Gagnon
eb846c1318 merge dev 2021-10-14 02:12:15 -04:00
Olivier Gagnon
3f1d4875e7 Added toast function 2021-10-13 17:25:58 -04:00
Olivier Gagnon
85aa67ac26 blade action in ui 2021-10-12 16:06:32 -04:00
Olivier Gagnon
87c63cde59 merge v0.56.0 2021-10-12 01:35:30 -04:00
Olivier Gagnon
1ff7f4bcd4 table pagination text no longer black 2021-10-11 18:30:46 -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
010f43e5d4 few bugfix 2021-10-11 14:26:44 -04:00
Olivier Gagnon
f4ecbd9b48 merge dev 2021-10-08 00:26:35 -04:00
Olivier Gagnon
3ca7c49ce8 Fixed Script Editor last filename not keeping proper track 2021-10-08 00:21:30 -04:00
Olivier Gagnon
500063e87e Merge branch 'dev' into sg 2021-10-07 23:53:49 -04:00
Olivier Gagnon
ec3037f8c6 readded font 2021-10-07 23:53:44 -04:00
Olivier Gagnon
8d7f0488f8 merge dev 2021-10-07 17:58:32 -04:00
Olivier Gagnon
7d0536a4d2 finish convert to hostname 2021-10-07 17:55:49 -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
c06aff3437 Improve logbox behavior 2021-10-07 15:02:54 -04:00
Olivier Gagnon
8e58482db0 sg 2021-10-07 01:36:59 -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
da746a63c3 add incremental game plaza stuff 2021-10-04 23:56:24 -04:00
Olivier Gagnon
c5e29dafc4 fix mc 2021-10-04 22:31:07 -04:00
Olivier Gagnon
c47a5bc8cc added grow, weaken, and time compression 2021-10-04 19:58:34 -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
4fc6d393e4 fix mc 2021-10-03 21:44:15 -04:00
Olivier Gagnon
ab2ffb112f fix some bugs 2021-10-03 21:33:48 -04:00
Olivier Gagnon
7304e5379f sg 2021-10-03 20:34:36 -04:00
Olivier Gagnon
fae6e6d22f fix research tree, kinda 2021-10-02 00:24:50 -04:00
Olivier Gagnon
3f5b412547 fixed prompt 2021-10-01 22:53:23 -04:00
Olivier Gagnon
665d25650a fixed log boxes 2021-10-01 22:31:58 -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
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
73d0dd98f2 stock market in Mui 2021-09-30 18:56:09 -04:00
Olivier Gagnon
b0e4a2a775 finalize corp in mui 2021-09-30 17:02:07 -04:00
Olivier Gagnon
510fcedf90 convert some corp to mui 2021-09-30 13:51:55 -04:00
Olivier Gagnon
c5713fa6d8 learned and implemented default props 2021-09-29 01:49:22 -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
14e6dd0158 sleeves to mui 2021-09-26 20:55:38 -04:00
Olivier Gagnon
793d9b34ce update BN13 for new UI 2021-09-25 17:21:50 -04:00
Olivier Gagnon
6d179be018 buttons should have typograaphy as child 2021-09-25 15:41:00 -04:00
Olivier Gagnon
06f716c0fa moved a bunch of files 2021-09-25 14:42:57 -04:00
Olivier Gagnon
60a91cd9f7 index.html is empty now 2021-09-25 14:14:50 -04:00
Olivier Gagnon
97624395c1 convert game saved to snackbar, index.html is nearly empty now 2021-09-25 14:10:32 -04:00
Olivier Gagnon
d49fea4cbc convert unclickable inside the react tree 2021-09-25 14:00:38 -04:00
Olivier Gagnon
125e9484f7 Work on hacknet to mui 2021-09-25 13:52:26 -04:00
Olivier Gagnon
ef17f0d617 ui 2021-09-25 13:31:42 -04:00
Olivier Gagnon
7fb2b8b590 fix tooltips 2021-09-25 11:23:56 -04:00
Olivier Gagnon
cba40c71b2 mui stuff 2021-09-25 03:09:27 -04:00
Olivier Gagnon
b0f20c8c8f lint 2021-09-25 01:26:03 -04:00
Olivier Gagnon
5c6c472b64 Augmentations in mui 2021-09-25 01:06:17 -04:00
Olivier Gagnon
2d45784102 theme editor now allows import/export 2021-09-24 22:54:25 -04:00
Olivier Gagnon
b8faa9dc0b convert player to ts 2021-09-23 18:47:43 -04:00
Olivier Gagnon
66a2adaeb4 update prettier 2021-09-22 12:56:55 -04:00
Martin Fournier
32d1affb50 Add material-ui-color picker in theme editor 2021-09-22 12:00:00 -04:00
Olivier Gagnon
28aca06208 convert work in progress to mui 2021-09-22 03:25:12 -04:00
Olivier Gagnon
80560ce9f6 build theme editor 2021-09-22 02:20:29 -04:00
Olivier Gagnon
f9a4eadb71 removed some of fconf 2021-09-22 01:36:17 -04:00
Olivier Gagnon
96f0879230 fix bug with nano 2021-09-22 01:10:29 -04:00
Olivier Gagnon
0c932dd4d1 build bunch of fixes 2021-09-21 20:30:00 -04:00
Olivier Gagnon
9a6b185141 few fixes 2021-09-21 17:36:42 -04:00
Olivier Gagnon
9b94692942 fix faction screen size 2021-09-21 17:12:16 -04:00
Olivier Gagnon
637f88efcd add bug report button 2021-09-21 16:50:33 -04:00
Olivier Gagnon
57a5c8b0b4 add difficulty to bitnode screen 2021-09-21 16:49:38 -04:00
Olivier Gagnon
c564de40b3 add f5f8 to electron 2021-09-21 13:29:16 -04:00
Olivier Gagnon
7aa2d00460 fix aug page 2021-09-21 13:08:05 -04:00
Olivier Gagnon
ffa9600302 active scritp production typo and add new page size 2021-09-21 11:50:48 -04:00
Nolshine
2a52f6fa2b implement visibility icon toggling 2021-09-21 07:07:47 +01:00
Olivier Gagnon
9e62438b43 Rework faction augs menu 2021-09-20 20:42:13 -04:00
hydroflame
7cd821ef5e
Merge pull request #1312 from Nolshine/options_menu_unnecessary_link
remove duplicate changelog link from options menu
2021-09-20 17:27:02 -04:00
Olivier Gagnon
5e48530e14 0.54 again 2021-09-20 17:26:47 -04:00
Olivier Gagnon
bb4de3f62c fix infiltration 2021-09-20 17:10:44 -04:00
Nolshine
bb546ef6e1 remove duplicate changelog link from options menu 2021-09-20 20:14:02 +01:00
Olivier Gagnon
9552ae3ef1 readd some used code 2021-09-20 13:53:04 -04:00
Olivier Gagnon
91c7ae53ef Factions screen in Mui 2021-09-20 01:18:20 -04:00
Olivier Gagnon
44d6845883 biuld 0.54.0 2021-09-20 00:38:05 -04:00
Olivier Gagnon
a3e624deba remove ns2 example doing DOM manip 2021-09-20 00:14:30 -04:00
Olivier Gagnon
fb37f6b94d lint 2021-09-19 23:29:02 -04:00
hydroflame
48eb0df99f
Merge pull request #1303 from Nolshine/fix_status_text_animation_not_resetting
fix status text animation not resetting properly
2021-09-19 18:28:28 -04:00
Olivier Gagnon
3554da5a53 load a top level react node and everything else under it. 2021-09-19 18:22:52 -04:00
Olivier Gagnon
9bc20526ff get loading screen inside GameRoot 2021-09-19 18:04:12 -04:00
Olivier Gagnon
7a2dd16092 Hacking missions inside GameRoot 2021-09-19 17:05:27 -04:00
Olivier Gagnon
0a2dbe66e4 character overview player hookd 2021-09-19 16:19:24 -04:00
Olivier Gagnon
505040137f added overview ui hooks 2021-09-19 14:39:34 -04:00
Nolshine
db31b70efc fix stats text animation not resetting properly 2021-09-19 10:22:27 +01:00
Olivier Gagnon
374b81ffae Rework tutorial 2021-09-19 03:13:49 -04:00
Olivier Gagnon
023f2b8309 ITutorial in react 2021-09-19 00:46:39 -04:00
Olivier Gagnon
61e3959a25 Improve event emitter 2021-09-18 15:44:39 -04:00
Olivier Gagnon
4b6a6300f5 build dev 2021-09-18 13:33:15 -04:00
Olivier Gagnon
e5abf014b2 build dev 2021-09-18 13:29:01 -04:00
Olivier Gagnon
e087420519 build dev 2021-09-18 12:13:20 -04:00
Olivier Gagnon
e1a22016b5 build dev 2021-09-18 04:01:07 -04:00
Olivier Gagnon
bdfa4be71f build dev 2021-09-18 03:00:07 -04:00
Olivier Gagnon
eacf15b463 minor tweaks 2021-09-18 02:11:20 -04:00
Olivier Gagnon
425c998435 minor tweaks 2021-09-18 01:12:15 -04:00
Olivier Gagnon
549c8b61db minor tweaks 2021-09-18 01:06:37 -04:00
Olivier Gagnon
244e669b2b improvements on active scripts 2021-09-18 01:01:51 -04:00
Olivier Gagnon
6f20b0bc30 Added tree-like hierarchy to active scripts 2021-09-18 00:31:14 -04:00
Olivier Gagnon
1996deaf0a Active Scripts 2021-09-18 00:16:02 -04:00
Olivier Gagnon
907314e76b more work 2021-09-17 21:30:02 -04:00
Olivier Gagnon
45f2f85a30 big work 2021-09-17 19:43:08 -04:00
Olivier Gagnon
89ea9aaff5 oops 2021-09-17 02:58:02 -04:00
Olivier Gagnon
1883bea906 one big container ready 2021-09-17 02:31:19 -04:00
Olivier Gagnon
acd51e8328 work 2021-09-17 02:04:44 -04:00
Olivier Gagnon
ff726afcd6 added icon to hide stats 2021-09-16 22:16:40 -04:00
Olivier Gagnon
628572cf21 save button becomes gray when save is disabled 2021-09-16 21:23:03 -04:00
Olivier Gagnon
744f3bc067 fix megacorp factions not letting you join them after soft reset 2021-09-16 21:19:53 -04:00
Olivier Gagnon
defaa2ccd6 few more fixes 2021-09-16 20:51:25 -04:00
Olivier Gagnon
407ed70ae3 mui5 2021-09-16 19:23:03 -04:00
Olivier Gagnon
18f40a8d9f fix lint 2021-09-16 18:10:28 -04:00
Olivier Gagnon
22648df857 refactor temrinal input for more performace 2021-09-16 18:10:28 -04:00
Olivier Gagnon
05718e00ea mostly convert terminal to react 2021-09-16 18:10:28 -04:00
Olivier Gagnon
f0f57150aa character overview in mui 2021-09-16 18:10:28 -04:00
Nolshine
302e105bdf fix typo 'supress' in options menu 2021-09-16 18:10:28 -04:00
Nolshine
5d9f9d2681 implement game delete confirmation modal 2021-09-16 18:10:28 -04:00
Olivier Gagnon
409cb53597 remove unused files 2021-09-15 01:35:19 -04:00
Olivier Gagnon
4c15d4ef42 fix diagnostic file 2021-09-14 21:47:42 -04:00
Olivier Gagnon
684a254ac8 build terminal not scrolling properly with new lines 2021-09-14 21:09:46 -04:00
Olivier Gagnon
dc9b5c3341 rework options menu 2021-09-14 21:05:49 -04:00
Olivier Gagnon
f895da118d contextually hide sidebar items 2021-09-14 15:23:16 -04:00
Olivier Gagnon
9adf69afbd fix BN6 end screen 2021-09-14 14:10:59 -04:00
Olivier Gagnon
2d463b60a0 litn 2021-09-13 22:27:43 -04:00
Olivier Gagnon
05fd85002c dev menu in mui 2021-09-13 20:37:35 -04:00
Olivier Gagnon
e345edb74f add companyName to getPlayer 2021-09-13 17:11:02 -04:00
Olivier Gagnon
4ad5b06e19 fix travel to s12 on list world map 2021-09-13 14:43:23 -04:00
Olivier Gagnon
8fba57fd24 mui v1 2021-09-13 12:44:46 -04:00
Olivier Gagnon
5f8de7e426 bunch of react conversion 2021-09-12 18:03:07 -04:00
Olivier Gagnon
b9dcffdf58 re-introduce the css that was there before 2021-09-11 12:51:46 -04:00
Olivier Gagnon
42aa4ca23f Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-09-11 12:24:14 -04:00
Olivier Gagnon
dd27158cf0 make things scrollable. 2021-09-11 12:24:09 -04:00
vmesecher
705b154f13 Adds CreateGangPopup React element. 2021-09-11 09:02:59 -07:00
Olivier Gagnon
add19d353e sidebar is react, fix a few bugs 2021-09-11 01:54:19 -04:00
Olivier Gagnon
4bedf05b1c refactored a bunch of engine.jsx, now all the react container load into the same div 2021-09-10 17:29:07 -04:00
Olivier Gagnon
5f64187a0f dev menu in react 2021-09-10 16:57:05 -04:00
Olivier Gagnon
b45ab657c5 unify the way engine loads pages 2021-09-10 15:08:51 -04:00
Olivier Gagnon
e906a6331f change modals so they close on mouse down outside the box 2021-09-10 00:53:39 -04:00
Olivier Gagnon
7f1d39a298 the world map is used every place a travel is done 2021-09-09 22:06:59 -04:00
Olivier Gagnon
3df298e91e fix contract 2021-09-09 12:52:43 -04:00
Olivier Gagnon
b7e07bc7f2 convert all hacknet to ts 2021-09-09 03:17:01 -04:00
Olivier Gagnon
2a13db39c7 fix sleeve memory bug 2021-09-08 23:47:34 -04:00
Olivier Gagnon
506122f5b8 fmt, remove corp routing, lint 2021-09-06 15:06:08 -04:00
Olivier Gagnon
a18bdd6afc prettify, sorry for the big ass commit 2021-09-04 19:09:30 -04:00
Olivier Gagnon
e1c29f25e2 Fix missing money display 2021-09-04 14:03:19 -04:00
Olivier Gagnon
6e013e4e6a Change money to automatically color grey when something cannot be bought. 2021-09-04 03:27:31 -04:00
Olivier Gagnon
008b233c9d reword faction reputation and favor tooltips 2021-09-03 17:42:23 -04:00
Olivier Gagnon
454a792f0a Added mathjax formulas for favor and made favor calculation faster. 2021-09-02 03:10:12 -04:00
Olivier Gagnon
42704d8695 v0.52.9 2021-08-27 15:26:12 -04:00
Olivier Gagnon
3ab306f9d7 fix the errors about node setTimeout instead of window 2021-08-27 01:11:11 -04:00
Olivier Gagnon
1a1a43c1ce v0.52.4 2021-08-19 01:45:26 -04:00
Olivier Gagnon
d6b349b6ff dialogBoxCreate now uses the same logic as other popups, now all popup can be dismissed with escape. 2021-08-18 00:51:51 -04:00
Olivier Gagnon
988ca37764 converting more blade to react/ts 2021-08-17 23:28:40 -04:00
Olivier Gagnon
5803ddc613 popup now all can be dismissed by clicking outside the window and have grey background 2021-08-15 12:16:16 -04:00
Olivier Gagnon
99263309ba Fix gaining too much asc pts, reduce reputation gain in gangs. 2021-08-15 12:14:56 -04:00
Olivier Gagnon
99b8dfa0c1 Converted GangMember to tsx, only Gang left 2021-08-15 12:09:43 -04:00
Olivier Gagnon
9e345b1375 Mostly done converting Gang UI to React 2021-08-15 12:09:43 -04:00
Olivier Gagnon
25f546c691 part 1 of converting gang to react 2021-08-15 12:09:43 -04:00
Olivier Gagnon
be8d56ced9 rewrite augmentation stats description so it's autogenerated and consistent with the actual effects. 2021-08-15 00:24:31 -04:00
Olivier Gagnon
efdd8482d7 minor tweak to really large number display 2021-06-06 15:06:39 -04:00
hydroflame
4180ceae17
Merge pull request #984 from Tesseract1234567890/numeralFormat.ts-NanT-removal
Modified numeralFormat.ts to prevent NaNt from appearing
2021-06-06 14:59:03 -04:00
hydroflame
141f2a8331
Merge pull request #994 from Tesseract1234567890/intFix
Fixed intelligence not resetting when b1t_flum3.exe is used from BN5 without having SF5
2021-06-06 11:03:01 -04:00
Tesseract1234567890
66ff040e38 Attempt at fixing Int. not resetting on b1t_flum3.exe usage 2021-06-04 11:59:23 -04:00
Tesseract1234567890
0535a0c49b Fixed high HP values 2021-06-02 21:57:31 -04:00
Tesseract1234567890
6314000bd0 Fixed absurdly high skill counter on UI 2021-06-02 21:54:11 -04:00
Tesseract1234567890
a05335d6e2 fixed a stupid mistake 2021-06-02 21:47:32 -04:00
Tesseract1234567890
54114dc6d0 Edited formatAbsurdNumber; reinstated parts of formatShares 2021-06-02 21:41:58 -04:00
Tesseract1234567890
1b6058dd0a Fixed formatAbsurdNumber 2021-06-02 21:38:36 -04:00
Tesseract1234567890
75227233f3 Added class method formatAbsurdNumber 2021-06-02 21:33:27 -04:00
Tesseract1234567890
fee661b451 Capitalized HP 2021-06-02 16:31:21 -04:00
Tesseract1234567890
8fba3c3fa4 Modified numeralFormat.ts to prevent NaNt from appearing 2021-06-02 16:07:52 -04:00
Olivier Gagnon
0f266eaa42 v0.59.10 2021-05-31 17:34:23 -04:00
Olivier Gagnon
674ce17834 fix nearly all lint errors now 2021-05-29 14:48:56 -04:00
Olivier Gagnon
60d6d49c43 Vigilante Justice now reduces wanted by a percentage to help players stuck with very high wanted level. 2021-05-29 12:48:58 -04:00
Olivier Gagnon
f14f65814a Hotfix very large number to extend kmbt with qQsSon. 2021-05-27 14:03:53 -04:00
Olivier Gagnon
9d1e132d11 Hotfix number of decimal for very large numbers 2021-05-26 17:54:55 -04:00
Olivier Gagnon
7fedd1f1f5 Fix very large number appearing as NaN 2021-05-26 14:14:20 -04:00
Olivier Gagnon
218a9dd250 Sleeves earnings is now tracked in Character Stats Money 2021-05-17 22:03:48 -04:00
Olivier Gagnon
188dcbad89 bladeburner supress option now correctly updates when blade become accessible/unaccessible 2021-05-17 21:17:17 -04:00
Martin Fournier
ae04b7357e Add setting to suppress Bladeburner popups
Used to suppress the message that is shown when your Bladeburner action
is cancelled when busy with something else.

Will be hidden if the player does not have access to Bladeburners.
2021-05-15 13:33:30 -04:00
Olivier Gagnon
6dde89f3c4 0518 2021-05-07 22:01:52 -04:00
Daniel Ferri
68eb68a89e Added accepting numbers in 1b format to faction donations 2021-05-07 19:12:30 -04:00
Olivier Gagnon
cedac23dfa CodingContractPopup now correctly displays innerHTML, desc should be changed to return jsx though. 2021-05-05 19:06:08 -04:00
Olivier Gagnon
7777c400a5 Make coding contract title click-to-copy 2021-05-03 19:46:04 -04:00
Olivier Gagnon
b99711788f Hotfix negative money, n00dles metadata and guide 2021-05-03 16:02:26 -04:00
Olivier Gagnon
9976ed136c fix money formatting for amount under 1000 2021-05-03 01:44:02 -04:00
Olivier Gagnon
800c673839 Fix character-overview-text being nested twice. 2021-05-03 00:47:56 -04:00
Olivier Gagnon
065544909b thread count formatted with commas every thousands. 2021-05-03 00:45:21 -04:00
Olivier Gagnon
56ce83cce5 Fix cashroot not displaying properly 2021-05-02 00:07:04 -04:00
Olivier Gagnon
d745150c45 all the lints 2021-05-01 03:17:31 -04:00
Olivier Gagnon
3fad505096 run auto fix lint 2021-04-29 23:52:56 -04:00
hydroflame
52a80ad236
v0.51.6 (#905)
* Make command `cd` without arguments an alias for `cd /` (#853)

In most shells `cd` without arguments takes you to the home directory
of the current user. I keep trying to do this due to muscle memory
from working in terminals, so I figured I'd make it do something useful.

There is no home directory in the game, but going to / is the closest
thing we have, since that is the starting point for the user in the
game.

* Add new `backdoor` terminal command (#852)

* Add the backdoor command to the terminal

This command will perform a manual hack without rewarding money. It will be used for the story, mainly for faction hacking tests

* Add tab completion for backdoor command

* Add help text for backdoor command

* Change condition syntax to be more consistent with others

* Extract reused code block so it is always called after actions

* Update documentation for new backdoor command

Modified references to manual hack as it isn't for factions anymore

* Remove extra parenthesis

* Rename manuallyHacked to backdoorInstalled

* Fix typo

* Change faction test messages to use backdoor instad of hack

* Rename more instances of manuallyHacked

* fixed typo in helptext of darkweb buy (#858)

* Fix typos and unify descriptions of augmentations (#859)

Made an attempt to...
- give all "+rep% company/faction" the same text
- make all augmentations with a single effect use a single line to describe the effect
- make all effects end with a period

* Made Cashroot starter kit display its tooltip with the money formatted properly and in gold

* fix typo in docs (#860)

* Initial code for Casino Card Deck implementation

* Casino Blackjack Implementation

* Update some tools (eslint, typescript)

* Blackjack code cleanup

* Update README_contribution

* Update ScriptHelpers.js (#861)

expand error message

* More augmentation typo fixes (#862)

* Add Netscript function getCurrentScript (#856)

Add netscript function that returns the current script.

* Added milestones menu to guide new players. (#865)

Milestone menu

* fix typos in milestones (#866)

Co-authored-by: sschmidTU <s.schmid@phonicscore.com>

* Corrupt location title when backdoor is installed (#864)

* Add corruptableText component

* Corrupt location title if backdoor is installed

* Formatting

* Add helper to check value of backdoorInstalled

Helper could be oneline but it would make it less readable

* Fix some formatting

* Add settings option to disable text effects

* Import useState

* getRunningScript (#867)

* Replaced getCurrentScript with getRunningScript

* Bunch of smaller fixes (#904)

Fix #884
Fix #879
Fix #878
Fix #876
Fix #874
Fix #873
Fix #887
Fix #891
Fix #895

* rework the early servers to be more noob friendly (#903)

* v0.51.6

Co-authored-by: Andreas Eriksson <2691182+AndreasTPC@users.noreply.github.com>
Co-authored-by: Jack <jackdewinter1@gmail.com>
Co-authored-by: Teun Pronk <5228255+Crownie88@users.noreply.github.com>
Co-authored-by: Pimvgd <Pimvgd@gmail.com>
Co-authored-by: Daniel Xie <daniel.xie@flockfreight.com>
Co-authored-by: Simon <33069673+sschmidTU@users.noreply.github.com>
Co-authored-by: sschmidTU <s.schmid@phonicscore.com>
2021-04-28 20:07:26 -04:00
hydroflame
80b703639e
Small hotfix (#840)
* yesno box now correctly clean up before new content is loaded in.

* formatHp doesnt display decimal, duh

* character overview uses numeralWrapper formatHp

* minor formatting stuff

* Class spending is tracked indepedently of work money

* Made an augmentation named after myself.

* hotfix a bunch of small stuff
2021-04-12 20:03:32 -04:00
hydroflame
925e96345d
v0.51.2 (#838)
* infiltration use buttons instead of a links

* minor accessibility patch

* Hospitalization will not cost more than 10% of the players money.

* Adde hospitalization netscript function

* Removed the suggestion that the combat path will lead to Daedalus, it still will. But new players should not be told that this is a viable path to completing a BitNode.

* getMemberInformation now returns everything about the member.

* New netscript function to get the players hacknet server hash capacity

* yesno dialog box will not keep older messages anymore

* v0.51.1

* Casino part 1

* Discord link in options, documentation for getMemberInformation updated, dev menu has more money options, tech vendors now handle max cores or max ram better

* Removed text under Factiosn referencing rejected factions.

* Removed html element forgotten in plain text

* Casino implementation

* v0.51.2
2021-04-09 18:12:31 -04:00
hydroflame
db2bf79e3b
v0.51.1 (#835)
* infiltration use buttons instead of a links

* minor accessibility patch

* Hospitalization will not cost more than 10% of the players money.

* Adde hospitalization netscript function

* Removed the suggestion that the combat path will lead to Daedalus, it still will. But new players should not be told that this is a viable path to completing a BitNode.

* getMemberInformation now returns everything about the member.

* New netscript function to get the players hacknet server hash capacity

* yesno dialog box will not keep older messages anymore

* v0.51.1
2021-04-06 03:50:09 -04:00
hydroflame
6f330efc44
Added Disable ASCII art to options (#832)
* hotfix getPlayer missing factions

* Added ability to disable ascii art in options. ASCII art is impossible to deal with for screenreaders.
2021-04-02 20:14:35 -04:00
hydroflame
e572c6dad8
v0.51.0 (#826)
* Hash upgrades and Bladeburner skills can now be clicked to copy to clipboard

* Aug purchase confirmation popup displays money in 0.000a format

* Character now displays hacknet server info properly

* Character,Info now displays hacknet server info correctly.

* Formulas (#825)

Formulas API v0.1

* Make all money the same color, same for reputation, format all numbers consistently.

* rename a lot of the formulas function to no longer contain calculate

* added hacking related formulas

* removed unused variable

* v0.51.0
2021-03-31 00:45:21 -04:00
Olivier Gagnon
29abffd464 Added the "Unclickable" Exploit. 2021-03-22 14:48:48 -04:00
Olivier Gagnon
04bc2bebdd Factions Augmentation page now lists purchased augmentation separatly. 2021-03-21 18:03:16 -04:00
Olivier Gagnon
2507899762 Mission format rep earned with 0.000a 2021-03-20 03:54:52 -04:00
Olivier Gagnon
26149d5a01 fix numeralWrapper should not return NaN anymore as it'll default to 1e+X. 2021-03-19 23:08:41 -04:00
Olivier Gagnon
c9fe8d9b65 Sleeve UI improvements. 2021-03-16 05:42:12 -04:00
Olivier Gagnon
4ce7981cc0 fix issue under Character, Stats where the wrong effective stats was being calculated 2021-03-13 15:15:36 -05:00
Olivier Gagnon
af584e8c87 Removed CharacterInfo maximum hacknet, styling in the options, comments in exploits 2021-03-09 23:22:05 -05:00
Olivier Gagnon
1d2136da4b Minor space formatting in Hacking,Active Scripts 2021-03-07 21:40:30 -05:00
Olivier Gagnon
700583a739 fix broken color from character overview 2021-03-07 16:33:46 -05:00
Olivier Gagnon
58e38faad6 Character percentages are aligned, server and hacknet limit are displayed, if the player has SF5 the reduces stats are shown. 2021-03-07 15:58:52 -05:00
Olivier Gagnon
c72519e3ea Formatting and typo 2021-03-07 13:25:09 -05:00
Olivier Gagnon
c8377c0bb3 Fix SF3 listed with a limit level of infinity 2021-03-07 04:43:31 -05:00
danielyxie
4cabd2e4ed Implement GH Issue #620: Add tail() Netscript function 2019-07-15 21:40:43 -07:00
danielyxie
8ddf7dfbd4 Fix GH Issue #616: Stock Market UI throws error for certain locales because the price format length is too high 2019-07-15 21:40:43 -07:00
danielyxie
571ddb109a Fix GH Issue #632: 'Create Program' link visibility should now be properly dynamically evaluated 2019-07-15 21:40:43 -07:00
danielyxie
4cc6437408 Updated WorkerScript-related code for the workerScripts array->map change 2019-06-24 22:48:54 -07:00
danielyxie
287a97aea6 Fixed merge conflcits with dev 2019-05-17 13:50:27 -07:00
danielyxie
2597b33f81 Finished refactoring augmentations page UI to use react 2019-05-17 13:47:35 -07:00
danielyxie
9442b348e6 Refactored SourceFile-related code to TypeScript 2019-05-17 13:47:35 -07:00
danielyxie
3b7f9c9fb0 Fixed issues with Active Scripts UI. Implemented event emitter for Active Scripts UI 2019-05-17 13:41:16 -07:00
danielyxie
94175877d7 Changed stock market price movements so that upward and downward movements use different trackers. Forecast can no longer be inverted due to price movements. Updated stock market unit tests 2019-05-16 23:55:21 -07:00
danielyxie
c1ec3c5eba Finished refactoring Active Scripts UI into React/TypeScript. Currently untested 2019-05-16 23:44:59 -07:00
danielyxie
42804b0cd3 Refactored 'workerScripts' array and killWorkerScript() fn to be their own modules in TypeScript 2019-05-15 23:05:36 -07:00
danielyxie
b744997c72 Finished refactoring augmentations page UI to use react 2019-05-15 00:15:07 -07:00
danielyxie
2d37409392 Refactored SourceFile-related code to TypeScript 2019-05-14 20:56:59 -07:00
danielyxie
585e1ac7aa Stock transactions can now influence forecast in addition to price. Several more minor bug/UI fixes 2019-05-01 15:20:14 -07:00
danielyxie
580a7fac24 Bug fixes for v0.47.0. Fixed the BUY MAX feature for new stock market. Added collapse/expand tickers buttons for new stock market UI 2019-04-29 20:54:20 -07:00
danielyxie
67632ced09 Fixed Stock Market UI issues. Added warnings for price movements 2019-04-28 23:21:32 -07:00
danielyxie
4809a21e38 Finished React components for new Stock Market UI 2019-04-28 23:21:32 -07:00
danielyxie
d044739f1c v0.46.2 2019-04-14 02:07:29 -07:00
danielyxie
fb857642e8
Merge pull request #591 from danielyxie/location-code-refactor
Location code refactor
2019-04-03 20:38:02 -07:00
Olivier Gagnon
cc0e6548ff folders 2019-04-03 20:37:38 -07:00
danielyxie
bf9b837e31 Fixed bugs with Location code refactor 2019-04-03 17:08:11 -07:00
danielyxie
4b95ba9ed1 Finished location code refactor. Has not yet been tested 2019-04-01 02:23:25 -07:00
danielyxie
3f8b9e4a32 Fixed merge conflicts. Rebalanced new Hacknet Node mechanics. Adjusted Hacknet API so that it'll work with hacknet Servers. Fixed Corporation bug with Issuing new Shares 2019-03-29 16:13:58 -07:00
danielyxie
c4cb7daac5 Initial v0.46.0 changes - Fixed BN9 bugs. Rebalanced BN11 and Corporations. Added memory to Dup sleeves. Various bug fixes 2019-03-27 01:36:14 -07:00
danielyxie
3cf18f100a Added several resuable React components for commonly-used elements 2019-03-25 21:43:18 -07:00
danielyxie
34d749809a BitNode-9 initial implementation 2019-03-24 20:17:47 -07:00
danielyxie
c973663dc2 Fixed empty td Element issue with new React Character overview. Updated changelog 2019-03-17 18:20:31 -07:00
Olivier Gagnon
b4057fcb26 Character overview is now through react 2019-03-15 02:35:50 -07:00
danielyxie
8eecb1539c Fix bug with recent Corporation UI rewrite. Improve some styling with Corporation UI and the status text messages 2019-03-13 20:10:28 -07:00
danielyxie
1d07ca4ffb Fixed a few minor bugs with submitting solutions for Coding Contracts. Started on Getting STarted Guide for wiki 2019-02-26 18:26:29 -08:00
danielyxie
b7157b63e0 Implemented a money tracker that keeps record where all of the player's money comes from. Players can see a breakdown in the 'Stats' page 2019-02-22 13:22:39 -08:00
danielyxie
107977e6f4 Various bugfixes 2019-02-20 00:42:27 -08:00
danielyxie
5ac10f17f8 Improved terminal parsing to account for quotation marks 2019-02-05 16:46:00 -08:00
danielyxie
a09ea46a38 Added BitNode multipliers for purchased servers. Fixed bugs in new Script Editor implementation. Added documentation for script editors 2019-01-29 22:02:27 -08:00
danielyxie
8d2c007bcb Implemented new Editor Option: CodeMirror. (Vim mode not 100% done yet) 2019-01-27 14:08:45 -08:00
danielyxie
5573e778bb Fixed bugs with Sleeve mechanics. Updated documentation to use RTD theme 2019-01-20 14:57:38 -08:00
danielyxie
7db169f828 Refactored Main Menu UI implementation. Fixed several bugs related to recent JS -> TypeScript refactors 2019-01-18 09:57:21 -08:00
danielyxie
10231b6c66 Finished ResleeveUI implementation (untested) 2019-01-17 07:40:43 -08:00
danielyxie
bcb231a966 Implemented Sleeve UI. Compiled but untested 2019-01-14 19:34:04 -08:00
danielyxie
d9b865ef17 Began implementing Sleeve UI page 2019-01-10 00:20:04 -08:00
danielyxie
9db7aee34e Updated Stock market UI for new stock Max Shares restriction. Added Netscript function for getting a stock's max shares 2019-01-09 02:06:49 -08:00
danielyxie
78f72b8542 Added 'Issue New Shares' feature for Corporations. Added cooldowns for issuing new shares and selling shares. Selling shares now dynamically updated stock price 2019-01-08 16:41:42 -08:00
danielyxie
6973dd8fca Began refactoring Corporation implementation into separate modules (and converted to TypeScript). Rebalanced material starting prices and market properties (demand, competition, market price) 2018-12-09 05:36:18 -08:00
danielyxie
6f26408de7 Fixed bug with numeraljs displaying NaN for very small numbers. Cleaned up stock market argument validation code 2018-11-20 21:43:15 -08:00
Steven Evans
b66c3c6fc4 [chore] Fixing import casing to actually match file casing 2018-10-01 19:51:32 -05:00
danielyxie
6cb7704eed Move all Theme color settings to FconfSettings rather than Settings. Add setting for default/classic main menu style 2018-10-01 19:51:32 -05:00
danielyxie
a18a2e8e70 Fixed linting errors 2018-09-12 11:29:02 -05:00
danielyxie
d50c5abb66 Refactored all code that uses the numeral library to use a wrapper class. Implemented configurable locale setting through this wrapper class 2018-09-12 11:29:02 -05:00
danielyxie
5635b51659 Locale setting implemented. Has numeral error when switching locales 2018-09-12 11:29:02 -05:00
Steven Evans
9a4867785e [style] Fixing TSLint violations 2018-09-10 11:24:23 -04:00
danielyxie
58d48f19ef Added .fconf setting for enabline line wrap in terminal input. Began implementing wget 2018-08-28 22:24:38 -05:00
Daniel Xie
bb4094f879 Added option to disable hospitalization popup message 2018-08-12 00:39:37 -05:00
Steven Evans
974bc3c002 [refactor] Moved Settings to TypeScript
Moved the UI binding to a separate file as there is still a circular
dependency with 'engine'. But every other file that depends on Settings
is no longer part of a larger dependency cycle.
2018-08-02 14:33:08 -04:00
Steven Evans
26b0840f26 [refactor] Breaking out page tracking from 'engine' 2018-08-02 14:33:07 -04:00
Steven Evans
56da0f9214 [refactor] Pulling out createStatusText from Engine 2018-08-02 14:33:06 -04:00
Steven Evans
7313d551f1 [refactor] Pulling out post to terminal to its own file. 2018-08-02 14:26:24 -04:00