Pixelmon Mod - Bug tracker

[8.4.0] Raids are skipping capture opportunity, do not drop anything fix completed

Ticket description:
Attempted both 2* Milcery and 4* Delcatty raids in creative mode, skipped the capture chance for them while having a master ball and ultra balls. It said I was given essence, but it did not put anything into the inventory (if that's where it goes) and did not show the drops for the raid. The items were also not added in, so it wasn't just the graphics skipped.


Logs from the Milcery raid session:

[17:29:18] [Client thread/INFO]: Loaded 5 waypoints from /Users/mike/Library/Application Support/technic/modpacks/pixelmon-reforged/journeymap/data/sp/Test/waypoints
[17:29:18] [Client thread/INFO]: Mapping started in /Users/mike/Library/Application Support/technic/modpacks/pixelmon-reforged/journeymap/data/sp/Test/DIM0. Memory: 4096MB total, 2965MB free
[17:29:24] [Server thread/INFO]: Saving and pausing game...
[17:29:24] [Server thread/INFO]: Saving chunks for level 'Test'/overworld
[17:31:30] [Server thread/INFO]: Saving and pausing game...
[17:31:30] [Server thread/INFO]: Saving chunks for level 'Test'/overworld
[17:32:10] [Server thread/WARN]: Keeping entity pixelmon:pixelmon that already exists with UUID 6f81dad4-a969-455e-8891-9edd006029a6
[17:32:37] [Client thread/INFO]: [CHAT] 10 §lFairy§r essence was added to your inventory!
[17:32:37] [Server thread/ERROR]: Exception caught during firing event [email protected]:
java.lang.NullPointerException: null
at com.pixelmonmod.tcg.api.card.Energy.givePlayerEssence(Energy.java:60) ~[Energy.class:1.12.2-8.4.0]
at com.pixelmonmod.tcg.listener.ServerEventHandler.onRaidWonEvent(ServerEventHandler.java:83) ~[ServerEventHandler.class:1.12.2-8.4.0]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_226_ServerEventHandler_onRaidWonEvent_EndRaidEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
at com.pixelmonmod.pixelmon.battles.controller.participants.RaidPixelmonParticipant.endBattle(RaidPixelmonParticipant.java:158) [RaidPixelmonParticipant.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:1073) [BattleControllerBase.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:955) [BattleControllerBase.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:1083) [BattleControllerBase.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1437) [BattleControllerBase.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:1375) [BattleControllerBase.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:518) [BattleControllerBase.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:252) [BattleRegistry.class:1.12.2-8.4.0]
at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:17) [BattleTickHandler.class:1.12.2-8.4.0]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_143_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) [?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) [ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274) [FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279) [chd.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74]
[17:32:37] [Server thread/ERROR]: Index: 1 Listeners:
[17:32:37] [Server thread/ERROR]: 0: NORMAL
[17:32:37] [Server thread/ERROR]: 1: ASM: [email protected] onRaidWonEvent(Lcom/pixelmonmod/pixelmon/api/events/raids/EndRaidEvent;)V
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:87]: Caught error in battle. Continuing...
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: java.lang.NullPointerException
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.tcg.api.card.Energy.givePlayerEssence(Energy.java:60)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.tcg.listener.ServerEventHandler.onRaidWonEvent(ServerEventHandler.java:83)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_226_ServerEventHandler_onRaidWonEvent_EndRaidEvent.invoke(.dynamic)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.controller.participants.RaidPixelmonParticipant.endBattle(RaidPixelmonParticipant.java:158)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:1073)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:955)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.endBattle(BattleControllerBase.java:1083)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkDefeated(BattleControllerBase.java:1437)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:1375)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:518)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:252)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:17)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_143_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
[17:32:37] [Server thread/INFO]: [com.pixelmonmod.pixelmon.battles.controller.log.BattleLog:onCrash:88]: at java.lang.Thread.run(Thread.java:745)
[17:32:52] [Server thread/INFO]: Saving and pausing game...
[17:32:52] [Server thread/INFO]: Saving chunks for level 'Test'/overworld
[17:32:52] [Client thread/INFO]: Mapping halted in /Users/mike/Library/Application Support/technic/modpacks/pixelmon-reforged/journeymap/data/sp/Test/DIM0

Comments

#24916 Posted by LordSamosa » 22 Apr 2022 20:03

Moved to internal!

#24924 Posted by LordSamosa » 22 Apr 2022 21:00

Temporary fix for anyone coming across this: Disable essence being given through the TCG config
However this should be fixed for next update.

Ticket details

  • Ticket ID: 17263
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Battle
  • Project version: 8.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: (unknown)
  • What else would be useful to know?: (unknown)
  • Assigned to: LordSamosa
  • Reported by: Ordalca (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 22 Apr 2022 19:40
  • Ticket last visited by: Katzyn on 12 May 2022 02:01
JOIN THE TEAM