This mod is unable to set the value of
mp_teamlist. (Probably due to the semicolon)
mp_teamlist "Hgrunt;Infected"
Polymorph will interpret it as
mp_teamlist "Hgrunt"
EDIT: Fixed it by commenting out
strtok in the "Load MOD specific cvars" section and passing
szData directly to the array.
Code:
//strtok(szData, szPreCommentData, charsmax(szPreCommentData), "", 0, ';')
trim(szData)
ArrayPushString(g_aCfgList, szData)
The mod shouldn't trim the string on a semicolon because cvars like this use them as a separator.
But there's another problem.
Seems like Polymorph is taking way too long to apply the current mod configuration.
Code:
[AMXX] Loaded 9 admins from file
[AMXX] Plugin Loading Music II initialized for HLDM mod
MOD LOADED: Zombie Mod: X
MOD LOADED: Snake vs Monkey <<<<<
ERROR: mp_teamlist is not 'Snake;Monkey'. The gamemode requires this teamlist to work.
L 05/17/2019 - 04:15:47: [AMXX] Plugin ("hldm_snake_vs_monkey.amxx") is setting itself as failed.
L 05/17/2019 - 04:15:47: [AMXX] Plugin says: mp_teamlist is not 'Snake;Monkey'
L 05/17/2019 - 04:15:47: [AMXX] Run time error 1 (plugin "hldm_snake_vs_monkey.amxx") - forced exit
The cvar check is taking place in the plugins's
plugin_cfg() forward.
The mod failed because the value of
mp_teamlist was
"Hgrunt;Infected" which was a leftover from the previous mod, Zombie Mod: X.
__________________