xGinko / AnarchyExploitFixes

Fix exploits on anarchy Minecraft servers
GNU General Public License v3.0
302 stars 54 forks source link

Massive console spam #192

Closed HyCore closed 7 months ago

HyCore commented 7 months ago

Hi, in the latest action build i get this error as seen below even when no player is connected:

java.lang.Throwable: null
        at io.papermc.paper.util.TickThread.ensureTickThread(TickThread.java:78) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftMinecartContainer.getHandle(CraftMinecartContainer.java:28) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftMinecartContainer.getHandle(CraftMinecartContainer.java:13) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity.isInWorld(CraftEntity.java:939) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at org.bukkit.craftbukkit.v1_20_R3.entity.CraftEntity.isValid(CraftEntity.java:393) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at org.bukkit.craftbukkit.v1_20_R3.CraftRegionAccessor.lambda$getEntities$1(CraftRegionAccessor.java:305) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:301) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at me.moomoo.anarchyexploitfixes.modules.lagpreventions.FallingBlockStasis.lambda$run$2(FallingBlockStasis.java:67) ~[AnarchyExploitFixes-Folia-2.6.7.jar:?]
        at io.papermc.paper.threadedregions.scheduler.FoliaRegionScheduler$LocationScheduledTask.run(FoliaRegionScheduler.java:331) ~[kaiiju-1.20.4.jar:?]
        at io.papermc.paper.threadedregions.scheduler.FoliaRegionScheduler$Scheduler.tick(FoliaRegionScheduler.java:272) ~[kaiiju-1.20.4.jar:?]
        at io.papermc.paper.threadedregions.scheduler.FoliaRegionScheduler.tick(FoliaRegionScheduler.java:142) ~[kaiiju-1.20.4.jar:?]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1627) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:404) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:525) ~[kaiiju-1.20.4.jar:git-Kaiiju-"98148bc"]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Thanks for any help provided

HyCore commented 7 months ago

yes

xGinko commented 7 months ago

Yeah just read the rest of the log. And you made sure this is the current latest action build?

xGinko commented 7 months ago

I'm asking because this is more of an issue on 1.20.4 due to changes made in folia. I've tried to adjust the tasks outside of events that iterate over entities (as it seems to be the only cause for it) in this commit: https://github.com/moom0o/AnarchyExploitFixes/commit/e3c8c8c6b8bdb0b6e05ed6dc4e99f80cd2b8bda5

HyCore commented 7 months ago

ah ok, tho in the latest action artifact it's still doing it, maybe i should try an other one ?

xGinko commented 7 months ago

Maybe I forgot it in some places, would you mind adding me on discord (xginko) so we can exchange logs?

HyCore commented 7 months ago

oki done

xGinko commented 7 months ago

fixed in https://github.com/moom0o/AnarchyExploitFixes/releases/tag/2.6.7