Commit Graph

1185 Commits

Author SHA1 Message Date
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