sokratis12GR / ArmorPlus

ArmorPlus is a mod based on exploration, killing, building, getting geared up, fight the bosses and explore the depths of your worlds.
https://smarturl.it/armorplus?IQid=google
GNU Lesser General Public License v3.0
23 stars 23 forks source link

[1.16.5] 16.5.0 - Non Effect Providing Armors Throw a null effect when invoked, caused by a null effect list. #256

Closed TheDarkPreacher closed 2 years ago

TheDarkPreacher commented 2 years ago

Affected Versions (Do not use "latest")::

Affected Side (Client or Server):

Describe the issue: When updating from Smashing Mods Together version 1.0.2 to 1.0.3-hotfix on server, if a player is wearing ArmorPlus armor when connecting to server, there is a Ticking Player crash, which causes the player to never actually connect with their client.

(Optional) Additional notes: Smashing Mods Together version 1.0.2 uses ArmorPlus version 16.4.1, TheDragonLib v. 1.1.0, GeckoLib v. 3.0.49, and Forge 36.2.8. Issue also reported to Smashing Mods Together pack dev https://github.com/SmashingModsTogether/SMT-Issues/issues/7

TheDarkPreacher commented 2 years ago

Update: Latest.log from the crash

https://gist.github.com/TheDarkPreacher/9d21c1aafdddd6ea5e63909d1b8511f3

sokratis12GR commented 2 years ago

Hey there, thanks for your report, but I'm afraid that log report doesn't contain any information about the crash, and nothing related to ArmorPlus.

TheDarkPreacher commented 2 years ago

Sorry, it was super late, had a ton of logs to go through, snagged the wrong one. This is the only crash log I can actually find on the server, since the one it says it generates in the log can't be found. https://gist.github.com/TheDarkPreacher/885c3a370bc967014066525ea073ff41

sokratis12GR commented 2 years ago

Thanks for that, which armor was being equipped/is affected?

TheDarkPreacher commented 2 years ago

The enhanced diamond armor. I made a partial set (ran out of glowstone before I could make boots) and if I'm wearing any of it, Ticking Player crash in 16.5.0.

On Mon, Nov 8, 2021 at 12:42 PM Sokratis Fotkatzikis < @.***> wrote:

Thanks for that, which armor was being equipped/is affected?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sokratis12GR/ArmorPlus/issues/256#issuecomment-963461893, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADS4PCR7Y3NNYSUXJKJVZLLULAKYLANCNFSM5HRL3R3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sokratis12GR commented 2 years ago

Alrighty thanks, that shouldn't be happening considering the armor has no effects, does that happen with other armors (excluding enhanced)?

TheDarkPreacher commented 2 years ago

I have no idea, honestly, I hadn't had a chance to make any other sets yet.

On Mon, Nov 8, 2021 at 12:50 PM Sokratis Fotkatzikis < @.***> wrote:

Alrighty thanks, that shouldn't be happening considering the armor has no effects, does that happen with other armors (excluding enhanced)?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sokratis12GR/ArmorPlus/issues/256#issuecomment-963467831, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADS4PCXGA7LX534TGGCVLALULALVVANCNFSM5HRL3R3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

TheDarkPreacher commented 2 years ago

Did some testing on a fresh server, here is the list of effected armor sets.

Enhanced Iron Enhanced Gold Enhanced Diamond Enhanced Netherite Manyullyn Pig Iron Cobalt

Same crash, every time, like clockwork.

On Mon, Nov 8, 2021 at 12:57 PM The DarkPreacher @.***> wrote:

I have no idea, honestly, I hadn't had a chance to make any other sets yet.

On Mon, Nov 8, 2021 at 12:50 PM Sokratis Fotkatzikis < @.***> wrote:

Alrighty thanks, that shouldn't be happening considering the armor has no effects, does that happen with other armors (excluding enhanced)?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sokratis12GR/ArmorPlus/issues/256#issuecomment-963467831, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADS4PCXGA7LX534TGGCVLALULALVVANCNFSM5HRL3R3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sokratis12GR commented 2 years ago

Alrighty thanks, seems all non-effect providing gear were affected, will be fixed in the next patch.

TheDarkPreacher commented 2 years ago

Awesome, thanks!

On Mon, Nov 8, 2021 at 2:41 PM Sokratis Fotkatzikis < @.***> wrote:

Alrighty thanks, seems all non-effect providing gear were affected, will be fixed in the next patch.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sokratis12GR/ArmorPlus/issues/256#issuecomment-963555195, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADS4PCUQVFJBVLSOREXRQKDULAYWRANCNFSM5HRL3R3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Dark-Arcana commented 2 years ago

Thanks for the update on the issue. When your mod updates, I will update it in my pack.

sokratis12GR commented 2 years ago

Hey there, thanks for waiting. ArmorPlus 1.16.5-16.5.1 should fix this issue. Note: Please delete armorplus related configuration files after updating.

Dark-Arcana commented 2 years ago

Thanks! I'm adding this to my next update. We'll report back if there's any other issues.