Pokecube-Development / Pokecube-Issues-and-Wiki

This is where all issues for the core pokecube mods should go, also this is where the main wiki should be maintained
MIT License
30 stars 24 forks source link

When summoning caught Pokemobs, they register as wild #844

Closed Chrisjohnson57387 closed 2 years ago

Chrisjohnson57387 commented 2 years ago

Issue Description:

When summoning caught Pokemobs, they register as wild.

What happens:

This only seems to be an issue on my server, where the sizes of the Pokemobs are adjusted. When summoning caught Pokemobs, they aren't selected. You can get them to be selected if right click them, and if you hit the gui buttons "RT" then "X"(red), they should select. Sometimes also "Y".

What you expected to happen:

When summoning caught Pokemobs, they should be selected on releasing from the ball.

Steps to reproduce:

The problem isn't happening to me anymore, but the first time I ever had this issue, it occurred when I changed the size of the pokemobs from the config file, without a server restart. It solved after restarting the server.

The next time this happened, it happened after I upgraded from 3.14.0.i to 3.14.0.j. In my configs, I had also changed the sizing from 1.5 to 1.2, as well as various ai settings to lower the spawning a bit. I also had updated some of the mods I had on at the time, and added some other mods to improve performance; I'm listing them again beneath the full mod list


Affected Versions (Do not use "latest"):

Full mod list

Updated mods at the same time I updated pokecube

Mods I added at the same time I updated pokecube

Thutmose commented 2 years ago

I am currently marking this as "cannot replicate", as you mentioned that it seems to randomly fix itself, hopefully if it happens to someone else, or later, then there will be more information about the specific details?

Chrisjohnson57387 commented 2 years ago

The only notable thing that happened before it working and after was that my power went out.

Chrisjohnson57387 commented 2 years ago

Pokemobs will automatically reselect if they level up while fighting

Chrisjohnson57387 commented 2 years ago

This issue happens always after a crash now. It's been hard to diagnose what mod may be conflicting with Pokecube because I can disable random mods and then the game will work, only to reenable those same mods and it still work. I've then tried to do so with a different set of mods, and the behavior holds up. It's not clearly any mod as far as I can see, or it's multiple mods and I don't know what they have in common. When this issue is happening, the below is in the client log for every pokemon in renderable distance: [07:50:39] [Render thread/FATAL]: Error executing task on Client java.lang.IllegalStateException: Invalid entity data item type for field 30 on entity GenericPokemob['Ponyta'/1725, l='ClientLevel', x=-812.82, y=71.00, z=-523.40]: old=0(class java.lang.Byte), new=(0.0, 0.0, 0.0) 00000000-0000-0000-0000-000000000000(class thut.api.entity.IMultiplePassengerEntity$Seat) at net.minecraft.network.syncher.SynchedEntityData.m_135375_(SynchedEntityData.java:245) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.network.syncher.SynchedEntityData.m_135356_(SynchedEntityData.java:232) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.client.multiplayer.ClientPacketListener.m_6455_(ClientPacketListener.java:434) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket.m_5797_(ClientboundSetEntityDataPacket.java:39) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket.m_5797_(ClientboundSetEntityDataPacket.java:11) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:21) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:151) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:125) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:110) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1009) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:660) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%23197!:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.0.9.jar%2323!:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.0.7.jar%235!:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.0.7.jar%235!:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.0.7.jar%235!:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.0.7.jar%235!:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.0.7.jar%235!:?] at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.0.7.jar%235!:?] at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.0.7.jar%235!:?] at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) [bootstraplauncher-0.1.17.jar:?]