Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [V2] New Small Accuracy Mod [V2]

This is great but small problem.

New users get this message on their header :

Warning: Division by zero in /home/wrestlin/public_html/index.php on line 4

Is there a way to hide it?

Posted

Re: [V2] New Small Accuracy Mod [V2]

yes it'll soon be fixed give me a few minutes today or another day as im busy on a few other codes for a few other people.

Posted

Re: [V2] New Small Accuracy Mod [V2]

easy fix for this use the first formula which is

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

but take of the *100 bit so its:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [V2] New Small Accuracy Mod [V2]

 

easy fix for this use the first formula which is

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

but take of the *100 bit so its:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Nice idea but it wont, to my knowledge, work out the overall percentage of accuracy, which i would like it to do.

Posted

Re: [V2] New Small Accuracy Mod [V2]

 

This is great but small problem.

New users get this message on their header :

Warning: Division by zero in /home/wrestlin/public_html/index.php on line 4

Is there a way to hide it?

 

The easiest thing i can think of doing is:

NOTE: not tested, however, to my knowledge, should work ;)

Replace the whole accuracy equation below

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

With

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [V2] New Small Accuracy Mod [V2]

 

Whats the formula, im confuzzled

$acc= $ir['totalhits'] / ($ir['totalhits']+$ir['totalmisses']) *100

 

i got an error off:

Parse error: syntax error, unexpected '}' in /home/darkstr1/public_html/index.php on line 8

you need to put a ; after $acc= $ir['totalhits'] / ($ir['totalhits']+$ir['totalmisses']) *100;

  • 2 weeks later...
Posted

Re: [V2] New Small Accuracy Mod [V2]

 

This is great but small problem.

New users get this message on their header :

Warning: Division by zero in /home/wrestlin/public_html/index.php on line 4

Is there a way to hide it?

 

The easiest thing i can think of doing is:

NOTE: not tested, however, to my knowledge, should work ;)

Replace the whole accuracy equation below

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

With

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

This doesn't give a % Eg. 59% accuracy.

  • 2 weeks later...
Posted

Re: [V2] New Small Accuracy Mod [V2]

 

Have you included the bit at the top?

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Just throwing it out there...Probably won't work

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...