Fix accuracy statistics!

Discussion for Bani's Tournament Mod

Moderators: Forum moderators, developers

Mat3k
Posts: 40
Joined: Fri Apr 02, 2004 11:41 pm

Fix accuracy statistics!

Post by Mat3k »

People often get accuracy 170% or so with a panzer and even more with the flamethrower (ok not used much, but the panzer is). This should be fixed IMO, because you can't be more than 100% accurate. If your panzer rocket hits something, your accuracy should be 100%, not 200% if you hit 2 ppl, get it? Could this be fixed?
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Re: Fix accuracy statistics!

Post by ReyalP »

Mat3k wrote:People often get accuracy 170% or so with a panzer and even more with the flamethrower (ok not used much, but the panzer is). This should be fixed IMO, because you can't be more than 100% accurate. If your panzer rocket hits something, your accuracy should be 100%, not 200% if you hit 2 ppl, get it? Could this be fixed?
You can get more than 1 hit per shot. Hence, more than 100%

That is not an error.
send lawyers, guns and money
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

yes, these are hits/shots, which is the easiest way to calculate it... and as it should be
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
>>steven!
Posts: 645
Joined: Mon Jul 12, 2004 4:00 am
Location: Merseyside, UK
Contact:

Post by >>steven! »

is gibbing bodies counted towards accuracy ???

i didnt think it was and wouold prefare it to be, but i might be wrong
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

i know its easy way to calculate just see how much % of the shots are hits

but it would be better if its fixed i think so i you hit like 5 ppl in 1 shot the shot shuold be counted as 1 hit not as 5 hits since its only 1 shot
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

i still like it the way it is... makes people want to hit larger groups of people (stat whores that is)

and no shooting gibbed bodies doesn't count as a hit
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

gotenks wrote:and no shooting gibbed bodies doesn't count as a hit
but it does count for accurycy (as a miss)

and about accury make maybe it a client setting to draw old or correct way
SickBoy
Posts: 145
Joined: Fri Oct 03, 2003 8:29 am

Post by SickBoy »

who gives a shit about accuracy?
The number has no meaning at all
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

SickBoy wrote:who gives a shit about accuracy?
The number has no meaning at all
ofcourse it has a meaning how else can i get the aimbot reward :D
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

=FF=im2weak4u wrote:
gotenks wrote:and no shooting gibbed bodies doesn't count as a hit
but it does count for accurycy (as a miss)
No it doesn't. At least not in etmain. Hitting a downed player subtracts from shots fired. Of course, if you miss while trying to gib, that goes on your stats...
send lawyers, guns and money
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

are you sure about that scds... i swear people were begging bani for it not to count as a miss
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

src/game/g_match.c:G_addStats

Code: Select all

	// Special hack for intentional gibbage
	if&#40;targ->health <= 0 && targ->client->ps.pm_type == PM_DEAD&#41; &#123;
		if&#40;mod < MOD_CROSS && attacker && attacker->client&#41; &#123;
			int x = attacker->client->sess.aWeaponStats&#91;G_weapStatIndex_MOD&#40;mod&#41;&#93;.atts--;
			if&#40;x < 1&#41; attacker->client->sess.aWeaponStats&#91;G_weapStatIndex_MOD&#40;mod&#41;&#93;.atts = 1;
		&#125;
		return;
	&#125;

I'm pretty sure this was added in RTCW OSP, and carried over to ET. However, in etmain at least, it looks it won't be done for some weapons. It might be broken in other ways too.

Just because people were begging bani not to count it as a miss doesn't that it was actually ever counted as one :lol:
send lawyers, guns and money
Mat3k
Posts: 40
Joined: Fri Apr 02, 2004 11:41 pm

Post by Mat3k »

You can get more than 1 hit per shot. Hence, more than 100%
Yes, that's whats happening now, ut it should be FIXED. If you fire 2 shots and u miss both, your accuracy was 0%, if one of them hit something/someone, your acc was 50% and if both of them hit sth, your accuracy is 100%. Get it? You cant be more than completely accurate, even if you hit more people with 1 shot.
bacon
Posts: 549
Joined: Sat Apr 19, 2003 9:34 pm
Contact:

Post by bacon »

Mat3k wrote:Yes, that's whats happening now, ut it should be FIXED. If you fire 2 shots and u miss both, your accuracy was 0%, if one of them hit something/someone, your acc was 50% and if both of them hit sth, your accuracy is 100%. Get it? You cant be more than completely accurate, even if you hit more people with 1 shot.
That's what happens for most weapons...
It should stay the way it is now. If you're a soldier with a mortar you want to know how many people you hit, not just if you hit somebody or not; etc.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

Mat3k wrote: Yes, that's whats happening now, ut it should be FIXED. If you fire 2 shots and u miss both, your accuracy was 0%, if one of them hit something/someone, your acc was 50% and if both of them hit sth, your accuracy is 100%. Get it? You cant be more than completely accurate, even if you hit more people with 1 shot.
The current system produces meaningful values. What you propose wouldn't. Hitting one person with a single PF shot would be the same as hitting 6.
send lawyers, guns and money
Post Reply