Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
This repository was archived by the owner on May 24, 2022. It is now read-only.

Fortify: Simultaneous deploy. Cheating possible #185

@severgun

Description

@severgun

Arma 3 Version: 1.94 (stable)
CBA Version: 3.11.1 (stable)
ACE3 Version: 3.12.6 (stable)
ACEX Version: 3.4.2 (stable)

Mods:

- CBA_A3
- ace
- acex

Description:

  • It is hard to reproduce but... Simultaneous deploy can lead to -1 in budget and unlock infinite building capability.
    private _budget = [_side] call FUNC(getBudget);
    private _newBudget = _budget + _change;

    Would be nice to have result of sum limited by 0.

Steps to reproduce:

  • Set cost and budget
    [west, 7, [["Land_TentA_F", 5],["Land_SandbagBarricade_01_half_F", 3]]] call acex_fortify_fnc_registerObjects;
  • Try to build 2 objects simultaneously.

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Editor (Multiplayer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions