Commit Graph

129 Commits

Author SHA1 Message Date
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 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 a6293474a9 [refactor] Moved "isString()" 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 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
Olivier Gagnon 6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
danielyxie 13dbd9f26c Merge PRs and fix issues 2018-06-26 09:49:28 -05:00
danielyxie 89ecb15b6f Merge pull request #324 from hydroflame/hydroflame-convert-ts
first conversion
2018-06-25 20:02:40 -05:00
danielyxie b2a24002ee Merge pull request #266 from hydroflame/streamline-create-programs
Streamline create programs
2018-06-25 19:34:08 -05:00
danielyxie 75ff10b5c2 Added documentation for Bladeburner API. Fixed typo in BN-7 description. 2018-06-25 14:07:03 -05:00
danielyxie 22b64dcc4a Implemented BN-7 2018-06-24 19:13:50 -05:00
Olivier Gagnon 3af76f50ab Merge branch 'dev' into streamline-create-programs 2018-06-22 20:48:26 -04:00
Olivier Gagnon 53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
Steven Evans 942c26b27e Merge branch 'dev' into typescript 2018-06-20 22:10:20 -04:00
Olivier Gagnon 0ea6312d49 Merge branch 'dev' into streamline-create-programs 2018-06-20 18:50:08 -04:00
danielyxie 856f7a0cd2 Merge pull request #264 from hydroflame/streamline-darkweb
streamline darkweb
2018-06-20 16:56:10 -05:00
danielyxie f5be9e5da7 Fix bug with spawn() 2018-06-17 14:19:43 -05:00
danielyxie 8620a4d30c Fix issue with 'Object.prototye' functions throwing errors during NetscriptJS RAM calculation. Fixed type with new Travel Confirmation setting loading to the correct initial value. Fixed Competition/Demand display for Products. Changed RAM for window/document access to be 100 2018-06-14 14:51:06 -05:00
Steven Evans 67cee8642b [refactor] Converted TextFile to TypeScript 2018-06-14 09:11:28 -04:00
danielyxie fa42d4ee43 Merge pull request #288 from hydroflame/netscript-ps
Netscript ps function
2018-06-13 09:17:58 -05:00
danielyxie ff12c87913 Merge pull request #279 from hydroflame/prevent-work-faction-bn2
prevent players from doing work through singularity in BN2 when the p…
2018-06-13 08:57:59 -05:00
Olivier Gagnon 758f00419b added ps function to netscript, returns the list of processes currently running on that server 2018-06-13 00:03:02 -04:00
Olivier Gagnon dd87a1bad3 prevent players from doing work through singularity in BN2 when the player already joined a faction 2018-06-10 00:55:25 -04:00
Olivier Gagnon efa6438981 fixed display bug in growth log 2018-06-09 02:58:33 -04:00
danielyxie bbb5f04c87 Merged pull requests and fixed merge conflicts 2018-06-08 11:19:22 -05:00
danielyxie 5e38355152 Added Bladeburner API (untested). Rebalanced Bladeburner. Bladeburner progress no longer resets when installing Augmentations. Fixed up BN-12 2018-06-08 10:51:48 -05:00
Olivier Gagnon 289a005fbb made upgrade home ram cost consistent and precision to 5 to display better in game 2018-06-07 14:54:34 -04:00
danielyxie 82f1c14656 Added dynamic RAM evaluation to Netscript to prevent exploits by evading RAM usage in NetscriptJS. Calling a HacknetNode API Netscript fn now immediately updates HacknetNodeWrappers 2018-06-06 11:02:21 -05:00
danielyxie f28ffcc49e Merge pull request #270 from hydroflame/fix-travelToCity
made travel cost a constant and prevent travelToCity from traveling i…
2018-06-04 09:09:39 -05:00
danielyxie e31c8a1fc0 Merge pull request #259 from hydroflame/streamline-crimes
streamline crimes code
2018-06-04 09:04:46 -05:00
Olivier Gagnon 4b6dbee628 made travel cost a constant and prevent travelToCity from traveling if the player doesn't have enough money 2018-06-03 21:09:12 -04:00
danielyxie 957ce44316 v0.37.2 2018-06-02 20:37:56 -05:00
Olivier Gagnon aa56227851 streamline programs 2018-06-01 19:31:34 -04:00
Olivier Gagnon 85d4d5a5ab streamline darkweb 2018-06-01 17:05:05 -04:00
Steven Evans 10d7e43f01 [refactor] Pull in 'decimal.js' as an npm dependency 2018-05-30 15:54:13 -04:00
Olivier Gagnon cb0d70de85 streamline crimes 2018-05-29 16:36:52 -04:00
danielyxie 565f0dd517 v0.37.1 2018-05-22 19:09:04 -05:00
redd e71b44283b fixed throw
makeRuntimeRejectMsg now references correct function causing the throw:
2018-05-13 01:50:13 +01:00
danielyxie 7fe704de1e Merge pull request #220 from hydroflame/crime-commit-log
FIX #207 commitCrime now takes enable/disable log into account
2018-05-10 12:15:01 -05:00
danielyxie dfb5cbf02d Merging changes from pull requests. Re-adding package lock.json 2018-05-09 02:21:47 -05:00
danielyxie 2c4c5ce6a3 Merge pull request #228 from hydroflame/ns-hacknet-multiplier
NS function to get player's hacknet multipliers
2018-05-09 02:16:14 -05:00
Olivier Gagnon dcc09d561e Merge branch 'dev' into improve-get-script-ram 2018-05-07 16:00:24 -04:00
Olivier Gagnon 577f73dce7 getScriptRam now optionally take hostname/ip or default to localhost 2018-05-07 15:56:55 -04:00
danielyxie 9d1bcd989b Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-05-06 16:34:07 -05:00
danielyxie c3663af14e Merge pull request #222 from hydroflame/script-name
added getScriptName
2018-05-06 16:31:33 -05:00
danielyxie 3147f9edeb Updated Server instantiation with new Server constructor. Minor rebalances to BN6 2018-05-06 16:20:00 -05:00