[Fixed] HB Sleep Status thing

Discussion in 'Solved Bugs' started by Disaster Area, Mar 23, 2015.

  1. Disaster Area

    Disaster Area Badged Deucer

    Joined:
    May 10, 2013
    Messages:
    615
    Likes Received:
    226
    PO Trainer Name:
    Disaster Area
    I've heard this might be reported already and apparently it's not gonna be dealt with but it made me lose a ladder match today when it would have been an awesome gamewinning play so plz make dis work.

    When you Hyper Beam, and fail to KO, and are currently statused (I don't know if it applies to toxic poison/regular poins though but definitely with PAR and BRN) , and the opponent uses a Sleep move, then it's 100% accurate (no 1/256 miss chance), and overwrites the status with sleep. Can get logs.

    tagging @Crystal_ even tho they're prolly tired of the tagathon that is RBY bug fixing to back me up/make what I've said more mechanically accurate (I might have missed something etc.)
     
  2. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    So I'm going to assume this report is because the little quip is missing on the sim and not because some random thing happens... Since the Sleep move fails if the opponent is already status'd

    Code (text):
    1. Start of turn 1
    2. The foe's Tauros used Leer!
    3. Parasect's Defense fell!
    4.  
    5. Parasect used Stun Spore!
    6. The foe's Tauros is paralyzed! It may be unable to move!
    7.  
    8. Start of turn 2
    9. The foe's Tauros used Hyper Beam!
    10. Parasect lost 209 HP! (65% of its health)
    11.  
    12. Parasect used Spore!
    13. But it failed!
    And just in case Spore was the issue
    Code (text):
    1. Start of turn 1
    2. The foe's Tauros used Leer!
    3. Clefairy's Defense fell!
    4.  
    5. Clefairy used Thunder Wave!
    6. The foe's Tauros is paralyzed! It may be unable to move!
    7.  
    8. Start of turn 2
    9. The foe's Tauros used Hyper Beam!
    10. A critical hit!
    11. Clefairy lost 338 HP! (99% of its health)
    12.  
    13. Clefairy used Sing!
    14. But it failed!
    PS: Clefairy has 339 HP. That hax above.
     
  3. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    This is a thing.

    Kinda tired of long explanations lol I'm gonna just leave this here...

     
    Disaster Area likes this.
  4. Disaster Area

    Disaster Area Badged Deucer

    Joined:
    May 10, 2013
    Messages:
    615
    Likes Received:
    226
    PO Trainer Name:
    Disaster Area
    idk if it was made clear in the video but apparently you 100% hit sleep moves vs any hyper beam whether or not the hyper beamer is status'd. Found that out after battling Crystal_ online today lol and missing a sleep powder from victreebel vs his tauros :[
     
  5. sulcata

    sulcata stéphane curry best waifu Forum Moderator Server Administrator Forum Moderator Server Administrator

    Joined:
    Jun 13, 2012
    Messages:
    968
    Likes Received:
    744
    It hasn't been reported yet. I'll try fixing it later today maybe, unless fuzzy gets around to it first.

    Just to clarify. If Pokemon A is recharging due to having used Hyper Beam, then any sleep move used by Pokemon B will hit 100% (no 255s). Additionally, if Pokemon A already has a status, then it will be overwritten rather than the move failing.

    If this is the case, then for obvious reasons I will be counting this sleep towards sleep clause and allow it to be prevented by sleep clause.

    Also I want to clarify that this only works with Sleep inducing moves.
     
    Disaster Area likes this.
  6. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    Exactly

    Yes

    Also, the bad poison substatus stays. This means that if a Pokemon gets bad poison overwritten with sleep because of this, if that Pokemon gets later burned, leech seeded, or normal poisoned (before switching out), the bad poison will build each turn and the Pokemon will take progressively more damage.

    The same occurs if a badly poisoned Pokemon uses Rest. Poison gets removed but the bad poison substatus stays (until the pokemon switches out).

    Similarly, if the Pokemon was under the effects of leech seed + bad poison and poison is removed through the hyperbeam glitch or through Rest, leech seed damage will keep building.
     
    Disaster Area likes this.
  7. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Right now, if someone posted a thread saying they could move a truck and get Mew... I'd totally believe them after the video I just saw.

    I guess this will be a fun fix to do.

    EDIT: Does it work on both turns of the hyperbeam? Like if Pokemon A uses Hyper Beam while Paralyzed and Pokemon B uses Sing that same turn, will it override? Or will it only override the following turn when Pokemon A is recharging?

    EDIT2:
    On recharge turn:
    Code (text):
    1. Start of turn 2
    2. Tauros used Leer!
    3. The foe's Parasect's Defense fell!
    4.  
    5. The foe's Parasect used Stun Spore!
    6. Tauros is paralyzed! It may be unable to move!
    7.  
    8. Start of turn 3
    9. Tauros used Hyper Beam!
    10. The foe's Parasect lost 82% of its health!
    11.  
    12. The foe's Parasect used Stun Spore!
    13. The attack of the foe's Parasect missed!
    14.  
    15. Start of turn 4
    16. Tauros is paralyzed! It can't move!
    17.  
    18. The foe's Parasect used Spore!
    19. Tauros fell asleep!
    20.  
    21. Start of turn 5
    22. Tauros is fast asleep.
    23.  
    24. The foe's Parasect used Stun Spore!
    25. But it failed!
    On HB turn (is this right? or do I need to only apply to recharge turn?)
    Code (text):
    1. Start of turn 13
    2. The foe's Tauros used Leer!
    3. Parasect's Defense fell!
    4.  
    5. Parasect used Stun Spore!
    6. The foe's Tauros is paralyzed! It may be unable to move!
    7.  
    8. Start of turn 14
    9. The foe's Tauros used Hyper Beam!
    10. A critical hit!
    11. Parasect lost 294 HP! (92% of its health)
    12.  
    13. Parasect used Spore!
    14. The foe's Tauros fell asleep!
    The sleep part is coded in a similar fashion to Rest, so if Rest is fine with Toxic count, then this will be fine as well.

    And Sleep will always hit in this scenario too. I tested with Sing and it returned an accuracy of "0" which bypasses the 1/256 check
     
    Last edited: Mar 24, 2015
    Disaster Area likes this.
  8. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    In this scenario when Parasect uses Spore Tauros is no longer recharging. It was done recharging right before being fully paralyzed. The fully paralyzed/self confusion check occurs right after clearing the "needs to recharge" flag.

    The second log is fine, because Tauros still needed to recharge.
     
  9. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    So it only occurs between the time that I use Hyper Beam and then when I recharge the window closes immediately.

    Meaning if I'm faster, it only works on the turn I use HB.
    If I'm slower, it only works on the turn I am set to recharge.

    Correct? I just want to make sure.


    New Logs:
    HB then the following turn Status goes first
    Start of turn 1
    The foe's Tauros used Rest!
    But it failed!

    Parasect used Stun Spore!
    The foe's Tauros is paralyzed! It may be unable to move!

    Start of turn 2
    Parasect used Spore!
    But it failed!

    The foe's Tauros used Hyper Beam!
    Parasect lost 206 HP! (63% of its health)


    Start of turn 3
    Parasect used Spore!
    The foe's Tauros fell asleep!


    The foe's Tauros is fast asleep.

    HB then following turn Status goes second
    Start of turn 8
    The foe's Tauros used Rest!
    But it failed!

    Parasect used Stun Spore!
    The foe's Tauros is paralyzed! It may be unable to move!

    Start of turn 9
    The foe's Tauros used Hyper Beam!
    Parasect lost 213 HP! (66% of its health)

    Parasect used Stun Spore!
    The foe's Tauros is already paralyzed.
    Start of turn 10
    The foe's Tauros must recharge!

    Parasect used Spore!
    But it failed!


    HB then Status on the same turn
    Start of turn 7
    The foe's Tauros used Rest!
    But it failed!

    Parasect used Stun Spore!
    The foe's Tauros is paralyzed! It may be unable to move!

    Start of turn 8
    The foe's Tauros used Hyper Beam!
    Parasect lost 214 HP! (67% of its health)

    Parasect used Spore!
    The foe's Tauros fell asleep!

     
    Last edited: Mar 25, 2015
  10. Crystal_

    Crystal_ Active Member

    Joined:
    Mar 5, 2011
    Messages:
    187
    Likes Received:
    29
    Yeah that's correct. It's working well in the three logs
     
  11. Ortheore

    Ortheore One beautiful monster

    Joined:
    Aug 7, 2012
    Messages:
    761
    Likes Received:
    336
    Hi, as an extension on this, today in my smogon OUPL match with Rewer I was able to freeze his paralysed Snorlax on a Hyper Beam recharge turn. Based on this thread, I'd say that that's not meant to happen, but I guess it's still worth double checking.

    Start of turn 14
    Rewer called Chansey back!
    Rewer sent out Snorlax!

    Chansey used Thunder Wave!
    The foe's Snorlax is paralyzed! It may be unable to move!

    Start of turn 43
    Chansey used Soft-Boiled!
    Chansey regained health!

    The foe's Snorlax used Hyper Beam!
    Chansey lost 528 HP! (75% of its health)

    Start of turn 44
    Chansey used Ice Beam!
    The foe's Snorlax lost 17% of its health!
    The foe's Snorlax was frozen solid!

    The foe's Snorlax is frozen solid!

    Ortheore: what
    Ary: damn
    Ortheore: don't think that's meant to happen

    Full log

    Replay
     
    Disaster Area likes this.
  12. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Actually, it looks like I never coded anything to restrict the status override to only sleep. I'll get that fixed
     
  13. Ortheore

    Ortheore One beautiful monster

    Joined:
    Aug 7, 2012
    Messages:
    761
    Likes Received:
    336
    Bumpitty bump, was having a few friendly matches with DA and found that sleep was able to miss in this situation- it should land on turn 8 here. That said, it wasn't on po main, maybe that makes a difference idk

    Start of turn 8
    Venusaur used Hyper Beam!
    The foe's Victreebel lost 38% of its health!

    The foe's Victreebel used Sleep Powder!
    The attack of the foe's Victreebel missed!

    Start of turn 9
    Venusaur must recharge!

    The foe's Victreebel used Sleep Powder!
    The attack of the foe's Victreebel missed!
     
    Disaster Area likes this.
  14. Crystal Moogle

    Crystal Moogle Ayaya~ Administrator Administrator

    Joined:
    Jul 19, 2010
    Messages:
    3,205
    Likes Received:
    531
    PO Trainer Name:
    Hanako
    Yeah it's possible the server you tried it on isn't updated
     
  15. sulcata

    sulcata stéphane curry best waifu Forum Moderator Server Administrator Forum Moderator Server Administrator

    Joined:
    Jun 13, 2012
    Messages:
    968
    Likes Received:
    744
    I would double check on PO main, unless you're sure that the server is updated frequently or know that the owner has updated it. A lot of servers are really behind in terms of updates iirc.

    edit: crystal ninja!!!
     
  16. Ortheore

    Ortheore One beautiful monster

    Joined:
    Aug 7, 2012
    Messages:
    761
    Likes Received:
    336
    Nope, I just tested on PO main and no luck

    [​IMG]
     
    Last edited: Jul 25, 2015
    Disaster Area and sulcata like this.
  17. Crystal Moogle

    Crystal Moogle Ayaya~ Administrator Administrator

    Joined:
    Jul 19, 2010
    Messages:
    3,205
    Likes Received:
    531
    PO Trainer Name:
    Hanako
    As @Cirno reminded me last night, isn't it only 100% accuracy when it's already inflicted by status?
     
  18. Ortheore

    Ortheore One beautiful monster

    Joined:
    Aug 7, 2012
    Messages:
    761
    Likes Received:
    336
    nah, status doesn't alter how the glitch plays out.
    Also when Crystal initially reported it on smogon he didn't mention anything about status
     
  19. Ortheore

    Ortheore One beautiful monster

    Joined:
    Aug 7, 2012
    Messages:
    761
    Likes Received:
    336
    Bumping because the 100% accuracy thing never got fixed

    Start of turn 13
    Ortheore called Alakazam back!
    Ortheore sent out Exeggutor!

    The foe's Exeggutor used Hyper Beam!
    Exeggutor lost 128 HP! (32% of its health)

    Start of turn 14
    Exeggutor used Sleep Powder!
    The attack of Exeggutor missed!

    The foe's Exeggutor must recharge!

    Lusch: ??
    Ortheore: I'm like 90% sure that should've hit
    Lusch: is that even possible?
    Lusch: yes
    Lusch: me too