KoffeinFlummi / AGM

Authentic Gameplay Modification for A3 | THIS PROJECT IS NO LONGER BEING WORKED ON. ALL ISSUES AND PULL REQUESTS WILL BE IGNORED.
Other
125 stars 84 forks source link

Respawn module error #1236

Closed bux closed 9 years ago

bux commented 9 years ago

Arma3: 1.30 Mods: CBA_A3, agm_dev agm_dev from: 2014-10-03 Tested on: self hosted MP Zeus enabled: Yes Modules: Respawn ...

"Warning in AGM_ModuleRespawn module: BodyRemoveTimer parameter is missing. Probably an obsolete version of the module is used in the mission."
[AGM]: Warning in AGM_ModuleRespawn module: RemoveDeadBodies parameter is missing. Probably an obsolete version of the module is used in the mission.
Error in expression <e;

if (isMultiplayer && {isServer} && {AGM_Respawn_RemoveDeadBodies > 0}) then >
  Error position: <AGM_Respawn_RemoveDeadBodies > 0}) then >
  Error Undefined variable in expression: agm_respawn_removedeadbodies
File AGM_Respawn\functions\fn_module.sqf, line 27
[AGM]: Respawn Module Initialized.
commy2 commented 9 years ago

"Warning in AGM_ModuleRespawn module: BodyRemoveTimer parameter is missing. Probably an obsolete version of the module is used in the mission.

This should give it away. You have to click the module and press OK again. The module itself was changed since it was placed in this mission, so the description.ext has to be updated. Replacing the module solves that.

bux commented 9 years ago

But the error is that AGM_Respawn_RemoveDeadBodies is not defined because the setting has been removed from the module so AGM_Core_fnc_readBooleanParameterFromModule can't set it as a missionNamespace variable. But AGM_Respawn_RemoveDeadBodies is nontheless used as if it has been defined.

Replacing the module shouldn't fix this, should it?

commy2 commented 9 years ago

Maybe. Who knows. I merged the PR anyways, haha.

bux commented 9 years ago

Roger that.