Tails' Khaos Kontraption

Tails' Khaos Kontraption 1.1

EeveeEuphoria, if you're reading this, please fix the following issue.

When I loaded this addon for the first time I noticed that there was a lot of frequent stuttering while playing the game. I had never seen so much low framerate from an addon like this that it was unplayable, but that wasn't always the case. The next time I opened the game I immediately loaded this addon during gameplay and the game was running fine. I was so confused by this sudden good gameplay that I decided to research it.

I quickly found out that when I added more characters the framerate gets worse. This must have something to do with the effect "Change Character". I think it goes is this: When a match is beginning to start, the addon starts preloading every available character in the game for "Change Character" to work. The problem is that not only it preloads base characters but also characters from various other addons, leading to preloading a huge amount of characters. This could also be the case of "Change Color" and "Change Sprite" but that's all I know.

Unfortunately I was struggling to properly recapture how the problem folds so I'm unable to give you any evidence, sorry about that. I hope this info helps you in making this and your other addons better in not only coding but also quality. Thank you for taking the time to read this.:sadthumbsup:
 
Should have added this to the earlier post when playing the latest version of this mod back on January 30 but...

There is a Lua error anytime the universal effect "You Get The Bees" is rolled.
Code:
WARNING: ...ua_35\XL_TailsKhaosKontraption_v1.1.0.pk3|Lua/fx.lua:2467: attempt to perform arithmetic on global 'playercount' (a nil value)
stack traceback:
    ...ua_35\XL_TailsKhaosKontraption_v1.1.0.pk3|Lua/fx.lua:2467: in function 'func'
    ...\XL_TailsKhaosKontraption_v1.1.0.pk3|Lua/rewrite.lua:1823: in function <...\XL_TailsKhaosKontraption_v1.1.0.pk3|Lua/rewrite.lua:1625>
ringracers3071.png

(playercount is meant to avoid choosing an effect that cannot affect bots if more than half of the field is populated by bots.)
 
Back
Top