Vetpetmon-Labs / Wyrms-of-Nyrus-Hub

Issue tracker, license, and API for Wyrms of Nyrus
Other
0 stars 0 forks source link

[Bug] Attacking a mod creature causes it to be kicked #13

Open nenglizuida opened 3 days ago

nenglizuida commented 3 days ago

Contact Details

No response

What happened?

Player kicked out of server while attacking mod mob, server no crash, error in logs, mod version 0.7.75

Version

0.7.x (Testing branch)

Type/Severity

Crash to desktop/Server crash

What operarating system(s) are affected?

Linux (other distro)

Relevant log output

https://mclo.gs/ctdzUqf
Vetpetmon commented 1 day ago

Testing on my end right now.

I am setting both the packet IDs for server and client to be 2, instead of 2 being client and 3 being server. No, that broke it entirely. Will try to reproduce on my end as-seen in v0.7.75

Vetpetmon commented 1 day ago

I cannot recreate the kick error on my end, as the pack discriminator is correctly reserved by wyrmsofnyrus.

Server OS for testing is Windows 11 Pro

Vetpetmon commented 1 day ago

Mutated into #14

nenglizuida commented 1 day ago

In the case of my own testing, empty-handed or using a melee weapon, either the left or right button will be kicked out, However, attacking with ranged weapons such as apex firearms does not seem to present this issue

Vetpetmon commented 1 day ago

In the case of my own testing, empty-handed or using a melee weapon, either the left or right button will be kicked out, However, attacking with ranged weapons such as apex firearms does not seem to present this issue

I cannot replicate this issue on my machines, have you tried a regular Minecraft Forge Loader?

Additionally, to help with #14 , do the wyrms take damage from secondary hitboxes when attacked via projectiles?

nenglizuida commented 17 hours ago

When attacking a creature with a ranged weapon, it can deal damage normally, without any problems, except that when you click left and right to the creature in melee, it will be kicked