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

[MC 1.12.2] Clientside error and disconnect when using TOP addons and Pokecube #452

Closed PatchyDragon closed 2 years ago

PatchyDragon commented 4 years ago

Issue Description:

When playing as a client on a server running Pokecube and The One Probe addons, looking at a pokemob with probe enabled with cause a clientside error and disconnect. I am unsure whether this is an issue more with TOP or pokecube, but it appears to be pokecube specific. I isolated it to these two in specific, but since it is just a clientside error and disconnect, there is no crash report. Instead I'm including the log file. latest.log

What happens:

It appears that there's an issue with TOP addons attempting to read the pokemob as a tank, and somehow resulting in an overflow when trying to draw a bar for that. This causes the client to hang, then disconnect. Strangely, this only happens in client-server situations, playing in singleplayer works just fine.

What you expected to happen:

I expected to get a regular probe readout of the pokemob I was looking at.

Steps to reproduce:

  1. Install on a server The One Probe, TOP addons, and pokecube. (Curse export provided) Tester's choice-1.0.0.zip
  2. Connect and ensure your probe is set to extended mode, select any pokemob. (I chose Popplio in testing)
  3. Toss your starter mob out and attempt to look at it
  4. Crash

Affected Versions

PatchyDragon commented 4 years ago

oh that's embarrassing. I sent the first draft out instead of finishing the report properly.

PatchyDragon commented 4 years ago

Edited to properly include all data.

Thutmose commented 4 years ago

that log indicates the issue is something with one of the packets sent by topaddons

PatchyDragon commented 4 years ago

I don't suppose there's an easy way to move this issue straight to their git, is there?

P3rf3ctXZer0 commented 4 years ago

Copy the top bar and explain this issue. The other approach is you could simply click edit and copy and paste all the text in a new issue.