Olivier Gagnon
ce61f06319
allbuild commit 8159dad5
2022-05-24 16:57:25 -04:00
hydroflame
cb4fd4cf90
Merge pull request #3722 from borisflagell/FIX#2884
...
API: FIX#2884 Add the missing className property to Sleeve'sAPI
2022-05-24 08:48:35 -04:00
Olivier Gagnon
8159dad5fa
allbuild commit de644247
2022-05-24 08:12:49 -04:00
hydroflame
570c6d6b32
Merge pull request #3702 from borisflagell/FIX#3508
...
BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
2022-05-23 12:21:27 -04:00
PathToLife
3f1cb27ec1
Add tprintf to RamCostGenerator
2022-05-23 19:57:23 +12:00
borisflagell
8e0af049d9
BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
...
Add GetActionCurrentTime() to Bitburner API.
Slightly tweak BItburner.resetAction() to also reset time counters.
2022-05-22 06:40:08 +02:00
Stephen Reindl
35978689f9
Fix #3690 by adding missing function RamCostGenerator
2022-05-21 17:24:20 +02:00
Olivier Gagnon
7eb4494ac1
fix mc
2022-05-20 15:58:33 -04:00
hydroflame
f86eae5276
Merge pull request #3624 from danielyxie/infinite-loop-safety
...
MISC: Implemented infinite loop safety net.
2022-05-18 15:35:12 -04:00
Olivier Gagnon
fb08139903
Implemented infinite loop safety net.
2022-05-07 17:43:45 -04:00
rderfler
77073836cb
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-06 22:44:24 -04:00
Zoë Hoekstra
472c9778df
Add ns.ui.clearTerminal for 0.2 GB
2022-05-06 12:29:21 +02:00
rderfler
7cf21629a7
Address review
...
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
phyzical
711955c112
added logic to allow quitJob to be called from singularity
2022-04-28 19:05:56 +08:00
phyzical
8e1300d69d
Merge branch 'dev' into feature/add-infiltration-faction
...
# Conflicts:
# src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Undeemiss
46a90e6271
Added ns function stanek.acceptGift
...
Added a new ns function stanek.acceptGift to the game, with a ram
cost of 2gb. The function attempts to join the CotMG and install
the gift, then returns true iff the player is in the CotMG and has
the gift installed.
2022-04-19 12:08:38 -05:00
phyzical
9c23fc89d1
merge base
2022-04-14 21:27:08 +08:00
Olivier Gagnon
9281cbe559
ns func to flume and destroy wd
2022-04-13 17:34:02 -04:00
nickofolas
51e5d38c7b
Add grafting API function to get graftable augs
2022-04-13 09:43:27 -05:00
phyzical
6b48ff8f21
merge base
2022-04-13 18:50:42 +08:00
hydroflame
c8c271a334
Merge pull request #3401 from TheMas3212/feat/wrap-singularity
...
Wrap Singularity API with wrapper
2022-04-12 20:53:55 -04:00
Olivier Gagnon
52e01fc026
fix a few things about getRecentScritps
2022-04-12 14:45:48 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts
2022-04-12 14:21:18 -04:00
TheMas3212
b2689eaa5a
Wrap Singularity API with wrapper
...
also refactored the RamCosts IMap as it didnt quite work properly due to
how the wrapper calculates function names
2022-04-12 16:51:10 +10:00
hydroflame
a17b81dff3
Merge pull request #2925 from Ornedan/necro-script-fix
...
Necro script fix
2022-04-11 21:36:07 -04:00
TheMas3212
f53c90b21c
Change Signature of InternalFunction
...
Mark properties of Wrapped NetscriptAPI as readonly
2022-04-09 15:15:45 +10:00
TheMas3212
b2e7817a0b
format
2022-04-08 10:02:59 +10:00
TheMas3212
9b53896732
slight change on how wrapping work based on discussion in #development
2022-04-08 09:57:16 +10:00
phyzical
c70f59ac54
merge dev
2022-04-07 16:27:23 +08:00
TheMas3212
f0cfc8700a
run formater
2022-04-07 10:23:52 +10:00
TheMas3212
8c58f0676d
Improve Typesafety on API Wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
40f74e4a98
add wrapped helpers to ctx
...
add ramcheck into wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
ea2b444b87
Initial API Wrapper Work
...
onlying wrapping Stanek api currently as test sample
(Rebased onto upstream/dev)
2022-04-07 10:23:46 +10:00
Heikki Aitakangas
a7d200f7c6
Strip trailing spaces
2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a578763b89
Use a dedicated ScriptDeath type to signal script termination instead of WorkerScript
...
Problem with throwing WorkerScript is that the termination signal object can pass
through user code, which permits user to modify that object and all parts of the
game state accessible through it.
2022-04-02 23:28:21 +03:00
Heikki Aitakangas
1ed1f78222
Fixed a wrong comment
2022-04-02 23:27:06 +03:00
Stephen Reindl
689059ea83
Fix expected ram calculation for ns.goToLocation()
2022-03-31 12:37:33 +02:00
phyzical
07c6051004
merge dev
2022-03-30 19:00:57 +08:00
Olivier Gagnon
6b25ba5cd8
allbuild commit da27223a
2022-03-29 18:13:08 -04:00
Jesse Clark
fcc121cc21
Fix spelling of grafting functions
2022-03-29 14:34:48 -07:00
Jesse Clark
cde6eca6b5
Set mv
ram cost to ScriptReadWriteRamCost
...
This seems a bit high but avoids an exploit due to setting it lower than `rm`.
2022-03-29 14:27:30 -07:00
Jesse Clark
1d0c5d8fef
Set atExit ram cost to 0
2022-03-29 14:24:38 -07:00
Jesse Clark
4d48b7c621
Update Stanek functions in RamCostGenerator
2022-03-29 14:17:42 -07:00
Olivier Gagnon
680081c548
post-grafting changes
2022-03-29 14:09:17 -04:00
nickofolas
3b32811f5e
Grafting API RAM cost & doc update
2022-03-27 15:33:31 -04:00
phyzical
7c5097ee83
added ns functions
...
* refactored out logic to be reused by api
2022-03-27 15:53:13 +08:00
Olivier Gagnon
fb7c65957d
Added dark web functions to ns api
2022-03-20 22:49:46 -04:00
parax
458f02051f
Added functions to RamCostGenerator.ts
2022-03-18 23:52:13 -06:00
TheMas3212
68cc5fba6c
Fix bug with missing ramcost for tFormat
2022-03-19 14:21:52 +11:00
Olivier Gagnon
fc963bb583
allbuild commit /usr/bin/git
2022-03-18 16:35:56 -04:00
hydroflame
561219a0ab
Merge branch 'dev' into bugfix/2877-2
2022-03-17 12:05:38 -04:00
phyzical
9949cc9a1e
removed ip references
2022-03-17 21:50:23 +08:00
Master-Guy
ef9632bf63
Added 0 cost of asleep()
2022-03-17 13:32:49 +01:00
phyzical
ec927fe1f4
added ram charge for stanek width and height
2022-03-08 17:28:45 +08:00
smolgumball
2add4e9112
Merge branch 'dev' into add-ns-getRecentScripts
2022-01-26 19:07:02 -07:00
Terrana
f2c4109211
Add ns.printf function
...
Behaviour is consistent with that of tprintf versus tprint and
should be equivalent to ns.print(ns.sprintf(...))
2022-01-21 12:08:47 +00:00
smolgumball
74e2acfa6f
Add ns.getRecentScripts()
2022-01-19 00:04:48 -07:00
Olivier Gagnon
05cbc25a8f
1.4
2022-01-18 14:03:24 -05:00
Martin Fournier
07403eaaaa
Add ns.ui.getGameInfo() to retrieve game version
...
Returns { version, commit, platform }
2022-01-16 10:49:01 -05:00
hydroflame
c0f6399a96
Merge pull request #2590 from deathly809/feature/ns_support_rm
...
Add support for the mv command in NS
2022-01-15 18:26:31 -05:00
hydroflame
03f71bd5f4
Merge pull request #2485 from Ornedan/netscriptdelay-check-stop
...
Refactor netscriptDelay and script kill interaction
2022-01-15 17:26:23 -05:00
Martin Fournier
9b638b911f
Add ns.ui.[getStyles, setStyles, resetStyles]
...
Adds three Netscript functions to manipulate the user's styles like the
player can with theme.
2022-01-12 18:34:05 -05:00
Jeffrey A. Robinson
bedea0ac73
Add support for the mv command in NS
2022-01-12 09:53:54 -08:00
Heikki Aitakangas
59da79a427
Refactor netscriptDelay and script kill interaction
...
Store the Promise reject function instead of resolve in WorkerScript, since
it's only used when killing a script that's blocked in delay. And when killing
a script, reject the delay Promise with the WorkerScript as cause.
2022-01-09 02:36:54 +02:00
Olivier Gagnon
7e6976986f
rm sf4 penalty
2022-01-05 12:37:49 -05:00
hydroflame
b718fc3ef7
Merge pull request #2343 from MartinFournier/feature/set-theme
...
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-05 10:17:51 -05:00
theit8514
41adedf1bc
Update getOwnedSourceFiles RAM cost
...
Not a singularity function
2022-01-05 07:12:41 -05:00
Olivier Gagnon
925bed4430
fix scp
2022-01-04 22:25:41 -05:00
Martin Fournier
c9ca1e9d37
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-04 20:33:18 -05:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
Martin Fournier
65d0877edc
Add ns.ui.getTheme() api function
2021-12-20 14:37:10 -05:00
Olivier Gagnon
d01d75606a
few bugfix
2021-12-08 17:39:01 -05:00
Olivier Gagnon
737276e855
corp api
2021-12-03 23:06:04 -05:00
Olivier Gagnon
5470f9fdc1
wd diff increase
2021-12-03 16:21:35 -05:00
Olivier Gagnon
d4ebc46a19
merge dev
2021-12-03 15:35:45 -05:00
Olivier Gagnon
b941753e1b
more fixes
2021-11-26 18:54:06 -05:00
Olivier Gagnon
c05518e162
workerscript log takes a function now, hopefully this will increase performance.
2021-11-26 18:30:58 -05:00
Olivier Gagnon
f0a004e75b
Fix a bunch of scripting related stuff.
2021-11-25 11:47:31 -05:00
Bart Koppelmans
79f456b598
Fixed BladeBurner getCityCommunities
ram cost
...
With the renamed function, the ram cost was not taken into account.
2021-11-20 21:12:21 +01:00
Olivier Gagnon
632de50a73
convert BN13 to a more conventional one.
2021-11-18 15:38:19 -05:00
Olivier Gagnon
ef781a0627
plenty of bf
2021-11-15 23:49:33 -05:00
Olivier Gagnon
43a6521403
more work on bn13
2021-11-13 23:45:26 -05:00
Olivier Gagnon
56ddcd9a45
more work on bn13
2021-11-13 22:44:17 -05:00
Olivier Gagnon
6bd6b3061e
rename some stuff and close some exploits
2021-11-12 15:42:57 -05:00
Olivier Gagnon
58d652da54
fix something about covenant sleeve purchases
2021-11-05 21:57:41 -04:00
Olivier Gagnon
14150d3e33
work on making the netscript api tighter
2021-11-03 20:19:52 -04:00
Olivier Gagnon
c5fb5155f3
work on making sure all the functions are accounted for
2021-11-03 18:16:10 -04:00
Olivier Gagnon
b2bf3fc21f
v1 api breaks
2021-11-02 22:11:22 -04:00
Olivier Gagnon
d4849cf50f
added ram cost for new functions.
2021-10-27 21:13:57 -04:00
Olivier Gagnon
8f097ebb32
v0.58.0
2021-10-27 15:16:16 -04:00
Olivier Gagnon
080b5a4a1f
merge dev
2021-10-26 23:11:47 -04:00
Olivier Gagnon
c34d53bc14
Added recent scripts subpage of active scripts
2021-10-23 16:04:00 -04:00
Olivier Gagnon
dce11f525a
fix a few bug
2021-10-22 15:21:10 -04:00
Olivier Gagnon
d2f2ab07d7
merge dev
2021-10-15 15:13:48 -04:00
Olivier Gagnon
c1d4ced331
autocomplete
2021-10-15 13:12:18 -04:00
Olivier Gagnon
3fddb3c9f2
added atExit
2021-10-14 20:13:26 -04:00
Olivier Gagnon
87c63cde59
merge v0.56.0
2021-10-12 01:35:30 -04:00
Olivier Gagnon
8f13363466
prettier
2021-10-11 16:38:50 -04:00
Olivier Gagnon
f9afff57b2
fix ram miscalc
2021-10-09 15:07:42 -04:00
Olivier Gagnon
bbf3a1d19a
fix server ram recalc
2021-10-08 23:45:54 -04:00
Olivier Gagnon
8d7f0488f8
merge dev
2021-10-07 17:58:32 -04:00
Olivier Gagnon
7d0536a4d2
finish convert to hostname
2021-10-07 17:55:49 -04:00
Olivier Gagnon
a7dfb1a537
more convertion from ip to hostname
2021-10-07 16:56:01 -04:00
Olivier Gagnon
be29481689
unexport AllServers
2021-10-07 16:04:04 -04:00
Olivier Gagnon
793d9b34ce
update BN13 for new UI
2021-09-25 17:21:50 -04:00
Olivier Gagnon
06f716c0fa
moved a bunch of files
2021-09-25 14:42:57 -04:00
Olivier Gagnon
dc2bf871cf
all typescript
2021-09-24 21:49:49 -04:00
Olivier Gagnon
ad75fa5ebc
convert to ts
2021-09-24 18:13:20 -04:00
Olivier Gagnon
61e3959a25
Improve event emitter
2021-09-18 15:44:39 -04:00
Olivier Gagnon
2a13db39c7
fix sleeve memory bug
2021-09-08 23:47:34 -04:00
vmesecher
6979082be7
Adds getAugmentationPrice() and getAugmentationReqRep() Netscript Singularity functions. Deprecates getAugmentationCost() Netscript singularity function.
2021-09-07 20:33:34 -07:00
Olivier Gagnon
506122f5b8
fmt, remove corp routing, lint
2021-09-06 15:06:08 -04:00
Olivier Gagnon
a18bdd6afc
prettify, sorry for the big ass commit
2021-09-04 19:09:30 -04:00
Cass
fe25460997
Replace "ALL" log flag with individually disabling every log.
...
https://github.com/danielyxie/bitburner/issues/1116
2021-08-31 21:03:39 +01:00
Olivier Gagnon
d6a7471e0b
Added functions to create gang
2021-06-12 04:47:03 -04:00
Olivier Gagnon
16c8c78b54
Add installBackdoor
2021-05-07 02:13:33 -04:00
Olivier Gagnon
4d9439a007
Added getServerMaxRam and getServerUsedRam, deprecated getServerRam
2021-05-03 01:07:46 -04:00
Olivier Gagnon
d745150c45
all the lints
2021-05-01 03:17:31 -04:00
Olivier Gagnon
3fad505096
run auto fix lint
2021-04-29 23:52:56 -04:00
hydroflame
52a80ad236
v0.51.6 ( #905 )
...
* Make command `cd` without arguments an alias for `cd /` (#853 )
In most shells `cd` without arguments takes you to the home directory
of the current user. I keep trying to do this due to muscle memory
from working in terminals, so I figured I'd make it do something useful.
There is no home directory in the game, but going to / is the closest
thing we have, since that is the starting point for the user in the
game.
* Add new `backdoor` terminal command (#852 )
* Add the backdoor command to the terminal
This command will perform a manual hack without rewarding money. It will be used for the story, mainly for faction hacking tests
* Add tab completion for backdoor command
* Add help text for backdoor command
* Change condition syntax to be more consistent with others
* Extract reused code block so it is always called after actions
* Update documentation for new backdoor command
Modified references to manual hack as it isn't for factions anymore
* Remove extra parenthesis
* Rename manuallyHacked to backdoorInstalled
* Fix typo
* Change faction test messages to use backdoor instad of hack
* Rename more instances of manuallyHacked
* fixed typo in helptext of darkweb buy (#858 )
* Fix typos and unify descriptions of augmentations (#859 )
Made an attempt to...
- give all "+rep% company/faction" the same text
- make all augmentations with a single effect use a single line to describe the effect
- make all effects end with a period
* Made Cashroot starter kit display its tooltip with the money formatted properly and in gold
* fix typo in docs (#860 )
* Initial code for Casino Card Deck implementation
* Casino Blackjack Implementation
* Update some tools (eslint, typescript)
* Blackjack code cleanup
* Update README_contribution
* Update ScriptHelpers.js (#861 )
expand error message
* More augmentation typo fixes (#862 )
* Add Netscript function getCurrentScript (#856 )
Add netscript function that returns the current script.
* Added milestones menu to guide new players. (#865 )
Milestone menu
* fix typos in milestones (#866 )
Co-authored-by: sschmidTU <s.schmid@phonicscore.com>
* Corrupt location title when backdoor is installed (#864 )
* Add corruptableText component
* Corrupt location title if backdoor is installed
* Formatting
* Add helper to check value of backdoorInstalled
Helper could be oneline but it would make it less readable
* Fix some formatting
* Add settings option to disable text effects
* Import useState
* getRunningScript (#867 )
* Replaced getCurrentScript with getRunningScript
* Bunch of smaller fixes (#904 )
Fix #884
Fix #879
Fix #878
Fix #876
Fix #874
Fix #873
Fix #887
Fix #891
Fix #895
* rework the early servers to be more noob friendly (#903 )
* v0.51.6
Co-authored-by: Andreas Eriksson <2691182+AndreasTPC@users.noreply.github.com>
Co-authored-by: Jack <jackdewinter1@gmail.com>
Co-authored-by: Teun Pronk <5228255+Crownie88@users.noreply.github.com>
Co-authored-by: Pimvgd <Pimvgd@gmail.com>
Co-authored-by: Daniel Xie <daniel.xie@flockfreight.com>
Co-authored-by: Simon <33069673+sschmidTU@users.noreply.github.com>
Co-authored-by: sschmidTU <s.schmid@phonicscore.com>
2021-04-28 20:07:26 -04:00
hydroflame
db2bf79e3b
v0.51.1 ( #835 )
...
* infiltration use buttons instead of a links
* minor accessibility patch
* Hospitalization will not cost more than 10% of the players money.
* Adde hospitalization netscript function
* Removed the suggestion that the combat path will lead to Daedalus, it still will. But new players should not be told that this is a viable path to completing a BitNode.
* getMemberInformation now returns everything about the member.
* New netscript function to get the players hacknet server hash capacity
* yesno dialog box will not keep older messages anymore
* v0.51.1
2021-04-06 03:50:09 -04:00
hydroflame
e572c6dad8
v0.51.0 ( #826 )
...
* Hash upgrades and Bladeburner skills can now be clicked to copy to clipboard
* Aug purchase confirmation popup displays money in 0.000a format
* Character now displays hacknet server info properly
* Character,Info now displays hacknet server info correctly.
* Formulas (#825 )
Formulas API v0.1
* Make all money the same color, same for reputation, format all numbers consistently.
* rename a lot of the formulas function to no longer contain calculate
* added hacking related formulas
* removed unused variable
* v0.51.0
2021-03-31 00:45:21 -04:00
Olivier Gagnon
28584c8461
executeCommand has been removed in favor of connect and manualHack, which is what people have been asking for.
2021-03-23 21:30:15 -04:00
Olivier Gagnon
1eddddd14f
Added executeCommand netscript function
2021-03-23 16:02:34 -04:00
Olivier Gagnon
2ce6ff2041
work to make documentation unified.
2021-03-12 02:51:56 -05:00
Olivier Gagnon
cd972dabe3
crash now prints ns stack trace, workerscript now does the shouldLog check on its own, many ns function are way simpler.
2021-03-11 03:02:05 -05:00
Olivier Gagnon
e1aec379c1
getCrimeStats returns the inner stats of a crime
2021-03-07 22:22:23 -05:00
Olivier Gagnon
619db14622
Added gang.getTaskStats which returns the stats of a gang task
2021-03-07 22:12:02 -05:00
Olivier Gagnon
84423e6309
gang.getEquipmentStats added, returns equipment multipliers
2021-03-07 22:01:31 -05:00
Olivier Gagnon
bbe4f9c286
Pid resets to 1 when installing or destroying a BitNode.
2021-03-07 13:08:12 -05:00
Olivier Gagnon
dc402bef68
added getAugmentationStats to netscript, it returns the stat boost of an aug
2021-03-07 04:57:49 -05:00
Olivier Gagnon
64272c99fb
Added softReset to netscript
2021-03-07 04:49:57 -05:00
danielyxie
042f926700
Minor bugfixes with killing Netscript scripts, and cleaned up text
2019-07-15 21:40:43 -07:00
danielyxie
3a374de210
killWorkerScript() now takes an optional argument for whether to rerenderUI. This is used to batch UI updates on killall()
2019-06-24 22:48:54 -07:00
danielyxie
4cc6437408
Updated WorkerScript-related code for the workerScripts array->map change
2019-06-24 22:48:54 -07:00
danielyxie
821725cf4d
Initial commit for converting workerScripts pool to Map data structure
2019-06-24 22:48:54 -07:00
danielyxie
3b7f9c9fb0
Fixed issues with Active Scripts UI. Implemented event emitter for Active Scripts UI
2019-05-17 13:41:16 -07:00
danielyxie
c1ec3c5eba
Finished refactoring Active Scripts UI into React/TypeScript. Currently untested
2019-05-16 23:44:59 -07:00
danielyxie
42804b0cd3
Refactored 'workerScripts' array and killWorkerScript() fn to be their own modules in TypeScript
2019-05-15 23:05:36 -07:00
danielyxie
fef7aaba8f
Adding more directory-related unit tests. Several more bug fixes and QoL improvements
2019-05-14 01:35:37 -07:00
danielyxie
9dd68947f1
Added Dynamic RAM calculation unit tests
2019-05-10 02:24:50 -07:00
danielyxie
ece246b391
Converted mocha unit tests to run using mocha-webpack (mochapack) package
2019-05-09 19:03:13 -07:00
danielyxie
8a5b6f6cbc
Refactored stock buying/selling code into its own file. Refactored WorkerScript & NetscriptEnvironment into their own Typescript classes. Refactored a ton of code to remove circular dependencies
2019-05-04 21:03:40 -07:00
Daniel Xie
78c3d0d060
Moved netscript files into src folder and renamed
2017-05-13 02:42:25 -05:00
Daniel Xie
55ded7d60c
Rebalanced part tiem company position wages
2017-05-12 00:25:54 -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
f2287b5696
Lots of changes, didn't keep track ofthem all
2017-05-10 12:42:46 -05:00
Daniel Xie
315940112c
UI Improvements
2017-05-06 17:19:18 -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
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
8917284f27
Removed some console.log statements. Fixed bug with displaying Factions Content
2017-05-04 14:29:50 -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
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
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
d6c094f4de
Playtesting - Rebalancing
2017-04-22 21:32:51 -05:00
Daniel Xie
c1c37f008e
Playtesting - Fixed bugs and some rebalancing with foreign servers
2017-04-20 03:29:07 -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
685103c5d4
Implemented 'rm' command. FIxed some bugs
2017-04-13 14:36:03 -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
e9c2fd46ff
Added logging to scripts
2017-04-11 08:59:48 -05:00
Daniel Xie
8de538a59a
More work on Create Program
2017-03-31 07:32:04 -05: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
fa456c48b6
Added Prestiging
2017-02-20 16:06:16 -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
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
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
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
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
40b0b585e1
Added InputStream, Tokenizer, and Parser(unfinished) class. Changed Newerth to Aevum
2016-11-14 00:42:31 -06:00