Hats

Hats

24M Downloads

Mob Hunting & Time Active modes fail - possible ForgeEssentials conflict

brbrainerd opened this issue ยท 1 comments

commented

Here is the relevant section of my fml-server logfile:

[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: javax.imageio.IIOException: Can't create cache file!
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at javax.imageio.ImageIO.read(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at ichun.common.core.techne.TC2Info.readTechne2File(TC2Info.java:546)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at ichun.common.core.techne.TC2Info.readTechneFile(TC2Info.java:201)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at hats.common.core.HatHandler.readHatFromFile(HatHandler.java:70)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at hats.common.core.HatHandler.readHatFromFile(HatHandler.java:44)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at hats.common.thread.ThreadHatsReader.run(ThreadHatsReader.java:161)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.nio.file.AccessDeniedException: C:\Windows\SERVIC2\NETWOR1\AppData\Local\Temp\imageio7455464085718970669.tmp
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.Files.newByteChannel(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.Files.createFile(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.TempFileHelper.create(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.TempFileHelper.createTempFile(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.Files.createTempFile(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at javax.imageio.stream.FileCacheImageInputStream.(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 7 more
[10:01:10] [Hats Download/Read Hats Thread/WARN] [Hats/Hats]: [4.0.1] Failed to load: Abraham Lincoln Hat.tc2 threw a generic exception! If no exception was printed, it's most likely the model has an invalid texture
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: javax.imageio.IIOException: Can't create cache file!
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at javax.imageio.ImageIO.read(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at ichun.common.core.techne.TC2Info.readTechne2File(TC2Info.java:546)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at ichun.common.core.techne.TC2Info.readTechneFile(TC2Info.java:201)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at hats.common.core.HatHandler.readHatFromFile(HatHandler.java:70)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at hats.common.core.HatHandler.readHatFromFile(HatHandler.java:44)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at hats.common.thread.ThreadHatsReader.run(ThreadHatsReader.java:161)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.nio.file.AccessDeniedException: C:\Windows\SERVIC2\NETWOR1\AppData\Local\Temp\imageio1424933141666759066.tmp
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.Files.newByteChannel(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.Files.createFile(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.TempFileHelper.create(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.TempFileHelper.createTempFile(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at java.nio.file.Files.createTempFile(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at javax.imageio.stream.FileCacheImageInputStream.(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
[10:01:10] [Hats Download/Read Hats Thread/INFO] [STDERR/Hats]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 7 more
[10:01:10] [Hats Download/Read Hats Thread/WARN] [Hats/Hats]: [4.0.1] Failed to load: AppleHat.tc2 threw a generic exception! If no exception was printed, it's most likely the model has an invalid texture

...Etc. Those errors repeat several times for each hat during startup. Sometimes, absolutely no monsters will appear on the server wearing hats, even after manually spawning more than a hundred of them using creative mode eggs. Other times, monsters will spawn with the hats just fine but players are not able to gain new hats by killing monsters who are wearing them. We are still able to open the GUI using the "H" key, but no hats appear on the list. In creative mode, we can wear all hats as normal and so I have Free Mode on my server to get around the issue. However, every time we log in we have to choose a new hat so they are mostly unused.

My suspicion is that this issue is caused by ForgeEssentials, as it is one of the only server-side mods we are using, and when I play SSP with the same pack (TPPI2 v0.1.5) I do not have the same problem.

EDIT: Time Active Mode also fails

commented

Closing all issues as Hats has been rewritten from the ground up and the old mod for a long time now was no longer supported.. I'm sorry I wasn't able to address your issue. If you're still playing modded Minecraft, consider checking out Hats for 1.16.5+.