ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
691 stars 208 forks source link

Apparently lagmonitor handles wrong units #2840

Closed sprunk closed 6 years ago

sprunk commented 6 years ago

http://zero-k.info/Battles/Detail/490546

Recieve units because ally is afk, when he returns most of his stuff is returned to him but not all and a few of my units are given to him

Fealthas commented 6 years ago

Its always like 1 unit too. I suspect its an off by 1 error somewhere.

ghost commented 6 years ago

In this game some units were given to me, when player returned all units were given back except for a felon.

http://zero-k.info/Battles/Detail/493253

sprunk commented 6 years ago

I watched 493253 and everything works as expected. You kept the Felon because you were the one to finish it.

sprunk commented 6 years ago

I watched 490546.

1

This is how stuff looks like after the afker came back. Kingstad kept 6 Swifts, 2 Solars and a Fusion that "belonged" to the afker. However he was the one to actually build them, see the base right at the start of the afk:

2

At some point he tried to give back the extra Swifts and mistakenly gave away the 2 tanks marked on the first screenshot as well (you can see they haven't been given away by lag monitor, also note "I gave away 8 units" chatline = 6 Swifts + 2 tanks). 3

Everything works as intended.