if( memcmp( cp, "/checkdef", 9 ) == 0 )
{
int dr = m_pClientList[ iClientH ]->m_iDefenseRatio + m_pClientList[ iClientH ]->m_iAddDR;
int pahead = m_pClientList[ iClientH ]->m_iDamageAbsorption_Armor[ DEF_EQUIPPOS_HEAD ];
int pabody = m_pClientList[ iClientH ]->m_iDamageAbsorption_Armor[ DEF_EQUIPPOS_BODY ];
int papants = m_pClientList[ iClientH ]->m_iDamageAbsorption_Armor[ DEF_EQUIPPOS_PANTS ];
int paarms = m_pClientList[ iClientH ]->m_iDamageAbsorption_Armor[ DEF_EQUIPPOS_ARMS ];
int mr = m_pClientList[ iClientH ]->m_iAddResistMagic+ m_pClientList[ iClientH ]->m_cSkillMastery[ 3 ];
int ma = m_pClientList[ iClientH ]->m_iAddAbsMD;
wsprintf( G_cTxt, "DR=%d, PA[HEAD]=%d, PA[BODY]=%d, PA[PANTS]=%d, PA[ARMS]=%d, MR=%d, MA=%d", dr, pahead, pabody, papants, paarms, mr, ma );
SendNotifyMsg( NULL, iClientH, DEF_NOTIFY_NOTICEMSG, 0, 0, 0, G_cTxt );
return;
}
Gotta remember the people who are retarded and can't type... Its basically the same source as yours Drajwer, but I changed the command name.. To, /checkdef
Rofl DR =/ Defense. They are totally different forumulas and stats. Defense is DR+PA. Thats why a plate with more defense takes less damage than a chain mail, not is just harder to hit. From what i understand/heard. Is that DR = 1/2Dex. So if you have a dr200 set, its the equivilent of having an extra 100 dex. Which if you test in game, makes sense. Also ive noticed on Dax's calculator that 10 dex = 20 DR. If this is the same DR, then a dr400 set = 200 dex like i thought ^_^. So DR IS NOT defense. Not even close.
Acidx wrote:
first off yours doesnt even show the actuall Defense... try again sweety pie <3
no?...
whats DR for ?
he's just trying to say his stupid def code is better
No Defense Ratio is the Ratio you have to be missed of being hit smart one... i never said my code is better it just shows the actuall defense.. your code Shows PA DR and other bullshit not really needed..
DR != DEFENSE lol DR Goes up by Dex not Armor.. My code is to show the actuall DEFENSE OF THE PLAYER still with me?
here ill sound it out D E F E N S E not D E F E N S E R A T I O
ok?
and when you add them up like that its just showing the case values..
Because it all works in % so your just popping up bullshit numbers that dont mean anything
he's just trying to say his stupid def code is better
No Defense Ratio is the Ratio you have to be missed of being hit smart one... i never said my code is better it just shows the actuall defense.. your code Shows PA DR and other bullshit not really needed..
DR != DEFENSE lol DR Goes up by Dex not Armor.. My code is to show the actuall DEFENSE OF THE PLAYER still with me?
here ill sound it out D E F E N S E not D E F E N S E R A T I O
ok?
and when you add them up like that its just showing the case values..
Because it all works in % so your just popping up bullshit numbers that dont mean anything
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
sokol wrote: WTF?
why u post my code noob? ... i post this code not finished with few errors and u fix and U CALL ITS URS WTF?! go burn in hell ...
ummm if your talking to me your totally fuckin mistaken..
i made this code way before you ever existed...
this code was for a server .. i dont steal code.. nor do i copy it..
Btw in my days of research DR = Dodge Ratio not defense my bad..
and sokol learn to code buddy dont be a dumbass