Quote:
Originally Posted by VEN
Not many people understand what they doing. Some of them just blindly copy the code from somewhere.
|
Yea, I am one of those persons. Well, not actually blind, but its a bit blurry to say the least. Maybe the message is differant in TFC.
This is what i get from a Damage message in TFC.
Quote:
L 10/04/2006 - 19:57:42: Logging started for message (Damage "72")
L 10/04/2006 - 19:57:44: MessageBegin (Damage "72") (Destination "One<1>") (Args "6") (Entity "1") (Classname "player") (Netname "Lt Llama") (Origin "0.000000 0.000000 0.000000")
L 10/04/2006 - 19:57:44: Arg 1 (Byte "0")
L 10/04/2006 - 19:57:44: Arg 2 (Byte "0")
L 10/04/2006 - 19:57:44: Arg 3 (Byte "0")
L 10/04/2006 - 19:57:44: Arg 4 (Coord "148.009201")
L 10/04/2006 - 19:57:44: Arg 5 (Coord "-338.805358")
L 10/04/2006 - 19:57:44: Arg 6 (Coord "-111.968750")
|
Im afraid i dont know what Im looking for.
Im still confused why I get a 3 digit id number from a player (me or a bot) in a function which is said to return
Quote:
get_user_attacker - Returns the index of an attacking player.
index is a player index from 1 to 32.
|
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.