Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

[Confirmed] Shackleshot projectile lacks a death check for the targeted unit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Confirmed] Shackleshot projectile lacks a death check for the targeted unit

    It continues to travel and stun the dead unit and if available also the secondary unit behind...
    all of its effects should stop as the targeted unit dies


    Proof for Dota2:




    Proof for DotA:

    Code:
    01  function Func2461 takes nothing returns boolean
    02    local trigger loc_trigger01=GetTriggeringTrigger()
    03    local integer loc_integer01=GetHandleId(loc_trigger01)
    04    local unit loc_unit01=(LoadUnitHandle(hashtable001,(loc_integ  er01),(45)))
    05    local unit loc_unit02=(LoadUnitHandle(hashtable001,(loc_integ  er01),(17)))
    06    local real loc_real01=(LoadReal(hashtable001,(loc_integer01),  (248)))
    07    local real loc_real02=Atan2(GetUnitY(loc_unit02)-GetUnitY(loc_unit01),GetUnitX(loc_unit02)-GetUnitX(loc_unit01))
    08    local integer loc_integer02=(LoadInteger(hashtable001,(loc_integ  er01),(5)))
    09    local real loc_real03=GetUnitX(loc_unit01)+50*Cos(loc_real02)
    10    local real loc_real04=GetUnitY(loc_unit01)+50*Sin(loc_real02)
    11    local unit loc_unit03
    12    local destructable loc_destructable01
    13    local lightning loc_lightning01
    14    local unit loc_unit04
    15    local boolean loc_boolean01=(LoadBoolean(hashtable001,(loc_integ  er01),(249)))
    16    if GetTriggerEventId()==EVENT_UNIT_DEATH then
    17      call FlushChildHashtable(hashtable001,(loc_integer01))
    18      call Func0035(loc_trigger01)
    19      call KillUnit(loc_unit01)
    20    else
    [...]

    starting with the line 16...
    Func0035 kills triggers
    loc_unit01 is the shackleshot arrow


    Happens at least once in an average game

  • #2
    added to sticky.
    Make sure to read the Forum Rules as well as the stickied Threads of the Forum Section you are posting in.

    Contributions i'd like to highlight:
    My Suggestion: Coaching System
    My Sticky: Intended Changes List
    My Challenge: Completely Fixed Hero Challenge: Skywrath Mage

    Comment


    • #3
      oh pudge' head went inside the ground!

      Comment


      • #4
        lol Kolt

        Good job ThoAppelSin !

        Comment


        • #5
          Hmmm, did you actually test it? Cause I can't recall if heroes are considered dead as soon as their HP drops below 0.405 or if after that dying time.

          Comment


          • #6
            When they die, they are considered dead.
            If they were holding aegis, then they are just considered as UNIT_STATE_HEALTH < 1, and not dead.

            But, yeah, I did test it just to make sure.
            Also, according to what I've said above, Shackleshot SHOULD continue travelling and potentially stunning the units behind if the targeted unit is only at zero HP (aka resurrecting). So, on that aspect, Dota 2 is correct now, and that part should remain untouched in case this is to be fixed.

            Comment

            Working...
            X