Quote:
Originally Posted by rftech23
hello, i am not sure if the unlimited range had a fixed on private server nowadays. the method i am using is nopping the jumps below any checks or test in the GetRange() i guess. So what it does is giving me an unlimited range for normal attacks but only 10-20 range for any skills. Any range more than that 10-20% increase of skill range returns an ingame error 'not in range' and the character was not movin at all like it wont even try to get to that certain position to cast the skill.
Plus, when i nopped the said jump, another effect is that i could not see any targeted (chars or monsters) approaching me. They'll just teleport on my face within like a 3 - 5 sec delay depending on the distance where i am attackin them.
ive been lookin on the source code of flyff but really could not just get any solutions for this. hope u notice this tho! thanks
|
1. Only nopping those checks will effectively make it use the 'last written value' on the variable/register in the assembly opcodes and then return that.
2. This function is determining the distance between you and a monster to be 'fine' for attacking, effectively means, if you enhance the range, the 'movement towards an enemy' will not happen as the game effectively thinks he is in range already, no need to move.
3. Synchronization bugs will happen for obvious reasons, your client is sending specific packets to the server (so the server can send it back to others to reflect your position, and to verify your position in this case and give you an error message, you can call this a 'serversided' fix.
4. For the 10-20 range thing, you need to modify either the opcodes or the variable behind, or even swap the variable if its used by other game elements like the renderer class (this depends on the VS version, code behind, compiler and optimization options used by the games developer).
Conclusion: As the range is explicitly fixed from the server side, this approach will not function. While this means you cant do it directly, it doesn't mean its impossible. I wont spoonfeed you that as I already gave a detailed overview of why you run into issues, and it is enough knownledge only by that to 'be creative and develop' a workarround for it. Good luck!
Cheers, net