RNG Manipulation on Pokemon Showdown

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น •

  • @disasterarea9341
    @disasterarea9341 19 ชั่วโมงที่ผ่านมา +5

    my understanding is that, as a matter of policy, pokemon showdown does not attempt to implement the RNG as it exists in the games
    If this exploit reaches a point where it is usable in battle, then there are a couple of options:
    1 - "patch" it by implementing a new/more complex RNG system. not sure the feasibility of this
    2 - implement the game's RNG faithfully where possible. this is probably more effort, and wont be feasible in newer generations. so i think this option is less likely.

  • @luiscanterohernandez6668
    @luiscanterohernandez6668 22 ชั่วโมงที่ผ่านมา +4

    We shall be careful, this man will crack quantum rng

  • @MrCheeze
    @MrCheeze 3 ชั่วโมงที่ผ่านมา +1

    Oh, I love this.
    Looks like right now it doesn't have any serious competitive impact, because you need to gather waaaay too much information before you can get any practical use from it.
    However, I think things would be very different if you also gathered information from damage rolls. Gen 1 would be perfect for this, since natures and the EV limit don't exist - the only reason for someone NOT to run perfect DVs and Stat Exp is to fool your program. So in normal circumstances we know every Pokemon's exact stats. (Alternatively, later gens would _sometimes_ work too, if you make the simplifying assumption that every stat is 0 EV, 252 EV, 252 EV + positive nature, or negative nature.)
    Have you taken a look at how many turns it takes to crack the RNG seed from damage rolls when the stats are perfectly known?

    • @MrCheeze
      @MrCheeze 3 ชั่วโมงที่ผ่านมา

      Also, separate thought - Showdown could definitely make this impossible if they wanted to. One of the many ways to do it would be to have both users send a random number whenever they click a move, and reseed the RNG with both.

    • @myreneario7216
      @myreneario7216  ชั่วโมงที่ผ่านมา +2

      Reading off RNG info from damage rolls is definitely something I should look into,
      and it seems to be easiest in Gen1,
      where the damage roll works by randomly choosing a number between 217 and 255 and then dividing by 255.
      If we have 12-13 attacks where we can exactly figure out the random damage roll number between 217-255, then we can use this to reverse the RNG.
      Right now I don't know whether we can always figure out the damage roll number exactly. But I will start looking into this right now.

  • @pc31754
    @pc31754 วันที่ผ่านมา +3

    this is so cool, pleasant surprise to see you now breaking showdown

  • @matthewbolan8154
    @matthewbolan8154 20 ชั่วโมงที่ผ่านมา +2

    Ah, neat application

  • @gigalh128
    @gigalh128 22 ชั่วโมงที่ผ่านมา +1

    Any thoughts on multi-hit moves? Haven't done much research on it, but I'd think you could use the damage rolls to extract information more quickly -- namely if there's at least 4 different percentages, the damage rolls alone would provide 4^5 bits of information if all 5 hits happen, and then you could combine this with a scope lens to make better use of crits for information.
    Of course, the caveat here is that you don't know the opponents stats, so the ranges you would have to guess through might end up making multi-hit moves less useful.
    Obviously skill link doesn't exist in gen 3, so it wouldn't work there, but it seems like it could net more information.

    • @gigalh128
      @gigalh128 21 ชั่วโมงที่ผ่านมา

      Also for gen 5 you could probably get some value out of prankster copycat with roar

    • @myreneario7216
      @myreneario7216  21 ชั่วโมงที่ผ่านมา +3

      "the caveat here is that you don't know the opponents stats"
      Yes, exactly.
      I think moves with recoil damage could be useful, because you know your own health EVs.
      For moves with recoil damage you might be able to find out how high the damage roll actually was, and use that to crack the RNG.
      But for normal moves you can only do this if you know the enemies health and defense EVs which you usually don't.
      But finding other ways to collect info about the RNG is definitely something to look into, because using 9 metronomes is not competitively viable. And damage rolls are one of the most promising things to look into.

    • @gigalh128
      @gigalh128 20 ชั่วโมงที่ผ่านมา

      @@myreneario7216 Oooh recoil moves would be quite good in combination with multi-hit moves. Or something like seismic toss/leech seed just to gauge the opponents HP because one could probably narrow down their defense stat afterwards.

    • @karatejoshb
      @karatejoshb 15 ชั่วโมงที่ผ่านมา

      @@myreneario7216 given that the sets of all pokemon in random battles are known (evs, moves, items, etc), this might be a good sandbox to look into for using damage rolls as a way to find seeds.
      ive been told that the random team generation seed is specific to each user, so you cannot reverse engineer your opponents team, but it may be interesting to see if one can easily access the battle seed using damage rolls for rng manipulation

  • @Mg07a
    @Mg07a 18 ชั่วโมงที่ผ่านมา

    I have no idea what is going on but this makes my brain feel funny so good video

  • @paolozarcone719
    @paolozarcone719 8 ชั่วโมงที่ผ่านมา

    Pandora's box is now open.

  • @Nooticus
    @Nooticus 19 ชั่วโมงที่ผ่านมา

    wow!!! youre back but in a new form

  • @urboixander1826
    @urboixander1826 21 ชั่วโมงที่ผ่านมา +1

    How many turns of normal gameplay without using metronome would it theoretically take to find the RNG seed?

    • @myreneario7216
      @myreneario7216  20 ชั่วโมงที่ผ่านมา +5

      Not sure. Depends on how closely you analyze the game.
      You need to collect 64 bits of informations.
      Every metronome gives you 7-10 bits of info, depending on the generation.
      Every critical hit gives you roughly 4 bits of info.
      Every full paralysis gives you 2 bits of info.
      It might be possible to get a lot of information from damage rolls,
      but that usually requires you to know the health and defense EVs of your opponent.
      Edit: Reversing the RNG from 32 full paras seems to be computationally infeasible, and takes over an hour on my computer.
      Reversing the RNG from 16 crits only takes a few seconds, so that works.
      So if you want the LattiCG algorithm to finish in less than a minute you should better give it a few pieces of high value information instead of a lot of low value information.

  • @catgameplayer
    @catgameplayer 21 ชั่วโมงที่ผ่านมา

    Nice, I finally have an excuse to run metronome

  • @qsns_
    @qsns_ 14 ชั่วโมงที่ผ่านมา

    very cool stuff!!!

  • @Vildy
    @Vildy 21 ชั่วโมงที่ผ่านมา

    Lol