Commit Graph

1574 Commits

Author SHA1 Message Date
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
Mason Dechaineux
67d083772a Fixed bug with rm terminal and ns commands that made non-exe files with .exe in their name undeletable. 2019-03-04 22:41:31 -08:00
danielyxie
473f0f1447 Refactored Server/Script/Files code to TypeScript 2019-03-04 17:40:28 -08:00
danielyxie
e1b8a23f1e Started server code refactor 2019-03-02 19:15:10 -08:00
danielyxie
af3323a111 Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2019-02-27 10:38:16 -08:00
danielyxie
ddfae56e34 Fixed bug with Hacknet Nodes production not updating initially. FIxed bug with 'purchase augmentations' btn being displayed for Gang BitNode 2019-02-26 16:01:37 -08:00
danielyxie
a277810095 v0.44.1 Duplicate Sleeve updates 2019-02-26 00:55:22 -08:00
Mason Dechaineux
b26568bf7d Fixed bug with rm terminal and ns commands that made non-exe files with .exe in their name undeletable. 2019-02-26 00:47:29 -08:00
danielyxie
f1e43a86db Final minor changes for v0.44.0 2019-02-26 00:29:53 -08:00
danielyxie
d2762a99b1 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-02-23 20:27:09 -08:00
danielyxie
2045e77e7a Bladeburner contracts give more money. Fixed a bug with recording player money 2019-02-23 20:27:06 -08:00
danielyxie
d043ea67cc Fixed an issue with people getting invited to Megacorporation factions even if they didnt meet the rep requirements 2019-02-23 19:05:34 -08:00
danielyxie
8798be7af2 Updated changelog 2019-02-22 13:36:11 -08:00
danielyxie
d9466d8c82 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-02-22 13:35:07 -08:00
danielyxie
880167d76d Prevent faction invitations from being accepted programmatically 2019-02-22 13:35:05 -08:00
danielyxie
184a2a22ff Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-02-22 13:26:35 -08:00
danielyxie
8458d062e8 More Bladeburner rebalancing. Sleeves commiting crimes now reduces player kamra 2019-02-22 13:26:30 -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
6d81c00f37 Initial Bladeburner rebalancing for v0.44.0 2019-02-14 02:02:25 -08:00
danielyxie
c6a9675232 New BitNode multipliers, new Covenant Sleeve Purchasing feature. untested 2019-02-13 18:08:18 -08:00
danielyxie
60960559e1 Removed logging statements used for debugging 2019-02-12 01:18:26 -08:00
danielyxie
8266492001 Fixed bug and added compatibility for converting RunningScript offline dataMap to version v0.43.1 2019-02-12 01:14:38 -08:00
danielyxie
9137c24274 v0.43.1 2019-02-11 16:23:46 -08:00
danielyxie
00e8655ef9 Fixed bug with new Bladeburner skills. Added faction reputation increaser in Dev Menu 2019-02-11 00:21:14 -08:00
danielyxie
0d43ed9c61 Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2019-02-09 23:25:51 -08:00
danielyxie
920d3d3f36 Fixed bugs with job requirement tooltips not appearing 2019-02-09 23:25:34 -08:00
danielyxie
840df3087f Various QOL improvements and bug fixes 2019-02-08 18:46:30 -08:00
danielyxie
df8468228f Fixed getCrimeChance() bug 2019-02-08 18:02:46 -08:00
danielyxie
8c8e3f2476 Implemented several optimizations - running scripts dont keep track of script refs or a map of ALL servers. Not completely tested yet 2019-02-05 23:06:48 -08:00
danielyxie
dc63b14476 Fixed bug with Terminal parsing changes. Stock's otlkMag is now capped at 50 to prevent forecast from going above 100% or below 0% 2019-02-05 18:32:15 -08:00
danielyxie
5ac10f17f8 Improved terminal parsing to account for quotation marks 2019-02-05 16:46:00 -08:00
danielyxie
0e8872fad1 Added 6 new Coding Contracts. Added Coding Contract information to documentation. 2019-02-05 16:45:12 -08:00
danielyxie
2968445244 Added two new Bladeburner skills. Minor rebalancing to Corporation 2019-02-05 16:18:26 -08:00
danielyxie
cfa13dd5c9 Forgot to actually update version to v0.43.0 2019-02-04 21:48:59 -08:00
danielyxie
b8ab0dfa7d Forgot to actually update version to v0.43.0 2019-02-04 21:48:37 -08:00
danielyxie
e730383420 v0.43.0 2019-02-04 21:42:11 -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
d54f0906f0 Re-adjusted some stock market parameters. Improved Resleeving UI by allowing sort. Rebalanced Resleeve price. 0 is now a valid argument for number of threads when running scripts 2019-01-28 16:17:04 -08:00
danielyxie
8d2c007bcb Implemented new Editor Option: CodeMirror. (Vim mode not 100% done yet) 2019-01-27 14:08:45 -08:00
danielyxie
a2237d4319 More bug fixes for Sleeve/Resleeve features. Rebalancing for Sleeve/Resleeve and stock market. Added an option to remove source files in the dev menu 2019-01-21 20:39:52 -08:00
danielyxie
5573e778bb Fixed bugs with Sleeve mechanics. Updated documentation to use RTD theme 2019-01-20 14:57:38 -08:00
danielyxie
17bfbfeb80 Fixed merge conflicts. Fixed bug with Crimes 2019-01-18 10:04:04 -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
aac262b736 Set BitNode-10 description and BitNode multipliers 2019-01-17 11:10:35 -08:00
danielyxie
10231b6c66 Finished ResleeveUI implementation (untested) 2019-01-17 07:40:43 -08:00
danielyxie
435d183645 Fixed bug with creating program through Singularity function 2019-01-16 21:28:36 -08:00
danielyxie
19f65de555 Started implementing Resleeving UI 2019-01-16 21:15:00 -08:00
danielyxie
6d8d25e0bb Refactored Augmentation implementation to Typescript, and to have the multiplier information in the actrual Augmentation object 2019-01-15 05:11:14 -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
ad1df00889 Home Computer now has max RAM 2019-01-09 02:43:59 -08:00
danielyxie
86d6640c81 Fixed merge conflicts with dev 2019-01-09 02:30:47 -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
722bda0b75 Updated version 2019-01-08 21:09:03 -08:00
danielyxie
86275a7a4d Updated documentation changelog. Fixed issue with Corporation dividends tax rate 2019-01-08 19:42:07 -08:00
danielyxie
0effdac6d1 Fixed merge conflicts with dev 2019-01-08 16:44:31 -08:00
danielyxie
a10833837f Added maximum number of shares per stock 2019-01-08 16:42:39 -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
ca002e6e53 Fixed bug where Industry Research Tree is not properly reset during prestige 2019-01-04 17:11:52 -08:00
danielyxie
f4e0eaeffb Changed the way Corporation valuation is calculated (now based on outstanding shares). Updated gameplay documentation for RTD 2019-01-04 16:50:27 -08:00
danielyxie
3a439d8208 Fixed sourcing of ThirdParty Libraries (raphael and Treant) by using relative instead of absolute path 2019-01-03 01:05:49 -08:00
danielyxie
23eb6908e0 Added hackAnalyze() functions. Fixed bug with gymWorkout() and Millenium Fitness Gym. Updated documentation for new functions 2019-01-03 00:39:32 -08:00
danielyxie
6bbfae976e Fixed havocmayhem getAugmentationPrereq() conflicts 2018-12-30 16:36:44 -08:00
danielyxie
669477626b Merge branch 'master' of https://github.com/havocmayhem/bitburner-1 into havocmayhem-master 2018-12-30 16:31:28 -08:00
danielyxie
2e089b37e6 Updated Changelog 2018-12-30 16:30:50 -08:00
danielyxie
5091b56ff2 Added copy save to clipbaord option. Added getOrders netscript function. Fixed Corporation Bugs 2018-12-30 16:11:48 -08:00
havocmayhem
984a2aa5d4
Update NetscriptFunctions.js 2018-12-30 21:07:24 +05:30
havocmayhem
7dd44446df
Update NetscriptFunctions.js 2018-12-30 20:58:42 +05:30
danielyxie
fb9676e04e Corporation Research Trees are now properly saved 2018-12-26 18:38:07 -08:00
danielyxie
376e520a60 ServerProfiler.exe can now b purchased from the DarkWeb 2018-12-25 02:16:34 -08:00
danielyxie
928faa5b4c Converted Programs and DarkWeb implementations to Typescript 2018-12-25 02:14:18 -08:00
danielyxie
4383d1393d Fixed re-balanced Corporation issues. Converted several popups in the Corporation mechanic to support Enter/Esc hotkeys 2018-12-24 23:55:54 -08:00
danielyxie
eadcdba09a Re-wrote YesNoBox util to be Typescript 2018-12-24 05:02:10 -08:00
danielyxie
cc8f3bd4a9 Implemented Corporation Market-TA Research (untested). Implemented Corporation dividends. Fixed new Corp mechanic bugs. 2018-12-22 02:27:04 -08:00
danielyxie
d38c452c42 Implemented All Corporation Research, except the Market-TA ones 2018-12-15 19:47:15 -08:00
danielyxie
1095438075 Implemented Corporation Research Tree UI using Treant library 2018-12-15 15:31:21 -08:00
danielyxie
db252bf25b Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-12-13 19:26:29 -08:00
Phoenix G
c1e8fe14b7 Corrected percentages in BN2
Percentages for BN2 source file text description no longer matched the actual numbers in SourceFile.js
2018-12-13 19:26:02 -08:00
danielyxie
70b87b3ffb Implmented initial version of Corporation Research & ResearchTree classes 2018-12-13 19:24:08 -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
5c8512c4b6 Convert Locations and Faction implementations to TypeScript. Also restructed directory. Implemented Sleeve, but untested 2018-12-07 02:54:26 -08:00
danielyxie
34af01efdc Improved error handling for Faction Banning mechanism 2018-11-30 04:22:16 -08:00
danielyxie
bfed8c91e2 Improved error handling for Faction Banning mechanism 2018-11-30 04:19:51 -08:00
danielyxie
4db697fd8e Fixed Corporation bugs with Product Sell Amt being negative and NSA Bladeburner button bug 2018-11-29 01:17:09 -08:00
danielyxie
2f716b5b23 Fixed Corporation bugs with Product Sell Amt being negative and NSA Bladeburner button bug 2018-11-29 01:16:19 -08:00
danielyxie
34857e00f0 v0.41.2 Updated build and changelog 2018-11-23 17:39:01 -08:00
danielyxie
f559c6c692 Rebalanced gang parameters to result in more wanted gain. Fixed bug that allowed gang.purchaseEquipment() to purchase duplicate upgrades 2018-11-21 23:00:38 -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
danielyxie
66d50a7ae4 Added growthAnalyze() NS function. Fixed GH issue #492. In Gang mechanic, added new hacking augs/upgrades. Also rebalanced defense upgrades. Added new 'compact' main menu configuration 2018-11-19 21:54:03 -08:00
danielyxie
1a47e81001 Fixed bug where company.name property didnt get properly updated for v0.41.2 2018-11-19 02:21:21 -08:00
danielyxie
074f8d9834 Fix Github Issue #508 and #506 2018-11-19 01:03:38 -08:00
danielyxie
b242ca2f42 Fixed bugs with refactored Company/job code. Added 'expr' Terminal command 2018-11-17 16:23:48 -08:00
danielyxie
9b3ff6d2d3 Fixed merge conflicts with dev 2018-11-15 19:45:03 -08:00
danielyxie
d6bdc9433a Initial commit for company code refactor. Split out all components into separate files and converted to typescript 2018-11-15 17:28:23 -08:00
danielyxie
93f241029a In the Gang Mechanic, added ability to see your chance to win clash with other gangs. rm() now takes an optional parameter for server 2018-11-13 23:38:45 -08:00
danielyxie
8778e835e0 Importing from external URLs in scripts now properly recognizes both https and http URLs 2018-11-13 21:01:57 -08:00
danielyxie
40bfa030e5 Fixed netscript gang api functions purchaseEquipment() and ascendMember(). Used for...of rather than for...in 2018-11-13 14:42:15 -08:00
danielyxie
263b1250df Updated Changelog. Updated Version to v0.41.1. Fixed reference error bug in gang.ascendMember() Netscript function 2018-11-05 18:16:53 -06:00
Matthew Goff
85e984905c Fix #504
Decided to not be lazy and make the change I'd like to see ;)
2018-11-05 17:50:42 -06:00
danielyxie
063c24e739 Updated getScriptLogs() Netscript function to be able to get logs from another script 2018-11-04 17:57:31 -06:00
danielyxie
e2b7418780 Testing/bug fixes in v0.41.1. Updated Dev Menu features. Fixed 'Portfolio Mode' button on Stock market bugs 2018-11-04 17:03:53 -06:00
danielyxie
5b06a0b800 v0.41.0 QOL changes and suggestions 2018-11-04 17:03:53 -06:00
danielyxie
23eef62332 Created a standalone CompanyPosition class with TS 2018-10-31 14:57:47 -05:00
danielyxie
013af4e26c Refactored Stock market to store/accumulate cycles so that it's not completely useless when offline/tabbed out 2018-10-30 16:02:16 -05:00
danielyxie
b65b5b2e58 Updated changelog/documentation 2018-10-29 11:38:23 -05:00
danielyxie
22d2738206 Fixed loading issue due to GangMemberTask reviver throwing error 2018-10-29 11:13:37 -05:00
sudoBash418
cb4203993d Allow ./ in NetscriptJS import paths 2018-10-29 11:10:11 -05:00
danielyxie
ea3b13b286 Updated version to v0.41.0. Bug fixes for Gang API. Some Gang API functions now log. Final rebalancing for gang rework 2018-10-29 11:09:33 -05:00
danielyxie
23494a162e Cleaned up Coding Contract Generation Code 2018-10-29 11:09:33 -05:00
danielyxie
0d1fde0f87 Clean up coding contracts. Add coding contract generator to Dev Menu 2018-10-29 11:09:33 -05:00
danielyxie
cc0a11bf77 Updated changelog. Fixed dynamic RAM calculation bug. 2018-10-29 11:09:33 -05:00
danielyxie
762726bf53 getCharacterInformation() Singularity fn now returns multiplier information 2018-10-29 11:09:33 -05:00
danielyxie
9b8701d7d3 Augmentation Order (for both purchasing & viewing owned) is now saved as a persistent setting 2018-10-29 11:09:33 -05:00
danielyxie
e0df6207c1 Adding gang.getOtherGangInformation() function. Rebalancing 2018-10-29 11:09:33 -05:00
danielyxie
910fa6d0a6 More gang rebalancing. Removed penalty for committing crimes through Singularity functions 2018-10-29 11:09:33 -05:00
danielyxie
e37f7852e6 Gang bugfixes and rebalancing 2018-10-29 11:09:33 -05:00
danielyxie
61150f5823 Revert "Revert "Gang rework""
This reverts commit be0a08d70caacd9bc3a43faab2825cd5f3c68e1f.
2018-10-29 11:09:33 -05:00
danielyxie
43dc6f2309 Updated version to v0.41.0. Bug fixes for Gang API. Some Gang API functions now log. Final rebalancing for gang rework 2018-10-29 11:08:41 -05:00
danielyxie
63ed72e645 Cleaned up Coding Contract Generation Code 2018-10-27 15:48:33 -05:00
danielyxie
004aaf93cc Clean up coding contracts. Add coding contract generator to Dev Menu 2018-10-27 14:41:07 -05:00
danielyxie
f8d74cdf00 Updated changelog. Fixed dynamic RAM calculation bug. 2018-10-26 15:54:22 -05:00
danielyxie
9b5147da8c getCharacterInformation() Singularity fn now returns multiplier information 2018-10-26 15:54:22 -05:00
danielyxie
f30602ce5d Augmentation Order (for both purchasing & viewing owned) is now saved as a persistent setting 2018-10-26 15:54:22 -05:00
danielyxie
c56e18a0f9 Adding gang.getOtherGangInformation() function. Rebalancing 2018-10-24 20:26:53 -05:00
danielyxie
58c67415c1 More gang rebalancing. Removed penalty for committing crimes through Singularity functions 2018-10-24 13:20:51 -05:00
danielyxie
b59cf4ddb1 Gang bugfixes and rebalancing 2018-10-23 18:57:07 -05:00
danielyxie
4c3219bb9e Revert "Revert "Gang rework""
This reverts commit be0a08d70caacd9bc3a43faab2825cd5f3c68e1f.
2018-10-23 13:55:42 -05:00
danielyxie
be0a08d70c
Revert "Gang rework" 2018-10-23 13:47:00 -05:00
danielyxie
8c5931a142 More rebalancing for re-worked Gang mechanic 2018-10-22 19:34:39 -05:00
danielyxie
e073c08011 Added documentation for Gang API. Added dev menu options for Gang mechanic 2018-10-22 13:45:08 -05:00
danielyxie
0cdfe590a7 Finished Gang API. Rebalanced the way Gang territory works. Added discount feature for purchasing Gang member equipment 2018-10-21 20:04:32 -05:00
danielyxie
e73ebe843f Gang-rework bugfixes and rebalancing. Started adding Gang API 2018-10-19 19:30:02 -05:00
danielyxie
a0ebcff0aa Bug fixes in dev menu. Gang member stat mult tooltip now properly updates. Beginning re-work of territory warfare/clash 2018-10-18 14:52:02 -05:00
danielyxie
c4dbfa43c9 Fixed merge conflicts with dev 2018-10-17 15:43:48 -05:00
danielyxie
0b95c09563 Bladeburner API Bug fixes. Github issues #483, #485, #486 2018-10-17 15:32:15 -05:00
danielyxie
3bd7ad77b7 Adjusted RAM costs for Singularity functions and document/window. Fixed bug with calling print() in NetscriptJS 2018-10-17 15:32:15 -05:00
danielyxie
e3be48bb98 Reworked Dev Menu implementation 2018-10-17 13:14:52 -05:00
danielyxie
470fac7e44 Updated formatting of new RAM costs in documentation. Updated changelog for merged PRs 2018-10-16 15:37:11 -05:00
Matthew Goff
44ed46fc7a Convert more instances of formatNumber to numeralWrapper 2018-10-16 15:07:48 -05:00
danielyxie
2521fe201a Fixed bug with recent Neuroflux changes that cause it to break at level 0 2018-10-16 14:52:18 -05:00
danielyxie
27c2547252 Fixed bug where scp() NS function reported an invalid error. Added getStockVolatility() and getStockForecast() to netscript.js syntax highlighting. Fixed typo 2018-10-16 14:52:18 -05:00
danielyxie
0bcca84ecd Fixed NeuroFlux Governor Augmentation level calculation bug 2018-10-16 14:52:18 -05:00
danielyxie
0c9f9689f2 Fixed bug with recent Neuroflux changes that cause it to break at level 0 2018-10-16 14:50:31 -05:00
danielyxie
ae00898fd8 Fixed bug where scp() NS function reported an invalid error. Added getStockVolatility() and getStockForecast() to netscript.js syntax highlighting. Fixed typo 2018-10-16 13:15:15 -05:00
danielyxie
b45fe5924a Fixed NeuroFlux Governor Augmentation level calculation bug 2018-10-15 19:08:35 -05:00
danielyxie
a43f8bf1e6 Finished ironing out Gang ascension mechanic, including bugs. Refactored UI code to be part of the Gang class. 2018-10-14 19:28:44 -05:00
danielyxie
fcab079b32 FIxed merge conflicts with dev and also did some work on Gang UI 2018-10-10 18:13:31 -05:00
danielyxie
bd66ecf469 Fixed bug that caused blank black screen when destroying/resetting BitNodes 2018-10-10 14:16:26 -05:00
danielyxie
7730c5d092 When a NS function throws an error, clear the script environment's runningFn flag to allow players to properly catch errors without the concurrent calls error screwing them over 2018-10-09 13:45:30 -05:00
danielyxie
7095c1cc95 New Coding Contract faction selector sets reward.name 2018-10-09 11:56:22 -05:00
danielyxie
5902c892de v0.40.5 2018-10-09 11:56:22 -05:00
danielyxie
f4391b19bc Fixed various Coding Contract bugs. Added getContractType() to coding contract API 2018-10-09 11:56:22 -05:00
danielyxie
097c866e6f Don't log RAM calculator parse errors. Add semicolons and newlines when importing from URL in NSJS 2018-10-09 11:56:22 -05:00
danielyxie
04dc08935f Changed buttons that used <span> into <button> elements for real this time 2018-10-09 11:56:22 -05:00
danielyxie
781f2f09b4 Changed buttons that used <span> elements to use <button> elements. Allowed processing for modules that are dynamically imported from URL 2018-10-09 11:56:22 -05:00