I'm encountering an issue where variables from a separate plugin seems to infecting another. In the attached screenshot, I have one forward which prints the parameters, and in another I am operating on those forwards (not changing, as they are consts). It seems that some of the values overwrite those which are printed within the other.
Under what conditions can something like this occur?
Note: When the plugin on the right is disabled, this does not occur (expected).
My forward is declared as
Code:
LoggerCreatedForward = registerForward("OnLoggerCreated", ET_IGNORE,
FP_CELL, FP_CELL, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_DONE);
My forward is executed as
Code:
executeForwards(LoggerCreatedForward,
loggerHandle, <- this is of type cell
static_cast<cell>(verbosity),
pluginFile2,
nameFormat,
msgFormat,
dateFormat,
timeFormat,
pathFormat,
traceFormat);
And my forward decl is
Code:
forward OnLoggerCreated(
const Logger: logger,
const Severity: verbosity,
const name[],
const nameFormat[],
const msgFormat[],
const dateFormat[],
const timeFormat[],
const pathFormat[],
const traceFormat[]);