genesis92x / VcomAI-3.0

Vcom AI 3.0
75 stars 39 forks source link

[Possible BUG] Numbers of AI Skill param mismatch in AISettingsV5.hpp. #106

Closed GoldJohnKing closed 5 years ago

GoldJohnKing commented 5 years ago

Describe the bug There are 11 values in the array, while just 10 in the comments above, and there's 10 values in description.ext example.

In VCOM Skill Settings:

// Format = [aimingAccuracy, aimingShake, aimingSpeed, commanding, courage, endurance, general, reloadSpeed, spotDistance, spotTime] //VCM_SKILL = [15, 10, 25, 100, 100, 100, 100, 100, 100, 85, 85]; // Low preset

Also VCM_SideSkill:

VCM_SIDESKILL = true; // Whether VCOM should change skills based on side. // Overwrites VCM_SKILLCHNG VCM_WESTSKILL = [25, 15, 100, 100, 100, 100, 100, 100, 100, 100, 100]; VCM_EASTSKILL = [75, 50, 80, 100, 100, 100, 100, 100, 100, 100, 100]; VCM_INDSKILL = [25, 15, 35, 100, 100, 100, 100, 100, 100, 100, 100]; VCM_CIVSKILL = [100, 100, 100, 100, 30, 100, 100, 100, 100, 75, 30];

To Reproduce See https://github.com/genesis92x/VcomAI-3.0/blob/9504c27c3e391ae77126a34484a2a87fb6948758/userconfig/VCOM_AI/AISettingsV5.hpp#L54

Expected behavior Value counts match.

VCOM Version:

Screenshot 107410_20190404111637_1

Addition I deleted the unexpected number in AISettingsV5.hpp, then this error does not show up anymore.