Jump to content

Pumpkin crash with 1.4.7-6.6.1.524


Pylzy

Recommended Posts

Hi!

 

I have tried running server with just Forge but players on the server get this error when breaking/picking up a pumpkin :o This error also appears immediately when they try to reconnect (they have pumpkin in their inventory).

 

What's happening?

 

 

[WARNING] Failed to handle packet for Joonas612/25.114.116.215: java.lang.ArrayIndexOutOfBoundsException: 4

java.lang.ArrayIndexOutOfBoundsException: 4

at qx.b(EntityPlayer.java:2277)

at md.c(EntityLiving.java:1914)

at qx.c(EntityPlayer.java:560)

at md.j_(EntityLiving.java:843)

at qx.j_(EntityPlayer.java:328)

at iq.g(EntityPlayerMP.java:286)

at iv.a(NetServerHandler.java:310)

at eb.a(SourceFile:136)

at cg.b(TcpConnection.java:458)

at iv.d(NetServerHandler.java:136)

at iw.b(NetworkListenThread.java:57)

at ht.b(SourceFile:30)

at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703)

at ho.r(DedicatedServer.java:269)

at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)

at fy.run(SourceFile:849)

 

 

Link to comment
Share on other sites

Actually looking into this this appears to be a vanilla bug, not exactly sure how you're getting it as it requires a fairly convaluted set of conditions to be in place...

 

If you're able to write down a step-by-step to reproduce we can take a look. However, i'd just kill the user's inventory and call it good.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

  • 2 weeks later...

Hi, i just had experienced the same problem. This issue usually comes from using a bukkit world in a vanilla server.

 

See this bug report: 

https://mojang.atlassian.net/browse/MC-4560

 

Bukkit sets the NBT value of "CanPickUpLoot" to 1. This value triggers some strange behaviour in a vanilla server:

 

  • Whenever you pick up an item you don't have already in your inventory it will be "equipped" into your boots slot.
  • When you pick up boots they will go into the trousers slot.
  • When you pick up trousers they will go into the chest plate slot.
  • When you pickup a chest plate it will go into your helmet slot.
  • When you pick up a helmet the game crashes because it tries to equip it in the next slot which doesn't exist. That's why an ArrayIndexOutOfBoundsException is thrown.

 

Since a pumpkin can be used as helment it crashes the game when you pick it up.

 

Just wanted to clear this up. It is actually a bug in the vanilla server which is caused by worlds created / played with bukkit and has nothing to do with Forge. I fixed my issue by using NBTExplorer and changed CanPickUpLoot back to 0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.