Commit Graph

227 Commits

Author SHA1 Message Date
danielyxie
c8b478c208 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2019-03-29 16:14:40 -07:00
danielyxie
18a3f061b4 Rebalanced new Hacknet Node mechanics. Adjusted Hacknet API so that it'll work with hacknet Servers. Fixed Corporation bug with Issuing new Shares 2019-03-29 16:14:32 -07:00
Olivier Gagnon
e63ad76701 typo 2019-03-29 16:11:43 -07:00
Olivier Gagnon
cb66ad9628 fli1ght now displays the correct number of augs 2019-03-29 16:11:43 -07:00
Olivier Gagnon
92f7d12c0e free output is now aligned and shows percent used 2019-03-29 12:26:25 -04:00
danielyxie
c4cb7daac5 Initial v0.46.0 changes - Fixed BN9 bugs. Rebalanced BN11 and Corporations. Added memory to Dup sleeves. Various bug fixes 2019-03-27 01:36:14 -07:00
danielyxie
34d749809a BitNode-9 initial implementation 2019-03-24 20:17:47 -07:00
danielyxie
473f0f1447 Refactored Server/Script/Files code to TypeScript 2019-03-04 17:40:28 -08:00
Mason Dechaineux
b26568bf7d Fixed bug with rm terminal and ns commands that made non-exe files with .exe in their name undeletable. 2019-02-26 00:47:29 -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
107977e6f4 Various bugfixes 2019-02-20 00:42:27 -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
9137c24274 v0.43.1 2019-02-11 16:23:46 -08:00
danielyxie
840df3087f Various QOL improvements and bug fixes 2019-02-08 18:46:30 -08:00
danielyxie
8c8e3f2476 Implemented several optimizations - running scripts dont keep track of script refs or a map of ALL servers. Not completely tested yet 2019-02-05 23:06:48 -08:00
danielyxie
dc63b14476 Fixed bug with Terminal parsing changes. Stock's otlkMag is now capped at 50 to prevent forecast from going above 100% or below 0% 2019-02-05 18:32:15 -08:00
danielyxie
5ac10f17f8 Improved terminal parsing to account for quotation marks 2019-02-05 16:46:00 -08:00
danielyxie
8d2c007bcb Implemented new Editor Option: CodeMirror. (Vim mode not 100% done yet) 2019-01-27 14:08:45 -08:00
danielyxie
928faa5b4c Converted Programs and DarkWeb implementations to Typescript 2018-12-25 02:14:18 -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
b242ca2f42 Fixed bugs with refactored Company/job code. Added 'expr' Terminal command 2018-11-17 16:23:48 -08:00
danielyxie
427cdb48ba Initial commit for implemeenting wget and refactoring some Server-related code 2018-10-01 19:51:32 -05:00
danielyxie
3051208bcb Adding updated build and fixing display bugs with Terminal's 'analyze' 2018-10-01 19:51:32 -05:00
danielyxie
f78f0ec1a7 Implemented Coding Contracts 2018-10-01 19:51:32 -05:00
danielyxie
420fd0c5ad write()/read() now work for script files. You can now use angled brackets in tprint() (and create DOM elements). Added CodingContract implementation 2018-10-01 19:51:32 -05:00
danielyxie
6cb7704eed Move all Theme color settings to FconfSettings rather than Settings. Add setting for default/classic main menu style 2018-10-01 19:51:32 -05:00
danielyxie
d50c5abb66 Refactored all code that uses the numeral library to use a wrapper class. Implemented configurable locale setting through this wrapper class 2018-09-12 11:29:02 -05:00
danielyxie
93db9c513a
Merge pull request #455 from kopelli/lint-violations
Lint violations
2018-09-10 14:27:46 -05:00
danielyxie
c24b7bce5f Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-09-10 13:52:38 -05:00
danielyxie
ba469f49c5 Fixed merge conflicts in Kline--numeral-updates 2018-09-10 13:51:21 -05:00
Steven Evans
a681fc5577 [chore] Disabling a couple ESLint violations
These should really be refactored and fixed, but the end-to-end testing
will take a bit more effort. It can be tackled later.
2018-09-10 10:59:07 -04:00
danielyxie
93c1d603c5 Fixed issue with prompt color 2018-09-07 21:53:10 -05:00
danielyxie
b36855fe52 Merged from dev. Fixed merge conflicts. Updated terminal documentation for wget 2018-09-07 21:21:23 -05:00
danielyxie
98598b103d Implemented wget Terminal command 2018-09-07 20:53:11 -05: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
Matthew Goff
2d9f3856c7
formatNumber -> numeral in more locations 2018-09-01 08:42:56 -05:00
danielyxie
5ede6be8e5 Refactored functions that calculate hacking time/exp gain/chance/ etc into a separate file 2018-08-30 12:00:38 -05:00
danielyxie
8b99e46d5e Updated Interactive Tutorial and added a few helpful links to the hackers-starting-handbook Literature file 2018-08-29 14:06:21 -05:00
danielyxie
58d48f19ef Added .fconf setting for enabline line wrap in terminal input. Began implementing wget 2018-08-28 22:24:38 -05:00
Steven Evans
9a7fa5d12c
Merge branch 'dev' into refactor-out-circular-dependencies 2018-08-07 10:00:49 -04:00
Daniel Xie
dac64d188b Fixed bug with executing HTTPWorm program from Terminal 2018-08-06 19:11:14 -04:00
Steven Evans
26b0840f26 [refactor] Breaking out page tracking from 'engine' 2018-08-02 14:33:07 -04:00
Steven Evans
7313d551f1 [refactor] Pulling out post to terminal to its own file. 2018-08-02 14:26:24 -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
Olivier Gagnon
ce13c1bb2f
Merge branch 'dev' into semicolon 2018-08-02 11:04:21 -04:00
danielyxie
b5e8d61ad6
Merge pull request #407 from kopelli/refactor-programs-from-terminal
Refactor - Determine program execution from terminal via hashmap instead switch statement
2018-08-02 10:57:26 -04:00
Steven Evans
3130b410e2 [refactor] pulling getTimestamp off Terminal 2018-08-01 13:38:54 -04:00
Steven Evans
0345daf359 [bug] Fixing the timestamp
getMonth() is 0-based, so changing the offset.

getDay() is the day of week, not day of the month.

Ensuring hours & minutes are always two digits.
2018-08-01 12:55:01 -04:00
Steven Evans
a09fcd21ca [refactor] Determine program execution from terminal via hashmap instead
of switch statement.

Introducing variables within the case block of a switch statement can be
problematic and confusing as case statements do not have their own
scope, and thus are hoisted to the function level. Thus, with a large
enough switch statement, variable declarations could easily be
overlooked as they are peppered throughout the cases. This is especially
problematic for 'const' and 'let' declarations, which are very concerned
about scoping. There is an ESLint rule specifically enabled to catch
this behavior.

This refactoring is a way to mitigate the behavior, while still allowing
for the use of 'const'.
2018-07-31 00:18:38 -04:00