Get_Damage_Bone_Name [message #472062] |
Sat, 21 July 2012 17:02 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
The maker of the Build server I host, is using Get_Damage_Bone_Name in his coding.
I tried to use it in 4.0 with the tt damage hook, in ssgm and it does not work.
What it does and should do in 4.0 is.
when you check for a certain bone that is damaged or by other means, "eg w/e you want it to do".
Like say if you have it on damage, it should then check to see what bone you want it to check for then do the rest of your code.
just saying...
It is confirmed working in 3.4, but broken in 4.0.
EDIT: TBH it can be used for a lot of things, one being someone could use it to detect damage hacks. but I think bitach does that, or even TT, but how? if they don't check the bone shot and how much damage it should take compared to what the player shooting it is doing. js=Just saying
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
[Updated on: Sat, 21 July 2012 17:09] Report message to a moderator
|
|
|
Re: Get_Damage_Bone_Name [message #472068 is a reply to message #472062] |
Sat, 21 July 2012 21:56 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Commands->Get_Damage_Bone_Name has never worked properly server side, though it may sometimes appear to. What it does is return the bone that the projectile hit on the server, as opposed to the bone the client hit; sometimes these will match up, but generally they don't. And since the client is the one that determines damage this function is mostly useless.
If you need to get the damage bone use the TT damage hook. You can also guess it from the stock damage hook by comparing damage values to a table.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|