--__--__--

Message: 5
From: "Daniel Jennings" <[EMAIL PROTECTED]>
To: <hlcoders@list.valvesoftware.com>
Subject: Re: [hlcoders] Number of 'player_hurt' events not matching CSS client 
console stats 'hots' at end of round
Date: Wed, 23 Feb 2005 11:33:43 -0800
Reply-To: hlcoders@list.valvesoftware.com

What about when one bullet hits two people?


----- Original Message ----- From: "jeff broome" <[EMAIL PROTECTED]> To: <hlcoders@list.valvesoftware.com> Sent: Wednesday, February 23, 2005 11:20 AM Subject: Re: [hlcoders] Number of 'player_hurt' events not matching CSS client console stats 'hots' at end of round




On Wed, 23 Feb 2005 18:56:56 +0000, Giles Millward <[EMAIL PROTECTED]>


wrote:


Hi,

Is there any reason why sometimes the number of 'player_hurt' events for
a specific players exceeds the number of 'shots' reported by the client
console in CS Source.


Falling damage?  Grenade damage?  Other types of damage besides bullets?

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,


please visit:


http://list.valvesoftware.com/mailman/listinfo/hlcoders









My code is ignoring 'world' damage (userid = 0) and also ignoring
player_hurt messages that cause a zero change in health of a player. 70%
of the time the number of player hurt messages matches what the client
side reports in the consol as shots fired but the other 30% of the time
the number of shots reported is different even though the total damage
matches what the client is reporting.
It's easy to test, create a 16 player server, add 15 bots, run bot_stop
1 then join and go on a rampage with the Para. If you are dumping the
number of player_hurt messages you will see that sometimes they don't
match. What is going on ?

For reference I'm using the IGameEventManager2 interface for event handling.

Mani



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to