Jump to content
xisto Community
Sign in to follow this  
iGuest

Skills Not Being Generated.error:division By Zero.

Recommended Posts

Hi,

I set up VSP stats and everything works great except for skills.They are all showing zero.When I parse a log file I get hundreds of errors that in vsp.php file on line 542 there is a "division by zero".The log continues to parse and finishes successfully but skills aren't being generated.The full content of line 542 is:

$prob_killer_wins = 1 / (1 + exp(($victim_skill - $killer_skill) * ($event_factor > 0 ? 1 : -1) / $variance));

 

Does anyone know which part causes the issue and how to fix this ? Thanks !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.