Delay of Dropping Loots After Death

Discussion in 'Accepted' started by Oldie, Jun 6, 2014.

  1. Oldie
    Offline

    Oldie Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    862
    Likes Received:
    259
    I have noticed that snails, no matter what, have a rather long delay after death before their loots are spawned.

    I remember there was more NPCs that had this but I do not remember which ones. Anyone else know which NPCs have this?
     
  2. Marty
    Offline

    Marty Donator

    Joined:
    Dec 7, 2013
    Messages:
    3,444
    Likes Received:
    2,488
    Not a bug, this is your latency and maybe server lag, or both.
     
  3. Gi
    Offline

    Gi Well-Known Member

    Joined:
    Mar 3, 2014
    Messages:
    451
    Likes Received:
    491
    NPCs don't drop stuff (a).

    And it's not a bug, not lag. It's designed to drop AFTER the full die animation. Something which I don't like though... Since it feels like lagg.
     
    Katsuruka likes this.
  4. Oldie
    Offline

    Oldie Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    862
    Likes Received:
    259
    oh okay. so the death animation is just longer. what if you guys add a case?

    either if npc == id drop in ___ seconds
    or if npc == id drop in durationOFdeathanimation - ___ seconds (given you have a durationOF function already..
     
  5. Doritos
    Offline

    Doritos Donator

    Joined:
    Feb 13, 2014
    Messages:
    620
    Likes Received:
    363
    What? Have you considered that having never seen the source it may actually be implemented in a logical way, not the way a first year cs student would program it. Like for example, after the animation is finished it a callback function could be run, or even in the destructor of the flyweight definition itself, etc, rather than having some bizarre timing system midway through the animations for drops.

    Also, how do you know they have a duration "function". Is the source available somewhere and I'm missing the obvious o_0.

    I'm sorry but given your previous comment in the gay marriage thread I'm really left scratching my head.
     
  6. Matt
    Offline

    Matt Administrator

    Joined:
    May 8, 2013
    Messages:
    15,529
    Likes Received:
    19,643
    I don't see any issue with the drops dropping after the death animation ends. It seems more logical to me. If you start messing around with timers during the death animation it causes instances where ranged attackers would see the drops dropping before their stars/arrows even hit the monster.
     
  7. Katsuruka
    Offline

    Katsuruka Donator

    Joined:
    May 10, 2013
    Messages:
    10,977
    Likes Received:
    5,320
    Have moved this thread to Feedback, since there isn't a bug involved.
     
    Oldie likes this.

Share This Page