danielyxie
8dba456b65
Merge jaguilar's changes to incorporate Netscript JS (PR #212 )
2018-05-05 17:13:35 -05:00
James Aguilar
7ce070e0aa
Resolve merge conflicts.
2018-05-05 16:43:04 -04:00
danielyxie
2a87aa16f6
Added metakey + b hotkey compatibility for script editor close and save. Refactored Server constructor and initialization
2018-05-05 15:23:57 -05:00
J
07f1978c0f
Merge branch 'dev' into dev
2018-05-04 23:43:30 -04:00
James Aguilar
ebd5aacb89
add the NSJS evaluator
2018-05-04 23:20:19 -04:00
James Aguilar
0fa9c26529
Add preamble function for NSJS programs.
2018-05-04 23:06:22 -04:00
danielyxie
9acc422f05
v0.36.0 - Bladeburner BitNode (BN-6)
2018-05-02 12:38:11 -05:00
danielyxie
1c7ae7bc8f
Fixed merge conflicts
2018-03-28 11:50:10 -05:00
danielyxie
d29797ce1e
Update Faction info for Fulcrum and NWO
2018-03-28 11:35:34 -05:00
danielyxie
521b81aec0
v0.35.2
2018-03-26 19:46:21 -05:00
Steven Evans
3ad6cfd8bb
Can successfully run Webpack to create dist/bundle.js
...
The bundled output is noticeably different; likely due to Webpack 4
vs. 2/3. The order of dependencies also appears to have changed.
The overall output *seems* to be the same. Unsure how to full test
that everything is getting bundled appropriately.
This also allows the project to be built without having to manually
copy files into node_modules.
2018-03-21 11:56:30 -04:00
danielyxie
6255971e96
Fixed a bug with Introductory Tutorial in v0.35.1
2018-03-12 14:53:07 -05:00
danielyxie
d3e45f746b
Updated .fconf comment for ENABLE_BASH_HOTKEYS to link to propert documentation page
2018-03-12 14:43:10 -05:00
danielyxie
f33d81b1a5
v0.35.1
2018-03-12 14:39:04 -05:00
danielyxie
629e2eb425
Removed dev/debugging parameters
2018-03-03 17:58:05 -06:00
danielyxie
f8c987a2c0
Fixed various bugs in v0.35.0 with prestiging
2018-03-03 17:55:58 -06:00
danielyxie
bf90b85ae0
Changed version number to v0.35.0. Disabled AST logging for Netscript Worker actions
2018-03-03 15:30:46 -06:00
danielyxie
e3c435270b
V0.35.0. Adding netscript_tests in game testbench.
2018-03-03 15:05:33 -06:00
danielyxie
0e6ef8b83f
Fixed company bug in v0.34.5
2018-02-24 20:10:24 -06:00
danielyxie
779ce25ae5
v0.34.5. Also adding webpack config and package-lock.json
2018-02-24 16:55:06 -06:00
danielyxie
85ccb294dd
Merge pull request #187 from IChris2698I/patch-1
...
Typo fix in Augmentations.js
2018-02-17 21:09:59 -06:00
danielyxie
24e99ed8d9
Wraithan's changes
2018-02-17 21:08:54 -06:00
danielyxie
1f5ab50b79
Revert "Fix some stuff with ls() and cat"
2018-02-16 15:03:16 -06:00
danielyxie
d37e8f1d5f
Merge pull request #190 from wraithan/fix-ls-txt
...
Fix some stuff with ls() and cat
2018-02-16 15:03:06 -06:00
danielyxie
1808afa711
Minor bugfix in Gang.js and updating documentation for spawn() and stopAction()
2018-02-14 22:34:57 -06:00
danielyxie
f82d216e10
v0.34.4
2018-02-14 22:26:43 -06:00
Wraithan (Chris McDonald)
8445edeaf0
Change terminal cat to use <pre> tag for txt files which are often data
2018-02-10 12:52:56 -08:00
Wraithan (Chris McDonald)
6a3ac7165d
fix bug with ls() that prevented including .txt files
2018-02-10 12:19:08 -08:00
danielyxie
dc26d831d6
Reworked Gang UI
2018-02-09 15:11:43 -06:00
IChrisI
4267e7a3a9
Typo fix in Augmentations.js
2018-02-05 20:52:03 -08:00
danielyxie
920bfb7913
Fixed bug with Advert Inc upgrade not working properly because I used Math.random instead of getRandomInt.
2018-02-05 13:56:07 -06:00
danielyxie
d89b804b00
0.34.3 Multiple Corporation Management bug fixes and balance changes
2018-01-31 17:41:02 -06:00
danielyxie
9e20856b5f
Update Constants.js
2018-01-30 08:28:56 -06:00
danielyxie
470b66e304
Bugfixes for Corporations. hacknetnodes now accounts for RAM usage. Start of v0.34.3
2018-01-29 23:14:17 -06:00
danielyxie
be17cff29e
Fixed a serious bug with Corporation profit (forgot to multiple by secsperCycle
2018-01-27 12:42:53 -06:00
danielyxie
f60fe597fb
Fixed Corporation bug with businessFactor for Products
2018-01-27 12:29:21 -06:00
danielyxie
19c8972fb4
Commented out logging debug code
2018-01-27 01:00:56 -06:00
danielyxie
5f817c8016
V 0.34.2 Changes
2018-01-27 00:52:39 -06:00
danielyxie
8d72dd0f4e
fileExists() now works on text files. Starting redoing Company mgmt employee UI
2018-01-21 14:53:16 -06:00
danielyxie
8ad28908e8
Merge pull request #170 from devoidfury/fileExists-txt
...
fileExists netscript function now works with txt files
2018-01-19 23:40:29 -06:00
danielyxie
e88a3936f3
v0.34.1
2018-01-19 22:47:57 -06: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
Tom Hunkapiller
5f52d31836
fileExists netscript function now works with txt files
2018-01-02 01:12:54 -06:00
danielyxie
79274defc4
UpdateScriptRam on prestige bug fix
2017-12-10 23:07:16 -06:00
danielyxie
d5bd1665d0
Bugfixes for cancelOrder(), selling stocks for Corporation, and updating RAM usage on prestige. Also added in-game documentation for clear() and exit()
2017-12-10 23:04:00 -06:00
danielyxie
3f61ec1cab
v0.34.0 changes
2017-12-06 21:45:47 -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
1529552542
v0.33.0 Added BitNode-3:Corporatocracy
2017-12-01 21:50:08 -06:00
danielyxie
3c4185c9b1
Fixed gang display bug
2017-11-16 15:41:40 -06:00
danielyxie
0fbea47f18
CompanyManagement changes
2017-11-16 13:37:26 -06:00
danielyxie
124292ef97
Fix mission UI
2017-11-08 20:53:40 -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
944d796772
Fixed Netscript error message typos
2017-11-02 22:32:31 -05:00
danielyxie
03fdaeaba4
Changed confirm to prompt, updated version, more stock market balancing
2017-11-02 22:11:14 -05: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
7c4ac00f5a
Replaced strict equality comparisons for null with loose eq comparisons
2017-10-25 17:05:12 -05:00
danielyxie
7614c62507
Fix bug when checking for null
2017-10-25 16:11:53 -05:00
danielyxie
4dc87af132
v0.32.0 - Added BitNode-8: Ghost of Wall Street
2017-10-25 14:47:47 -05:00
danielyxie
4ccad83e5e
Initial implementation of BitNode-8: Ghost of Wall Street. Added TextFile.js to git. Added design for company management
2017-10-20 16:59:54 -05:00
danielyxie
153831afe9
Updated version
2017-10-15 21:10:08 -05:00
danielyxie
969973181b
Added documentation for new features
2017-10-15 21:09:49 -05:00
danielyxie
cf471acad6
Fixed save issue. Rebalancing
2017-10-14 20:55:41 -05:00
danielyxie
8f0dad0d10
Fixed issue in Hacking Missions where nodes weren't easily selectable
2017-10-13 10:19:42 -05:00
danielyxie
4186326771
Added new Text Files (downloadable) and their corresponding Terminal commands. Added sprintf and vsprintf.
2017-10-12 15:10:34 -05:00
danielyxie
dbb4a93a78
Merge branch 'dev' of https://github.com/danielyxie/netburner into dev
2017-10-11 21:01:55 -05:00
danielyxie
5768068065
Merge pull request #147 from jjclark1982/patch-1
...
Only append one number to make unique hostname
2017-10-11 21:01:45 -05:00
danielyxie
1ae415f7ac
Updating changelog
2017-10-11 21:00:55 -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
4d4542f349
Properly implemented new effects for BN11
2017-10-10 00:07:28 -05:00
danielyxie
04bfcc0f20
All v0.30.0 Changes
2017-10-09 23:56:48 -05:00
Jesse Clark
aa41db9f3c
Only append one number to make unique hostname
...
Instead of naming servers like "pserv-0", "pserv-0-1", "pserv-0-1-2", only append a single number like "pserv-3"
2017-10-07 16:51:49 +11: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
51c37176f1
Bugfixes and balance tweaks for Hacking missions
2017-10-01 22:27:42 -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
1233d487d9
Updated version to 0.29.1
2017-09-27 10:15:48 -05:00
danielyxie
22a5d3b3cc
Finished BETA version of Missions. All other changes for v0.29.1
2017-09-27 10:13:42 -05:00
danielyxie
c84417607f
Merge branch 'master' of https://github.com/danielyxie/netburner into dev
2017-09-25 22:32:36 -05:00
danielyxie
ce49eee37f
FIx PlayerOwnedAugmentation bug
2017-09-25 21:45:46 -05:00
danielyxie
2523222565
More work on Hacking mission
2017-09-25 21:44:33 -05:00
danielyxie
a742d33a11
Forced Red Pill messages only happen if youve never destroyed a BitNode
2017-09-25 07:55:58 -05:00
danielyxie
5e7d72d901
More work on Hacking Missions
2017-09-25 07:50:19 -05:00
danielyxie
4a0f8c4666
Merge branch 'master' of https://github.com/danielyxie/netburner into dev
2017-09-21 23:25:21 -05:00
danielyxie
398070f053
Merge branch 'master' of https://github.com/danielyxie/netburner into bugfixes
2017-09-21 16:30:03 -05:00
danielyxie
eb9a0a3f0e
Loading agent job fix
2017-09-21 16:29:53 -05:00
danielyxie
c93a398fbf
Continue statement, began work on missions
2017-09-21 16:27:31 -05:00
danielyxie
796614bc41
Updated helptext for new scan-analyze -a flag
2017-09-19 13:56:54 -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
f8ff4cfba6
Added javascript math module
2017-09-11 18:31:42 -05:00
danielyxie
1f9d0be7be
v0.28.4 - Bug fixes, getScriptIncome(), syntax highlighting for regular Netscript functions,
2017-09-11 18:14:56 -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
68fcc12ac8
Normal netscript supported functions now highlighted in different color
2017-09-08 18:42:56 -05:00
danielyxie
19b861c4f7
Fixed bug with purchasing NeuroFlux using purchaseAugmentation() Singularity fn
2017-09-08 14:16:48 -05:00
danielyxie
787e2027f5
Fixed server purchase bug
2017-09-07 22:05:44 -05:00
danielyxie
ac7cd797fa
Infiltration exp fix
2017-09-07 21:56:27 -05:00
danielyxie
5b5457f0bd
Updated changelog for v0.28.3
2017-09-07 00:47:25 -05:00
danielyxie
1e459c9ec7
v0.28.3 changes
2017-09-07 00:45:14 -05:00
danielyxie
f44b117002
Changed version in Constants
2017-09-04 20:39:00 -05:00
danielyxie
3296a817fd
Adding script editor options and some bug fixes
2017-09-04 20:03:29 -05:00
danielyxie
0f5d2a7c6a
Merge branch 'master' of https://github.com/danielyxie/netburner into dev
2017-09-03 12:44:24 -05:00
danielyxie
965ad5c601
Open up menus when they are relevant
2017-09-03 12:44:20 -05:00
danielyxie
7b01360b3e
Fixed bug with gang territory and power
2017-09-02 15:05:42 -05:00
danielyxie
24feff0b61
Fixed some error messages in Netscript
2017-09-02 13:47:14 -05:00
danielyxie
c34e74f5c1
Merge branch 'master' of https://github.com/danielyxie/netburner into bugfixes
2017-09-01 15:41:17 -05:00
danielyxie
e0adb758cf
Fix Gang UI bug
2017-09-01 15:40:51 -05:00
danielyxie
9614d6ee4f
In the middle of work for simplifying UI
2017-09-01 15:35:14 -05:00
danielyxie
78ca383ee2
Refactored code that initializes main menu buttons/header/panels
2017-09-01 13:49:21 -05:00
danielyxie
9b96e2537d
Fixed bug with creating gangs
2017-09-01 11:59:11 -05:00
danielyxie
b17f89eba7
v0.28.0 Changed - Integrate ACE editor
2017-09-01 09:12:40 -05:00
danielyxie
fd2642cfe9
Fixed bugs with Darkweb buy, help text, and getting new Source files
2017-08-31 21:21:13 -05:00
danielyxie
97eeef7d0d
scp and donate for rep bug fixes
2017-08-31 12:19:28 -05:00
danielyxie
110138f3ee
Fixed some bugs with Stock Market
2017-08-31 00:04:23 -05:00
danielyxie
ff5359dc3d
Fixed bugs with new Singularity Functions
2017-08-30 13:36:59 -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
33c10ccc64
Began creating universityCourse singularity function
2017-08-22 13:48:04 -05:00
danielyxie
e2d0477203
Began implementing Singularity functions
2017-08-21 11:59:06 -05:00
danielyxie
99c220514f
Save compatibility and updating version in Constants
2017-08-19 20:38:27 -05:00
danielyxie
faf19addee
0.27.3 Changes
2017-08-19 20:36:19 -05:00
danielyxie
cf99c4f10b
Added literature (.lit files). Fixed bug with Gang Territory. Updated documentation
2017-08-18 12:20:51 -05:00
danielyxie
4e2c21b1ba
Fixed divide-by-zero bug
2017-08-15 19:18:04 -05:00
danielyxie
63da40689d
Small improvements to Interactive Tutorial
2017-08-15 18:49:47 -05:00
danielyxie
6975b46d4d
Update to 0.27.1 and add backwards compatibility
2017-08-15 15:27:00 -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
c62639099a
Load Decimal.js values
2017-08-01 14:10:21 -05:00
danielyxie
ddca05f4c5
Balancing. Buffed crimes, infiltration, jobs, nerfed hacking
2017-08-01 14:03:45 -05:00
danielyxie
8b6dba561c
Crime and job balancing. Fixed some formatting bugs
2017-07-30 14:11:30 -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
118118db83
Fixed bug with Netburners invite
2017-07-25 23:46:58 -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
e6b15ed4ab
Switch back to old wiki. Updated changelog
2017-07-14 08:33:40 -05:00
Daniel Xie
b1da24aa9e
Updated with new wiki that I created
2017-07-13 15:32:18 -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
378797e511
Merge branch 'master' of https://github.com/danielyxie/netburner into netscript-refactor
2017-07-10 22:09:44 -05:00
Daniel Xie
d910a89fd9
Red Pill and Export bug fixes
2017-07-06 22:24:59 -04:00
Daniel Xie
2fd9add22d
Fixed typo in CHangelog
2017-07-05 17:35:15 -05:00
Daniel Xie
cb7dda9293
Rebalancing stock market and infiltration, updated changelog/documentation
2017-07-05 17:33:46 -05:00
Daniel Xie
a593243b73
Fixed issues with new aliasing, updating changelog
2017-07-05 12:53:51 -05:00
Daniel Xie
542a32c768
MOre rebalancing with universities and companies
2017-07-05 11:49:01 -05:00
Daniel Xie
22a796ceea
Merge branch 'netscript-refactor' of https://github.com/danielyxie/netburner into netscript-refactor
2017-07-05 08:55:44 -05:00
Daniel Xie
c0442696c1
updated changelog
2017-07-05 08:55:39 -05:00
danielyxie
7786a0aff8
Merge branch 'netscript-refactor' into dev
2017-07-05 08:54:46 -05:00
Daniel Xie
0f59d48c53
Fixed typos
2017-07-04 23:02:19 -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
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
Daniel Xie
2c384bade8
Fixed bug with Firefox and deleting qty field in WSE
2017-07-03 22:16:41 -05:00
Daniel Xie
1befaccf3f
Fixed bug with buying selling 0 shares
2017-07-03 21:39:15 -05:00
Daniel Xie
36e3a3b5d2
StockMarket and Infiltration implementations
2017-07-03 14:42:11 -05:00
MrNuggelz
6bfe6a549d
made alias names posix compilant and added global aliases
2017-06-30 18:47:36 +02:00
Daniel Xie
c0fc4e381d
Updated documentation for new scan() command
2017-06-29 09:17:47 -05:00
Daniel Xie
f18b8d58fa
scan() now takes in 1 argument representing the server to scan
2017-06-29 09:16:32 -05:00
Daniel Xie
d63f17fa8d
initAugmentations() now called applyAugmentations() at the end
2017-06-28 15:53:12 -05:00
Daniel Xie
bc282daf08
Bug fix with marking augmentations as owned in Player.augmentations
2017-06-28 14:21:04 -05:00
MrNuggelz
d855eb6301
update netscript documentation
2017-06-28 18:06:31 +02: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
0900c87f38
New Create Program saving progress feature bug fix
2017-06-24 16:35:36 -05:00
Daniel Xie
9553e63b54
Refactored Augmentations using new PlayerOwnedAugmentation object
2017-06-24 16:33:44 -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
3f684dbfdb
Updated changelog
2017-06-21 14:50:41 -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
8a95fb4df7
Added unalias command. Updated to v0.22.0
2017-06-21 12:12: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
8ce228c71f
Combined the offline data maps for scripts into a single object. More nerfs to combat Augmentations
2017-06-18 18:23:50 -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
dc39b941dc
Toned down strength Augmentations even more. Increased growth rate by 50%. Readjusted crime success formulas. Fixed bug with Agent in Company.js
2017-06-18 03:24:08 -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
4b96bca03f
Added playtime since last augmentation. Fixed bug with Fulcrum faction display page
2017-06-17 12:47:04 -05:00
Daniel Xie
316aa8ad2d
Added stuff for compatibility with new version
2017-06-17 02:21:42 -05:00
Daniel Xie
c5f3988183
Updated theme command documentation
2017-06-16 22:32:58 -05:00
Daniel Xie
8ab2415bb3
Updating to v0.21.0
2017-06-16 22:08:51 -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
danielyxie
8444e154ee
Merge pull request #59 from HDEHacks/patch-1
...
Fix typo in Netscript Doc
2017-06-12 21:19:20 -05:00
Hedon
d1da37dd5e
Fix typo in Netscript Doc
2017-06-12 10:32:50 -05:00
Daniel Xie
a1937c4b46
Fixed bug with Graphene Bionic Legs augmentation
2017-06-11 23:43:54 -05:00
Daniel Xie
445b93d012
Fixed two typoes with Company.js and Faction
2017-06-11 20:33:58 -05:00
Daniel Xie
21c1da62f1
Transition between versions
2017-06-11 16:07:38 -05:00
Daniel Xie
817d3e0536
Code operation time set to 200ms
2017-06-11 15:50:25 -05:00
Daniel Xie
2a5647bda8
Updated changelog
2017-06-11 15:39:01 -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
5de47f600a
Updated to version 0.20.2. Fixed bug with Netscript arrays. Updated documentation
2017-06-11 15:28:20 -05:00
Daniel Xie
59817db626
Fixed issue with assigning expressions to array elements
2017-06-11 14:05:28 -05:00
Daniel Xie
f983d5521b
Setting values in Arrays works now
2017-06-11 01:52:52 -05:00
Daniel Xie
f7bf83e4d9
Added threading options for run() and exec() commands
2017-06-10 22:45:06 -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
Daniel Xie
60207b8e04
Added arrays to Netscript. Fixed bug with Hacknet Nodes
2017-06-10 17:44:33 -05:00
0x726564646974
7b69e10efc
Merge branch 'dev' into themes
2017-06-08 20:27:34 -04:00
Daniel Xie
b43ad2f044
Updated to v0.20.1
2017-06-08 13:32:38 -05:00
Daniel Xie
005216d664
Re=load everything problem when importing game
2017-06-08 10:59:22 -05:00
Daniel Xie
b7b4617cee
Close Options box when selecting certain actions
2017-06-08 00:08:53 -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
598efda098
FIxed bug with script errors in nested progs
2017-06-07 16:18:21 -05:00
Daniel Xie
a99e9391f2
Increased price of all Dark programs 10x
2017-06-06 23:39:23 -05:00
Daniel Xie
f92556e754
Fixed bugs with new Netscript commands
2017-06-06 23:09:53 -05:00
0x726564646974
47e01ee2eb
Adding basic theme command
2017-06-06 22:51:08 -04:00
Daniel Xie
a461491094
Fixed bugs with new Netscript functions. Adding ActiveScriptsUI.js file to git
2017-06-06 21:33:50 -05:00
Daniel Xie
47e57eb645
Fixed bugs with Prestige
2017-06-06 19:37:38 -05:00
Daniel Xie
570bba2dd1
Added new update text. Bugs with server max money. Updated to version 0.20.0
2017-06-06 19:28:20 -05: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
0dc3d56e3c
Added isRunning() Netscript command. Account for new commands in RAM usage
2017-06-05 12:50:32 -05:00
Daniel Xie
8fa1eab3c6
Added fileExists() and getServerRequiredHackingLevel() Netscript commands. Updated Netscript documentation
2017-06-05 10:31:46 -05:00
Daniel Xie
d73a11f678
Rebalancing script RAM Usage. Script base RAM cost is 1.5GB, while common functions were made cheaper
2017-06-05 09:31:47 -05:00
Daniel Xie
9adce1dd2f
Added EXP gains to weaken() and grow() after refactoring, and rebalanced hacking mechanics:
2017-06-05 03:08:04 -05:00
Daniel Xie
71999ea2eb
Removed time for Program netscript ocmmands (nuke, brutessh, etc)
2017-06-05 01:24:30 -05:00
Daniel Xie
bb24c017f1
Refactor Netscript Interpreter
2017-06-04 23:48:37 -05:00
Daniel Xie
beb770eaf9
Updated constants
2017-06-04 03:46:14 -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
474ba223f2
Two of the Tian Di Hui Augmentations made more expensive
2017-06-02 20:56:15 -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
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
Daniel Xie
b85783cebc
Programming tutorial opens link in new tab. Fixed some text
2017-06-02 12:04:43 -05:00
Daniel Xie
7655bd4264
Fixed background color in iTutorial
2017-06-02 11:59:17 -05:00
Daniel Xie
0d3a4020a3
Updated to v0.19.2
2017-06-02 11:49:42 -05:00
Daniel Xie
807fb8d850
Fixed typos and improved text in documentation/tutorial
2017-06-02 11:49:14 -05:00
Daniel Xie
53d03e2933
Fixed bug in messages
2017-06-02 09:48:00 -05:00
Daniel Xie
9122077206
FIxed a bug with manuallyHacked flag
2017-06-02 09:45:33 -05:00
Daniel Xie
5f81ec0bfe
Updated version to 0.19.0
2017-06-02 09:37:51 -05:00
Daniel Xie
3fa2e4d2a3
Classes even more expensive.
2017-06-02 09:36:17 -05:00
Daniel Xie
e2b1916fb2
Rebalancing
2017-06-02 08:30:47 -05:00
Daniel Xie
8e9e64a1f2
Gyms and classes are now significantly more expensive
2017-06-02 00:49:09 -05:00
Daniel Xie
dd2a936462
Augmentations made slightly more expensive. Increased company wages across the board
2017-06-02 00:47:56 -05:00
Daniel Xie
01901e3a8e
Made the effects of many Augmentations slightly stronger
2017-06-02 00:34:57 -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
236facab97
Updated versio to 1.18.3
2017-06-01 13:56:27 -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
b53abeb280
Refactored Dialog boxes so that an infinite amount can be opened
2017-05-31 23:17:50 -05:00
Daniel Xie
70e52553dd
Remove good augmentation from CyberSec. Created The Black Hand Server
2017-05-31 21:19:14 -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
Daniel Xie
5d121caadc
Nerf Hakcnet Node Ram upgrade
2017-05-31 18:43:09 -05:00
Daniel Xie
540d1f4bcd
Updated version to 0.18
2017-05-31 18:42:18 -05:00
Daniel Xie
4420523a82
Augmentations 3x more expensive
2017-05-31 18:41:34 -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
070f4df191
Hacking a server fortifys it by 0.001, was 0.002 before
2017-05-31 12:55:16 -05:00
Daniel Xie
4503d67af2
Increased ram on some servers from 2GB to 4GB. Growth rate increased slightly. Weaken() ram cost decreased to be in line with hakc() and grow()
2017-05-31 12:52:30 -05:00
Daniel Xie
d825b25c73
Added functions for weakening server security and updated docuemtnation
2017-05-31 12:37:32 -05:00
Daniel Xie
07d9dc6db8
Server security increases slightly when hacked
2017-05-31 11:45:30 -05:00
Daniel Xie
e70f499f13
Added exec() command. Initial testing shows that its working ok
2017-05-31 11:33:54 -05:00
Daniel Xie
ba3d7b9aef
Updated character page to show growth multiplier
2017-05-31 11:02:40 -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
05036953ef
Updated version to 0.17.7
2017-05-30 16:32:15 -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
18f447de0e
Increased cost multiplier for Hacknet Node upgrades
2017-05-30 15:59:08 -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
6a2343ee58
Buffed Company wages across the board
2017-05-30 12:13:11 -05:00
Daniel Xie
9cc0a26d0b
Added reject for stopflags in getHostname()
2017-05-30 11:57:27 -05:00
Daniel Xie
0e6036bfae
Updated version to 1.17.5
2017-05-30 11:19:27 -05:00
Daniel Xie
501abfeae0
Player hacking speed affects time to execute grow()
2017-05-30 10:10:15 -05:00
Daniel Xie
f3fde01758
Updated version to 1.17.4
2017-05-30 10:07:19 -05:00
Daniel Xie
55355404c5
Lowered requirements for The Black Hand and BitRunners
2017-05-30 10:06:54 -05:00
Daniel Xie
519e2ced66
Refactored pop up boxes
2017-05-30 09:55:58 -05:00
Daniel Xie
ea7b93e953
FIxed issue with purchasing Augmentations that require previous Augmentations. Buffed hacking slightly. FIxed UI issues:
2017-05-30 08:57:24 -05:00
Daniel Xie
dad7a58291
Updating Faction informations
2017-05-29 23:26:08 -05:00
Daniel Xie
31105aac92
Refactored Company job application code
2017-05-29 22:52:06 -05:00
Daniel Xie
ec3f936f2b
Fixed bug with Neuroflux Governor increasing cost multiopliers. Increased TOR Router cost to 200k
2017-05-29 21:29:57 -05:00
Daniel Xie
c4f6563f59
Added scp netscript command to docuemntatioN:
2017-05-29 21:14:00 -05:00
Daniel Xie
ad6f74a16d
Lowered cost for NeuroFlux governor. Fixed tab completion for scp command. Fixed bugs with Netscript scp command
2017-05-29 21:02:41 -05:00
Daniel Xie
3ff1e8e87d
Added scp command to netscript. Nerfed Hacknet Node augmentations
2017-05-29 20:25:52 -05:00
Daniel Xie
54bf26689f
Added scp terminal command
2017-05-29 19:18:48 -05:00
Daniel Xie
66d311f9d8
Added RAM cost for getHostname() and hasRootAccess(). Applied hacking grow_mult to server growth)
...
git p
2017-05-29 18:12:57 -05:00
Daniel Xie
d8fd1e1164
Removed a log statement from Netscriopt
2017-05-29 17:42:42 -05:00
Daniel Xie
af47baf4fa
Buffed crimes and hacking. Increased growth rate of servers. Added getHostanme command. Added preventDefault() for ctrl+b in script editor. Buffed Neuroflux Governor, which adds 1% to all multipliers, and made it more expensive. Nerfed Hacknet Node base production. Fixed nested for loop issue
2017-05-29 17:37:38 -05:00
Daniel Xie
a453d96d50
Fixed text in Interactive Tutorial
2017-05-25 10:55:25 -05:00
Daniel Xie
f836596b8e
Updated version to 0.16
2017-05-25 10:12:35 -05:00
Daniel Xie
bfba6a3d5b
Updated Netscript documentation for new Hacknet Node 'API'. Adde game options
2017-05-25 09:50:58 -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
6316cbae23
Minor UI changes
2017-05-25 03:09:51 -05:00
Daniel Xie
0fd5323d52
Added scan-analyze to Interactive Tutorial
2017-05-24 18:23:28 -05:00
Daniel Xie
84eb295527
Added functionality to create Deepscan programs. Untested
2017-05-24 16:35:24 -05:00
Daniel Xie
0fcde41a87
scan-analyze now properly works with depth using DFS. The formatting of the otuput needs to be improved
2017-05-24 12:07:33 -05:00
Daniel Xie
60cfdd3aa1
Buffed job salaries across the board
2017-05-24 10:50:19 -05:00
Daniel Xie
3771e00d1f
Iron-gym and Max-hardware servers now have 2GB of RAM
2017-05-24 10:34:22 -05:00
Daniel Xie
d00211a4ff
Buffed base production of Hacknet Nodes. Re-calibrated hacker faction invites to account for starting with 8GB of RAM. BruteSSH only takes 10 minutes at most to complete now
2017-05-24 10:32:45 -05:00
Daniel Xie
5c16759908
Clicking outisde popup dialog box closes it. Grow() time is now based on hacking level
2017-05-24 08:49:52 -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
5d415a1a60
Fix bug with purchaseHacknetNode(). Improve nano interface
2017-05-23 21:55:24 -05:00
Daniel Xie
8eb0809d90
Formatted number in TravelBox. Upgrading Core on Hacknet node even more expensive
2017-05-23 15:20:28 -05:00
Daniel Xie
bfcecd7e0f
Added Price display to Locked Augmentations. Updated version constant to 0.15
2017-05-23 14:33:02 -05:00
Daniel Xie
8338582ef7
Increased cost of university classes/Gym. You can now see the effects of an augmentation before unlocking it. Slightly increased cost of purchasing Hacknet Node upgrades
2017-05-23 14:26:52 -05:00
Daniel Xie
b695b19058
Reverted changes to Hacknet Node upgrade costs
2017-05-23 13:26:11 -05:00
Daniel Xie
6b40482e6c
Added hasRootAccess() and getNumHacknetNodes commands to netscript
2017-05-23 13:17:37 -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
73c07841a3
Added scan-analyze. Faction rep from donating affected by faction rep multiplier
2017-05-23 12:36:35 -05:00
Daniel Xie
9b83035187
Save Aliases object. Fixed bug when buying Neuroflux Governor
2017-05-23 11:15:17 -05:00
Daniel Xie
a3c104ca4e
Added aliases
2017-05-23 10:12:09 -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
99e7af48a3
Slightly buffed amount of money gained from hacking. Slightly increased cost for Hacknet Node upgrades
2017-05-23 08:54:48 -05:00
Daniel Xie
f325aeb897
Nerfed the top 2 Netburner augmentations. Slightly icnreased cost for upgrading ram and core for Hacknet nodes
2017-05-23 08:49:20 -05:00
Daniel Xie
14e6b604b4
Bug fix
2017-05-22 22:50:06 -05:00
Daniel Xie
b33b5c1089
Joining one hacking faction will no longer ban you from others
2017-05-22 14:42:06 -05:00
Daniel Xie
4ad770091f
Buffed gyms and zer0 servers
2017-05-22 10:55:39 -05:00
Daniel Xie
88f1e1bae2
Rebalancing. Added slightly more money to the starting servers and gyms. Made many of the augmentations slightly cheaper
2017-05-22 10:39:51 -05:00
Daniel Xie
75513aa59d
Added a few more monospace fonts to font-family in css
2017-05-22 08:53:50 -05:00
Daniel Xie
2df93a5b51
Slightly Buffed hacknet nodes
2017-05-22 02:50:48 -05:00
Daniel Xie
be18f6150d
Small UI improvement
2017-05-21 18:37:41 -05:00
Daniel Xie
a3f0bb04f7
v0.12 Slightly buffed early servers (added more money)
2017-05-21 17:04:43 -05:00
Daniel Xie
eb71db3fad
Buffed hacknet Nodes base prod by 25%. Updated tutorial documentation. Small UI changes
2017-05-21 16:04:57 -05:00
Daniel Xie
b2b1724885
Small UI changes
2017-05-21 00:39:18 -05:00
Daniel Xie
9e2344919f
Small UI changes, adding RAM cost for new script commands.
2017-05-20 22:45:36 -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
c454e3729b
Added option to donate money to faction
2017-05-20 03:19:13 -05:00
Daniel Xie
0054ab7222
Added a Character ovewview screen
2017-05-20 02:33:33 -05:00
Daniel Xie
1cd67ac3ac
Fixed typos and small changes in new unique augmentations
2017-05-18 23:31:36 -05:00
Daniel Xie
16547a514d
added effects for all of the new unique factions
2017-05-18 15:00:37 -05:00
Daniel Xie
4355511b22
Finished adding unique augs for factions
2017-05-18 13:01:18 -05:00
Daniel Xie
29b5cc9c7f
Added more unique augmentations for factions
2017-05-18 09:50:34 -05:00
Daniel Xie
834a6add82
Added some unique augmentations for factions
2017-05-17 23:58:49 -05:00
Daniel Xie
48bcfb75b1
Time to create program now affected by hacking level
2017-05-17 09:23:47 -05:00
Daniel Xie
1789886604
More slight rebalancing (buffing) of Augmentations
2017-05-17 08:55:59 -05:00
Daniel Xie
9e1c7191f5
Fixed typos and improved text in Tutorial and Interactive Tutorial
2017-05-17 00:31: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
f63cd21bfc
Refactoring purchase of additional servers UI code, minor rebalancing for hacknet nodes
2017-05-16 10:55:05 -05:00
Daniel Xie
b8ccddf256
Changed tabbing i script editor so that it uses four spaces rather than the tab char"
2017-05-15 23:37:14 -05:00
Daniel Xie
823fda5344
Changed bad text in tutorial text
2017-05-15 22:31:05 -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
64717c7915
Fixed bug with offline progress, hopefully. LastUpdate time wasnt being saved properly
2017-05-15 15:12:19 -05:00
Daniel Xie
6c8457fcd8
Still addressing bug with loading offline progress
2017-05-15 14:30:08 -05:00
Daniel Xie
b4db36a115
Think I fixed a bug where offline progress was being calculated wrong
2017-05-15 14:11:40 -05:00
Daniel Xie
238cd89376
Harakiri sushi no longer needs ports opened. Updated tutorial doc
2017-05-15 12:49:49 -05:00
Daniel Xie
bf1469ce15
Updated version
2017-05-15 12:23:20 -05:00
Daniel Xie
7dfb102ba7
Rebalancing on RAM costs
2017-05-15 12:09:11 -05:00
Daniel Xie
56a7ed66a5
Added status text for saving. Minor rebalancing for Hacknet Node RAM Cost
2017-05-15 11:54:23 -05:00
Daniel Xie
bb73fe1101
Operators now have RAM cost
2017-05-15 10:38:17 -05:00
Daniel Xie
51c8e7a6c6
Fixed bug with loading game when working on creating program
2017-05-15 10:28:59 -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
3919d3e97a
Bug fixes for new Netscript commands. Added total Playtime statistics. Minor UI improvements
2017-05-15 09:15:59 -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
84a007960e
Flashing tutorial buttons
2017-05-15 00:09:14 -05:00
Daniel Xie
2ae770fbed
updated help text for mem command
2017-05-14 21:49:01 -05:00
Daniel Xie
85225ae3ba
Updated to v0.5
2017-05-14 21:47:09 -05:00
Daniel Xie
0019494ad2
Added mem command
2017-05-14 21:46:52 -05:00
Daniel Xie
6bbf28411f
Added slightly more information to Tutorial docuemntation
2017-05-14 21:36:58 -05:00
Daniel Xie
31ef48f4a8
Small UI improvements based on private beta feedback
2017-05-14 21:21:22 -05:00
Daniel Xie
708b800e36
Improved documentation for Netscript. Added a link to Netscript documentation in script editor
2017-05-14 20:43:10 -05:00
Daniel Xie
df057ccaab
Minor UI improvements, bug fix in Crime.js
2017-05-14 19:14:13 -05:00
Daniel Xie
83502831d8
Removed some log statements. Rebalancing on RAM for home comp
2017-05-13 13:59:19 -05:00
Daniel Xie
78c3d0d060
Moved netscript files into src folder and renamed
2017-05-13 02:42:25 -05:00
Daniel Xie
142a1cea38
Updated version and removed a console log
2017-05-13 02:32:32 -05:00
Daniel Xie
9798aae545
More balancing, small bug fix with prestige
2017-05-12 23:40:12 -05:00
Daniel Xie
fe234b3344
More Augmentation rebalancing, hopefully last round
2017-05-12 19:29:17 -05:00
Daniel Xie
b2e952b09c
Did some more work on Perks
2017-05-12 16:30:36 -05:00
Daniel Xie
957b7032b1
Minor UI improvements
2017-05-12 15:01:23 -05:00
Daniel Xie
297cf46e1b
Added Power Recirculator augmentation
2017-05-12 14:21:31 -05:00
Daniel Xie
693e45d98c
Fixed some bugs. Updated documentation for Netscript
2017-05-12 13:52:02 -05:00
Daniel Xie
041f195241
Added two new factions, Slum Snakes and Tetrads. Added 4 more augmentations for those factions. Fixed some issues with prestiging
2017-05-12 13:12:32 -05:00
Daniel Xie
9f9ea73651
rebalanced RAM cost
2017-05-12 01:58:01 -05:00
Daniel Xie
55ded7d60c
Rebalanced part tiem company position wages
2017-05-12 00:25:54 -05:00
Daniel Xie
856105e95f
more augmentation reblaancing
2017-05-12 00:14:42 -05:00
Daniel Xie
c44b514342
If statements in NetScript should work now
2017-05-11 23:59:07 -05:00
Daniel Xie
3ac33cd9e7
Added commands for port breaking programs in Netscript
2017-05-10 23:20:17 -05:00
Daniel Xie
8cf17cf229
Rebalancing crime exp
2017-05-10 16:21:45 -05:00
Daniel Xie
416f3e7b47
Refactored script RAM usage to be calculated based on commands. Updated RAM on foreign servers to balance. Balnaced company wages
2017-05-10 16:10:06 -05:00
Daniel Xie
3808fe5a3f
Minor UI improvements and bug fixes
2017-05-10 15:21:15 -05:00
Daniel Xie
f2287b5696
Lots of changes, didn't keep track ofthem all
2017-05-10 12:42:46 -05:00
Daniel Xie
c35e08b4d5
Small UI improvements, small bug fix with NeuroFlux cost, added tooltips to Crimes
2017-05-08 12:40:53 -05:00
Daniel Xie
94aafba04b
Added 3 more crimes..home computer no longer reset on prestige
2017-05-08 11:00:34 -05:00
Daniel Xie
20d8a40e17
Playtesting - Rebalancing, UI improvements, added tooltip for programs, home computer no longer reset on prestige
2017-05-08 09:33:26 -05:00
Daniel Xie
21f73088f6
Added neuroflux governor augmentation (the one you can level up
2017-05-07 05:04:54 -05:00
Daniel Xie
cc21dd6fc7
Rebalancing, UI improvements
2017-05-07 03:22:50 -05:00
Daniel Xie
315940112c
UI Improvements
2017-05-06 17:19:18 -05:00
Daniel Xie
534f5c1dbe
Small UI improvements, balancing crime money
2017-05-06 14:12:45 -05:00
Daniel Xie
2e55f1d472
Implemented interactive tutorial!
2017-05-06 01:24:01 -05:00
Daniel Xie
e2cbc38920
Adding Interactive Tutorial files - incomplete
2017-05-05 16:27:35 -05:00
Daniel Xie
9f7d6d7bba
Bug fixes
2017-05-05 13:13:31 -05:00
Daniel Xie
acc3b8cf89
Create Program refactoring, added a notification for it when it comes up
2017-05-05 11:52:48 -05:00
Daniel Xie
66e4fa26a2
Added Dark web. Needs testing
2017-05-05 10:50:55 -05:00
Daniel Xie
c749c275f2
Playtesting - Minor rebalancing, UI improvements, and bug fixes
2017-05-05 09:21:08 -05:00
Daniel Xie
cdd51e675d
Rebalancing crime exp rates, small UI improvements and bug fixes
2017-05-04 23:54:40 -05:00
Daniel Xie
56ebfaf2bf
refactored saving/loading by making it into a class. Tested and debugged prestige mechanic
2017-05-04 20:08:44 -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
c862969198
Fixed a bug with displaying Augmentations at a faction. More minor rebalancing for Augmentation requirements
2017-05-04 14:42:27 -05:00
Daniel Xie
8917284f27
Removed some console.log statements. Fixed bug with displaying Factions Content
2017-05-04 14:29:50 -05:00
Daniel Xie
219373e48e
Hacknet Node production and Crime rebalancing
2017-05-04 13:37:57 -05:00
Daniel Xie
b0bc7ed3c7
Rebalancing crime exp and small UI improvements
2017-05-04 02:05:43 -05:00
Daniel Xie
01f9bf14af
Rebalancing Create program times, crime exp gains
2017-05-04 00:27:22 -05:00
Daniel Xie
a934205d08
Added crimes mechanic
2017-05-04 00:05:48 -05:00
Daniel Xie
97c132418a
More rebalancing for Augmentations
2017-05-03 14:25:24 -05:00
Daniel Xie
b76498b19b
Rebalancing augmentations
2017-05-03 13:18:09 -05:00
Daniel Xie
a92e9c941d
Added Netburners faction - untested
2017-05-03 12:58:09 -05:00
Daniel Xie
86900c0879
Began implementing Crimes mechanic...plus karma and statistics for it. Readjusted the ciriminal factions requirements acordingly
2017-05-03 12:52:54 -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
36a261bd2e
Rebalancing to job wages, hack time, and create program level requirements
2017-05-02 12:06:46 -05:00
Daniel Xie
6edd7f1a49
Added grow() command - it is untested and does not worki n offline yet. Some small rebalancing and UI changes
2017-05-02 11:28:54 -05:00
Daniel Xie
097807282d
Small UI change - HacknetNode production added toFixed(2)
2017-05-01 22:56:48 -05:00
Daniel Xie
c3eaaded70
Added command history using both up and down keys
2017-05-01 22:05:26 -05:00
Daniel Xie
5943590ffb
Working on tab completion. Almost there, some kinks to work out
2017-05-01 16:38:49 -05:00
Daniel Xie
1fa0ef339a
Added up button history mechanic to terminal..the basics work
2017-05-01 12:23:20 -05:00
Daniel Xie
9fa616b61a
More bugfixes for failed Netscript code
2017-05-01 12:04:30 -05:00
Daniel Xie
37a38c1e27
Fixed at least some of the bugs with Evaluator. needs more testing
2017-05-01 00:39:48 -05:00
Daniel Xie
53273596e2
Playtesting - Small UI improvements. Bug in evaluator that needs fixing
2017-04-27 17:01:26 -05:00
Daniel Xie
2e73efc6ef
Playtesting - Fixes and rebalancing
2017-04-27 15:59:57 -05:00
Daniel Xie
b61754ddd0
Finished implementing Hacknet Nodes. Seems to be working fine
2017-04-27 15:02:58 -05:00
Daniel Xie
e2947cc8c3
more work on HacknetNode.js and also added css content for PurchaseRamForHomeBox
2017-04-27 00:01:21 -05:00
Daniel Xie
14fb303504
Began implementing 'hacknet nodes'
2017-04-26 16:51:00 -05:00
Daniel Xie
0a94026d02
Added abilit to purchase RAM for home computeR- untested
2017-04-25 17:24:08 -05:00
Daniel Xie
66681ccae5
Added functions for purchasing additional RAM for home computer
2017-04-25 16:35:17 -05:00
Daniel Xie
25b5016fda
Renamed PurchaseServers.js to ServerPurchases.js (more generic file).
2017-04-25 15:18:00 -05:00
Daniel Xie
9d5694e7b5
Added Leadership and Management courses
2017-04-25 14:14:01 -05:00
Daniel Xie
3519cd88f7
Added requirements whena pplying for promotion
2017-04-25 02:14:24 -05:00
Daniel Xie
a11a319d72
Rebalancing
2017-04-24 16:18:04 -05:00
Daniel Xie
f4ec2e9067
Added University/study + taking class mechanics. Minor improvements to UI and some rebalancing
2017-04-24 14:10:35 -05:00
Daniel Xie
5870430ea7
Small UI improvements
2017-04-24 10:35:10 -05:00
Daniel Xie
dbdb089887
Playtesting - Rebalancing, bugfixes, improved UI
2017-04-23 20:43:41 -05:00
Daniel Xie
d6c094f4de
Playtesting - Rebalancing
2017-04-22 21:32:51 -05:00
Daniel Xie
c69d6ce538
playtesting - rebalancing
2017-04-22 15:29:23 -05:00
Daniel Xie
17efb718a4
Playtesting - Rebalancing and bug fixes
2017-04-22 03:41:49 -05:00
Daniel Xie
75125d5891
Merge branch 'dev' of https://github.com/danielyxie/netburner into dev
2017-04-21 17:22:30 -05:00
Daniel Xie
edb329325c
Playtest - Bug fixing
2017-04-21 17:22:25 -05:00
Daniel Xie
37de720bc4
Changed trivial stuff
2017-04-21 16:13:44 -05:00
Daniel Xie
0ceaca5f92
Added leaveFaction()
2017-04-21 15:56:44 -05:00
Daniel Xie
2345faedbc
Merge branch 'dev' of https://github.com/danielyxie/netburner into dev
2017-04-21 14:06:51 -05:00
Daniel Xie
52bf4fa0d5
Added the TITN41 augmentation and added it to Silhouette fac
2017-04-21 14:06:41 -05:00
Daniel Xie
c1c37f008e
Playtesting - Fixed bugs and some rebalancing with foreign servers
2017-04-20 03:29:07 -05:00
Daniel Xie
fd70bf259b
Added Silhouette Faction. Needs to add Augs for it
2017-04-19 16:54:01 -05:00
Daniel Xie
51d351f894
Playtesting - FIxed small bug
2017-04-19 16:40:26 -05:00
Daniel Xie
e2e0bba3c2
Playtesting - Fixed bugs
2017-04-19 16:39:25 -05:00
Daniel Xie
9b408cb995
Playtesting - Fixed bugs
2017-04-19 14:19:33 -05:00
Daniel Xie
650bdf1f3f
Playtesting- fixed bugs
2017-04-19 00:02:40 -05:00
Daniel Xie
77f386d14a
Playtesting - Fixed some bugs, refactoring
2017-04-17 23:32:17 -05:00
Daniel Xie
ffda024431
fixe some bugs
2017-04-17 07:26:54 -05:00
Daniel Xie
a02663edf5
Added DarkWeb.js file
2017-04-14 12:20:57 -05:00
Daniel Xie
0d6890a565
Added ability to purchase Tor router to access the dark web. Still need to implement functionality for this dark web
2017-04-13 15:21:03 -05:00
Daniel Xie
685103c5d4
Implemented 'rm' command. FIxed some bugs
2017-04-13 14:36:03 -05:00
Daniel Xie
558939fd85
Rebalanced RAM of foreign servers
2017-04-13 13:03:59 -05:00
Daniel Xie
52297268f6
Addded Perk class, Traveling functionality, fixed bugs with script logging and terminal commands
2017-04-13 12:33:34 -05:00
Daniel Xie
3ecbed1351
Finished tutorial text for cities
2017-04-12 16:34:08 -05:00
Daniel Xie
5a8b5c2dd1
Merged tutorial text changes
2017-04-11 21:06:19 -05:00
Daniel Xie
a1e80cc0ab
Added some tutorial text
2017-04-11 21:05:21 -05:00
Daniel Xie
8658a1bdfd
Added perks to Company object
2017-04-11 15:51:03 -05:00
Daniel Xie
2e4925c45d
began adding stuff for Perks. Also refactored some constants
2017-04-11 15:42:06 -05:00
Daniel Xie
e9c2fd46ff
Added logging to scripts
2017-04-11 08:59:48 -05:00
Daniel Xie
be641b19db
Finished adding Tutorial text
2017-04-11 08:45:56 -05:00
Daniel Xie
e2ad62c62a
More work on Tutorial
2017-04-05 16:09:37 -05:00
Daniel Xie
14684dd6d5
Finished Create Program functionality (needs testing) and did work on Tutorial
2017-03-31 16:47:06 -05:00
Daniel Xie
8de538a59a
More work on Create Program
2017-03-31 07:32:04 -05:00
Daniel Xie
771e304e7a
More prep to handle Create Program functionality. Need to format each item in the Create Program List first, then make an item for each possible program that can be created
2017-02-28 16:06:12 -06:00
Daniel Xie
6f5c54b849
Some small fixes and getting ready to implement CreateProgram content
2017-02-28 15:20:37 -06:00
Daniel Xie
2d40afb740
Fixed formatting issue
2017-02-28 11:47:43 -06:00
Daniel Xie
37b5152103
Fixed some bugs, Hide Faction Augmentations Content in the hideAllContent() function
2017-02-28 11:10:35 -06:00
Daniel Xie
7aa42321f2
Fixed syntax errors
2017-02-27 16:14:11 -06:00
Daniel Xie
9153c48b23
Updated some of the Faction Info entries
2017-02-24 14:48:15 -06:00
Daniel Xie
db476ee902
Changed text to show 'Apply for Promotion' At a company if you already have a job there. Script runtime errors create dialog boxes now
2017-02-24 09:11:45 -06:00
Daniel Xie
06726e890b
Finished adding information for all augmentations
2017-02-23 15:41:20 -06:00
Daniel Xie
286bd52090
Added even more Augmentation info
2017-02-22 16:07:55 -06:00
Daniel Xie
58874efa5f
Added info for another augmentation
2017-02-21 16:23:42 -06:00
Daniel Xie
a29ea6ea5d
Added information for some augmentations
2017-02-21 16:11:59 -06:00
Daniel Xie
992d0673e5
Display Installed Augmentations Content. Need to add info for each augmentation
2017-02-20 16:45:36 -06:00
Daniel Xie
fa456c48b6
Added Prestiging
2017-02-20 16:06:16 -06:00
Daniel Xie
4a60874a3a
Display Faction content, including Augmentations. Added requirements for Augmentations. Created PurchaseAugmentationBox.js. Next step is to create the reset function needed for prestiging
2017-02-17 16:19:25 -06:00
Daniel Xie
0ed3d65ae5
Added a bunch of small fixes and features, don't remember exactly what lol
2017-02-16 12:52:11 -06:00
Daniel Xie
1c26d2953b
Began adding requirements for Factions
2017-02-09 16:40:55 -06:00
Daniel Xie
7e8e88db3e
Added Augmentations to their faction
2017-02-09 12:35:28 -06:00
Daniel Xie
b25d685381
Added some more Augmentations. Need to add them to factions now (do this in Augmentations class init rather than Factions, will probably be easier)
2017-02-08 16:50:22 -06:00
Daniel Xie
ca10704ce0
Got work functionality implemented
2017-02-07 22:48:50 -06:00
Daniel Xie
bedc210b31
Almost done implementing work functionality.Theres an issue with Player finishWork() i think bc its an anonymous function so it doesnt work to call this.finishWork(), idk
2017-02-07 18:27:11 -06:00
Daniel Xie
f5b0796948
Started working on Work functionality
2017-02-05 23:01:01 -06:00
Daniel Xie
d20da28c51
Reformatted DialogBox and PurchaseServerBox. Implemented purchase server, untested (will test when I do a playthrough so i get enough moeny)
2017-02-05 19:29:17 -06:00
Daniel Xie
fc2dc82f1a
Implemented Applying to jobs. Working on Purchasing Servers
2017-02-03 16:05:59 -06:00
Daniel Xie
afda3338bd
More work on CompanyJobApplication.js, unfinished and untested. need to add popups saying if u got the job or not
2017-02-02 22:02:27 -06:00
Daniel Xie
7382454e83
Did more work on applying for jobs at companies. Need to create constructor/Revivor for companyPositions
2017-02-02 17:33:47 -06:00
Daniel Xie
c7b093830b
Did more work on initlocationbuttons()
2017-02-01 21:15:57 -06:00
Daniel Xie
c4ca37bbca
Adding Location.js to git
2017-01-30 23:19:32 -06:00
Daniel Xie
746a10eecf
Fixed some typos in Location.js, began initLocationbuttons() function
2017-01-30 22:43:33 -06:00
Daniel Xie
007d4436c9
Added Locations. Need to add buttons to make everything connect together properly, and also getting/working for josb
2017-01-30 21:41:42 -06:00
Daniel Xie
bf893926b7
Fixed page tabs so all menu pages are working now
2017-01-27 21:10:16 -06:00
Daniel Xie
f1ada52074
Added a constant for cities
2017-01-13 16:20:38 -06:00
Daniel Xie
ceb2305ed8
Load world info and UI, although clicking on a specific location doesn't actually do anything yet
2017-01-11 14:00:51 -06:00
Daniel Xie
76aa8cb9c4
Finished adding positions to the companies
2017-01-11 11:44:59 -06:00
Daniel Xie
090fd9edff
Added the Positions to Company objects for about half the companies, need to finish the rest
2017-01-10 16:42:55 -06:00
Daniel Xie
e8381743f7
Added Information for many of the factions
2017-01-10 16:23:17 -06:00
Daniel Xie
e89bb00155
Created functions to display Faction content (for a single faction) and added the corresponding html elements. Created framework for loading content for all pages (world, augmentations, etc.) in Engine.js
2017-01-09 16:14:18 -06:00
Daniel Xie
25bf876f4a
Preparing code to create the Factions page
2016-12-22 11:13:00 -06:00
Daniel Xie
8239e94a3a
Created servers for some of the Factions. THese factions are joinable when you hack into the servers
2016-12-22 10:19:02 -06:00
Daniel Xie
65ba93190b
Added augmentations
2016-12-22 09:56:15 -06:00
Daniel Xie
8dbca029de
Factions should save and load properly (not fully tested). Terminal now scrolls to the bottom when something is posted
2016-12-21 12:36:42 -06:00
Daniel Xie
d656ee3114
Implemented control + c functionality to stop running cmds such as hack() and analyze()
2016-12-21 10:33:00 -06:00
Daniel Xie
fc3d52b832
Refactored Factions class so that it works with saving/loading. Defined initFactions() function for currently brainstormed factions
2016-12-20 14:31:41 -06:00
Daniel Xie
f1ec376f33
Implemented server growth (might need rebalancing). No wwhen a script is killed it is properly removed from the Active Scripts tab
2016-12-20 14:18:34 -06:00
Daniel Xie
e2316e4a1d
Can now do things such as ctrl+c in Terminal without it auto focusing on the input. Implemented offline exp gain
2016-12-19 14:59:13 -06:00
Daniel Xie
962b057ff8
Implemented basic functionality for the Active Tabs menu. Works for online production
2016-12-19 12:20:19 -06:00
Daniel Xie
5f1b58fd86
Evaluator + Netscript should now properly handle errors in syntax/runtime errors (almost..still have to implement the properly closing down script when an error is thrown. Check file for TODO). Player skill level should now properly be updated
2016-12-15 16:22:42 -06:00
Daniel Xie
96fb37c6d1
Fixed loadAllRunningScripts(), now seems to be working properly
2016-12-15 11:51:23 -06:00
Daniel Xie
7ec22480a2
Trying to get the functionality to load all running scripts upon load to work
2016-12-14 15:44:18 -06:00
Daniel Xie
334c144bae
Upon opening window, all of the running scripts are loaded into WorkerScripts
2016-12-14 15:22:12 -06:00
Daniel Xie
23c036827f
Fixed script hack(), should be working now. Changed some numbers to rebalance. Implemented script RAM usage. If a script uses too much ram it will not run (untested)
2016-12-14 14:29:40 -06:00
Daniel Xie
c485f28e20
updated README with TODOS. FIxed kill command and sleep() command in script
2016-12-13 17:52:32 -06:00
Daniel Xie
7a5a9ccb65
Implemented kill command. UNTESTED, TEST THIS WHEN YOU CAN
2016-12-06 12:09:23 -06:00
Daniel Xie
8c58710495
Resolving and rejecting at the top level now returns a reference to workerScripts. This makes killing/deleting a running script possible. The feature appears to be working now
2016-12-06 10:59:20 -06:00
Daniel Xie
437ebc2703
Implemented Hack and sleep in script. IMplemented functionality that allows scripts to stop (rejecting the Promises). Scripts will now automatically stop if they are not infinite. THIS IS UNTESTED TEST THIS WHEN I CAN. Still need to implement kill command
2016-12-05 16:31:46 -06:00
Daniel Xie
6d9f0669ba
Added an autosave feature that auto saves every minute. Made the updateHackProgress() take in the number of cycles that have passed when calculating its progress
2016-12-02 15:57:20 -06:00
Daniel Xie
2fe4e8a19a
Changed the game speed so that it wasn't running faster (Rounding the number of game cycles usually caused it to speed up). Save Load function SHOULD be working now
2016-12-01 16:39:13 -06:00
Daniel Xie
d5d198cbb4
Refactored Code to make Save/Load work. This included re-structuring classes so that they contained only native objects/arrays of native objects and using a Reviver function in the JSON.parse. Cleaned up some code that was no longer needed
2016-12-01 16:18:18 -06:00
Daniel Xie
b821fc2ea9
Added utilities for generic reviver, toJSON, and fromJSON. Eventually will be used for loading and saving objects
2016-11-30 16:08:21 -06:00
Daniel Xie
2d41a63707
Added some TODOs
2016-11-29 17:38:50 -06:00
Daniel Xie
867ae191b5
Refactored Netscript code into their respective files since it will no longer be done in Web Worker
2016-11-29 17:07:24 -06:00
Daniel Xie
77f0c31777
Got NetScript working asyhcronously with Promises! Only for loops have been tested though. Still need to test while loops and ifs. While loops should work if the for loops do, idk about if statements though. If statements aren't a high priority right now though
2016-11-29 16:56:05 -06:00
Daniel Xie
1efee3b7d6
Testing making the script runner NOT be a different web worker thread.
2016-11-28 16:13:13 -06:00
Daniel Xie
4687b80256
Tried to integrate Promises + web workers into Netscript code. Doesn't work at all right now
2016-11-28 16:02:06 -06:00
Daniel Xie
320526ebb3
Added stuff to Script queue functionality..it's gonna get deleted anyways so w.e
2016-11-25 16:08:04 -06:00
Daniel Xie
00f8a31246
When game is opened it will automatically try to load from local save, otherwise it begins a new game. Also fixed up save functions
2016-11-24 16:44:48 -06:00
Daniel Xie
f38fd340f4
Implement Script Editor (mostly)
2016-11-24 16:30:33 -06:00
Daniel Xie
1a600ad560
Added offline properties for Script object
2016-11-21 05:22:18 -06:00
Daniel Xie
d372ce5980
Fixed some bugs, began adding a Script class
2016-11-21 00:11:14 -06:00
Daniel Xie
8d87b74eaf
Finished implementing Netscript. Not completely tested yet. Find out how to make it multithreaded (Web Workers is the best way according to internet
2016-11-17 16:25:40 -06:00
Daniel Xie
a4f92f7520
Fixed mege conflicts
2016-11-17 09:34:38 -06:00
Daniel Xie
62fbb5452d
Added some factions
2016-11-17 09:31:52 -06:00
Daniel Xie
40b0b585e1
Added InputStream, Tokenizer, and Parser(unfinished) class. Changed Newerth to Aevum
2016-11-14 00:42:31 -06:00
Daniel Xie
f311b0b84f
Began deining the Faction class
2016-11-03 16:36:01 -05:00
Daniel Xie
ed7418ac61
Finished defining company and company positions and initialized them in the Engine
2016-11-03 15:43:46 -05:00
Daniel Xie
0e9740dcf9
Continued defining the Company class and began writing initialization for it. Defined a namespace for Constants.
2016-11-02 16:45:10 -05:00
Daniel Xie
8530e51628
Finished initializing new servers (johnson ortho and newerth police). Finished init functions for Company class, and began declaring all possible companies.
2016-11-01 16:19:57 -05:00
Daniel Xie
6e0644555c
Began defining the Company class
2016-11-01 00:44:04 -05:00
Daniel Xie
6cf9339919
Refactored the hacking progress code into an action progress code so that it can be reused for analyze and anything else that requires an animated progress bar. Implemented analyze
2016-11-01 00:30:59 -05:00
Daniel Xie
cc6b178a96
Added New Servers.need to properly init them
2016-10-28 16:57:58 -05:00
Daniel Xie
f6aaef455d
Added full hack functionality with animated progress bar and everthing. All thats left is balancing exp/money gains and also taking care of porthack stuff. Also fixed the terminal not being scrollable
2016-10-27 13:26:00 -05:00
Daniel Xie
0a13496984
Trying to get hack progress bar to work
2016-10-26 22:34:18 -05:00
Daniel Xie
d268ea09f8
Added debugging statements to try and figure out whats wrong when the time is calculated for hacks
2016-10-24 16:36:23 -05:00
Daniel Xie
0307b3334d
Added port properties to server. Wrote code for hacking() and PortHacking, currently untested
2016-10-24 16:16:51 -05:00
Daniel Xie
1446a8d96e
Fixed some issues with the width of terminal
2016-10-24 02:18:01 -05:00
Daniel Xie
4ea83fa199
Added functions to create a random network with foreign servers
2016-10-24 01:34:04 -05:00
Daniel Xie
0b7f19fd8c
Added function to calculate Player's hacking skill based on exp
2016-10-21 16:15:45 -05:00
Daniel Xie
4517020719
Added some init functions to the engine's init(). Began writing out the hack function for servers
2016-10-20 16:34:21 -05:00
Daniel Xie
4057f946d8
Implemented df and cls/clear commands
2016-10-20 16:11:01 -05:00
Daniel Xie
ce0ca6c24d
Fixed syntactical bugs/typos
2016-10-20 13:26:38 -05:00
Daniel Xie
f6212a4c6d
Finished creating all the companies (for now) and adding their starting properties in the init function
2016-10-20 13:07:12 -05:00
Daniel Xie
672cd697d6
Added more companies. Began creating Init() function for all foreign servers
2016-10-19 16:43:49 -05:00
Daniel Xie
47e19f5862
Added a few more commands to Terminal (not the implementation). Began defining some of the foreign servers that will exist
2016-10-18 16:37:53 -05:00
Daniel Xie
a1fd46232e
Added cases for all the commands that will be implemented for now. Updated Server class to contain information about servers, home computer, etc. Added a few fields to Server that will be used when hacking, as well as constructor.
2016-10-17 16:23:23 -05:00
Daniel Xie
7c03b274d7
Added Player, Server, Terminal, and engine javascript files. Implemented basic terminal UI. Implemented main menu tabs (only added Character and Terminal for now
2016-10-17 03:24:39 -05:00
Daniel Xie
9772525263
Adding basic Player and Server class definitions
2016-10-14 16:02:06 -05:00