Mistress Thorn Posted June 26, 2008 Share Posted June 26, 2008 Warning: Division by zero in /home/drakside/public_html/attack.php on line 179 Warning: Division by zero in /home/drakside/public_html/attack.php on line 180 1. You tried to hit Agent Kevin Phillps but missed (70050) 2. Agent Kevin Phillps tried to hit you but missed (46350) I am new to the game world and understand very little, this makes no sense to me at all. Can anyone help? My npc bots were giving my players negative exp, i was told to lower stats and money to 0 and post the outcome here for advise. thanks! Quote Link to comment Share on other sites More sharing options...
Spudinski Posted June 26, 2008 Share Posted June 26, 2008 Re: HELP!! lol * Topic Moved * Please post in the correct section next time. Quote Link to comment Share on other sites More sharing options...
Isomerizer Posted June 26, 2008 Share Posted June 26, 2008 Re: HELP!! lol Lol PHP will not allow you to divide 0. Trying changing it from 0 to maybe 1? :wink: Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted June 26, 2008 Share Posted June 26, 2008 Re: HELP!! lol Lol PHP will not allow you to divide 0. Trying changing it from 0 to maybe 1? :wink: Any language will allow you divide zero (0): 0/1 = 0, 0/2 = 0, 0/3 = 0 etc... Dividing by zero, however is a different matter... some people suggest the value is infinite, however mathematically it is undefined, hence the Division by zero warning message. Try posting the code (a few lines either side of the offending line should suffice). Quote Link to comment Share on other sites More sharing options...
Floydian Posted June 26, 2008 Share Posted June 26, 2008 Re: HELP!! lol Hijack! 0 is an infinite :D It's infinitely undefined. How more undefined from 1 is 0? Is it more undefined from 1 than from 2? Such unanswerable questions are the result of an "in--finite" property. Here's a couple more. What's infinity divided by two? Infinity. What's undefined divided by two? undefined :) Infinity + infinitiy = infinity undefined + undefined = undefined Okay, I'm done bustin your balls Nyna :D Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted June 26, 2008 Share Posted June 26, 2008 Re: HELP!! lol Hehe nice try Floydian - I'll refrain from as you eloquently put it "bustin' your balls" however... Countably, Uncountably, and Indeterminate forms all apply to infinity (of which there are of course an infinite number of variations) BTW, for those of you with any degree of mathematic knowledge, you will of course (using L'hopital's rule IIRC) be able to use calculus to determine that 0/0 = 4. /hijack ;) Quote Link to comment Share on other sites More sharing options...
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.