Commit Graph

3448 Commits

Author SHA1 Message Date
danielyxie f5be9e5da7 Fix bug with spawn() 2018-06-17 14:19:43 -05:00
danielyxie 30946f5993 Merge pull request #305 from danielyxie/dev
v0.38.1
2018-06-15 14:18:41 -05:00
danielyxie f33806e189 Updated tover sion v0.38.1 2018-06-15 14:05:53 -05:00
danielyxie d38cfc61bd Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-15 01:09:54 -05:00
danielyxie b4cec584f6 Merge pull request #299 from hydroflame/fix-grow-security
fix growth not increasing security if server reaches max money
2018-06-15 01:09:17 -05:00
danielyxie bee20b090c Merge pull request #296 from hydroflame/serverExists-all-true
fixed serverExists returning true for non-existent IPs
2018-06-15 01:04:52 -05:00
danielyxie c365696447 Reverse const change in Script RAM parser. Built documentation 2018-06-15 00:58:35 -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 9c09e44db2 [refactor, chore] Including TSLint; fixing most things.
As it currently stands, bringing in TSLint with *all* rules enabled by
default and override each as we go. This means that as we upgrade and
bring in new rules we might start seeing new rules that the code
violates.

Because all the rules are enabled by default, the choice to explicitly
disable/relax rules can be discussed as part of PRs.

This also brought in strict type checking. This means we shouldn't be
relying on truthy/falsey value coercion. It also means that we will
likely need to create some type definition files or port certain files
over. That...will be a bit tedious, but will make the codebase better as
a whole.
2018-06-14 14:57:44 -04:00
Steven Evans 67cee8642b [refactor] Converted TextFile to TypeScript 2018-06-14 09:11:28 -04:00
Olivier Gagnon c35395e302 added beautifier button in text editor 2018-06-14 02:26:54 -04:00
Steven Evans 3e1ec388e0 [chore] Introduce TypeScript; Tested out with HelpText. 2018-06-13 23:38:35 -04:00
Olivier Gagnon 7c658e2966 growth now adds security even if the server reaches max, but only the amount that was needed 2018-06-13 17:27:26 -04:00
Olivier Gagnon 83aeb50605 unify dropdown and text input accross the app 2018-06-13 16:20:27 -04:00
danielyxie ec862ec747 Merge pull request #297 from danielyxie/dev-mode
Dev mode
2018-06-13 14:27:32 -05:00
danielyxie d6620da22e Removed import of DevModeEnabled in engine.js. Removed JSON.stringify in webpack.config.js for build mode 2018-06-13 14:26:15 -05:00
danielyxie 89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Olivier Gagnon bb68fa5806 fixed getServer instead 2018-06-13 12:34:32 -04:00
Olivier Gagnon 07c9f9e155 fixed server exists returning true for non-existent IPs 2018-06-13 12:16:12 -04:00
danielyxie 5347585151 Updated dependencies from kopelli 2018-06-13 11:11:45 -05:00
danielyxie 20e437844a Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-06-13 09:24:15 -05:00
danielyxie 5a3e9fa525 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-13 09:24:08 -05:00
danielyxie b7b40d237a Merge pull request #295 from hydroflame/prevent-document-nsjs
window and document symbold now occur impossibly high ram cost in nsjs
2018-06-13 09:22:47 -05:00
danielyxie 449df57edf Merge pull request #294 from hydroflame/suppress-travel-confirm
added options to suppress travel confirmation
2018-06-13 09:19:50 -05:00
danielyxie c663b5edc7 Merge pull request #289 from hydroflame/fix-277
Fix #277
2018-06-13 09:18:31 -05:00
danielyxie fa42d4ee43 Merge pull request #288 from hydroflame/netscript-ps
Netscript ps function
2018-06-13 09:17:58 -05:00
danielyxie 2fc17e973c Merge pull request #292 from hydroflame/fix-282
fixed 282
2018-06-13 09:15:38 -05:00
danielyxie 6cca695b97 Merge pull request #293 from hydroflame/non-highlight-buttons
user can no longer select button text (meaning they can spam)
2018-06-13 09:15:02 -05:00
danielyxie 9a0dd4b9ee Merge pull request #286 from hydroflame/tor-green
Tor green
2018-06-13 09:10:52 -05:00
danielyxie b0865c09f5 Merge pull request #285 from hydroflame/company-favor-format
Company favor format
2018-06-13 09:04:17 -05:00
danielyxie 4fefdb3a72 Removed and ignored test bundle output in git. Implemented by kopelli in PR 283 (avoid merge conflicts) 2018-06-13 09:03:05 -05:00
danielyxie b6ca6eb7a4 Merge pull request #284 from kopelli/dependencies-update
[chore] Removed unncessary dependencies; Updated many outdated dependencies
2018-06-13 09:00:36 -05:00
danielyxie ca484fa679 Merge pull request #281 from kristapsmelderis/fix#280
fix #280
2018-06-13 08:58:23 -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
danielyxie 84d239e7f8 Merge pull request #278 from hydroflame/fix-negative-growth
Fix negative growth
2018-06-13 08:54:47 -05:00
danielyxie 388ff30ed8 Merge pull request #263 from hydroflame/exec-log
exec, spawn, and run won't log when disableLog is set
2018-06-13 08:51:37 -05:00
Olivier Gagnon af2e04db10 window and document symbold now occur impossibly high ram cost in nsjs 2018-06-13 03:57:25 -04:00
Olivier Gagnon 7362ead364 added options to suppress travel confirmation 2018-06-13 03:37:21 -04:00
Olivier Gagnon 20b35ccfb5 user can no longer select button text (meaning they can spam) 2018-06-13 03:26:07 -04:00
Olivier Gagnon bef2f07811 fixed 282 2018-06-13 01:02:26 -04:00
danielyxie 9e1ddbb4f0 Merge pull request #291 from danielyxie/dev
v0.38.0 Updated changelog in documentation
2018-06-12 23:21:53 -05:00
danielyxie a97aaf3abb v0.38.0 Updated changelog in documentation 2018-06-12 23:21:04 -05:00
danielyxie 27d5b74744 Merge pull request #290 from danielyxie/dev
v0.38.0
2018-06-12 23:18:47 -05:00
danielyxie 575b67440c v0.38.0 - Minor re-balancing and bug fixes in Bladeburner 2018-06-12 23:16:23 -05:00
Olivier Gagnon 6f82f67cea fix #277 2018-06-13 00:12:16 -04: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 520f96865a added devmode to .gitignore, prevent pushing devmode to prod 2018-06-12 17:25:45 -04:00
Olivier Gagnon cc5731baae enable/disable dev mode with a global var 2018-06-12 17:24:53 -04:00
Olivier Gagnon a4ef94c0e0 styling dev menu 2018-06-12 17:16:25 -04:00
Olivier Gagnon d43aa68a67 tooltips and placeholders to explain 2018-06-12 17:11:00 -04:00