genesis92x / VcomAI-3.0

Vcom AI 3.0
75 stars 39 forks source link

Server RPT script errors and lag. #151

Open brownjacob998 opened 4 years ago

brownjacob998 commented 4 years ago

Describe the bug Significant lag in combat on server (plus client I run alongside server), normally not an issue without VCOM.

To Reproduce Steps to reproduce the behavior: Playing KP Liberation with VCOM 3.3.3, set in the init.sqf, and added the descriptor.ext together. VCOM in server RPT log throws a bunch of errors for various things. These errors were happening in a West v East battle in Charkia on Altis. Two squads W, KP liberation spawns for E. An M4 Scorcher controlled by AI with ArtyEnable=true; also did not fire the entire time at a range of ~4.8KM.

Errors: File Vcom\Functions\VCM_Functions\fn_SniperEngage.sqf [VCM_fnc_SniperEngage]..., line 53 Error in expression <_PredictedLoc = (_NearestFriendly2Enemy targetKnowledge (vehicle _NearestEnemy))> Error position: <targetKnowledge (vehicle _NearestEnemy))> Error targetknowledge: Type Array, expected Object

Error in expression <etSkill 0.9; _x allowFleeing 0;
{ _x setSkill _x; } forEach VCM_AIDIFA;

if > Error position: <setSkill _x; } forEach VCM_AIDIFA;

if > Error setskill: Type Array, expected Object

VCOM Version:

Additional mods used: