Aces High Bulletin Board

General Forums => Aces High General Discussion => Topic started by: Mino on September 17, 2002, 02:19:34 AM

Title: Kills/(Deaths + .000001)
Post by: Mino on September 17, 2002, 02:19:34 AM
Couldn't this just as easily be:

kills/(deaths +.000001)

Instead of:

kills/(deaths +1)
Title: Kills/(Deaths + .000001)
Post by: straffo on September 17, 2002, 02:44:46 AM
err ...

wont work :)

if death = 0 and kill = 1 then K/D = 1 000 000 :D

it work only if you have one death or more :
if death = 1 and kill = 1 then K/D =  0.999999
Title: Kills/(Deaths + .000001)
Post by: RAS on September 17, 2002, 09:00:28 AM
OR......how bout dropping the "+1" after your first deth ??  Not sure if that can be done or not, but I would think it could since it is just a matter of telling a computer to calculate something "if/then"-wise (not sure if that made sense or not).

Anyway, just a thought.  I guess the folks who haven't gotten killed yet might complain since they are still being calculated with a deth, but with the exception of Citabria (or whatever he flies as now days) most of us end up with at LEAST one deth.

RASCAL
Title: Kills/(Deaths + .000001)
Post by: LLv34_Snefens on September 17, 2002, 10:08:14 AM
Just think of K/(Death+1) as Kills/life, then everything adds up.

Havbe you been killed 1 time and got 8 kills, that's 4 kills per life (of your own).
Title: Kills/(Deaths + .000001)
Post by: Mino on September 18, 2002, 02:05:34 AM
Quote
Originally posted by straffo
err ...

wont work :)

if death = 0 and kill = 1 then K/D = 1 000 000 :D

it work only if you have one death or more :
if death = 1 and kill = 1 then K/D =  0.999999


HEHE  oops...  :D

How about:

K/(D +.000001)

- and then -

if K/D > 999,999 then K/D = 0  

 - and then -

int(K/D) = K/D

 - or -

int(if(K/(D +.000001)>999999, 0, (K/(D +.000001))))
Title: Kills/(Deaths + .000001)
Post by: Innominate on September 18, 2002, 03:23:20 AM
kills / max(deaths, 1)
This is really a score potatos formula.

kills / deaths+1 is kills-per-life, which is really more important then kills per death.
Title: Kills/(Deaths + .000001)
Post by: Kratzer on September 18, 2002, 04:39:37 PM
How about 'why worry?'
Title: Kills/(Deaths + .000001)
Post by: Mino on September 19, 2002, 07:18:10 AM
Quote
Originally posted by Innominate
kills / max(deaths, 1)
This is really a score potatos formula.

kills / deaths+1 is kills-per-life, which is really more important then kills per death.


Innominate;

You are very right and that is indeed one way of looking at it.  I am not really a score potato, check mine I fly under Mino.  My score sucks.

What bothers me is this:

Say I have a good sortie and I shoot down 10 planes before I myself bite it.

K/(D+1) = 10/2 = 5

But....

K/(D+.000001) = 10/1 = 10

I fly on....

K/(D+1) = 20/5 = 4

But....

K/(D+.000001) = 20/4 = 5

This induced error becomes smaller as my total K and D numbers grow larger.  However; it just seems more accurate to me of actually what happened.

Small issue I know, but this is the game feedback forum and I am simply suggesting another method.  :)
Title: Kills/(Deaths + .000001)
Post by: Innominate on September 19, 2002, 08:01:56 AM
Well mino, I agree with you on it(The k/d calculations on my site use the score-potatos formula)
The simplest implementation is
kd = kills / max(deaths, 1)

No need to screw around with odd fractions.
Title: Kills/(Deaths + .000001)
Post by: hazed- on September 19, 2002, 01:38:00 PM
how about:


Pedantic/ anal +1 = scoredweebs :D
Title: Kills/(Deaths + .000001)
Post by: ccvi on September 21, 2002, 08:47:04 AM
but.... it is more historically correct to record kills/death! :D :rolleyes:

Anyway, that number actually is just the length of the average streak.