Commit Graph

61 Commits

Author SHA1 Message Date
danielyxie
561cdb1652 Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level 2018-10-01 19:51:32 -05:00
danielyxie
aa18420e0c
Merge pull request #441 from danielyxie/improve-interactive-tutorial
Updated Interactive Tutorial and added a few helpful links to the hac…
2018-08-29 14:11:13 -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
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
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
danielyxie
af40edfb7d Added new Hacknet Node API documentation 2018-07-18 15:33:22 -05:00
danielyxie
497186355f New Hacknet Node Netscript API - initial commit 2018-07-14 19:25:50 -05:00
Steven Evans
8016321bfb [refactor] Moved 'clearEventListeners' to its own TS file 2018-07-08 21:18:10 -04:00
Steven Evans
488f947a5b [refactor] Moved 'getElementById' 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
Olivier Gagnon
6bdf946790 remove all .js from all appplicable imports 2018-06-26 12:34:11 -04:00
Olivier Gagnon
53ddfbc9ec first conversion 2018-06-22 17:30:24 -04:00
danielyxie
6e6f5ce3d0 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2018-06-06 11:13:38 -05:00
danielyxie
82f1c14656 Added dynamic RAM evaluation to Netscript to prevent exploits by evading RAM usage in NetscriptJS. Calling a HacknetNode API Netscript fn now immediately updates HacknetNodeWrappers 2018-06-06 11:02:21 -05: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
957ce44316 v0.37.2 2018-06-02 20:37:56 -05:00
danielyxie
281aad993f Error calculating hacknet node earnings sets to 0 instead of throwing error 2018-01-10 09:50:31 -06:00
danielyxie
f211e8856f Minor bug fixes, adding spotify music player, and adding sphinx documentation 2018-01-09 14:48:06 -06:00
danielyxie
9e5db4b644 Merged conflicts. Fixed several minor bugs. Increased infiltration exp. TIX api functions return transaction value rather than boolean. Hacking Mission changes for v0.34.0 2017-12-02 22:19:49 -06:00
danielyxie
024546b4f1 v0.28.4 - Bug fixes, getScriptIncome(), syntax highlighting for regular Netscript functions, 2017-09-11 18:14:51 -05:00
danielyxie
965ad5c601 Open up menus when they are relevant 2017-09-03 12:44:20 -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
53d514d28e Decimal.js support for player's money. Buffed early game servers. 2017-07-29 11:25:40 -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
Daniel Xie
222f75d55a Refactored Netscript with Acorns parser. Major rebalancing. Add TIX API. Add round(), purchaseServer(). 2017-07-13 11:54:29 -05:00
Daniel Xie
542a32c768 MOre rebalancing with universities and companies 2017-07-05 11:49:01 -05:00
Daniel Xie
60207b8e04 Added arrays to Netscript. Fixed bug with Hacknet Nodes 2017-06-10 17:44:33 -05:00
Daniel Xie
ae212dda9a Fixed Hacknet Node leveling bug from 199 to 200. Updated tutorial text 2017-06-01 13:55:23 -05:00
Daniel Xie
6ff028b5ea Slightly buffed hacknet nodes 2017-06-01 08:36:49 -05:00
Daniel Xie
5d121caadc Nerf Hakcnet Node Ram upgrade 2017-05-31 18:43:09 -05:00
Daniel Xie
6c6186ffd7 Faction Donation conversion rate is 000000 for 1 reputation. Costs for all augmentations increased by about 110-120% 2017-05-31 18:39:03 -05:00
Daniel Xie
6714d664d0 Added Soft Reset ability in Options. Cancelling work only halves reputation, not other stuff liek money and exp. Added 7 new hacking Augmentations 2017-05-31 10:58:09 -05:00
Daniel Xie
2752ec069a Buffed hacking, nerfed late game Hacknet Node production 2017-05-30 19:16:44 -05:00
Daniel Xie
f4c90a1612 Fixed issue with Hacknet Node multipliers. Added total production cost display for Active Scripts 2017-05-30 19:00:24 -05:00
Daniel Xie
1dcb7eb151 Fixed mistake in formula for Hacket Node production 2017-05-30 16:37:55 -05:00
Daniel Xie
92a1f41164 Significantly buffed money gains from hacking. Slightly nerfed Hacknet Node production 2017-05-30 16:04:33 -05:00
Daniel Xie
d5ad17c84b Calculating max purchase takes into account max level for Hacknet Nodes 2017-05-30 15:54:26 -05:00
Daniel Xie
2569a4819d Fixed bug with Hacknet nodes 2017-05-30 15:34:29 -05:00
Daniel Xie
8cd9e8954d Refactored Netscript Hacknet Node library. Now an array called hacknetnodes[i] can be used to access hacknet nodes, and they can be upgraded with functions 2017-05-25 07:18:34 -05:00
Daniel Xie
f756f09dbe Player starts with 8GB of RAM on home. scan-analyze displays RAM. Increased percentage money hacked 2017-05-24 00:05:31 -05:00
Daniel Xie
ea17334792 Fixed bugs in purchasing/upgrading hacknet nodes in Netscript. Fixed documentation for them as well 2017-05-23 12:49:26 -05:00
Daniel Xie
e1fb332251 Reduced prod multiplier for Hacknet Node RAM. Faction pages now scroll. Bug fix 2017-05-23 09:31:55 -05:00
Daniel Xie
4d0ee212be UI Improvements. Added two new Netscript functions to purchase Hacknet Nodes 2017-05-20 04:27:42 -05:00
Daniel Xie
2823a1ffa1 Purchase MAX hacknet nodes now works. Huge rebalancing of Augmentations, made most augmentations a little bit stronger 2017-05-16 22:50:32 -05:00
Daniel Xie
47e4f5b9dd Slight rebalancing on Hacknet Nodes. Added buttons for purchase multipliers. They don't work yet though 2017-05-16 16:22:54 -05:00
Daniel Xie
223bc3c2c6 Properly focuses on Script editor when its opened 2017-05-15 22:27:47 -05:00
Daniel Xie
f1b7d78ba3 More rebalancing on hacknet Nodes. Tab in script editor works..not super smooth though. Focus on textarea when script editor opens. code in tututorial now properly ignores all whitespace 2017-05-15 22:06:25 -05:00
Daniel Xie
58e9cc91da Massively nerfed Hacknet nodes because the math behind their production was exponentially growing and broke the game. Fixed a small bug with purchasing tor routers being disabled 2017-05-15 17:22:17 -05:00
Daniel Xie
5039a03732 UI Improvement to script editor. FIxed some bugs in new Netscript commands 2017-05-15 10:13:21 -05:00