did u change anything huh? looks same as on first page O_o...
Printable View
did u change anything huh? looks same as on first page O_o...
it is :p i tried to add it @ onUseSkill
Posted via Mobile Device
OMG! Why didn't I look at this more closely when you first posted it? More importantly, how did somebody not catch the problem before now?
The reason your coding doesn't work, is because in DPSrvr.cpp, you added the reset HP/MP/FP coding BEFORE their equips were actually changed. Move it to the bottom of the function, then it should work.
Edit: Someone please tell me if this fixes it. I'm not entirely sure it's fast enough (that function in DPSrvr chains into a lot of other functions before finishing). If it's not fast enough, I'll find a spot higher in the function chain that should work.
No it dosent work! It only looks like it works, you dont see your HP/MP/FP bugging but it still does.
i asaled 1 time with 20k mp, i did 500k.
then i aoe'd and swapped from 20k MP to 1k mp and still did 500k asal.
then i just asaled with 1k mp again but this time without any aoe and did 30k asal.
It really does NOT work, it only shows normal HP/MP/FP while swapping but it still bugs when you hit/aoe/or do any dmg.
yes the bug only exist for HP MP FP because they get stuck (dont recover) if the user is in Attack Mode, that means if he is fighting the HP MP FP wont recover so they will stay at the same point for 10 sec. if he keeps fighting it holds for another 10 sec. and so on.
i found a way to fix it much easier, i just removed code that the HP MP FP dont recover for 10 sec if the user is in attack mode. Now the HP MP FP does always recover, even when he is fighting and this makes it impossible to bug the HP MP FP.
Its easy to fix the item switching, just get Toms Antihack and change the detection.ini that he just allows 1 item switch per minute.
But it think thats just stupid because in pvp and especially in Guild Siege the players should swapp items like from HP to DMG but without holding their HP at a really high amount by abusing the Non-Recover in Attack mode.
That is an interesting idea, but it just gave me a better one. Instead of enabling recovery regardless of being in attack mode, when the ProcessRecovery function checks if you're able to recover, you should simply check if their HP, MP, and FP are at values that they shouldn't be.
thank you for your answers, its very interesting and helpful =)
This code was never tested by myself and was just a theory.
Swapping involves equipping things. And some people said it got fixed at my old server... Might be something else I did tough. Just can't remember.
I don't even know how this bug exactly works just that you sap your equips before using Asal :P
I can't I'm such a noob in Flyff..... It was tested by a friend of mine :)