Jameoo Posted April 18, 2008 Posted April 18, 2008 this just pops up ded randomly :( Warning: Division by zero in /home/ufruh/public_html/attack.php on line 145 Warning: Division by zero in /home/ufruh/public_html/attack.php on line 146 39. Using your Knuckle Dusters you hit Solo doing 1 damage (549) Warning: Division by zero in /home/ufruh/public_html/attack.php on line 200 Warning: Division by zero in /home/ufruh/public_html/attack.php on line 202 40. Solo tried to hit you but missed (400) Can u help me plz i tryed to replace it with the backup and new 1 but it dont work Quote
Jameoo Posted April 19, 2008 Author Posted April 19, 2008 Re: Attacking its ok i reset it all :cry: dam and its v2 can u help me any way :-D Quote
Magictallguy Posted May 10, 2008 Posted May 10, 2008 Re: Attacking There was no need to reset...It's one of the users (or you) that was making Line 145 $mydamage=(int) (($r1['weapon']*$youdata['strength']/($odata['guard']/1.5))*(rand(8000,12000)/10000)); Line 146 $hitratio=max(10,min(60*$ir['agility']/$odata['agility'],95)); Line 200 $dam=(int) (($enweps[$weptouse]['weapon']*$odata['strength']/($youdata['guard']/1.5))*(rand(8000,12000)/10000)); Line 202 $hitratio=max(10,min(60*$odata['agility']/$ir['agility'],95)); Chances are you and the other person had similar stats and weaponry (just a guess xD) If you wish to disable these errors from showing up. Find in header.php error_reporting(E_ALL); And simply either delete it or stick these in front: // EG //error_reporting(E_ALL); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.