Errors

General

While working on the configuration file, you might make a mistake at some point. To know that once it happens, I recommend enabling the console feature of the External File Loader by doing the following:

  1. Navigate into the game directory.

  2. Open the following file: {game}/x64/hook.ini.

  3. Scroll down to the [log] section.

  4. Set the property disableConsole to false.

Now whenever you start the game, an additional terminal window will be opened beside it. This window will be updated with information about any errors that may occur while the game is open.

Example

Let's assume you created the following configuration:

local function config(actions)
  local benefits = {
    {--Chain Level 0
      {--Benefit 0
        targetTypes.leader,
        benefitTypes.statusEffect,
        statusEffects.zombie,
        particleEffects.chainBenefit,
        5.00
      },
    }
  }

  return benefits
end

return config

As you probably noticed, there is no such status effect as zombie. That's why an error will be thrown once this configuration file is loaded.

Last updated