Hi guys, I want to remove the knockback effect of the skills i.e. Lunge skill when casted should hit in its place and dont knockback the enemy. Preferably for Season9 Ep2 or Season6 Ep3, thanks for any response...
Printable View
Hi guys, I want to remove the knockback effect of the skills i.e. Lunge skill when casted should hit in its place and dont knockback the enemy. Preferably for Season9 Ep2 or Season6 Ep3, thanks for any response...
I'm not a specialist but , this type of change u gonna need the Gameserver opensource did u have it?
Yes, exactly where do I search for it?
Just a wild guess (untested):
user.cpp, gObjBackSpring and gObjBackSpring2, always return false there ;-)
OK, thank you I will test it ASAP
EDIT: @nevS thank you, it removed the knockback effect of the skills, but it didnt removed the "thrusting" effect of skills when the player use them, i.e Lounge still moves the player toward the npc
That's not a big change, too. When the client performs a skill, it sends a packet to move towards the target.
So the easiest way to fix this, is to ignore these packets. To do this, just comment the line which calls RecvPositionSetProc at GameProtocol::ProtocolCore, for example:
The case value may differ between protocols. It's 0x15 for the ENG protocol/client.Code:case 0x15:
// this->RecvPositionSetProc((PMSG_POSISTION_SET *)aRecv, aIndex);
break;
As a nice side effect, this fixes some teleport cheats which use this packet type, too ;-)