Arma 3
Overthrow [Outdated]
KBBW [NSA] Sep 19, 2017 @ 1:13pm
Bug report: Lease income error
Hi there,

We have found a major bug in the econemy settings.

Issue: Building types dissapear from the data in the "Leasedata" variable causing your lease income to take on wierd numbers, at the moment on our play through session my lease income should be 20+K with Resistance tax set to 0%, stability = 100 and by exammple lijnhave at a population of 463 yet I only recieve 1428 dollars

Error in file: Error seems to occur in \OT\functions\actions\fn_leasebuilding.sqf

How to reproduce: Buy multiple buildings, (on first looks it looks to go just fine), persistant safe and reload the save a couple of times, fill in in the watchlist:
player getVariable ["leaseData",0]
and see the results return like:
[["28081","",[2761.77,5694.37,0.000352859],"Namuvaka"],["27992","",[2780.7,5731.53,0.0328074],"Namuvaka"],["28118","",[2793.77,5692.87,0.00917816],"Namuvaka"]]

Workaround: sell and rebuy your buildings after each safe is loaded.