Commit Graph

261 Commits

Author SHA1 Message Date
Steven Evans
2deeaef349 [refactor] Google Analytics is controlled by Webpack 2018-08-30 11:08:08 -04:00
Steven Evans
552ce183c1 [chore] Introduce HTML-Webpack
This issue means that any changes to the HTML has to happen in the
`.\src\index.html` file rather than the `.\index.html`. This makes the
`index.html` in the root now a build artifact the same way that files in
`dist\` are.
2018-08-30 10:43:18 -04:00
Mat Jaworski
5f13bc6336 UI Enhancements
Updates:
– Character Overview box (top right corner) – redesigned and added colours to the attributes.
– Added prompt colour in the terminal.
– Minor copy fixes (grammar and typos).
– Code formatting cleanup.
– Character > Stats – Fixed spacing issue when Intelligence is not yet available
– Main Menu – Adjusted the spacing and changed the border to outline to improve the readability.
– Tooltip boxes (Firefox only) – fixed the issue when tooltips were generating additional spacing around the <br> tags.
– Multiple general updates to UI to improve accessibility and readability. Aimed to improve the user experience when playing the game on a smaller screen resolutions.
– Accordion/Dropdown buttons – improved the readability of the plus/minus icons.
– Added .editorconfig with the most basic settings.
2018-08-30 01:12:33 +10:00
Daniel Xie
e4f02b298b Added Four Sigma (4S) Market Data feature, and its Netscript TIX API functions as well 2018-08-24 15:44:48 -05:00
Daniel Xie
815762bddd Attached Stock market Watchlist 2018-08-23 13:51:57 -05:00
Daniel Xie
d556af0fd8 Converted pop-up boxes to use css flex 2018-08-12 14:45:35 -05:00
Daniel Xie
bb4094f879 Added option to disable hospitalization popup message 2018-08-12 00:39:37 -05:00
danielyxie
9b0db28d00
Merge pull request #415 from kopelli/active-scripts
Active Scripts list no longer jumps down on first update
2018-08-03 11:38:50 -04:00
danielyxie
f972d9458f
Merge pull request #418 from kopelli/patch-1
[style] Consistent quotes & spacing in index.html
2018-08-03 11:35:11 -04:00
Steven Evans
933e8952d7
[style] Consistent quotes & spacing in index.html
Less changes introduced when Webpack is generating this file.
2018-08-03 10:57:57 -04:00
Olivier Gagnon
ddca5ae987 character overview element reuse 2018-08-03 10:54:13 -04:00
Steven Evans
ba3f637eb1 [feat] Active Scripts list no longer jumps on first update 2018-08-02 15:53:53 -04:00
danielyxie
4ea6c4840c
Merge pull request #360 from kopelli/scss
Incorporate SCSS for styling/bundling
2018-08-02 10:18:36 -04:00
Olivier Gagnon
d364de78a7 the killall link appears if the game takes too long to load 2018-07-31 00:47:03 -04:00
danielyxie
b34057f2d3 Added more error line numbers to JS Interpreter. Reputation needed for megacorp faction reduced from 250k -> 200k. Fixed bladeburner.getActionobject() bug with general actions 2018-07-27 19:00:57 -05:00
Steven Evans
3faed7caf2 [refactor, chore] "Compile" CSS via Webpack
This may seem unnecessary (and odd to import CSS files into JS...), but
this sets up the project for being able to keep the distributed
(release) resources all together, as well as setting the stage for
introducing something like SCSS.
2018-07-16 23:22:24 -04:00
Olivier Gagnon
6514632b43 added shortcuts to corp, gang and blade under the world tab 2018-07-12 22:22:28 -04:00
danielyxie
3ffc820519 Fixed new Netscript1 Interpreter to work for functions returning Arrays/Objets. Untested. Also still needs new Hacknet Node implementation 2018-07-10 23:41:26 -05:00
Steven Evans
a82ed16c34 [chore, doc] Split out the "vendor"/3rd party code to its own bundle
Included 'vendor.bundle.js' as it is referenced. So this will give a
baseline to compare against future builds. But ideally this will only
change when updating dependency versions.
2018-07-09 12:50:57 -04:00
danielyxie
78c5a1b0f4 Initial commit for new Netscript 1 Intepreter 2018-07-08 18:53:24 -05:00
danielyxie
60c308a28f
Merge pull request #321 from hydroflame/buy-aug-setting
moved the suppress buy aug confirmation to settings, will now persist
2018-06-25 19:42:17 -05:00
Olivier Gagnon
15b0c11731 moved the suppress buy aug confirmation to settings, will now persist 2018-06-21 13:32:21 -04:00
danielyxie
24cd1bb498 Merge branch 'master' of https://github.com/danielyxie/bitburner into dev 2018-06-21 10:49:40 -05:00
danielyxie
18d4e2bd2a
Merge pull request #316 from kopelli/favicon
Favicon
2018-06-20 16:58:10 -05:00
Steven Evans
15b6660677 [bug] Input elements cannot have child elements. 2018-06-19 22:49:13 -04:00
Steven Evans
1ecb7521f9 [bug] Removing invalid character from within tag. 2018-06-19 22:48:19 -04:00
Steven Evans
bd9b8767fa [bug] moving script tag with body
Script tags must be children of 'head' or 'body'.
2018-06-19 22:46:05 -04:00
Steven Evans
8b9ebe29c2 [feature] Adding favicon and related.
The key file was favicon.ico, but other browsers can support other
formats. And those browsers/devices that allow for "pinning" the site
require some additional files as well.
2018-06-19 22:42:51 -04:00
Alex Ford
ea140d56aa Move 'Changelog' url to the new, up-to-date location. 2018-06-17 20:41:26 -06:00
Olivier Gagnon
83aeb50605 unify dropdown and text input accross the app 2018-06-13 16:20:27 -04:00
danielyxie
89016aeed9 Added devmode. Enabled using build flag. Added new npm build scripts 2018-06-13 12:38:22 -05:00
Olivier Gagnon
7362ead364 added options to suppress travel confirmation 2018-06-13 03:37:21 -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
Olivier Gagnon
ad90a0bb6f added home ram upgrade button, enable+disable intelligence, source file modifications 2018-06-12 16:44:21 -04:00
Olivier Gagnon
c2f2829e75 added stats related dev options 2018-06-12 16:06:05 -04:00
Olivier Gagnon
bc14a6a147 work on the dev menu 2018-06-12 15:27:37 -04:00
Olivier Gagnon
2e3254877f some work on dev menu 2018-06-11 13:41:02 -04:00
danielyxie
71cf3cac35 Bug fixes for new Bladeburner changes 2018-06-08 22:25:28 -05:00
danielyxie
5e38355152 Added Bladeburner API (untested). Rebalanced Bladeburner. Bladeburner progress no longer resets when installing Augmentations. Fixed up BN-12 2018-06-08 10:51:48 -05:00
Steven Evans
2cbc728baf [fix] UI layout of hacknet nodes no longer overflows player info 2018-06-05 23:49:06 -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
danielyxie
6902ece765 v0.36.1 2018-05-11 16:30:55 -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
J
07f1978c0f
Merge branch 'dev' into dev 2018-05-04 23:43:30 -04:00
James Aguilar
3fe254494e Add tests for NetscriptJS 2018-05-04 23:29:22 -04:00
danielyxie
9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -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
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
3f61ec1cab v0.34.0 changes 2017-12-06 21:45:47 -06:00
danielyxie
1529552542 v0.33.0 Added BitNode-3:Corporatocracy 2017-12-01 21:50:08 -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
4dc87af132 v0.32.0 - Added BitNode-8: Ghost of Wall Street 2017-10-25 14:47:47 -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
0927c4251e v0.29.3 Changed - Bug fixes for new player-defined Netscript functions. Rebalancing/bug fixes for Infiltration and Hacking Mission. Added function name autocompletion in Script Editor 2017-10-03 20:50:13 -05:00
danielyxie
c93a398fbf Continue statement, began work on missions 2017-09-21 16:27:31 -05:00
danielyxie
d1f4f8fd36 All v0.29.0 changes 2017-09-19 13:38:03 -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
3296a817fd Adding script editor options and some bug fixes 2017-09-04 20:03:29 -05:00
danielyxie
b17f89eba7 v0.28.0 Changed - Integrate ACE editor 2017-09-01 09:12:40 -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
4a99c04772 Refactored Server() to take old init args in constructor. Removed Server.init(). Faction reputation is now exponential. Increased infiltration exp gains. DOM now loads before scripts 2017-08-02 23:21:15 -05:00
danielyxie
ddca05f4c5 Balancing. Buffed crimes, infiltration, jobs, nerfed hacking 2017-08-01 14:03:45 -05:00
danielyxie
53d514d28e Decimal.js support for player's money. Buffed early game servers. 2017-07-29 11:25:40 -05:00
danielyxie
e5322e466b Added tooltips for companies. Rebalanced and randomized server starting money 2017-07-28 09:19:28 -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
2afb313a53 Added several configurable game settings. Added donate button. Added Hacknet Node API functions for getting cost of upgrades 2017-07-25 09:39:56 -05:00
danielyxie
be48875ff3 Added donate button. Added Netscript functions to get cost of Hacknet Node upgrades 2017-07-24 21:51:03 -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
222f75d55a Refactored Netscript with Acorns parser. Major rebalancing. Add TIX API. Add round(), purchaseServer(). 2017-07-13 11:54:29 -05:00
danielyxie
7786a0aff8 Merge branch 'netscript-refactor' into dev 2017-07-05 08:54:46 -05:00
Daniel Xie
89c8407cbe MOre work on Red Pill stuff 2017-07-04 16:18:42 -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
36e3a3b5d2 StockMarket and Infiltration implementations 2017-07-03 14:42:11 -05:00
Daniel Xie
d63f17fa8d initAugmentations() now called applyAugmentations() at the end 2017-06-28 15:53:12 -05:00
MrNuggelz
0e14fe1632 Netscript reimplementation 2017-06-28 11:47:42 +02:00
Daniel Xie
38e1c77c5c Rebalancing for favor, Increase reputation cost, Fix bugs with purchasing multiple augmentations, balanced company positions. New netscript functions 2017-06-27 23:11:27 -05:00
Daniel Xie
6712d340fb Fixed bugs with new multiple Augmentations feature. Added getServerMaxMoney() netscript command 2017-06-25 18:39:17 -05: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
0449460c4f Added favor system for companies and factions 2017-06-20 11:11:33 -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
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
d48428f0e8 Increased cost of RAM by 10%. Decreased cost multiplier of NeuroFlux Governor augmentation 2017-06-11 15:36:36 -05:00
Daniel Xie
cca56bdabe Updated Options menu 2017-06-07 23:57:59 -05:00
Daniel Xie
d09179cd4f Added beta functionality for export/import feature 2017-06-07 23:57:40 -05:00
Daniel Xie
ac3e5c8c9e Added Deepscan to darkweb. Cannot get invited to faction if you decline 2017-06-07 18:35:56 -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
bb24c017f1 Refactor Netscript Interpreter 2017-06-04 23:48:37 -05:00
Daniel Xie
0d90479097 Fixed issue with Faction page formatting. Script.reset() now re-updated RAM usage 2017-06-03 23:56:18 -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
a3d45b3cc2 Script editor now saves state when switching to other tabs. Updated to version 0.19.4 2017-06-02 12:18:53 -05:00