astruyk / Ares

An arma3 mod that adds some extra functionality to Zeus
51 stars 11 forks source link

'No Unit Under Cursor' message after reconnecting to a dedicated server #184

Closed astruyk closed 9 years ago

astruyk commented 9 years ago

Having reports of people getting the 'No Unit Under Cursor' message during some sessions when they shouldn't (in particular with the AI Behaviour modules and Arsenal).

It looks like when you start into a mission for the first time with Zeus things work fine - but if you disconnect and reconnect then the Ares_fnc_HandleCuratorObjectPlaced callback is no longer run and so it never sets the unit under the cursor. This causes the Ares_fnc_GetUnitUnderCursor function to fail and for it to think there is nothing under the cursor.

Probably related to BIS changing something in 1.40. Need to build a simple test mission and report it on the issue tracker. Maybe I can find a workaround.

astruyk commented 9 years ago

Fixed in 79614de5c5b7a95c81f9b636c8009288bad7917b