When using new GetMovementSpeed() it will crash server with animal
Description
Description
Details
Details
- Severity
- Crash
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 7
- Category
- General
Steps To Reproduce
example code
override bool ModCommandHandlerAfter(float pDt, int pCurrentCommandID, bool pCurrentCommandFinished) { if (super.ModCommandHandlerAfter(pDt, pCurrentCommandID, pCurrentCommandFinished)) { return true; } if (GetGame().IsClient() || !GetGame().IsMultiplayer()) { return true; } DayZAnimalInputController inputController = GetInputController(); if (inputController.IsDead()) { return true; } if ( pCurrentCommandID == DayZAnimalConstants.COMMANDID_MOVE && inputController && inputController.GetMovementSpeed()>2) { //do code } }
Additional Information
tried also GetTurnSpeed() which works fine and not leads to crash
Event Timeline
Comment Actions
Hello Hunterz.
Can you please send us .mdmp with the crash + RPT file from the server?