danielyxie
c3ecc189fd
Fixed numerous bugs with the recent Corporation UI rewrite. Rebalanced Corporation mechanic to give employees better and more interesting effects
2019-03-15 02:37:06 -07:00
danielyxie
fa4e98d06c
Merge branch 'master' of https://github.com/danielyxie/bitburner into server-code-refactor
2019-03-04 23:29:01 -08:00
danielyxie
9879d07d7c
Fixed a few minor bugs with submitting solutions for Coding Contracts. Started on Getting STarted Guide for wiki
2019-03-04 22:41:31 -08:00
danielyxie
473f0f1447
Refactored Server/Script/Files code to TypeScript
2019-03-04 17:40:28 -08:00
danielyxie
e1b8a23f1e
Started server code refactor
2019-03-02 19:15:10 -08:00
danielyxie
b7157b63e0
Implemented a money tracker that keeps record where all of the player's money comes from. Players can see a breakdown in the 'Stats' page
2019-02-22 13:22:39 -08:00
danielyxie
8266492001
Fixed bug and added compatibility for converting RunningScript offline dataMap to version v0.43.1
2019-02-12 01:14:38 -08:00
danielyxie
840df3087f
Various QOL improvements and bug fixes
2019-02-08 18:46:30 -08:00
danielyxie
0e8872fad1
Added 6 new Coding Contracts. Added Coding Contract information to documentation.
2019-02-05 16:45:12 -08:00
danielyxie
a09ea46a38
Added BitNode multipliers for purchased servers. Fixed bugs in new Script Editor implementation. Added documentation for script editors
2019-01-29 22:02:27 -08:00
danielyxie
8d2c007bcb
Implemented new Editor Option: CodeMirror. (Vim mode not 100% done yet)
2019-01-27 14:08:45 -08:00
danielyxie
a2237d4319
More bug fixes for Sleeve/Resleeve features. Rebalancing for Sleeve/Resleeve and stock market. Added an option to remove source files in the dev menu
2019-01-21 20:39:52 -08:00
danielyxie
5573e778bb
Fixed bugs with Sleeve mechanics. Updated documentation to use RTD theme
2019-01-20 14:57:38 -08:00
danielyxie
7db169f828
Refactored Main Menu UI implementation. Fixed several bugs related to recent JS -> TypeScript refactors
2019-01-18 09:57:21 -08:00
danielyxie
6d8d25e0bb
Refactored Augmentation implementation to Typescript, and to have the multiplier information in the actrual Augmentation object
2019-01-15 05:11:14 -08:00
danielyxie
bcb231a966
Implemented Sleeve UI. Compiled but untested
2019-01-14 19:34:04 -08:00
danielyxie
d9b865ef17
Began implementing Sleeve UI page
2019-01-10 00:20:04 -08:00
danielyxie
4383d1393d
Fixed re-balanced Corporation issues. Converted several popups in the Corporation mechanic to support Enter/Esc hotkeys
2018-12-24 23:55:54 -08:00
danielyxie
eadcdba09a
Re-wrote YesNoBox util to be Typescript
2018-12-24 05:02:10 -08:00
danielyxie
cc8f3bd4a9
Implemented Corporation Market-TA Research (untested). Implemented Corporation dividends. Fixed new Corp mechanic bugs.
2018-12-22 02:27:04 -08:00
danielyxie
1095438075
Implemented Corporation Research Tree UI using Treant library
2018-12-15 15:31:21 -08:00
danielyxie
5c8512c4b6
Convert Locations and Faction implementations to TypeScript. Also restructed directory. Implemented Sleeve, but untested
2018-12-07 02:54:26 -08:00
danielyxie
34af01efdc
Improved error handling for Faction Banning mechanism
2018-11-30 04:22:16 -08:00
danielyxie
61150f5823
Revert "Revert "Gang rework""
...
This reverts commit be0a08d70caacd9bc3a43faab2825cd5f3c68e1f.
2018-10-29 11:09:33 -05:00
danielyxie
be0a08d70c
Revert "Gang rework"
2018-10-23 13:47:00 -05:00
danielyxie
a43f8bf1e6
Finished ironing out Gang ascension mechanic, including bugs. Refactored UI code to be part of the Gang class.
2018-10-14 19:28:44 -05:00
danielyxie
1d20d475f3
Fixed Infiltration exp display bug. Set cursor: pointer css styling for main menu
2018-09-29 13:58:32 -05:00
danielyxie
fd8bcf35ed
Implemented Coding Contracts
2018-09-22 19:31:43 -05:00
danielyxie
c309c0cdc9
write()/read() now work for script files. You can now use angled brackets in tprint() (and create DOM elements). Added CodingContract implementation
2018-09-22 19:31:43 -05:00
Mat Jaworski
f721e21622
More minor font colour and Infiltration details updates
2018-09-07 00:15:36 +10:00
Mat Jaworski
fe47df1ade
Merge branch 'dev' into dev
2018-09-06 21:44:44 +10:00
Mat Jaworski
0b0a3d366c
More UI updates
...
- infiltration: added colours, updated spacing and fixed alignment
- terminal prompt: added colour for the previous lines as well
- Active Scripts and Hacknet Nodes: money values have a gold colour now; minor spacing updates
- minor code refactoring
2018-09-03 22:10:00 +10:00
danielyxie
30f8c4a6f0
Fixed merge conflicts
2018-08-30 12:01:37 -05:00
danielyxie
e2e0bee150
Merge pull request #414 from kopelli/createProgressBar
...
[bug] 'createProgressBar' - actually possible to fill the entire bar
2018-08-29 22:20:30 -05:00
Steven Evans
68527d6258
[style] Fixing TSLint violations
2018-08-29 22:40:23 -04:00
danielyxie
63cd269d5e
b1t_flume.exe program can now be created instantly (reqd hacking level is 1 instead of 5). Fixed some linting errors
2018-08-29 15:25:01 -05:00
Daniel Xie
f3732b2d74
Preventing exploits by progrmaming DOM button clicks in code
2018-08-17 15:06:18 -05:00
Daniel Xie
d556af0fd8
Converted pop-up boxes to use css flex
2018-08-12 14:45:35 -05:00
Steven Evans
e0a193c7ca
[bug] 'createProgressBar' - actually possible to fill the entire bar
2018-08-02 15:49:16 -04:00
Steven Evans
edcfe71eed
[refactor] Moving BitNodeMultipliers to its own file to break cyclical
...
module references.
2018-08-02 14:33:08 -04:00
Steven Evans
26b0840f26
[refactor] Breaking out page tracking from 'engine'
2018-08-02 14:33:07 -04:00
Steven Evans
0bea4e0430
[refactor] Breaking out key codes
...
Trying to start breaking apart the large circular dependencies between
modules. Most of the dependencies are similar to this pattern where
there is one stand-alone member that is needed, so the entire module
gets brought along with.
2018-08-02 14:23:50 -04:00
Steven Evans
1412b01be5
[style] Fixing TSLint violations
2018-08-02 14:23:49 -04:00
Steven Evans
3130b410e2
[refactor] pulling getTimestamp off Terminal
2018-08-01 13:38:54 -04:00
Steven Evans
bd814446d5
[refactor] Pulled 'removeLoadingScreen' out of Engine
2018-07-16 14:20:01 -04:00
danielyxie
dcd6292ed2
Fixed bugs with new HelperFunctions
2018-07-10 00:11:18 -05:00
Steven Evans
41fbf63f0d
[chore] TSLint cleanup
2018-07-09 13:58:05 -04: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
3a20809943
[refactor] Removed 'clearEventListenersEl' as it was never called
2018-07-08 21:18:42 -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
bcc6d39b10
[refactor] Removed unused imports/exports
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
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
fde2b8cbc1
Infiltration can no longer be done programmatically. HP is reset when prestiging
2018-07-07 19:16:58 -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
300cd01cc8
Merge pull request #344 from kopelli/lint-cleanup
...
[style] Cleaning up TSLint violations
2018-06-27 22:39:50 -05:00
danielyxie
393ce096fd
Finishing Infiltration returns to company page. Infiltration remembers selected faction
2018-06-27 22:34:57 -05: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
Olivier Gagnon
6bdf946790
remove all .js from all appplicable imports
2018-06-26 12:34:11 -04:00
Olivier Gagnon
1c9e6f5c26
linting stuff
2018-06-24 20:55:43 -04:00
Olivier Gagnon
53ddfbc9ec
first conversion
2018-06-22 17:30:24 -04: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
720478377f
[feat] Shrunk the UI of Hacknet Nodes to view more at a time on screen.
...
The UI of a single Hacknet Node now only takes up ~50% of the screen.
This allows two nodes to be displayed per "row" when the screen is wide
enough.
Also repositioned the buttons for the nodes so they are inline with the
information each updates. This visual correlation lets us reduce the
text that needs to be in each button.
Also reduced the amount of DOM that needs to be continuously garbage
collected by updating specific text rather than throwing out entire HTML
elements.
2018-06-05 13:30:07 -04:00
Steven Evans
7362d1809f
[refactor] Remove numeral from utils folder; use npm reference
...
In order to shave off ~0.02MiB of the bundle size, needed to continue
referencing the minified file. Ideally future changes can utilize
code splitting, tree shaking, and minification in WebPack to use normal
references.
2018-05-30 22:46:52 -04:00
Steven Evans
691e2850d7
[refactor] Removing jsplumb from utils folder; no references to it.
2018-05-30 22:14:03 -04:00
Steven Evans
10d7e43f01
[refactor] Pull in 'decimal.js' as an npm dependency
2018-05-30 15:54:13 -04:00
danielyxie
4ea365da02
Refactored Active Scripts UI. Can no longer gain Bladeburner faction rep from infiltration. Added Disable Hotkeys setting
2018-05-06 15:27:47 -05:00
danielyxie
9acc422f05
v0.36.0 - Bladeburner BitNode (BN-6)
2018-05-02 12:38:11 -05:00
danielyxie
d29797ce1e
Update Faction info for Fulcrum and NWO
2018-03-28 11:35:34 -05:00
danielyxie
521b81aec0
v0.35.2
2018-03-26 19:46:21 -05:00
danielyxie
f33d81b1a5
v0.35.1
2018-03-12 14:39:04 -05:00
danielyxie
e3c435270b
V0.35.0. Adding netscript_tests in game testbench.
2018-03-03 15:05:33 -06:00
danielyxie
779ce25ae5
v0.34.5. Also adding webpack config and package-lock.json
2018-02-24 16:55:06 -06:00
danielyxie
24e99ed8d9
Wraithan's changes
2018-02-17 21:08:54 -06:00
danielyxie
1f5ab50b79
Revert "Fix some stuff with ls() and cat"
2018-02-16 15:03:16 -06:00
danielyxie
d37e8f1d5f
Merge pull request #190 from wraithan/fix-ls-txt
...
Fix some stuff with ls() and cat
2018-02-16 15:03:06 -06:00
danielyxie
f82d216e10
v0.34.4
2018-02-14 22:26:43 -06:00
Wraithan (Chris McDonald)
8445edeaf0
Change terminal cat to use <pre> tag for txt files which are often data
2018-02-10 12:52:56 -08:00