Commit Graph

52 Commits

Author SHA1 Message Date
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
Daniel Xie f32ec4f9a7 Added getServerMoneyAvailable(), run(), and getHackingSkill() commands, and some small bug fixes + UI improvements 2017-05-15 01:35:09 -05:00
Daniel Xie f2287b5696 Lots of changes, didn't keep track ofthem all 2017-05-10 12:42:46 -05:00
Daniel Xie cc21dd6fc7 Rebalancing, UI improvements 2017-05-07 03:22:50 -05:00
Daniel Xie 2e55f1d472 Implemented interactive tutorial! 2017-05-06 01:24:01 -05:00
Daniel Xie 2c53073f21 Format numbers to look nice, update info that is displayed on Character page 2017-05-04 15:50:17 -05:00
Daniel Xie 3eccf23a41 Minor UI improvements, fixed job requirements to make them inline with multiplers of 5, rebalancing hacking times 2017-05-02 23:38:58 -05:00
Daniel Xie 635ef04967 Added Augmentations for new Hacknet Node faction and rebalancing company positions so the requirements are in even numbers 2017-05-02 14:24:24 -05:00
Daniel Xie 097807282d Small UI change - HacknetNode production added toFixed(2) 2017-05-01 22:56:48 -05:00
Daniel Xie b61754ddd0 Finished implementing Hacknet Nodes. Seems to be working fine 2017-04-27 15:02:58 -05:00