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
8b98321b9c
[refactor] Moved getRandombyte
to its own TS file
...
Also made use of `getRandomInt`
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
e16ca2abb5
[refactor] Removed "numNetscriptOperators" as it is not used.
2018-07-08 20:15:07 -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
Steven Evans
b84e9749f6
[chore] TSLint violation cleanup
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
danielyxie
e0ef2eae7a
Merge pull request #350 from hydroflame/fix-server-used-ram
...
fixed ramUsed wrong calculation
2018-07-06 17:06:46 -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
danielyxie
e621cac0a8
Merge pull request #325 from kopelli/eslint
...
Add Eslint to linting toolchain
2018-06-27 22:46:12 -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
danielyxie
946c23a006
Merge pull request #346 from hydroflame/fix-crime-weights
...
fix crime parameter
2018-06-27 22:36:21 -05:00
danielyxie
393ce096fd
Finishing Infiltration returns to company page. Infiltration remembers selected faction
2018-06-27 22:34:57 -05:00
Olivier Gagnon
611b9d2b12
fix crime parameter
2018-06-27 21:47:09 -04:00
danielyxie
8046ec51a7
Merge pull request #345 from danielyxie/bn-and-sf-rebalancing
...
Bn and sf rebalancing
2018-06-27 18:30:15 -05:00
danielyxie
e2b2fb66f3
Rebalancing BN - 7 and several Source Files
2018-06-27 18:28:11 -05:00
Steven Evans
c3dc75862a
[chore] Chaining all the lint scripts to one easier to run command
2018-06-26 22:20:26 -04:00
Steven Evans
12ecc9d5a7
[style] Fixing semicolon placement
2018-06-26 22:10:00 -04:00
Steven Evans
f372f1e693
Merge branch 'dev' into eslint
2018-06-26 22:04:45 -04:00
Steven Evans
2b5090a273
[style] Cleaning up TSLint violations
...
Adding a few custom types and documentation to clean up TSLint rule
violations. Included some usage of rule disabling for things like long
lines where we need to extract text that the user would see. That level
of text should really be separated from the logic.
2018-06-26 21:40:26 -04:00
danielyxie
18e47ee7c4
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-06-26 16:58:45 -05:00
danielyxie
d9bfe213a2
Merge pull request #343 from hydroflame/faction-info-ts
...
Faction info ts
2018-06-26 16:58:28 -05:00
danielyxie
83fc1d6288
Updating CONTRIBUTING.md
2018-06-26 16:43:26 -05:00
Olivier Gagnon
048cbb0910
faction into to ts
2018-06-26 16:34:14 -04:00
danielyxie
c1e54cbf77
Merge pull request #319 from kopelli/contributor-file
...
Contributor file
2018-06-26 15:23:27 -05:00
Olivier Gagnon
7927e2bfe7
little more ts
2018-06-26 16:10:04 -04:00
danielyxie
219568d8af
Fixing merge conflicts
2018-06-26 13:17:07 -05:00
danielyxie
9f6da01ea1
Merge pull request #342 from hydroflame/rm-all-dot-js
...
remove all .js from all appplicable imports
2018-06-26 12:42:49 -05:00
Olivier Gagnon
50a1e83b55
more .js wrongly removed
2018-06-26 13:38:55 -04:00
Olivier Gagnon
40b29ea3c0
woops, sed overkill
2018-06-26 13:27:57 -04:00
Olivier Gagnon
6bdf946790
remove all .js from all appplicable imports
2018-06-26 12:34:11 -04:00
danielyxie
b73680e80e
Merge pull request #341 from danielyxie/urgent-fixes
...
Adding description to SourceFile 7
2018-06-26 10:02:10 -05:00
danielyxie
f9943db71d
Adding description to SourceFile 7
2018-06-26 09:59:44 -05:00
danielyxie
13dbd9f26c
Merge PRs and fix issues
2018-06-26 09:49:28 -05:00