Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

[1.9.4] Issue with Thutapi Mod #710

Closed
XileForce opened this issue Jun 23, 2016 · 2 comments
Closed

[1.9.4] Issue with Thutapi Mod #710

XileForce opened this issue Jun 23, 2016 · 2 comments
Labels
version: 1.10 (u) API 5 (unsupported since Jan 1st 2018)

Comments

@XileForce
Copy link

XileForce commented Jun 23, 2016

I've also reported this to thutmose. I cant always reproduce the issue. But it happens usually a few minutes after the server has been running and a player is logged in. Not sure if the problem is with you or him. He said its related to how he handles explosions. These messages essentially spam several hundred times until you get disconnected.

[21:02:03] [Server thread/TRACE] [Sponge/]: /***********************************************************************************************************************************************/
[21:02:03] [Server thread/TRACE] [Sponge/]: /********************************************************************************************************************************************/
[21:02:03] [Server thread/TRACE] [Sponge/]: / Exception attempting to capture a block change! */
[21:02:03] [Server thread/TRACE] [Sponge/]: /*********************************************************************************************************************************************/
[21:02:03] [Server thread/TRACE] [Sponge/]: / PhaseContext : /
[21:02:03] [Server thread/TRACE] [Sponge/]: / - Name: EMPTY /
[21:02:03] [Server thread/TRACE] [Sponge/]: / Object: EMPTY /
[21:02:03] [Server thread/TRACE] [Sponge/]: / Phases remaining : /
[21:02:03] [Server thread/TRACE] [Sponge/]: / Stacktrace: /
[21:02:03] [Server thread/TRACE] [Sponge/]: / java.lang.IllegalStateException: Intended to capture block changes, but there is no list available! Please analyze the current phase context. /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.phase.util.PhaseUtil.lambda$throwWithContext$0(PhaseUtil.java:44) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / java.util.Optional.orElseThrow(Unknown Source) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.PhaseContext.getCapturedBlocks(PhaseContext.java:175) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.TrackingUtil.trackBlockChange(TrackingUtil.java:239) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.CauseTracker.setBlockState(CauseTracker.java:315) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.world.WorldServer.func_180501_a(WorldServer.java:742) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / thut.api.maths.Vector3.setBlock(Vector3.java:1775) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / thut.api.TickHandler$BlockChange.changeBlock(TickHandler.java:57) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / thut.api.TickHandler.worldTickEvent(TickHandler.java:267) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.ASMEventHandler_285_TickHandler_worldTickEvent_WorldTickEvent.invoke(.dynamic) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:107) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:79) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:275) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:692) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / java.lang.Thread.run(Unknown Source) */
[21:02:03] [Server thread/TRACE] [Sponge/]: /*********************************************************************************************************************************************/
[21:02:03] [Server thread/TRACE] [Sponge/]: /********************************************************************************************************************************************/
[21:02:03] [Server thread/TRACE] [Sponge/]: / Exception trying to process over a phase! */
[21:02:03] [Server thread/TRACE] [Sponge/]: /*********************************************************************************************************************************************/
[21:02:03] [Server thread/TRACE] [Sponge/]: / PhaseContext : /
[21:02:03] [Server thread/TRACE] [Sponge/]: / - Name: EMPTY /
[21:02:03] [Server thread/TRACE] [Sponge/]: / Object: EMPTY /
[21:02:03] [Server thread/TRACE] [Sponge/]: / Stacktrace: /
[21:02:03] [Server thread/TRACE] [Sponge/]: / java.lang.IllegalStateException: Intended to capture block changes, but there is no list available! Please analyze the current phase context. /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.phase.util.PhaseUtil.lambda$throwWithContext$0(PhaseUtil.java:44) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / java.util.Optional.orElseThrow(Unknown Source) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.PhaseContext.getCapturedBlocks(PhaseContext.java:175) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.TrackingUtil.trackBlockChange(TrackingUtil.java:239) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / org.spongepowered.common.event.tracking.CauseTracker.setBlockState(CauseTracker.java:315) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.world.WorldServer.func_180501_a(WorldServer.java:742) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / thut.api.maths.Vector3.setBlock(Vector3.java:1775) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / thut.api.TickHandler$BlockChange.changeBlock(TickHandler.java:57) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / thut.api.TickHandler.worldTickEvent(TickHandler.java:267) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.ASMEventHandler_285_TickHandler_worldTickEvent_WorldTickEvent.invoke(.dynamic) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:107) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:79) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraftforge.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:275) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:692) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469) /
[21:02:03] [Server thread/TRACE] [Sponge/]: / java.lang.Thread.run(Unknown Source) */
[21:02:03] [Server thread/TRACE] [Sponge/]: /************************************************************************************************************************************************/
@ryantheleach
Copy link
Contributor

ryantheleach commented Jun 23, 2016

@bloodmc bloodmc added the version: 1.10 (u) API 5 (unsupported since Jan 1st 2018) label Jun 27, 2016
@gabizou
Copy link
Member

gabizou commented Jul 3, 2016

Should be fixed with this commit. If you can though, enable a config option in the global.conf like so:

    cause-tracker {
        # If true, when a mod changes a world that is different
        # from an expected world during a WorldTick event, the
        # cause tracker will identify both the expected changed
        # world and the actual changed world. This does not mean
        # that the changes are being dropped, simply it means that
        # a mod is possibly unknowingly changing a world other
        # than what is expected.
        report-different-world-changes=true
 // more stuff

The reason for this is that if Thutapi is performing world changes during a world tick event that it isn't supposed to, it will print out a report about it and can further be reported to Thutapi.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
version: 1.10 (u) API 5 (unsupported since Jan 1st 2018)
Projects
None yet
Development

No branches or pull requests

4 participants