Page MenuHomeFeedback Tracker

Divide By Zero
Closed, ResolvedPublic

Description

Division by zero
Class:      'Ammunition_Base'
Entity id:2986087

Function: 'CombineItems'
Stack trace:
scripts/4_World/entities\itembase\magazine\magazine.c:380
scripts/4_World/entities\manbase\playerbase.c:4550
scripts/4_World/entities\manbase\playerbase.c:4472
scripts/4_World/entities\dayzplayerimplement.c:2441
-----------------------------------------------------------------------------------------

Location of error Magazine.c Line 380:

float resultingHealth = (currentAmount * GetHealth() + numberOfTransferredBullets * other_magazine.GetHealth()) / GetAmmoCount();

Details

Severity
Minor
Resolution
Open
Reproducibility
Have Not Tried
Operating System
Windows 10 x64
Category
General

Event Timeline

Geez changed the task status from New to Need More Info.Sep 22 2020, 9:54 AM
Geez added a subscriber: Geez.

Hello ukulelekid713.
Can you please provide us with more info regarding to the error?
Does this error appear on the server or on the client?
Do you know what circumstances lead to the error occurring?
Regards,
Geez

Hello Geez,

The error that was provided in the ticket relates to the server, and not the client. Sadly, I randomly stumbled upon the crash logs randomly checking up on my friend's server. He had also stated that he didn't have steps to recreate it.

Sorry, I couldn't be more helpful.

Best wishes,
GravityWolf

Geez changed the task status from Need More Info to Assigned.Sep 29 2020, 4:47 PM

Thank you for the additional information.
We are going to look in to what can be done about this.
Regards,
Geez

Geez closed this task as Resolved.Feb 19 2021, 4:34 PM
Geez claimed this task.