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:
Navigate into the game directory.
Open the following file:
{game}/x64/hook.ini.Scroll down to the
[log]section.Set the property
disableConsoletofalse.
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(statusEffects, augments, foes, actions, contents)
local statusEffects = {}
local dialogId = 102
local augmentId = 114
local soundEffectId = 104
local learnables = {
--{foeId, {action0, content0, chance0}, {...}, {actionX, contentX, chanceX}}
{foes.happyBunny, {actions.cure, contents.cure, 10.00}}
}
return statusEffects, dialogId, augmentId, soundEffectId, learnables
end
return configAs you probably noticed, the content type (magicks) is missing in contents.cure. That's why an error will be thrown once this configuration file is loaded.
Last updated