Giter Club home page Giter Club logo

ascended-upgrades's Introduction

Icon Download

AscendedUpgrades

Adds special Ascended Upgrades that you can use to infinitely upgrade towers.

When a tower has no more available upgrades, you can begin choosing between 3 repeatable Ascended Upgrades to continue powering it up. Each Ascended Upgrade you use increases the cost of future ones.

Requires BTD6 Mod Helper

ascended-upgrades's People

Contributors

doombubbles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ascended-upgrades's Issues

Mod only works in Sandbox

I'm unsure if it's intentional but I've only been able to purchase Ascended upgrades in Sandbox. When playing in a normal mode and level the upgrades don't seem to be able to be purchased.

I don't see any errors in the console either.

Running:

Upgrade Menu lags like crazy

For example, if I'm in between rounds, just sitting there with no menu open, the game runs absolutely fine 120+fps. However, the moment I open the upgrade menu on a monkey with a lot (100+) of ascended upgrades, the frametimes go absolutely buck wild, up to 300ms. The avg. framerate drops to about 50, but CPU/GPU usage don't increase at all. This happens even with pips turned off

Mod does not work at all for me

I have tried everything to get this mod to work, uninstalling mods to see if there i s a conflict, reinstalling the game, reinstalling MelonLoader (6.2.0 because 6.1.0 caused my game to start to lock up and not work right), all i see when i try to run an upgrade on my towers is a Console message saying: During invoking native->managed trampoline, followed by an error message:
[BloonsTD6_Mod_Helper] System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Boolean& found) at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, TSource defaultValue)
at AscendedUpgrades.Extensions.<>c__DisplayClass3_0.b__1(AscendedUpgrade upgrade) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 34
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func`2 elementSelector)
at AscendedUpgrades.Extensions.GetAscendedStacks(Tower tower) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 32
at AscendedUpgrades.Simulation_GetSimulationBehaviorDiscount.Postfix(Tower tower, Int32 path, Single& __result) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Patches.cs:line 213
at DMD<Il2CppAssets.Scripts.Simulation.Simulation::GetSimulationBehaviorDiscount>(Simulation this, Tower tower, Int32 path, Int32 tier, Single currentDiscount)
at (il2cpp -> managed) GetSimulationBehaviorDiscount(IntPtr , IntPtr , Int32 , Int32 , Single , Il2CppMethodInfo* )

Ill also attach my log
Latest.log

Conflict with Quantum Entanglement "SuperEntanglement".

[21:55:25.634] During invoking native->managed trampoline
[21:55:25.635] [BloonsTD6_Mod_Helper] System.InvalidOperationException: Sequence contains more than one element
   at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, TSource defaultValue)
   at AscendedUpgrades.Extensions.<>c__DisplayClass3_0.<GetAscendedStacks>b__1(AscendedUpgrade upgrade) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 34
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
   at AscendedUpgrades.Extensions.GetAscendedStacks(Tower tower) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 32
   at AscendedUpgrades.Simulation_GetSimulationBehaviorDiscount.Postfix(Tower tower, Int32 path, Single& __result) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Patches.cs:line 213
   at DMD<Il2CppAssets.Scripts.Simulation.Simulation::GetSimulationBehaviorDiscount>(Simulation this, Tower tower, Int32 path, Int32 tier, Single currentDiscount)
   at (il2cpp -> managed) GetSimulationBehaviorDiscount(IntPtr , IntPtr , Int32 , Int32 , Single , Il2CppMethodInfo* )

Enabling "SuperEntanglement" in the Quantum Entanglement mod causes this.

Not working in a normal game

When I went into sandbox mode to try the mod, it worked perfectly fine... but when I went into a normal game, when I would upgrade, it would sometimes not give me the upgrade or symbol

mod is not working

when i try to use the mod in game (it is not crashing the game upon start) it just is not working. it sometimes lets me spend money on the upgrades but nothing is happening and when i look at it in the mod helper menu it says "Failed to register AscendedStrengthIcon, Falied to register AscendedSpeedIcon and Failed to register AscendedForceIcon. What do i do?

Mod issues

When I download the mod through byd6 mod helper, and then restart, the mod is not present in the list of mods in the mod helper, neither does the mod work

Ascended Upgrades not working properly

I just started playing Btd6 with the Ascended Upgrades mod but one of the upgrades only showing and the other two literally not there (5-2-0 dart only showing ascended strength).
How can I fix this?

Mod isn't working D:

I have BTD6 ModHelper like the readme said to do and I have nothing else installed just to make sure no other mods were messing it up, but I seem to get this error code every time I do an "Ascended Upgrade" and none of them ever work.

this is the error it gives me: [00:01:35.698] [BloonsTD6_Mod_Helper] System.MissingMethodException: Method not found: 'Void Il2CppAssets.Scripts.Simulation.Towers.TowerManager.UpgradeTower(Int32, Il2CppAssets.Scripts.Simulation.Towers.Tower, Il2CppAssets.Scripts.Models.Towers.TowerModel, Int32, Single, Single, Boolean, Boolean, Boolean, Boolean, Boolean, Int32)'.
at AscendedUpgrades.UnityToSimulation_UpgradeTower_Impl.Postfix(UnityToSimulation __instance, ObjectId id, Int32 pathIndex, Int32 inputId)
at DMD<Il2CppAssets.Scripts.Unity.Bridge.UnityToSimulation::UpgradeTower_Impl>(UnityToSimulation this, ObjectId id, Int32 pathIndex, Int32 callbackId, Int32 inputId, Double nonUpgradeCashInvestment)
at (il2cpp -> managed) UpgradeTower_Impl(IntPtr , ObjectId , Int32 , Int32 , Int32 , Double , Il2CppMethodInfo* )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.