In Control!

In Control!

74M Downloads

1.18.2 Worlds are Deadlocked

Cynadyde opened this issue ยท 6 comments

commented

I was putting together a forge modpack for 1.18.2 when I noticed each world would deadlock (does not crash; no logs are given; server simply stops ticking) when certain chunks get loaded.
I spent the past few hours narrowing down what was causing it.
Here are the versions being used:

Minecraft 1.18.2
forge-40.1.20
incontrol-1.18-6.0.8

In case it is helpful, here is a CurseForge modpack export that has incontrol as a single mod, the config i set for it, and one of the world saves that will deadlock:
Test Modpack-1.0.zip

Here is the spawm.json I'm using:

[
  {
    "incontrol": true,
    "result": "default"
  },
  {
    "spawner": true,
    "result": "default"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": "minecraft:phantom",
    "maxheight": 192,
    "result": "deny"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": "minecraft:drowned",
    "structure": "minecraft:ocean_ruin",
    "result": "default"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": "minecraft:drowned",
    "result": "deny"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": [
      "minecraft:skeleton",
      "minecraft:zombie"
    ],
    "structure": "minecraft:mineshaft",
    "result": "default"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": [
      "minecraft:skeleton",
      "minecraft:zombie"
    ],
    "result": "deny"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": "minecraft:spider",
    "minlight": 1,
    "result": "deny"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": "minecraft:witch",
    "seesky": false,
    "result": "deny"
  },
  {
    "onjoin": true,
    "dimension": "minecraft:overworld",
    "mob": "minecraft:enderman",
    "minheight": -32,
    "result": "deny"
  }
]
commented

Loading backup of the world with only InControl installed.
I try to type in chat but the world is immediately frozen and the game has to be terminated.
latest.log

Loading the same world with InControl removed.
The world runs
latest.log

Loading backup of the world with no mods installed.
The world still runs
latest.log

commented

Would it be possible for you to figure out what rule in spawn.json is causing it? i.e. try by removing half the rules and see if it works or not. And so on until you pinpoint it. Thanks

commented

I need a server and/or crashlog

commented

Never mind. I found out what's causing it. Preparing a fix

commented

yes I can do that. I will post when I am able to.

commented

Fixed