Swap bug Quick fix

Page 4 of 4 FirstFirst 1234
Results 46 to 59 of 59
  1. #46
    ~FlyFF DeV~ Jomex is offline
    MemberRank
    Mar 2009 Join Date
    PolandLocation
    588Posts

    Re: Swap bug Quick fix

    did u change anything huh? looks same as on first page O_o...

  2. #47
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Swap bug Quick fix

    it is :p i tried to add it @ onUseSkill
    Posted via Mobile Device

  3. #48
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,916Posts

    Re: Swap bug Quick fix

    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.
    Last edited by ShadowDragon; 26-02-12 at 11:41 AM.

  4. #49
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by ShadowDragon42 View Post
    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.
    o.o Why did i already had it at the bottom and didn't put it here :o. thats why it worked for me maybe xD

  5. #50
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,916Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by MisterKid View Post
    o.o Why did i already had it at the bottom and didn't put it here :o. thats why it worked for me maybe xD
    I have no idea lol but I looked at that function, and the very last thing it does, is change the character's equips. Move your coding to the end, and it should work.

  6. #51
    Apprentice xefiroid is offline
    MemberRank
    Feb 2012 Join Date
    9Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by ShadowDragon42 View Post
    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.

  7. #52
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,916Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by xefiroid View Post
    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.
    >.> You don't have to constantly repeat it and yell at me. I didn't make this coding, merely tried to fix it, but without testing it. Just for that, I won't bother trying to help you with it.

  8. #53
    • ♠️​ ♦️ ♣️ ​♥️ • שเ๒єtгเ๒є is offline
    MemberRank
    Mar 2012 Join Date
    917Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by xxrob143xx View Post
    Some players fast switch there item using macro program in first this swap bug is ok but now the players know about swap bug very fast
    somebody should program a little timer on changing equip, so swapping wont be "in" anymore. similar to using blinkwings.


    btw, does the other stats are set right instantly? the bug only exists for hp/mp/fp?

  9. #54
    Apprentice xefiroid is offline
    MemberRank
    Feb 2012 Join Date
    9Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by VibeTribe View Post
    somebody should program a little timer on changing equip, so swapping wont be "in" anymore. similar to using blinkwings.


    btw, does the other stats are set right instantly? the bug only exists for hp/mp/fp?

    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.

  10. #55
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,916Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by xefiroid View Post
    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.
    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.

  11. #56
    • ♠️​ ♦️ ♣️ ​♥️ • שเ๒єtгเ๒є is offline
    MemberRank
    Mar 2012 Join Date
    917Posts

    Re: Swap bug Quick fix

    thank you for your answers, its very interesting and helpful =)

  12. #57
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Swap bug Quick fix

    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

  13. #58
    • ♠️​ ♦️ ♣️ ​♥️ • שเ๒єtгเ๒є is offline
    MemberRank
    Mar 2012 Join Date
    917Posts

    Re: Swap bug Quick fix

    Quote Originally Posted by MisterKid View Post
    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
    some people some people? you cannot trust your community always. those people who can say its fixed must try it, prolly they use it, how can u be sure?
    i prefer u go and check it yourself. xD

  14. #59
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Swap bug Quick fix

    I can't I'm such a noob in Flyff..... It was tested by a friend of mine :)



Page 4 of 4 FirstFirst 1234

Advertisement