Vexatos / Computronics

A ComputerCraft/OpenComputers addon mod.
125 stars 51 forks source link

Speech boxes crashing game #314

Closed MissCatTrap closed 3 years ago

MissCatTrap commented 3 years ago

In my world im using multiple speech boxes and computers communicating to read out announcements for a train system, however, once I setup more than 6 speech boxes around the map Computronics started to crash the server within an hour of starting.

I am running the latest version of (1.6.6) on 1.12.2 and the default voice for MaryTTS. I do have a couple of mods such as Railcraft and chisel.



java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.rangeCheck(ArrayList.java:659)
    at java.util.ArrayList.remove(ArrayList.java:498)
    at pl.asie.computronics.audio.tts.TextToSpeech.onTick(TextToSpeech.java:78)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1035_TextToSpeech_onTick_ServerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer.redirectEvent(EventBusTransformer.java:67)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:279)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:657)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Thread.java:748)```
Vexatos commented 3 years ago

Duplicate of #298. Should be working in the latest dev build.

MissCatTrap commented 3 years ago

Can I include the dev build in my server modpack? If so thanks for the quick reply :)

Vexatos commented 3 years ago

If it's only for your server, it's fine. Just don't put it in a published pack.

MissCatTrap commented 3 years ago

Its "published" in the sense that its just for me and my friends because they wouldn't know how to install forge even if they wanted to :P

Vexatos commented 3 years ago

As long as it isn't available publicly on any mod pack launcher it should be fine.

MissCatTrap commented 2 years ago

Using devbuild, the issue has returned. I haven't added anymore speech boxes/requests than before, but it is suddenly now crashing again.



java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.rangeCheck(ArrayList.java:659)
    at java.util.ArrayList.remove(ArrayList.java:498)
    at pl.asie.computronics.audio.tts.TextToSpeech.onTick(TextToSpeech.java:78)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_579_TextToSpeech_onTick_ServerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:279)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:657)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Thread.java:748)```