Skip to content

Indexing can generate clusters with no center or size #812

@Briggybros

Description

@Briggybros

Prerequisites

  • Can you reproduce the problem using ALiVE and CBA Only?
  • Are you running the latest version of ALiVE ?
  • Are you running the latest version of CBA_A3?
  • Have you attached an unbinarized SQM?
  • Have you attached your RPT (If the issue relates to data, also attch Server RPT and ALiVE Plugin Log)?
  • Have you attached screenshots of the Parameters set on the offending Module?

Description

Map indexing fails on Kujari with a zero divisor error in auto_appendClustersCiv.sqf

 1:07:50 Error in expression <elect 0;
private _positionY = _position select 1;

private _gridPosition = [_log>
 1:07:50   Error position: <select 1;

private _gridPosition = [_log>
 1:07:50   Error Zero divisor
 1:07:50 File x\alive\addons\fnc_analysis\fnc_sectorGrid.sqf..., line 331
 1:07:50 Error in expression <t["%1_%2",_sectorID select 0, _sectorID select 1];

if(_sectorID in (_gridData s>
 1:07:50   Error position: <select 1];

if(_sectorID in (_gridData s>
 1:07:50   Error Zero divisor
 1:07:50 File E:\grego\Documents\Arma 3 - Other Profiles\117Briggy\scripts\x\alive\addons\fnc_analysis\tests\auto_appendClustersCiv.sqf..., line 127

Steps to Reproduce

  1. Follow steps on http://alivemod.com/wiki/index.php/Map_Indexing with Kujari map
  2. Check staticData (+ .txt because github doesn't like sqf):
    tem_kujari_staticData.sqf.txt
  3. Continue with process
  4. Test indexing based on wiki steps

arma3_x64_2024-02-05_00-47-16.rpt.txt

Expected behavior: [What you expected to happen]
Map index completes and testing the index (with the same wiki steps) shows civilian clusters around the map

Actual behavior: [What actually happened]
Map index errors in log, but completes in game. Testing the index only shows civilian clusters around Marwey, Mourimadi, and Samari

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions