Bug #28294

ace_sys_stamina\stamina.fsm error in expression

Added by messiah about 3 years ago. Updated about 3 years ago.

Status:Closed Start date:01/31/2012
Priority:Normal Due date:
Assignee:HomerJohnston % Done:

100%

Category:Complex
Target version:1.14
Component:sys_stamina Affected Version:1.13
Close Reason:

Description

I've updated ACE (run verify and repair) yesterday to get all latest changes and since that time I (only sometimes) keep getting this error:

Error in expression <_velocity = (_curpos distance _lastpos) / _dT;

if (_velocity < 0.2) then {
_mo>
  Error position: </ _dT;

if (_velocity < 0.2) then {
_mo>
  Error Zero divisor

I found, that this code is in ace_sys_stamina\stamina.fsm file. Error occurs right from the start of the mission (if single player) or on briefing (map) screen if on dedicated.


Related issues

related to A.C.E. for OA - Bug #27673: Unarmed Civilians suffer too much fatigue gain Closed 01/10/2012 03/10/2012

History

Updated by Sickboy about 3 years ago

  • Category set to Complex
  • Status changed from New to Assigned
  • Assignee set to HomerJohnston
  • Target version changed from TBD to 1.14
  • Component set to sys_stamina

Updated by HomerJohnston about 3 years ago

Thanks, can you think of anything unique to the missions which showed this? If one of them does it reliably, could you attach it? I'll investigate this evening.

Updated by messiah about 3 years ago

Nothing unique, I've just tried some different missions on our dedicated server and I almost always see this error, even on SIX_BattleCenter missions, but it's not 100%, more like 90% probability.

Updated by HomerJohnston about 3 years ago

  • % Done changed from 0 to 50

There was a chance for _dt to = 0 at mission start which I've removed, which will hopefully solve the issue. Sickboy, since I'm acting as an external contributor, I'm going to use the original base ticket #27673 for all file uploads until it is closed. You can find a revised file there.

Messiah, if you could report back with your experiences after the next update it'd be great!

Updated by messiah about 3 years ago

I will test definitely and it would be great to see this updated as a hotfix, so I could grab it as soon as possible, but I guess it's planned to release 1.14?

Updated by Sickboy about 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 50 to 80

Updated by messiah about 3 years ago

no error

Updated by Sickboy about 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 80 to 100

Thanks for confirmation!

Pushed as hotfix on SU.

Also available in: Atom PDF