Raised This Month: $ Target: $400
 0% 

something goes wrong [trace attack]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-15-2013 , 21:08   something goes wrong [trace attack]
Reply With Quote #1

I need valid code for

PHP Code:
  if(  get_tr2traceresult TR_iHitgroup ) == ( HIT_CHEST|HIT_LEFTARM|HIT_LEFTARM|HIT_STOMACH|HIT_RIGHTLEG|HIT_LEFTLEG|HIT_HEAD )) 
it doesnt work
but stupid this

PHP Code:
 if( get_tr2traceresult TR_iHitgroup ) == HIT_CHEST || get_tr2traceresult TR_iHitgroup ) == HIT_LEFTARM  || get_tr2traceresult TR_iHitgroup ) == HIT_RIGHTARM  || get_tr2traceresult TR_iHitgroup ) == HIT_STOMACH || get_tr2traceresult TR_iHitgroup ) == HIT_HEAD || get_tr2traceresult TR_iHitgroup ) == HIT_RIGHTLEG || get_tr2traceresult TR_iHitgroup ) == HIT_LEFTLEG 
works.
I need first variant working please
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 02-15-2013 at 21:19.
avril-lavigne is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 02-15-2013 , 22:10   Re: something goes wrong [trace attack]
Reply With Quote #2

First obviously doesn't work. Use this:
PHP Code:
if( get_tr2traceresult TR_iHitgroup ) != HIT_GENERIC 
__________________
Impossible is Nothing
Sylwester is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-16-2013 , 02:56   Re: something goes wrong [trace attack]
Reply With Quote #3

PHP Code:
const HIT_SHIELD 8
if( HIT_GENERIC get_tr2traceresult TR_iHitgroup ) < HIT_SHIELD )

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-16-2013 at 02:58.
ConnorMcLeod is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-16-2013 , 16:03   Re: something goes wrong [trace attack]
Reply With Quote #4

yes I forgot about shield, thanks
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode