This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Install the plugin.2. install the web part and navitage to it.3. Press on MOB.
What is the expected output? What do you see instead?Expected output is no errors, but it has errors, but the page is working, I hope.
What version of the product are you using?0.8.1
Do you have an error log of what happened?
Warning: Division by zero in /home/bubka3/public_html/minecraft/highscore/mobhighscores.php on line 54Warning: Division by zero in /home/bubka3/public_html/minecraft/highscore/mobhighscores.php on line 54
ok, nothing major then, I have lots of important exams atm, so I might not have time to deal with this until the 29th of May, I might though, I don't know. Hang in there, it's nothing that will affect the plugin much...
i've found the problem, when the web page (php) attempts to calculate the kill/death ratio for pvp or mob kills there is nothing to calculate because in the mysql database the default value set for kills/death's is nothing, when a player first gets a kill but hasnt died yet there is no value set for it yet, or vice versa.. setting the default value in the mob/pvp tables to 1 for deaths/kills should fix this problem.. unfortunately setting it to 0 wont work for some reason.. i think its something to do with the code or php doesnt like dividing 0.
To post a comment, please login or register a new account.