Errors
General
While working on a 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
disableConsole
tofalse
.
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.
Compile Errors
Compile errors are revealed whenever a function, helper, etc. is loaded from the configuration files.
Let's assume you created the following function:
As you probably noticed, there is an additional closing parenthesis on the 2nd line. That's why a syntax error will be thrown once this function is loaded.
Runtime Errors
Runtime errors are revealed whenever a function, helper, etc. is executed.
Let's assume you created the following function:
Now this code might look just fine on a first look. However, once it executed as part of a formula, it will throw an error. That's because the caster's experience is not saved in the property experience
, but exp
instead.
Last updated