Commit Graph

1402 Commits

Author SHA1 Message Date
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
danielyxie
00741be6c0 Fixing Gang-rework bugs 2018-10-02 18:01:37 -05:00
danielyxie
45c434aa35 Initial changes for Gang mechanic rework 2018-10-02 16:54:56 -05:00
danielyxie
34cca95397 Moved Gang constants from Constants.js -> Gang.js. Refactored creation of Gang Member Upgrades 2018-10-02 11:45:00 -05:00
danielyxie
377bb4a884 Properly credited people in changelog 2018-10-01 19:51:32 -05:00
danielyxie
b6070ca9c9 Fix a few bugs with Coding Contracts 2018-10-01 19:51:32 -05:00
danielyxie
2b3c58a17b v0.40.4 2018-10-01 19:51:32 -05:00
Santiago Kent
dea7bd79c8 Added the getStockSymbols method to the TIX API, wich returns an array of the tradable symbols 2018-10-01 19:51:32 -05:00
danielyxie
8f4ac830ad Fixed Infiltration exp display bug. Set cursor: pointer css styling for main menu 2018-10-01 19:51:32 -05:00
danielyxie
0e7b6599bb wget() Netscript function always returns a Promise 2018-10-01 19:51:32 -05:00
danielyxie
eb1a7cf8a0 Fix linting issues 2018-10-01 19:51:32 -05:00
danielyxie
a7592250f3 Finished wget() Netscript fn implementation. Updated documentation 2018-10-01 19:51:32 -05:00
danielyxie
44ce4bc674 Added RAM usage calculations for wget() Netscript fn 2018-10-01 19:51:32 -05:00
danielyxie
427cdb48ba Initial commit for implemeenting wget and refactoring some Server-related code 2018-10-01 19:51:32 -05:00
danielyxie
11c60a87c2 grow() no longer reports Infinite growth when money is at 0 2018-10-01 19:51:32 -05:00
danielyxie
561cdb1652 Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level 2018-10-01 19:51:32 -05:00
danielyxie
12bee24520 Beginning to refactor stylesheets. Convert main menu to use buttons instead of a elements 2018-10-01 19:51:32 -05:00
danielyxie
d624d2f86f Fixed bug with contract generation when player doesn't have a job. Added bladeburner.getActionRepGain() function 2018-10-01 19:51:32 -05:00
danielyxie
3051208bcb Adding updated build and fixing display bugs with Terminal's 'analyze' 2018-10-01 19:51:32 -05:00
danielyxie
f78f0ec1a7 Implemented Coding Contracts 2018-10-01 19:51:32 -05:00
danielyxie
e714f1e6cd Rename ContractTypes -> CodingCOntractTypes. Begin Contract Generation code 2018-10-01 19:51:32 -05:00
danielyxie
420fd0c5ad write()/read() now work for script files. You can now use angled brackets in tprint() (and create DOM elements). Added CodingContract implementation 2018-10-01 19:51:32 -05:00
Steven Evans
b66c3c6fc4 [chore] Fixing import casing to actually match file casing 2018-10-01 19:51:32 -05:00
Steven Evans
a98dd66e45 [bug] Fixing the timestamp in Bladeburner logs. 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
7ef6f6896e Added css for a 'classic' main menu 2018-10-01 19:51:32 -05:00
danielyxie
71886f030a Properly credited people in changelog 2018-10-01 19:51:05 -05:00
danielyxie
67d9d6af13 Fix a few bugs with Coding Contracts 2018-10-01 19:47:03 -05:00
danielyxie
5074f4f4c8 v0.40.4 2018-09-29 20:52:38 -05:00
Santiago Kent
d39f002b20 Added the getStockSymbols method to the TIX API, wich returns an array of the tradable symbols 2018-09-29 17:39:42 -05:00
danielyxie
1d20d475f3 Fixed Infiltration exp display bug. Set cursor: pointer css styling for main menu 2018-09-29 13:58:32 -05:00
danielyxie
fdc98f43d4 wget() Netscript function always returns a Promise 2018-09-29 12:55:41 -05:00
danielyxie
f38aba0130 Fix linting issues 2018-09-29 12:55:41 -05:00
danielyxie
065ce4d4df Finished wget() Netscript fn implementation. Updated documentation 2018-09-29 12:55:41 -05:00
danielyxie
c248ca9383 Added RAM usage calculations for wget() Netscript fn 2018-09-29 12:55:41 -05:00
danielyxie
22e909eb14 Initial commit for implemeenting wget and refactoring some Server-related code 2018-09-29 12:55:41 -05:00
danielyxie
23c862b727 grow() no longer reports Infinite growth when money is at 0 2018-09-27 21:09:02 -05:00
danielyxie
4d2290bcb1 Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level 2018-09-26 00:00:28 -05:00
danielyxie
597f080d97 Beginning to refactor stylesheets. Convert main menu to use buttons instead of a elements 2018-09-25 12:18:06 -05:00
danielyxie
81c1655a30 Fixed bug with contract generation when player doesn't have a job. Added bladeburner.getActionRepGain() function 2018-09-23 23:27:31 -05:00
danielyxie
593087d55f Adding updated build and fixing display bugs with Terminal's 'analyze' 2018-09-22 19:36:28 -05:00
danielyxie
fd8bcf35ed Implemented Coding Contracts 2018-09-22 19:31:43 -05:00
danielyxie
a114904fd3 Rename ContractTypes -> CodingCOntractTypes. Begin Contract Generation code 2018-09-22 19:31:43 -05:00
danielyxie
c309c0cdc9 write()/read() now work for script files. You can now use angled brackets in tprint() (and create DOM elements). Added CodingContract implementation 2018-09-22 19:31:43 -05:00
Steven Evans
ebd8d282ed [chore] Fixing import casing to actually match file casing 2018-09-21 14:53:35 -05:00
Steven Evans
ab23d34a7a [bug] Fixing the timestamp in Bladeburner logs. 2018-09-21 14:51:54 -05:00
danielyxie
b12739a1ba Move all Theme color settings to FconfSettings rather than Settings. Add setting for default/classic main menu style 2018-09-21 14:51:26 -05:00
danielyxie
256f15418b Added css for a 'classic' main menu 2018-09-21 14:51:26 -05:00
danielyxie
94739129de Fixed bug with Player.workForFaction() calling the wrong 'finish' function when it goes over the max time (after being offline) 2018-09-16 14:48:36 -05:00
danielyxie
f016736603 Updated changelog and version. Added build distribution files 2018-09-12 11:34:18 -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
danielyxie
0229eda9ce Slightly randomized endgame server parameters. Amount of RAM on servers is now also randomized 2018-09-11 21:56:11 -05:00
danielyxie
56b2f581d8 Added donateToFaction(), isLogEnabled(), and getScriptLogs() Netscript functions. Added optional hacking/int level parameters to getHackTime/getGrowTime/etc functions 2018-09-11 13:56:23 -05:00
danielyxie
93d2a09aab Migrating hydroflame's killall loading screen changes to new build files 2018-09-10 16:38:18 -05:00
danielyxie
93db9c513a
Merge pull request #455 from kopelli/lint-violations
Lint violations
2018-09-10 14:27:46 -05:00
danielyxie
d3d842cec7
Merge pull request #451 from kopelli/server-expansion
Server Randomization
2018-09-10 14:25:21 -05:00
danielyxie
c24b7bce5f Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-09-10 13:52:38 -05:00
danielyxie
ba469f49c5 Fixed merge conflicts in Kline--numeral-updates 2018-09-10 13:51:21 -05:00
Steven Evans
9a4867785e [style] Fixing TSLint violations 2018-09-10 11:24:23 -04:00
Steven Evans
a681fc5577 [chore] Disabling a couple ESLint violations
These should really be refactored and fixed, but the end-to-end testing
will take a bit more effort. It can be tackled later.
2018-09-10 10:59:07 -04:00
danielyxie
93c1d603c5 Fixed issue with prompt color 2018-09-07 21:53:10 -05:00
danielyxie
b36855fe52 Merged from dev. Fixed merge conflicts. Updated terminal documentation for wget 2018-09-07 21:21:23 -05:00
danielyxie
98598b103d Implemented wget Terminal command 2018-09-07 20:53:11 -05:00
Steven Evans
3d52ed5990 [feat] Let server RAM be a range instead of static 2018-09-07 08:39:33 -04:00
Steven Evans
babbf00029 [refactor] Server RAM is exponent instead of concrete value
This will let us randomize the value down the line.
2018-09-07 08:39:16 -04:00
Steven Evans
625734d326 [feat] Network server layers can be randomized 2018-09-07 08:39:01 -04:00
Steven Evans
319b45ead5 [refactor] Network servers are created via metadata 2018-09-07 08:37:47 -04:00
danielyxie
053bb9fcaf Merge branch 'dev' of https://github.com/danielyxie/bitburner into stock-market-and-bladeburner-rebalancing 2018-09-06 11:54:21 -05:00
danielyxie
26fa9cfe82 Rebalanced Stock Market and Bladeburner. Refactored Stock class to Typescript 2018-09-06 11:07:59 -05:00
Mat Jaworski
f721e21622 More minor font colour and Infiltration details updates 2018-09-07 00:15:36 +10:00
Mat Jaworski
0cc6d81309 Updated the src/index.html as per my previous PR updates in ./index 2018-09-06 21:58:27 +10:00
Mat Jaworski
fe47df1ade
Merge branch 'dev' into dev 2018-09-06 21:44:44 +10:00
danielyxie
f0151db5d1 Merge branch 'v0.40.3-patch-2' of https://github.com/danielyxie/bitburner into stock-market-and-bladeburner-rebalancing 2018-09-05 16:38:19 -05:00
danielyxie
14e04f51ef
Merge pull request #443 from danielyxie/v0.40.3-patch-1
V0.40.3 patch 1
2018-09-05 16:11:01 -05:00
danielyxie
9f1626c0a3 Updated changelog 2018-09-05 16:10:34 -05:00
danielyxie
3c2ffc05e1
Merge pull request #442 from kopelli/html-webpack
Html Webpack
2018-09-05 16:09:11 -05:00
danielyxie
423ecea95f Finished refactoring Player code to continuously give exp when doing a working action (rather than giving it all when the action is finished) 2018-09-05 15:36:18 -05:00
Mat Jaworski
0b0a3d366c More UI updates
- infiltration: added colours, updated spacing and fixed alignment
- terminal prompt: added colour for the previous lines as well
- Active Scripts and Hacknet Nodes: money values have a gold colour now; minor spacing updates
- minor code refactoring
2018-09-03 22:10:00 +10:00
Matthew Goff
2d9f3856c7
formatNumber -> numeral in more locations 2018-09-01 08:42:56 -05:00
danielyxie
ab0ef6d36c Began refactoring Player work-related functions to continously give exp rather than only giving when the work "ends". Has been completed for company work so far 2018-08-30 16:51:25 -05:00
danielyxie
395fc3b9df Added tryWrite() as a native Netscript function. Updated documentation to reflect the fact that port handles no longer work in Netscript 1.0 2018-08-30 15:27:47 -05:00
danielyxie
30f8c4a6f0 Fixed merge conflicts 2018-08-30 12:01:37 -05:00
danielyxie
5ede6be8e5 Refactored functions that calculate hacking time/exp gain/chance/ etc into a separate file 2018-08-30 12:00:38 -05:00
Steven Evans
a154d214b7 [refactor] Page title is driven by Webpack 2018-08-30 11:13:27 -04:00
Steven Evans
2deeaef349 [refactor] Google Analytics is controlled by Webpack 2018-08-30 11:08:08 -04:00
Steven Evans
552ce183c1 [chore] Introduce HTML-Webpack
This issue means that any changes to the HTML has to happen in the
`.\src\index.html` file rather than the `.\index.html`. This makes the
`index.html` in the root now a build artifact the same way that files in
`dist\` are.
2018-08-30 10:43:18 -04:00
Steven Evans
26b1c43435 [style] Sorting properties alphabetically 2018-08-29 22:45:47 -04:00
Steven Evans
68527d6258 [style] Fixing TSLint violations 2018-08-29 22:40:23 -04:00
danielyxie
63cd269d5e b1t_flume.exe program can now be created instantly (reqd hacking level is 1 instead of 5). Fixed some linting errors 2018-08-29 15:25:01 -05:00
danielyxie
aa18420e0c
Merge pull request #441 from danielyxie/improve-interactive-tutorial
Updated Interactive Tutorial and added a few helpful links to the hac…
2018-08-29 14:11:13 -05:00
danielyxie
8b99e46d5e Updated Interactive Tutorial and added a few helpful links to the hackers-starting-handbook Literature file 2018-08-29 14:06:21 -05:00
Mat Jaworski
5f13bc6336 UI Enhancements
Updates:
– Character Overview box (top right corner) – redesigned and added colours to the attributes.
– Added prompt colour in the terminal.
– Minor copy fixes (grammar and typos).
– Code formatting cleanup.
– Character > Stats – Fixed spacing issue when Intelligence is not yet available
– Main Menu – Adjusted the spacing and changed the border to outline to improve the readability.
– Tooltip boxes (Firefox only) – fixed the issue when tooltips were generating additional spacing around the <br> tags.
– Multiple general updates to UI to improve accessibility and readability. Aimed to improve the user experience when playing the game on a smaller screen resolutions.
– Accordion/Dropdown buttons – improved the readability of the plus/minus icons.
– Added .editorconfig with the most basic settings.
2018-08-30 01:12:33 +10:00
danielyxie
58d48f19ef Added .fconf setting for enabline line wrap in terminal input. Began implementing wget 2018-08-28 22:24:38 -05:00
danielyxie
53e2a5091c Added correct production build. Properly reset stock market 4S values when prestiging through BitNode 2018-08-27 00:23:04 -05:00
danielyxie
2bf6871ece V0.40.2 BUndle and minor bug/typo fixes 2018-08-25 23:26:42 -05:00
danielyxie
245bb5992d
Merge pull request #436 from Kline-/patch-1
Fix Speech Enhancement appearing twice for FSIG
2018-08-25 17:08:22 -05:00
Matthew Goff
251e18799b
Fix Speech Enhancement appearing twice for FSIG 2018-08-24 16:44:08 -05:00
Daniel Xie
e4f02b298b Added Four Sigma (4S) Market Data feature, and its Netscript TIX API functions as well 2018-08-24 15:44:48 -05:00
Daniel Xie
815762bddd Attached Stock market Watchlist 2018-08-23 13:51:57 -05:00
Daniel Xie
c5841b65fe Fixed a bug where the special harcoded keywords that are search for in script RAM calculation would be counted once per 'scope' 2018-08-20 00:25:55 -05:00
Daniel Xie
f3732b2d74 Preventing exploits by progrmaming DOM button clicks in code 2018-08-17 15:06:18 -05:00
Daniel Xie
d556af0fd8 Converted pop-up boxes to use css flex 2018-08-12 14:45:35 -05:00
Daniel Xie
bb4094f879 Added option to disable hospitalization popup message 2018-08-12 00:39:37 -05:00
danielyxie
b15582ff71
Merge pull request #433 from danielyxie/bladeburner-rebalancing
Bladeburner rebalancing
2018-08-11 20:25:35 -05:00
danielyxie
e1bdf0100a
Merge pull request #432 from Kline-/stocks-use-numeral
Standardize log messages and switch from formatNumber to numeral.
2018-08-11 20:08:32 -05:00
Daniel Xie
de0f891d52 Various rebalances to Bladeburner: Buffed Augmentations. Simulacrum costs less rep but more money. Slightly more money gained from contracts. Operations give more rank. More Synthoid communities. Added getBonusTime() and getSkillUpgradeCost() to Bladeburner API. Operation count increases faster and is more randomized. Decreased rate at which contracts/ops level up 2018-08-11 20:05:32 -05:00
Daniel Xie
b89437a52e Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-11 16:21:19 -05:00
Daniel Xie
5cc1a4ba01 Updated changelog with merged PRs 2018-08-11 16:21:11 -05:00
Matthew Goff
b65157df7f
Standardize log messages and switch from formatNumber to numeral. 2018-08-10 15:52:35 -05:00
danielyxie
c726ff1738
Merge pull request #431 from Kline-/fix-BN8
Move resetting stocks, gang, and corp to the end of the funcs.
2018-08-10 00:07:54 -05:00
danielyxie
72bd1f22c5
Merge pull request #423 from Kline-/fix-getActionTime
Fix bladeburner.getActionTime returning null
2018-08-10 00:06:38 -05:00
danielyxie
be69d6b68a
Merge pull request #428 from hydroflame/patch-6
increase BB skill cost in BN12
2018-08-10 00:05:26 -05:00
Matthew Goff
549b3f34a3
Move reseting stocks, gang, and corp to the end of the funcs. Should fix #421. 2018-08-08 18:04:40 -05:00
Steven Evans
9a7fa5d12c
Merge branch 'dev' into refactor-out-circular-dependencies 2018-08-07 10:00:49 -04:00
Olivier Gagnon
e0ee08ec45
increase BB skill cost in BN12 2018-08-06 22:26:56 -04:00
Daniel Xie
a1a69b8042 Prevent dev menu from being shown in produ 2018-08-06 21:15:31 -04:00
Daniel Xie
171d98c891 Updated changelog and version. Adding v0.40.1 bundle 2018-08-06 19:21:37 -04:00
Daniel Xie
c0db61c78f Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-06 19:11:25 -04:00
Daniel Xie
dac64d188b Fixed bug with executing HTTPWorm program from Terminal 2018-08-06 19:11:14 -04:00
Daniel Xie
ea6cc3da55 Fix array/object bug with new JS Interpreter for Port functions (read, write, and tryWrite) 2018-08-06 10:25:22 -05:00
Daniel Xie
faa5e807d5 Updating documentation and Netscripy syntax highlighting for v0.40.1 community update. Bitrunners now has CranialSignalProcessors 3-5. CyberSec now has Cranial Signal Processors 1-2. 2018-08-05 03:37:28 -04:00
Matthew Goff
9b099fcee9
Fix bladeburner.getActionTime returning null 2018-08-04 16:52:45 -05:00
danielyxie
d1b3fb9b41
Merge pull request #422 from Kline-/cleanup-aug-desc
Cleanup augmentation descriptions
2018-08-04 17:21:26 -04:00
danielyxie
51c7630dd2
Merge pull request #404 from hydroflame/semicolon
added semicolon support to terminal as well as autocomplete support f…
2018-08-04 17:16:09 -04:00
Matthew Goff
7e311d0592
Cleanup augmentation descriptions 2018-08-04 15:14:52 -05:00
Daniel Xie
44e45af2fe Removed console.log statement 2018-08-03 16:54:11 -05:00
Daniel Xie
1ce9a5308d Fixed bug in Changelog text. Properly credited kopelli for Active Server UI Ram usage change 2018-08-03 10:50:20 -05:00
Daniel Xie
4a56076ba9 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-03 10:41:56 -05:00
Daniel Xie
5ba1433898 Updated changelog for merged PRs 2018-08-03 10:41:52 -05:00
danielyxie
2f9897255e
Merge pull request #416 from kopelli/active-scripts-ram-usage
Servers on Active Scripts now show a ram usage bar
2018-08-03 11:41:16 -04:00
danielyxie
9b0db28d00
Merge pull request #415 from kopelli/active-scripts
Active Scripts list no longer jumps down on first update
2018-08-03 11:38:50 -04:00
danielyxie
3bc76f10d1
Merge pull request #417 from Kline-/patch-6
Remove extraneous logging
2018-08-03 11:36:13 -04:00
Olivier Gagnon
ddca5ae987 character overview element reuse 2018-08-03 10:54:13 -04:00
Matthew Goff
aa8fdae2df
Remove extraneous logging
This is already logged [here](b00d2acc00/src/Bladeburner.js (L1185))
2018-08-02 18:45:49 -05:00
Steven Evans
530ae48e79 [feat] Servers on Active Scripts now show a ram usage bar 2018-08-02 16:14:48 -04:00
Steven Evans
ba3f637eb1 [feat] Active Scripts list no longer jumps on first update 2018-08-02 15:53:53 -04:00
Steven Evans
edcfe71eed [refactor] Moving BitNodeMultipliers to its own file to break cyclical
module references.
2018-08-02 14:33:08 -04: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
826a8799fa [refactor] Extracting Locations to its own file to remove circular dependency 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
Steven Evans
0bea4e0430 [refactor] Breaking out key codes
Trying to start breaking apart the large circular dependencies between
modules. Most of the dependencies are similar to this pattern where
there is one stand-alone member that is needed, so the entire module
gets brought along with.
2018-08-02 14:23:50 -04:00
Steven Evans
1412b01be5 [style] Fixing TSLint violations 2018-08-02 14:23:49 -04:00
Daniel Xie
357e600cf2 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-08-02 10:08:27 -05:00
Daniel Xie
702fdf307a Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-08-02 10:08:19 -05:00
Daniel Xie
2c3af9c86e Updated changelog for merged PRS 2018-08-02 10:06:29 -05:00
Olivier Gagnon
ce13c1bb2f
Merge branch 'dev' into semicolon 2018-08-02 11:04:21 -04:00
danielyxie
b5e8d61ad6
Merge pull request #407 from kopelli/refactor-programs-from-terminal
Refactor - Determine program execution from terminal via hashmap instead switch statement
2018-08-02 10:57:26 -04:00
danielyxie
c2be5df1f5
Merge pull request #406 from kopelli/fix-dev-programs
Fixing Program list in dev menu
2018-08-02 10:55:27 -04:00
danielyxie
81c97aefb9
Merge pull request #397 from hydroflame/smooth-bitnode-hacking-level
made hacking level calculation smoother with regards to bitnode multi…
2018-08-02 10:54:52 -04:00
danielyxie
508e016859
Merge pull request #391 from hydroflame/patch-3
Made BN12 difficulty scale faster
2018-08-02 10:52:47 -04:00
danielyxie
d38cf88c50
Merge pull request #405 from hydroflame/detect-main
fixed nsjs script with no main causing unkillable zombie scripts
2018-08-02 10:43:43 -04:00
danielyxie
93bada0119
Merge pull request #396 from hydroflame/favor-gain
added favor related funtions
2018-08-02 10:40:48 -04:00
danielyxie
1c927c53cd
Merge pull request #395 from hydroflame/prevent-raid-fail
Prevent doing blade raids when commsEst is zero
2018-08-02 10:36:10 -04:00
danielyxie
27ac2a911a
Merge pull request #393 from Kline-/patch-3
Add CranialSignalProcessor prereqs
2018-08-02 10:33:41 -04:00
danielyxie
923c69943f
Merge pull request #412 from kopelli/fix-timestamp
Fix timestamp
2018-08-02 10:27:43 -04:00
danielyxie
dcbdac0c1b
Merge pull request #388 from hydroflame/buy-rp-negative
cna buy the red pill with negative money
2018-08-02 10:24:27 -04:00
danielyxie
f54f9a0cca
Merge pull request #385 from hydroflame/bonus-time
Display bonus time in bladeburner
2018-08-02 10:22:48 -04:00
danielyxie
4ea6c4840c
Merge pull request #360 from kopelli/scss
Incorporate SCSS for styling/bundling
2018-08-02 10:18:36 -04:00
Olivier Gagnon
fcabaf1365
Update BitNode.js 2018-08-01 17:10:19 -04:00
Steven Evans
3130b410e2 [refactor] pulling getTimestamp off Terminal 2018-08-01 13:38:54 -04:00
Steven Evans
0345daf359 [bug] Fixing the timestamp
getMonth() is 0-based, so changing the offset.

getDay() is the day of week, not day of the month.

Ensuring hours & minutes are always two digits.
2018-08-01 12:55:01 -04:00
Olivier Gagnon
1cf276fa99 deleted the file 2018-07-31 01:21:29 -04:00
Olivier Gagnon
873114d52f nuke unused code 2018-07-31 01:20:06 -04:00
Steven Evans
a09fcd21ca [refactor] Determine program execution from terminal via hashmap instead
of switch statement.

Introducing variables within the case block of a switch statement can be
problematic and confusing as case statements do not have their own
scope, and thus are hoisted to the function level. Thus, with a large
enough switch statement, variable declarations could easily be
overlooked as they are peppered throughout the cases. This is especially
problematic for 'const' and 'let' declarations, which are very concerned
about scoping. There is an ESLint rule specifically enabled to catch
this behavior.

This refactoring is a way to mitigate the behavior, while still allowing
for the use of 'const'.
2018-07-31 00:18:38 -04:00
Steven Evans
977d8b7d71 [bug] Fixing Program list in dev menu 2018-07-31 00:14:37 -04:00
Steven Evans
06a0b75b1c [feature] added "getPurchasedServerCost" NS function 2018-07-30 21:31:12 -04:00
Olivier Gagnon
8b49a68f85 fixed nsjs script with no main causing unkillable zombie scripts 2018-07-30 21:01:09 -04:00
Olivier Gagnon
c4b25a0c90 added semicolon support to terminal as well as autocomplete support for semicolon commands 2018-07-30 20:16:39 -04:00
danielyxie
fabc45f496 Fixed bug with calling scp() on an array 2018-07-29 15:14:24 -05:00