Teleport Mastery v117

Results 1 to 8 of 8
  1. #1
    Enthusiast Kuuichi is offline
    MemberRank
    Mar 2011 Join Date
    30Posts

    Teleport Mastery v117

    Okay, so I understand how to register buffs, attacks, and that's all good for me right now.

    But how would I register Teleport Mastery, as its already listed as a buff? Is there an event that calls when a player teleports or something?

    Edit: The buff is registered, but it gives client side DMG, would I just add a check to see if the buff is activated in DamageParse and then go from there?
    Last edited by Kuuichi; 16-12-12 at 01:41 AM.


  2. #2
    Kaotic Owner resinate is offline
    MemberRank
    Oct 2005 Join Date
    no mans landLocation
    2,376Posts

    Re: Teleport Mastery v117

    hint look at teleport spell itself and not this spell.

  3. #3
    Enthusiast Kuuichi is offline
    MemberRank
    Mar 2011 Join Date
    30Posts

    Re: Teleport Mastery v117

    Ahh wait are you saying I should send the skill to closeRangeAttack when Teleport is called in SpecialMove?
    Last edited by Kuuichi; 16-12-12 at 02:08 AM.

  4. #4
    Account Upgraded | Title Enabled! AristoCat is offline
    MemberRank
    Apr 2012 Join Date
    947Posts

    Re: Teleport Mastery v117

    There are special skills like teleport mastery, body pressure that has a different packet (4 bytes difference).

  5. #5
    Enthusiast Kuuichi is offline
    MemberRank
    Mar 2011 Join Date
    30Posts

    Re: Teleport Mastery v117

    -fixed it-
    Last edited by Kuuichi; 15-12-12 at 10:05 PM.

  6. #6
    Enthusiast Kuuichi is offline
    MemberRank
    Mar 2011 Join Date
    30Posts

    Re: Teleport Mastery v117

    Just kidding, I thought I fixed it but I didn't.

    What I don't understand is the Teleport Mastery doesn't go through closeRangeAttack() in PlayerHandler, but it does go through parseDmgM() in DamageParse. All parseDmgM() does is return the packet information, and applyAttack() is never called (it's called in closeRangeAttack()) so the attack is not applied. Is there something I'm missing, or is there a fundamental process I'm missing, i.e if the skill is registered as a buff, it will not be sent to PlayerHandler?

    The weird thing is - I add a debug line in both closeRangeAttack() and parseDmgM(), the one in parseDmgM() is called but not the one in closeRangeAttack(). Even though the only time parseDmgM() is ever called is inside of closeRangeAttack().

    *I realized a mistake in my debug logic - will update when I try again.

    **Nope, I even removed any skill id checks, and nothing prints out when I add
    PHP Code:
    System.out.println("Test"); 
    into closeRangeAttack(). It is never called, but parseDmgM() is.

    ***Lol nevermind, just found out I accidently made two checks for if(ret.skill == TM) and wrote lea.skip(4) twice.
    Last edited by Kuuichi; 19-12-12 at 05:15 AM.

  7. #7
    Member s4577465464 is offline
    MemberRank
    Apr 2010 Join Date
    84Posts

    Re: Teleport Mastery v117

    how to fix it? pls.

  8. #8
    Flow even is offline
    MemberRank
    Nov 2012 Join Date
    BaniLocation
    610Posts

    Re: Teleport Mastery v117

    Quote Originally Posted by s4577465464 View Post
    how to fix it? pls.
    By reading, and it was a nice read. Thanks for the bump on this old thread, needed to see what was the issue.
    Last edited by even; 19-01-13 at 10:06 PM.



Advertisement