Pixelmon Mod - Bug tracker

[9.1.3] Mega evolutions do not work in PvP battles if the rules are set to "raise to cap" or "team preview" fix completed for upcoming version

Ticket description:
Testing mega evolution in a PvP battle on the Limitless Pixelmon server, we noticed clicking the "mega evo" button does not actually mega evolve the pokemon. The message is sent in the battle log but the animation and stats do not change. This is only the case if using the "raise to cap" or "team preview" battle rules.

Comments

#29210 Posted by zThana » 15 Feb 2023 06:09

Can confirm under the same circumstances.

Code: Select all[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:91]: Problem Mega Evolving or Dynamaxing.
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: java.lang.NullPointerException
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at com.pixelmonmod.pixelmon.entities.pixelmon.helpers.EvolutionQuery.<init>(EvolutionQuery.java:120)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.megaEvolve(PixelmonWrapper.java:1821)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at com.pixelmonmod.pixelmon.battles.controller.BattleController.updateTurnZero(BattleController.java:570)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:462)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:248)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraftforge.eventbus.ASMEventHandler_175_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraftforge.fml.hooks.BasicEventHooks.onPostWorldTick(BasicEventHooks.java:86)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServerMixin.java:857)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServerMixin.java:291)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServerMixin.java:787)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServerMixin.java:1917)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServerMixin.java:232)
[com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:92]: at java.base/java.lang.Thread.run(Thread.java:829)

#29212 Posted by JoeBob » 15 Feb 2023 12:21

Below you will find a replication of the issue stated above:

https://cdn.discordapp.com/attachments/ ... -22-48.mp4

#29215 Posted by Decent60 » 16 Feb 2023 01:17

Greetings,

Can confirm this happens.

Thanks!

Ticket details

  • Ticket ID: 20077
  • Project: Pixelmon Mod
  • Status: Fix completed for upcoming version
  • Component: Battle
  • Project version: 1.16.5-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: Forge 36.2.34
  • What else would be useful to know?: Place of occurence: Limitless Pixelmon Server
  • Assigned to: Decent60
  • Reported by: Oculyn (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 14 Feb 2023 23:59
  • Ticket last visited by: WaifuJanna on 27 May 2023 13:03
JOIN THE TEAM