Commit Graph

799 Commits

Author SHA1 Message Date
Olivier Gagnon
55650ab7a5 forgot my semicolons 2018-07-19 22:23:43 -04:00
Olivier Gagnon
a2b5ca10ac added purchasable servers functions to get constants 2018-07-19 22:21:11 -04:00
danielyxie
5845fa8702 Fixed merge conflicts 2018-07-15 20:48:27 -05:00
danielyxie
44e4325a5d
Merge pull request #358 from danielyxie/new-hacknetnode-api
New hacknetnode api
2018-07-15 20:43:04 -05:00
danielyxie
a605dd4491 Bladeburner API getCurrentAction() now returns null if current action is 'Idle' 2018-07-15 20:39:07 -05:00
danielyxie
c449dee97e Fixed bug with Corporaiton healthcare. Fixed bug with new netscript 1.0 JS Interpreter properly throwing errors 2018-07-15 13:03:33 -05:00
danielyxie
2b38a8cd2a Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-07-14 20:06:23 -05:00
danielyxie
b40c247dcb Bladeburner General actions now set both Name and Type in underlying ActionId 2018-07-14 19:59:27 -05:00
danielyxie
30740dbf23
Merge pull request #356 from hydroflame/limit-hack-security
limit fortifying to the amount of hck thread you needed to drain the …
2018-07-14 19:29:21 -05:00
danielyxie
497186355f New Hacknet Node Netscript API - initial commit 2018-07-14 19:25:50 -05:00
Olivier Gagnon
6514632b43 added shortcuts to corp, gang and blade under the world tab 2018-07-12 22:22:28 -04:00
Olivier Gagnon
4a17c5a49c limit fortifying to the amount of hck thread you needed to drain the server 2018-07-12 21:16:24 -04:00
danielyxie
e97861f42b Bladeburner API Improvements: Added getCurrentAction(). getSkillLevel() now fails if no argument is passed 2018-07-12 00:01:52 -05:00
danielyxie
3ffc820519 Fixed new Netscript1 Interpreter to work for functions returning Arrays/Objets. Untested. Also still needs new Hacknet Node implementation 2018-07-10 23:41:26 -05:00
danielyxie
dcd6292ed2 Fixed bugs with new HelperFunctions 2018-07-10 00:11:18 -05:00
Steven Evans
28bebeb144 [refactor] Moved 'createAccordionElement' to its own TS file 2018-07-09 13:58:04 -04:00
Steven Evans
af40252ee9 [refactor] Moved 'clearSelector' to its own TS file. 2018-07-09 13:57:21 -04:00
Steven Evans
9e26ee7858 [refactor] Moved 'removeChildrenFromElements' to its own TS file 2018-07-08 21:18:44 -04:00
Steven Evans
95939a8818 [refactor] Moved 'removeElement' to its own TS file; deduped logic 2018-07-08 21:18:43 -04:00
Steven Evans
8016321bfb [refactor] Moved 'clearEventListeners' to its own TS file 2018-07-08 21:18:10 -04:00
Steven Evans
7edf5b5f1a [refactor] Moved 'clearObject' to its own TS file 2018-07-08 20:17:53 -04:00
Steven Evans
6701503c78 [refactor] Moved 'compareArrays' to its own TS file 2018-07-08 20:17:52 -04:00
Steven Evans
1f7ed8f791 [refactor] Moved 'appendLineBreaks' to its own TS file 2018-07-08 20:17:52 -04:00
Steven Evans
015524f049 [refactor] Moved 'powerOfTwo' to 'isPowerOfTwo' TS file 2018-07-08 20:17:52 -04:00
Steven Evans
1a5208f78f [refactor] Moved 'printArray' to 'arrayToString' TS file 2018-07-08 20:17:51 -04:00
Steven Evans
d20516b03c [refactor] Moved 'addOffset' to its own TS file 2018-07-08 20:17:51 -04:00
Steven Evans
875f7b4438 [refactor] Moved 'removeElementById' to its own TS file 2018-07-08 20:17:50 -04:00
Steven Evans
488f947a5b [refactor] Moved 'getElementById' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans
8c25684fe1 [refactor] Moved 'createPopup' to its own TS file. 2018-07-08 20:17:50 -04:00
Steven Evans
107f1de18d [refactor] Moved createElement into its own TS file
This is the start at separating out UI related work from potentially backend
related work. This distinction will help when Web Workers can be
introduced to get around the background tab limitation for scripts.
2018-07-08 20:17:49 -04:00
Steven Evans
bdb935d104 [refactor] Moved isValidIPAddress to its own TS file 2018-07-08 20:17:49 -04:00
Steven Evans
be9891d93b [refactor] Moved 'getRandomInt' to its own TS file 2018-07-08 20:17:49 -04:00
Steven Evans
39c9488768 [refactor] Moved 'roundToTwo' to its own TS file 2018-07-08 20:17:48 -04:00
Steven Evans
15e3b751da [refactor] Moved "exceptionAlert" to its own TS file
Since this is a UI only function, when Web Workers are introduced this
call chain will not be allowed on the backend.
2018-07-08 20:15:07 -04:00
Steven Evans
be577164e3 [refactor] Removed export of "numOccurrences"
Does not appear to actually be used outside of StringHelperFunctions.ts
2018-07-08 20:15:07 -04:00
Steven Evans
a6293474a9 [refactor] Moved "isString()" to its own TS file 2018-07-08 20:15:06 -04:00
Steven Evans
187b5051b9 [refactor] Moved "createProgressBarText" to its own TS file 2018-07-08 20:15:06 -04:00
danielyxie
78c5a1b0f4 Initial commit for new Netscript 1 Intepreter 2018-07-08 18:53:24 -05:00
danielyxie
fde2b8cbc1 Infiltration can no longer be done programmatically. HP is reset when prestiging 2018-07-07 19:16:58 -05:00
danielyxie
f33bc59768
Merge pull request #349 from hydroflame/fix-donate-invalid-input
Fix donate invalid input
2018-07-06 17:07:44 -05:00
Olivier Gagnon
2090554238 fixed ramUsed wrong calculation 2018-07-05 23:15:01 -04:00
Olivier Gagnon
7721bfc6c8 clearing the faction donate text field no longer says invalid amount, also formatting 2018-07-05 12:59:20 -04:00
danielyxie
a165880fff Fix typo with Source File 12 2018-07-05 00:00:13 -05:00
danielyxie
7cc759f314 Updated version to v0.39.1. Production Build. Updated documentation 2018-07-04 23:52:54 -05:00
danielyxie
30b9624e1f Updated documentation 2018-07-03 21:12:46 -05:00
danielyxie
3213032427 Fixed incompatibility issues with Edge (due to spread syntax). Fixed issue with Terminal autocomplete and capitalized commands. Script ram is now rounded to 2 decimal places 2018-07-02 22:35:12 -05:00
danielyxie
c8421168b6 Copying a NetscriptJS script with scp now properly clears its 'module'. 2018-06-29 00:39:05 -05:00
Steven Evans
8624fff015
Merge branch 'dev' into eslint 2018-06-27 23:42:42 -04:00
danielyxie
300cd01cc8
Merge pull request #344 from kopelli/lint-cleanup
[style] Cleaning up TSLint violations
2018-06-27 22:39:50 -05:00
danielyxie
0de312a047
Merge pull request #347 from danielyxie/infiltration-improvements
Finishing Infiltration returns to company page. Infiltration remember…
2018-06-27 22:37:10 -05:00