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
Olivier Gagnon
c4b25a0c90
added semicolon support to terminal as well as autocomplete support for semicolon commands
2018-07-30 20:16:39 -04:00
Olivier Gagnon
9f43a7208c
gave distinct fl1ght message when conditions are fulfilled
2018-07-25 00:11:35 -04:00
danielyxie
88755f1d0f
Added import functionality to Netscript 1.0
2018-07-20 09:28:03 -05:00
danielyxie
e4742289c7
BN-12 now properly affects Bladeburner multipliers. Added polyfill in new JS interpreter for Array.includes. Fixed terminal not focusing with tab"
2018-07-16 01:00:57 -05: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
a6293474a9
[refactor] Moved "isString()" to its own TS file
2018-07-08 20:15:06 -04: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
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
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
Olivier Gagnon
c830f08081
format fl1ght money like the rest of the money
2018-06-24 21:08:40 -04: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
danielyxie
343d474702
Merge pull request #318 from hydroflame/darkweb-autolink
...
added autolink to darkweb
2018-06-22 15:13:48 -05:00
Olivier Gagnon
3ab23df8d7
terminal autocompletes darkweb better
2018-06-20 18:34:39 -04:00
Steven Evans
67cee8642b
[refactor] Converted TextFile to TypeScript
2018-06-14 09:11:28 -04:00
Steven Evans
3e1ec388e0
[chore] Introduce TypeScript; Tested out with HelpText.
2018-06-13 23:38:35 -04:00
Olivier Gagnon
aa56227851
streamline programs
2018-06-01 19:31:34 -04:00
danielyxie
b18e316821
Fixed bug with scp Terminal command and hopefully fixed Active Scripts UI bug by making create/delete server panel fns non async
2018-05-12 20:21:03 -05:00
danielyxie
96b12f7f68
Added ENABLE_TIMESTAMPS Fconf Setting. Put a soft-cap on stock price. Cleaned up a number rounding display issue for Gang UI (100.03% territory, etc.). Refactored ActiveSCriptsUI code to use a queue to sequentially run 'tasks' that handle the adding/deleting of items and server panels
2018-05-07 12:25:44 -05: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
8dba456b65
Merge jaguilar's changes to incorporate Netscript JS (PR #212 )
2018-05-05 17:13:35 -05:00
danielyxie
9acc422f05
v0.36.0 - Bladeburner BitNode (BN-6)
2018-05-02 12:38:11 -05:00
danielyxie
6255971e96
Fixed a bug with Introductory Tutorial in v0.35.1
2018-03-12 14:53:07 -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
f82d216e10
v0.34.4
2018-02-14 22:26:43 -06:00
danielyxie
5f817c8016
V 0.34.2 Changes
2018-01-27 00:52:39 -06:00
danielyxie
e88a3936f3
v0.34.1
2018-01-19 22:47:57 -06:00
danielyxie
f211e8856f
Minor bug fixes, adding spotify music player, and adding sphinx documentation
2018-01-09 14:48:06 -06:00
danielyxie
3f61ec1cab
v0.34.0 changes
2017-12-06 21:45:47 -06:00
danielyxie
bc6f0da677
Fixed Netscript interpreter memory issues by breaking promise chains in while and for loops. Improved Stock Market UI. Added a button to kill script from log display box. Added confirm() Netscript function
2017-11-02 16:47:09 -05:00
danielyxie
246acf5966
Game now uses indexedDb. Added new Bond Forgery crime. Added commitCrime() and getStats() Singularity functions. Removed getIntelligence(). Balance changes to crime/infiltration
2017-10-11 21:00:22 -05:00
danielyxie
04bfcc0f20
All v0.30.0 Changes
2017-10-09 23:56:48 -05:00
danielyxie
d1f4f8fd36
All v0.29.0 changes
2017-09-19 13:38:03 -05:00
danielyxie
e3991b8795
v0.28.6 changes
2017-09-15 09:06:59 -05:00
danielyxie
c0369bc937
v0.28.5 changes
2017-09-13 09:22:22 -05:00
danielyxie
024546b4f1
v0.28.4 - Bug fixes, getScriptIncome(), syntax highlighting for regular Netscript functions,
2017-09-11 18:14:51 -05:00
danielyxie
1e459c9ec7
v0.28.3 changes
2017-09-07 00:45:14 -05:00
danielyxie
97eeef7d0d
scp and donate for rep bug fixes
2017-08-31 12:19:28 -05:00
danielyxie
7a05d3585a
All 0.28.0 Changes - Bitnodes 4 and 11 and webpack migration
2017-08-30 12:44:29 -05:00
danielyxie
cf99c4f10b
Added literature (.lit files). Fixed bug with Gang Territory. Updated documentation
2017-08-18 12:20:51 -05:00
danielyxie
f100e559af
Gang bugfixes and rebalancing. Terminal ls | grep option. Added Netscript break statement. Used numeraljs to display some number values
2017-08-15 15:22:46 -05:00
danielyxie
3db6d9d007
0.27.0 2nd Tier Prestige + Gangs
2017-08-13 00:01:33 -05:00
danielyxie
53d514d28e
Decimal.js support for player's money. Buffed early game servers.
2017-07-29 11:25:40 -05:00
danielyxie
0e64359814
Lowered hacking exp gain. Added deleteServer(). Maximum of 25 purchaseable servers. Added autocompletion for ./ command. Oustanding faction invitations. Suppress Faction invites and messages
2017-07-26 21:56:14 -05:00
danielyxie
d5be649bbd
Added autocompletion for aliases. Added autocompletion for any number of arguments. Added getServerRam() function
2017-07-24 20:06:40 -05:00
danielyxie
e653b7b315
All v0.26.0 changes
2017-07-21 17:54:55 -05:00
Daniel Xie
a593243b73
Fixed issues with new aliasing, updating changelog
2017-07-05 12:53:51 -05:00
Daniel Xie
03f7ce5fe5
Began implementing RedPill. Rebalancing for home computer RAM, company, university, server starting money. Updated tutorial and faction descriptions
2017-07-04 14:34:17 -05:00
Daniel Xie
006d12360d
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2017-07-04 10:42:50 -05:00
Daniel Xie
147a7393c5
Merged and updated top command implementation
2017-07-04 10:42:47 -05:00
danielyxie
b398c67f03
Merge pull request #80 from MrNuggelz/alias
...
Made alias names posix compilant and added global aliases
2017-07-04 10:42:11 -05:00
danielyxie
c0d41bf38e
Merge pull request #62 from LTCNugget/patch-1
...
Implement top
2017-07-04 10:31:02 -05:00
MrNuggelz
6bfe6a549d
made alias names posix compilant and added global aliases
2017-06-30 18:47:36 +02:00
Daniel Xie
a6406e785a
FIxed field work buff. Added AutoLink and ServerProfiler programs. PRogram work is now saved
2017-06-23 09:23:35 -05:00
Daniel Xie
8a95fb4df7
Added unalias command. Updated to v0.22.0
2017-06-21 12:12:08 -05:00
Daniel Xie
0449460c4f
Added favor system for companies and factions
2017-06-20 11:11:33 -05:00
Daniel Xie
e2fbca1ef0
More nerfs to combat augmentations. Randomized server parameters. Added Log and Kill button to Active SCripts panel
2017-06-19 09:54:11 -05:00
Daniel Xie
15f9ef1a85
temp changes
2017-06-18 16:01:23 -05:00
Daniel Xie
c2aa8d8110
Saving no longer saves logs of running scripts. Some more hacking augmentation nerfs. Reduced thread RAM cost multiplier from 1.02 to 1.01
2017-06-18 04:31:14 -05:00
Daniel Xie
316aa8ad2d
Added stuff for compatibility with new version
2017-06-17 02:21:42 -05:00
Daniel Xie
36eb7608d5
Added ability to pass arguments into scripts
2017-06-16 21:53:57 -05:00
Kyle B
92b100f3ce
Update "top" command- columns and loops
...
Switched the RAM and thread columns so that the RAM usage does not need to be rounded. Updated structure to remove nested loops.
2017-06-16 14:17:40 -04:00
Kyle B
96be33344f
Update "top" command
...
Updated the entry construction to use `.join()` and added/updated comments.
2017-06-16 13:23:42 -04:00
Kyle B
34a86fc32c
Implement top
...
Implementation of the "top" command. Uses the column formatting from scan, which breaks with long names.
2017-06-16 10:57:03 -04:00
Daniel Xie
7d6a94d7a1
Added autocompletion for darkweb and check
2017-06-14 20:27:22 -05:00
Daniel Xie
6fe0ec1ea5
Added dynamic array functioanlity. Refactored tail so that it displays a dynamic popup with log contents
2017-06-14 20:19:52 -05:00
Daniel Xie
4aa7edb576
Fixed bug where you could purchase Darkweb items without router
2017-06-13 20:07:02 -05:00
Daniel Xie
69d4af01ff
Added Options button to top right overview. Script object optimization by deleting server maps when not active. Fixed issue with servers getting negative money
2017-06-13 10:58:31 -05:00
Daniel Xie
6b2d6b5ded
Merge branch 'dev' of https://github.com/danielyxie/netburner into dev
2017-06-13 00:36:34 -05:00
danielyxie
9e542b7b67
Merge pull request #49 from 0x726564646974/themes
...
Adding basic theme command
2017-06-13 00:36:26 -05:00
Daniel Xie
064282682f
Added comments for optimizing Script object
2017-06-13 00:34:45 -05:00
Daniel Xie
5de47f600a
Updated to version 0.20.2. Fixed bug with Netscript arrays. Updated documentation
2017-06-11 15:28:20 -05:00
Daniel Xie
c55b677bc2
Added threading capabilities when running manually. Need to add for run(0 and exec() in netscript. Also fixed some bugs
2017-06-10 20:46:02 -05:00
0x726564646974
47e01ee2eb
Adding basic theme command
2017-06-06 22:51:08 -04:00
Daniel Xie
c331bd7add
Edit scripts that are running. Implement maximum money on server
2017-06-06 19:04:18 -05:00
Daniel Xie
1a7a247b4d
Re-designed Active Scripts tab. Re-designed growth mechanic to depend on server security. Server growth no longer occurss manually. Bug fixes
2017-06-06 16:22:57 -05:00
Daniel Xie
d3fa9f8c6e
Slight rebalancing. Added kill() and killall() commands
2017-06-05 20:34:00 -05:00
Daniel Xie
f7018f082c
Added killall command to terminal
2017-06-05 12:59:30 -05:00
Daniel Xie
ce8257fb0c
Fixed bug with autocompletion on capitalized leters. Updated to 0.19.7
2017-06-03 15:51:18 -05:00
Daniel Xie
0c184f9ad3
Autocompletetion for command ends with a space
2017-06-02 20:46:43 -05:00
Daniel Xie
d1e4ef77fd
Tab autocompletion now works on commands. Updated to v0.19.6
2017-06-02 20:26:17 -05:00
Daniel Xie
7701249cfe
Added changelog to Constants.js. Terminal commands are no longer case sensitive
2017-06-02 19:41:46 -05:00
Daniel Xie
697855d0f5
scp terminal command now overwrites. Updated version to 0.19.5
2017-06-02 14:54:36 -05:00
Daniel Xie
f738034033
scp() command in scripts now overwrites scripts at destination. Fixed some bugs in Network creation
2017-06-02 14:46:14 -05:00
Daniel Xie
9122077206
FIxed a bug with manuallyHacked flag
2017-06-02 09:45:33 -05:00
Daniel Xie
94dd4395be
Adding messages. Changed hacking factions to rely on hacking their specific servers to get the invite. Made Augmentations more expensive
2017-06-01 23:15:45 -05:00
Daniel Xie
ebeac47d12
Fixed UI issues. Added offline production for grow(), weaken(), and hack() in Netscript scripts
2017-05-31 20:57:49 -05:00