Commit Graph

1832 Commits

Author SHA1 Message Date
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
7bb38ce89d
Merge pull request #482 from danielyxie/dev
v0.40.5 Changelog
2018-10-09 12:13:01 -05:00
danielyxie
da8bbe3042 Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-10-09 12:11:49 -05:00
danielyxie
81bbc1749f Adding v0.40.5 changelog to documentation 2018-10-09 12:11:05 -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
561bbbd0a1 Adding normal build rather than dev build 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
Steven Evans
59f525f08b [chore] Moving vendor styling to the build directory 2018-10-09 11:56:22 -05:00
danielyxie
b587409b87 New Coding Contract faction selector sets reward.name 2018-10-08 19:40:35 -05:00
danielyxie
74761f5a08 v0.40.5 2018-10-08 19:33:07 -05:00
danielyxie
62b58cd766 Fixed various Coding Contract bugs. Added getContractType() to coding contract API 2018-10-08 19:28:27 -05:00
danielyxie
e6959bfaad Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-10-07 00:29:59 -05:00
danielyxie
f86d87fa03 Don't log RAM calculator parse errors. Add semicolons and newlines when importing from URL in NSJS 2018-10-03 15:24:32 -05:00
danielyxie
037b521e02 Adding normal build rather than dev build 2018-10-03 13:14:49 -05:00
danielyxie
5984ae8446 Changed buttons that used <span> into <button> elements for real this time 2018-10-03 13:09:11 -05:00
danielyxie
8c23da0e07 Changed buttons that used <span> elements to use <button> elements. Allowed processing for modules that are dynamically imported from URL 2018-10-03 12:50:39 -05:00
danielyxie
0337d52544 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-10-02 21:45:38 -05:00
Steven Evans
29580d6314 [chore] Moving vendor styling to the build directory 2018-10-02 21:45:19 -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
0f0e5c5f9c
Merge pull request #476 from danielyxie/dev
v0.40.4...again (stupid git)
2018-10-01 20:52:05 -05:00
danielyxie
b723d47dae Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-10-01 20:50:35 -05:00
danielyxie
c0118affd5 Adding css build files from normalize.css 2018-10-01 20:32:34 -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
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