Commit Graph

1429 Commits

Author SHA1 Message Date
danielyxie
6effda29a9 Implemented second-order forecasts for stocks 2019-05-22 17:23:30 -07:00
danielyxie
7035154454 Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2019-05-20 14:45:30 -07:00
danielyxie
d7f3ab9177 Tempered the affect that stock market txs have on stock forecasts 2019-05-20 14:44:51 -07:00
danielyxie
3660dde75f Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2019-05-19 14:07:16 -07:00
danielyxie
99688b78c7 Temporary rebalancing for v0.47.0 2019-05-19 14:06:53 -07:00
danielyxie
6841f24932 Optimized Largest Prime factor coding contract solver. 2019-05-19 13:56:49 -07:00
Sotisi
9f94d0838a removed faulty else, was left prior by accident. 2019-05-17 15:54:36 -07:00
Sotisi
086fc67ecc Fixed O(n) runtime of "Find Largest Prime Factor" for high primes to 0(sqrt(n)). 2019-05-17 15:54:36 -07:00
danielyxie
a2551f98c2 Fixed documentation typos in v0.47.0 2019-05-17 15:51:28 -07:00
danielyxie
287a97aea6 Fixed merge conflcits with dev 2019-05-17 13:50:27 -07:00
danielyxie
664267bff0 Removed unused imports in engine 2019-05-17 13:47:35 -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
15a324a946 v0.47.0 release 2019-05-17 13:07:11 -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
b1248521f3 Removed unused imports in engine 2019-05-15 00:37:11 -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
bd02e724e5 Fixed several more bugs. Rebalanced stock market changes to make the effects a bit less potent for now 2019-05-14 04:23:55 -07:00
danielyxie
fef7aaba8f Adding more directory-related unit tests. Several more bug fixes and QoL improvements 2019-05-14 01:35:37 -07:00
danielyxie
1775ea86ff Fixed corporation bug 2019-05-11 20:03:36 -07:00
danielyxie
b0918d7bd3 Fixed numerous reported bugs. Refactored some of the directory-related code. Added documentation for MasonDs changes to hack/grow/weaken 2019-05-11 19:20:20 -07:00
danielyxie
29e0ce5f96 Fixed merge conflicts 2019-05-11 02:20:09 -07:00
Mason Dechaineux
44c26165f4 (feat) optional threads argument to netscript functions hack, weaken, grow 2019-05-11 02:05:40 -07:00
danielyxie
9dd68947f1 Added Dynamic RAM calculation unit tests 2019-05-10 02:24:50 -07:00
danielyxie
74e72854d8 Configured unit test webpack build to work 2019-05-09 19:36:04 -07:00
danielyxie
ece246b391 Converted mocha unit tests to run using mocha-webpack (mochapack) package 2019-05-09 19:03:13 -07:00
danielyxie
cdb5dfec62 Resolved more circular dependencies. Installed acorn-walk and imported it in RamCalculations using ES6 modules. Fixed bugs in stock market rework 2019-05-06 18:01:06 -07:00
danielyxie
8a5b6f6cbc Refactored stock buying/selling code into its own file. Refactored WorkerScript & NetscriptEnvironment into their own Typescript classes. Refactored a ton of code to remove circular dependencies 2019-05-04 21:03:40 -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
8726946d4a Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-04-30 02:27:58 -07:00
danielyxie
064008d200 Removed 'age' stat from Corporation employees 2019-04-30 02:27:48 -07:00
danielyxie
d955280f90 Re-sleeves can no longer have the Neuroflux Governor aug. This is to prevent bugs 2019-04-30 02:27:13 -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
Mason Dechaineux
8fa7b112e1 Correctly throw error when ns.run() is called with 0 threads 2019-04-28 23:21:55 -07:00
danielyxie
dd9df0a18c Fixed Stock Market UI. Added documentation for stock market changes 2019-04-28 23:21:32 -07:00
danielyxie
3a601a015d Added unit tests for Stock Market. Removed dependencies from package.json, since they're sourced directly in tests/index.html 2019-04-28 23:21:32 -07:00
danielyxie
87b4698d5b Fixed issues relating to stock price movements 2019-04-28 23:21:32 -07:00
danielyxie
67632ced09 Fixed Stock Market UI issues. Added warnings for price movements 2019-04-28 23:21:32 -07:00
danielyxie
d7fb335815 Fixed Stock market UI compilation errors and removed refactored code 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
6b3646e981 Added spread and price movement properties to stocks. Refactored Stock Market implementation code 2019-04-28 23:21:32 -07:00
danielyxie
bcb198220d v0.46.3 2019-04-19 22:27:33 -07:00
danielyxie
7514f63dcd Fixed issue with faction reputation donation bug calculating invalid rep gain 2019-04-16 01:19:29 -07:00
danielyxie
b6ff73391d Fixed several typos. TechVendor location UI will now properly update when you purchase TOR router. 'Manage Gang' faction option should show up properly 2019-04-15 02:49:49 -07:00
danielyxie
8f70817c10 Adding tooltips to new purchase augmentation ui 2019-04-14 02:21:43 -07:00
danielyxie
7417fb6ef8 v0.46.2 2019-04-14 02:08:10 -07:00
danielyxie
98a04e4932 Fix Terminal wget bug. Issue #593 2019-04-13 00:33:30 -07:00
danielyxie
8d33c5b571 Gang bug fixes. Issues #574 and #575 2019-04-13 00:26:49 -07:00
danielyxie
221b81d802 Fixed comment styling for all top-level src files 2019-04-12 20:47:17 -07:00
danielyxie
df89cc5002 Improved module import styling for all top-level src files 2019-04-12 20:47:17 -07:00
danielyxie
2e9b028174 v0.46.1 build 2019-04-12 16:52:59 -07:00
danielyxie
c56645c794 Updated doc for new Terminal filesystem. Fixed some minor issues with new Location UI 2019-04-09 23:34:23 -07:00
danielyxie
3ce2e83dd8 Finished rudimentary filesystem implementation for Terminal 2019-04-09 23:07:12 -07:00
danielyxie
3241945452 Added hacknet node api functions for spending hashes. Fixed several bugs with v0.46.0. Rebalanced hash upgrades. continued working on terminal directory implementation 2019-04-05 02:08:41 -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
b5ebbba43d Fixed merge conflicts with dev 2019-04-03 17:12:11 -07:00
danielyxie
bf9b837e31 Fixed bugs with Location code refactor 2019-04-03 17:08:11 -07:00
danielyxie
36499ae9f2 Fixed bug where sleeves's exp didnt properly reset on prestige. Updated versions to v0.46.0. Added production build 2019-04-03 16:58:15 -07:00
danielyxie
4b95ba9ed1 Finished location code refactor. Has not yet been tested 2019-04-01 02:23:25 -07:00
danielyxie
804e4c23e3 Updated Hacknet Node API documentation for the BN-9 changes. netscript functions now properly fail for Hacknet Servers 2019-03-30 19:53:57 -07:00
danielyxie
b6b6d8e9fa Fixed bug with purchasing Hacknet Servers not updating hash capacity when done through Netscript 2019-03-30 17:39:37 -07:00
danielyxie
51d9274626 Added effects for Source-File 9 2019-03-29 20:01:34 -07:00
danielyxie
c8b478c208 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-29 16:14:40 -07:00
danielyxie
18a3f061b4 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:14:32 -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
Olivier Gagnon
e63ad76701 typo 2019-03-29 16:11:43 -07:00
Olivier Gagnon
cb66ad9628 fli1ght now displays the correct number of augs 2019-03-29 16:11:43 -07:00
danielyxie
971bfbada4
Merge pull request #587 from hydroflame/align-free
Align free
2019-03-29 16:11:25 -07:00
Olivier Gagnon
b646c15521 It is now possible to join bladeburners in BN7 without having SF6-1 2019-03-29 16:11:16 -07:00
Olivier Gagnon
92f7d12c0e free output is now aligned and shows percent used 2019-03-29 12:26:25 -04:00
danielyxie
7172f4e527 Began creating 'parent' components for the City and Location-specific parts of the UI 2019-03-29 00:12:41 -07:00
danielyxie
5592a8bc96 Updated several packages 2019-03-27 01:53:30 -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
75bc34208c Initial commit for Location Code refactor 2019-03-27 01:31:47 -07:00
danielyxie
83fc4d81b2 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-25 21:48:18 -07:00
danielyxie
3cf18f100a Added several resuable React components for commonly-used elements 2019-03-25 21:43:18 -07:00
danielyxie
8fbb072596 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-24 23:08:32 -07:00
Olivier Gagnon
0f8f572519
Merge branch 'dev' into sleeve-buy-aug-api 2019-03-25 02:01:45 -04:00
danielyxie
52b6defebd Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-24 20:18:44 -07:00
danielyxie
34d749809a BitNode-9 initial implementation 2019-03-24 20:17:47 -07:00
Olivier Gagnon
2ce4af2498 infiltration now scale exp gained by some factor to prevent some abuse 2019-03-24 20:09:39 -07:00
koriar
227bcf146e Fixing Corp Happiness typo 2019-03-24 20:03:22 -07:00
danielyxie
139a5add20 Cleaned up whitespace from a PR 2019-03-24 19:56:47 -07:00
danielyxie
49dc9b7cb0 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-23 19:40:40 -07:00
danielyxie
856d02a129 v0.45.1 2019-03-23 19:40:35 -07:00
danielyxie
9542879f86
Merge pull request #570 from koriar/kUpdate1
Added dropdown class to select tags
2019-03-23 19:39:20 -07:00
danielyxie
1034f7cac5 Removed debugging statements. Updated jshint package 2019-03-23 01:34:21 -07:00
koriar
9a7061503a
Merge branch 'dev' into kUpdate1 2019-03-23 02:33:01 -04:00
koriar
449605d330
Delete DevMenu.js 2019-03-23 02:25:36 -04:00
Olivier Gagnon
4858dabe99 align stock market info 2019-03-22 23:19:18 -07:00
Olivier Gagnon
d54439be8b remove comment 2019-03-22 23:07:02 -07:00
Olivier Gagnon
31e703d126 consistent style for checkboxes 2019-03-22 23:07:02 -07:00
Olivier Gagnon
2754a644ae added legend 2019-03-22 22:56:19 -07:00
Olivier Gagnon
b7170e4ded forgot to remove quote 2019-03-22 22:56:19 -07:00
Olivier Gagnon
4df6638444 forgot to remove quote 2019-03-22 22:56:19 -07:00
Olivier Gagnon
d4c72474cb added icons to bladeburner estimated chances that indicate if they're retirement and or stealth actions 2019-03-22 22:56:19 -07:00
Olivier Gagnon
1c0201534b reverse presentation order for BlackOps 2019-03-22 22:55:50 -07:00
Olivier Gagnon
fa14bb5362 reverse black op order 2019-03-22 22:55:50 -07:00
Olivier Gagnon
f88c585714 dropdown styling in sleeve UI 2019-03-22 22:53:37 -07:00
Olivier Gagnon
8514104560 styling text inputs 2019-03-22 22:52:31 -07:00
Olivier Gagnon
5b7743967e incorporated feedback from Mei 2019-03-22 22:51:55 -07:00
Olivier Gagnon
2e9fe02023 remove some unused stuff in dev menu 2019-03-22 22:51:55 -07:00
Olivier Gagnon
b8bdf0da82 dev meny revamp 2019-03-22 22:51:55 -07:00
Olivier Gagnon
1f639c6a3a Donation text input style 2019-03-22 22:20:16 -07:00
danielyxie
2ba7ac82eb Updated to v0.45.0 production build 2019-03-22 22:11:09 -07:00
Olivier Gagnon
96db360a36 added sleeve aug api 2019-03-23 00:22:40 -04:00
koriar
77571543f2
Updated spacing
Updating spacing from a tab character to spaces
2019-03-22 23:02:28 -04:00
koriar
3f312d0ce6 Added dropdown class to select tags 2019-03-22 21:20:56 -04:00
danielyxie
4bdb34bc7b numCycleForGrowth() function now accoutns for BitNode growth multiplier. Cleaned up docuemntation 2019-03-19 17:53:46 -07:00
danielyxie
f7fd3c859f Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-19 16:38:54 -07:00
danielyxie
dfd7aa2d2e Minor fixes to new Sleeve API 2019-03-19 16:38:49 -07:00
Olivier Gagnon
0df437ef35 Update AugmentationHelpers.js 2019-03-19 16:33:30 -07:00
Olivier Gagnon
bedd615c0e Making the QLink almost worth getting. 2019-03-19 16:33:30 -07:00
danielyxie
d75ff5d95b Fixed bug with Corporation bribing. Hoisted isRelevantMaterial() function in IndustryWarehouse up to a class method 2019-03-18 01:15:44 -07:00
danielyxie
c3bc6a0c28 Changed Sleeve API functions to prevent conflicts with identically-named functions 2019-03-17 22:04:12 -07:00
danielyxie
066ccf343a Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-17 18:20:35 -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
08136524be use SourceFileFlags instead of hasSleeveSF 2019-03-17 18:15:10 -07:00
Olivier Gagnon
b132efbded doc for sleeve api 2019-03-17 18:15:10 -07:00
Olivier Gagnon
f8f4299ed5 getInfo and getTask sleeve api 2019-03-17 18:15:10 -07:00
Olivier Gagnon
9f715020df syntax highlight some sleeve api 2019-03-17 18:15:10 -07:00
Olivier Gagnon
060e0f7bfc get sync/shock 2019-03-17 18:15:10 -07:00
Olivier Gagnon
8df7f8de4b basic sleeve api 2019-03-17 18:15:10 -07:00
danielyxie
e6c5ff7ab7 Fixed more bugs with new Corporation UI. Minor rebalancing on Corp UI. Changed the Market TA researches to allow you to automatically set price 2019-03-17 17:58:06 -07:00
danielyxie
a28fe7ab9f Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-15 02:37:10 -07:00
danielyxie
c3ecc189fd Fixed numerous bugs with the recent Corporation UI rewrite. Rebalanced Corporation mechanic to give employees better and more interesting effects 2019-03-15 02:37:06 -07:00
Olivier Gagnon
b4057fcb26 Character overview is now through react 2019-03-15 02:35:50 -07:00
danielyxie
8470f307ac Fix description for Hyperbolic Regeneration Chamber action 2019-03-13 20:11:48 -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
5230837dad Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-13 15:22:14 -07:00
Olivier Gagnon
da97c1b4b9 added getBlackOpRank 2019-03-13 15:21:31 -07:00
danielyxie
963cb0039d Fixed merge conflicts with hydroflame's PRs 2019-03-13 15:19:29 -07:00
danielyxie
3e10f5de6d Migrated Corporation UI implementation to use React 2019-03-13 15:17:30 -07:00
Olivier Gagnon
2198bfd962 Update Bladeburner.js 2019-03-13 15:07:58 -07:00
Olivier Gagnon
d4d5202cbd Display integer time required in bladeburner
contracts already display integer only, now ops and blackops do too.
2019-03-13 15:07:58 -07:00
Olivier Gagnon
59018d9902 Update AceNetscriptMode.js
bladeburner getCurrentAction should be highlighted in text editor.
2019-03-13 15:06:03 -07:00
Olivier Gagnon
c378400a10 fix initForeignServers import in Prestige.js 2019-03-13 15:04:16 -07:00
Olivier Gagnon
58062bf421 fix wrong location for function 2019-03-13 15:04:16 -07:00
danielyxie
d9ee715bc7 Fixed some more incorrect imports 2019-03-05 00:01:34 -08:00
danielyxie
bd13234f06 Corrected some incorrect imports 2019-03-04 23:55:54 -08:00
danielyxie
fa4e98d06c Merge branch 'master' of https://github.com/danielyxie/bitburner into server-code-refactor 2019-03-04 23:29:01 -08:00
danielyxie
a22bfb5015 Updating version to v0.44.1 and Updating docuemtnation changelog 2019-03-04 22:41:31 -08:00
danielyxie
18d8b2ecd4 v0.44.1 Minor Update - Added Augs to Duplicate Sleeves and updated documentation 2019-03-04 22:41:31 -08:00
danielyxie
9879d07d7c Fixed a few minor bugs with submitting solutions for Coding Contracts. Started on Getting STarted Guide for wiki 2019-03-04 22:41:31 -08:00
danielyxie
d54e39c9c6 v0.44.1 Duplicate Sleeve updates 2019-03-04 22:41:31 -08:00