Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

787k Downloads

IOException: Expected 38 sky light sections but got 5

Johni0702 opened this issue ยท 1 comments

commented

https://drive.google.com/file/d/15PDkQspbW-wAnnqOy59sjBUtaLqILp0e/view?usp=sharing

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 03/08/2021, 3:14 pm
Description: Failed to initialize quick mode. It will not be available.

java.io.IOException: Expected 38 sky light sections but got 5
    at com.replaymod.replaystudio.protocol.packets.PacketUpdateLight.read(PacketUpdateLight.java:103)
    at com.replaymod.replaystudio.protocol.packets.PacketUpdateLight.read(PacketUpdateLight.java:46)
    at com.replaymod.replaystudio.rar.analyse.ReplayAnalyzer.analyse(ReplayAnalyzer.java:137)
    at com.replaymod.replaystudio.rar.RandomAccessReplay.analyseReplay(RandomAccessReplay.java:158)
    at com.replaymod.replaystudio.rar.RandomAccessReplay.load(RandomAccessReplay.java:85)
    at com.replaymod.replay.QuickReplaySender.lambda$initialize$2(QuickReplaySender.java:136)
    at java.base/java.lang.Thread.run(Thread.java:831)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
    Minecraft Version: 1.17.1
    Minecraft Version ID: 1.17.1
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 16.0.1, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 583729048 bytes (556 MiB) / 1744830464 bytes (1664 MiB) up to 2147483648 bytes (2048 MiB)
    CPUs: 12
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 5 4600H with Radeon Graphics         
    Identifier: AuthenticAMD Family 23 Model 96 Stepping 1
    Microarchitecture: unknown
    Frequency (GHz): 2.99
    Number of physical packages: 1
    Number of physical CPUs: 6
    Number of logical CPUs: 12
    Graphics card #0 name: AMD Radeon(TM) Graphics
    Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
    Graphics card #0 VRAM (MB): 512.00
    Graphics card #0 deviceId: 0x1636
    Graphics card #0 versionInfo: DriverVersion=27.20.11028.10001
    Graphics card #1 name: NVIDIA GeForce GTX 1650
    Graphics card #1 vendor: NVIDIA (0x10de)
    Graphics card #1 VRAM (MB): 4095.00
    Graphics card #1 deviceId: 0x1f99
    Graphics card #1 versionInfo: DriverVersion=30.0.14.7141
    Memory slot #0 capacity (MB): 8192.00
    Memory slot #0 clockSpeed (GHz): 3.20
    Memory slot #0 type: DDR4
    Virtual memory max (MB): 28029.32
    Virtual memory used (MB): 21258.49
    Swap memory total (MB): 20480.00
    Swap memory used (MB): 2257.66
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
commented

The error in Minecraft 1.16.5 with ReplayMod 2.6.0:

// You're mean.

Time: 8/11/21 3:57 PM
Description: Failed to initialize quick mode. It will not be available.

java.lang.IndexOutOfBoundsException: readerIndex(12312) + length(1) exceeds writerIndex(12312): PooledUnsafeDirectByteBuf(ridx: 12312, widx: 12312, cap: 12312)
	at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1405)
	at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:707)
	at com.replaymod.lib.com.github.steveice10.packetlib.tcp.io.ByteBufNetInput.readByte(ByteBufNetInput.java:26)
	at com.replaymod.lib.com.github.steveice10.packetlib.tcp.io.ByteBufNetInput.readVarInt(ByteBufNetInput.java:59)
	at com.replaymod.replaystudio.protocol.packets.PacketUpdateLight.read(PacketUpdateLight.java:109)
	at com.replaymod.replaystudio.protocol.packets.PacketUpdateLight.read(PacketUpdateLight.java:46)
	at com.replaymod.replaystudio.rar.analyse.ReplayAnalyzer.analyse(ReplayAnalyzer.java:137)
	at com.replaymod.replaystudio.rar.RandomAccessReplay.analyseReplay(RandomAccessReplay.java:158)
	at com.replaymod.replaystudio.rar.RandomAccessReplay.load(RandomAccessReplay.java:85)
	at com.replaymod.replay.QuickReplaySender.lambda$initialize$2(QuickReplaySender.java:136)
	at java.lang.Thread.run(Thread.java:748)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.16.5
	Minecraft Version ID: 1.16.5
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_271, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1584319216 bytes (1510 MB) / 3019898880 bytes (2880 MB) up to 6442450944 bytes (6144 MB)
	CPUs: 24
	JVM Flags: 9 total; -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms2048m -Xmx6144m```