![]() This information can be looked up using standlone functions: ns.hasTorRouter(), ns.bladeburner.inBladeburner(), ns.corporation.hasCorporation(). Ns.getPlayer no longer provides properties tor, inBladeburner, or hasCorporation. e.g.:Ĭonst tprint1 = ns.tprint // This doesn't work and will error out when calling tprint1() Ĭonst tprint = ns.tprint.bind(ns) // This works because the 'this' value is preserved. The internal changes that make this necessary led to very large performance gains for running many scripts at once. No longer applicable as of v2.2.1! (ns2 only) ns functions use the 'this' value from ns: if you move the function to its own variable off of ns, it needs to be bound to ns. To ease the pain here, attempting to use any of the removed functions will provide an error guiding you to the new replacement function to use instead. Sorry for the large number of API breaks in this version.To facilitate this, we've moved the repo to a new location at. The previous main developer, hydroflame, is stepping back from this project for the foreseeable future.Fixed an issue where the overview skill bars could be displayed inaccurately based on player multipliers.Values have been reduced to only about 2x what they were prior to v2.0, and they are no longer better than gym/university. This caused faction work to exceed gym/university as the optimal way to gain experience. Faction XP was unintentionally providing 20x the experience gain as it did prior to v2.0.Regenerated documentation at due to corporation changes related to min decay stats.Moved the variable storing the min decay value to corporation constants, and raised it to 10. There was an issue with Corporations decaying their employees to 0 stats, even though the minimum was supposed to be 5.Possible fix for MathJax "Typesetting Failed" errors.Fixed an issue with sleeve HP calculation.script files were not receiving the correct args when ran Fixed some issues with savegames failing to load, or causing the main engine loop to stall after load.Implemented a new API wrapping solution that prevents the need for binding functions to ns when placing them in a new variable, but maintains and perhaps improves upon the performance gains from the previous v2.2.0 changes.Internal refactoring of how BitNode multipliers are stored Added some extra helper function (useRerender hook, positiveInteger ns argument validator). ![]() Updated many dependencies Updated lots of the build processes and GitHub workflows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |