well... crits and attack range only client side ? i hope you are just joking, or i'll hex my client so i'll be able to attack with BHammer for 12 squares away from my target... Even mages won't be able to hit me !LythQ wrote: That code alone doesn't fix anything, was just a test to allow me to hit from further with StormBringer. If you're referring to the code where you can change the critical range it can be found on the Client's game.cpp after this block:You then go to the desired type of weapon that you want to change. The one I changed on mine was the StormBringer's, but you can change any type of weapon, let's say for example, Long Swords, you go to:Code: Select all
}else if ( (absX <= 2) && (absY <= 2) // strike on Big mobs & gate from a range && ((sObjectType == 66)||(sObjectType == 73)||(sObjectType == 81)||(sObjectType == 91))) { wType = _iGetAttackType(); m_cCommand = DEF_OBJECTATTACK; m_sCommX = m_sMCX; m_sCommY = m_sMCY; }else // { switch (_iGetWeaponSkillType()) {
And where you have:Code: Select all
case 8: // LS if ( (absX <= 3) && (absY <= 3) && (m_iSuperAttackLeft > 0) && (m_bSuperAttackMode == TRUE) && (_iGetAttackType() != 30)) // crit without StormBlade by Snoopy { wType = _iGetAttackType(); m_cCommand = DEF_OBJECTATTACK; m_sCommX = m_sMCX; m_sCommY = m_sMCY;
Change the values to the critical distance you want. The exploit consists in you changing the distance here and doing nothing on the HG, still it allows you to crit from further.Code: Select all
(absX <= 3) && (absY <= 3)
[Req] Weapon Ranges
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
I think he said crits only.diuuude wrote: well... crits and attack range only client side ? i hope you are just joking, or i'll hex my client so i'll be able to attack with BHammer for 12 squares away from my target... Even mages won't be able to hit me !
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Yeah, crits only, the normal attacks are protected in the HG here:
However that only fixes hit "bug", you can still do crit I guess ^^
Btw, it's not a joke ... try it yourself.
Code: Select all
//100% Ranged Hit Bug Fix;D
if ((wType != 2) && (wType < 20)) {
if (var_AC == FALSE) {
sItemIndex = m_pClientList[iClientH]->m_sItemEquipmentStatus[ DEF_EQUIPPOS_TWOHAND ];
if (sItemIndex != -1) {
if (m_pClientList[iClientH]->m_pItemList[sItemIndex] == NULL) return 0;
if (m_pClientList[iClientH]->m_pItemList[sItemIndex]->m_sIDnum == 845) {
if ((sAbsX > 4) || (sAbsY > 4)) wType = 0;
}
else {
if ((sAbsX > 1) || (sAbsY > 1)) wType = 0;
}
}
else {
if ((sAbsX > 1) || (sAbsY > 1)) wType = 0;
}
}
Btw, it's not a joke ... try it yourself.
<span style='color:green'>Gief <span style='color:purple'>epix</span> codes plz.</span>
We believe you. Good job finding it.LythQ wrote: Btw, it's not a joke ... try it yourself.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>