Commit Graph

1744 Commits

Author SHA1 Message Date
Steven Evans
62672a4e2a [chore] Updating required Node range
Doing a query across all the "engine" requirements across all installed
dependencies, the highest minimum is Node 8.*. And the lowest maximum
seems to be 9.*
2018-10-01 19:51:32 -05:00
Steven Evans
9e697a6809 [chore] Script to check the required version of Node & NPM
Apparently the "engines" files of package.json is no longer checked
regularly when performing installs. With the changes and different
behaviors across different version of Node & NPM, and having no other
way to ensure everybody contributing is on the same page, this
preinstall check is necessary.

This heavily relies on "SemVer" NPM package, but in order to actually
check this prior to the first set of packages installed the code needs
to be there. So this is a slimmed down version of SemVer and syntax has
been updated.
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
c87621edd9 [chore] fixing the ability to run dev-server 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
Steven Evans
6859a30bbe [chore] Updating required Node range
Doing a query across all the "engine" requirements across all installed
dependencies, the highest minimum is Node 8.*. And the lowest maximum
seems to be 9.*
2018-09-27 23:41:42 -05:00
Steven Evans
2c0ea7e12c [chore] Script to check the required version of Node & NPM
Apparently the "engines" files of package.json is no longer checked
regularly when performing installs. With the changes and different
behaviors across different version of Node & NPM, and having no other
way to ensure everybody contributing is on the same page, this
preinstall check is necessary.

This heavily relies on "SemVer" NPM package, but in order to actually
check this prior to the first set of packages installed the code needs
to be there. So this is a slimmed down version of SemVer and syntax has
been updated.
2018-09-27 23:41:42 -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
24b5a5dd31 [chore] fixing the ability to run dev-server 2018-09-21 14:52:50 -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
0fc06c3323
Merge pull request #462 from danielyxie/dev
Fixed bug with Player.workForFaction() calling the wrong 'finish' fun…
2018-09-16 14:49:36 -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
e425bcfe6b
Merge pull request #459 from danielyxie/dev
v0.40.3
2018-09-15 12:05:30 -05:00
danielyxie
ae4eb2f30e Added v0.40.3 Build 2018-09-15 12:04:49 -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