Jump to content

hubertnnn

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

hubertnnn's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Had same problem, there is a bug in cpw.mods.fml.common.network.FMLPacket.makePacketSet Arrays.copyOfRange takes end of range as last parameter, not length, so insted of chunks[i] = Bytes.concat(new byte[] { UnsignedBytes.checkedCast(type.ordinal()), UnsignedBytes.checkedCast(i), UnsignedBytes.checkedCast(chunks.length)}, Ints.toByteArray(len), Arrays.copyOfRange(packetData, i * 32000, len)); there shuld be chunks[i] = Bytes.concat(new byte[] { UnsignedBytes.checkedCast(type.ordinal()), UnsignedBytes.checkedCast(i), UnsignedBytes.checkedCast(chunks.length)}, Ints.toByteArray(len), Arrays.copyOfRange(packetData, i * 32000, i * 32000 + len)); Here is a quick patch I made, install it after forge like any jar mod: http://rapidshare.com/files/3934716947/packet_fix.zip Not sure if you need it on both client and server (I guess yes) but for me it fixed the problem after putting it only server side. Sry my fix is not working, I just launched wrong copy of minecraft Unfortunately this file is signed so I cannot modify, or I am just too stupid to find a good solution, need to wait for forge team
  2. I think I found source of the problem. After changing: view-distance=7 back to view-distance=10 in server.properties the bug seem to disappear (25 minutes so far no crash, last time had crash every minute). Still need more testing, but that may be the reason. edit: Found real reason. The view-distance only reduced chance of this bug to appear, real reason is in dormantChunkCacheSize=100 in forgeChunkLoading.cfg I scanned the source and found that this happens only on chunk loading, and it looks like a memory leak, then I tested this value and bingo, without it in my test server(modified so it shows message but not chrash on the bug) had this crash every 5 seconds (with low view-distance). The reason was entity still kept in buffer/cache and in tracker but still being added again when chunk was reloading (I was running around). Temporaty fix for those with this error is: dormantChunkCacheSize=0 untill forge will fix chunk buffering.
  3. I am trying to make a moded server for me and my friends, and about 1 minute after joining, I have this error: java.lang.IllegalStateException: Entity is already tracked! I removed all of my mods and error still exist. Crash logs: On Recomended forge On last forge:
×
×
  • Create New...

Important Information

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