Commit Graph

102 Commits

Author SHA1 Message Date
danielyxie 5ede6be8e5 Refactored functions that calculate hacking time/exp gain/chance/ etc into a separate file 2018-08-30 12:00:38 -05: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 1a5208f78f [refactor] Moved 'printArray' to 'arrayToString' TS file 2018-07-08 20:17:51 -04:00
Steven Evans bdb935d104 [refactor] Moved isValidIPAddress to its own TS file 2018-07-08 20:17:49 -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
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 aa17b02da7 Added var declaration in Netscript 1.0. Loops and conditionals no longer incur RAM cost, but base RAM cost increased from 1.4 to 1.6 GB 2018-06-22 14:39:15 -05:00
Olivier Gagnon bebf5c83da exec, spawn, and run won't log when disableLog is set 2018-05-31 22:36:01 -04:00
danielyxie 9acc422f05 v0.36.0 - Bladeburner BitNode (BN-6) 2018-05-02 12:38:11 -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 5f817c8016 V 0.34.2 Changes 2018-01-27 00:52:39 -06:00
danielyxie 36696d04db Stock Market rebalancing. Change visibility to display for changing UI. More work on company management 2017-11-08 19:55:21 -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 52967d7f9d Refactored Code using Bluebird Promises. Still has memory issues. Added Buy Max and Sell All to stock market UI 2017-11-01 17:56:30 -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 662f30cc38 Added :q, :x, :wq Vim Ex commands. Added ADR-v2 Pheromone new Augmentation. Fixed bugs and added improvements to Hacking missions. 2017-10-01 21:35:22 -05:00
danielyxie 26fe9eb519 Added Callback function to installAugmentations(). Implemented Source-File 5. Added player-defined functions to Netscript (not thoroughly tested). Began working on Hacking Mission Enemy 'AI' 2017-09-29 10:02:33 -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 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 3296a817fd Adding script editor options and some bug fixes 2017-09-04 20:03:29 -05:00
danielyxie 24feff0b61 Fixed some error messages in Netscript 2017-09-02 13:47:14 -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 4e2c21b1ba Fixed divide-by-zero bug 2017-08-15 19:18:04 -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 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 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 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 36e3a3b5d2 StockMarket and Infiltration implementations 2017-07-03 14:42:11 -05:00
Daniel Xie f18b8d58fa scan() now takes in 1 argument representing the server to scan 2017-06-29 09:16:32 -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 389fcb7589 Fixed bug with new hacking speed multiplier for grow and weaken times 2017-06-21 12:19:08 -05:00
Daniel Xie fd7796f5d1 Small bug fix with Messages. Hacking experience gain constant is 2 rather than 1 2017-06-20 15:36:48 -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 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 206d5dbe34 Nerfed all augmentations. Hacking speed multiplier increases rather than decreases. Servers have minimum server security. Hacking no money leads to less experience. Grow and weaken give same exp as hacking 2017-06-17 23:36:16 -05:00
Daniel Xie 36eb7608d5 Added ability to pass arguments into scripts 2017-06-16 21:53:57 -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