1. Welcome to Smogon Forums! Please take a minute to read the rules.
  2. New to the forums? Check out our Mentorship Program!
    Our mentors will answer your questions and help you become a part of the community!
  3. Welcome to Wi-Fi! Please remember to read the rules and do NOT create a new thread for simple trades or Friend Safari codes.

Past Gen RNG Research

Discussion in 'Wi-Fi' started by mingot, Sep 12, 2009.

  1. Ominous Fyre

    Ominous Fyre

    Joined:
    Jul 2, 2009
    Messages:
    55
    More on weather effects

    Okay since no one has replied to my messages about my research on weather effects, I will post more.

    First off: I have hatched my first shiny using weather effects as a way of advancing the RNG
    Second, Stark Mountain Ash has an IRNG Frame advancement of 50-60 FPS. My research still only shows an inclination to 50. Which by the way, is faster than double taps.
    Rain and Snow are two very different weather effects however. First off, there are 3 types of snow: Snowpoint snow (Falls from top of screen, fps unknown, due to pattern similarity to stark ash, probably 50), Acuity snow (Blown in from left of screen, fps unknown similar to the dirt clods in a sandstorm, putting it at about 60 FPS) and blizzard (Basically a white sandstorm)
    Rain is interesting however, as it seems to have a fluctuating rate from about 100 FPS to 120 FPS. It seems to me that the Frame rate is based on the number of squares covered by trees in the area (Research for this was conducted outside of Pastoria.)
    Now, as for what this means:
    If rain and such in HGSS still run on the IRNG (Snow near Red, rain near Azela town), then the process of hatching shiny eggs in HGSS with proper nature and ability would be similar to emerald (Amount of time in the weather to a very specific time.)
  2. Kaphotics

    Kaphotics Remodeling Kitchens
    is a Pokemon Researcheris a Contributor to Smogon

    Joined:
    Apr 25, 2009
    Messages:
    775
    I've also noticed this when I do dynamic (unset PID/) nature wondercards in the Cerulean mart.

    The nature is determined once you stop talking to the man, so I save state right before that and stop at different times. Depending on how fast I mash, I get 90% the same nature, 9% another, and rarely another nature. I didn't test the PID's but I'd think they'd be the same.

    If it's not the nature I want I just wait a second and state+mash repeat etc, different natures.

    It's a hardware related timer that advances it, half of the algorithm is seed, the other is RWTimer0. Uncontrollable!!
  3. Zari

    Zari Xenobladeaholic
    is a Pre-Contributor

    Joined:
    Jan 22, 2009
    Messages:
    682
    Bug Catching Contest RNGing - The How to.

    Anyways, long story short I managed to crack at least part of the BCC's RNG with Frozen_Spirits's testing help :)

    Onto the details:

    Sweet Scenting - Tried, tested and complete

    Encounter slots are different than normal in the BCC, with 10 entries, not 12 or 5 or 6 or whatever. You go about calculating them the same way, but with a twist - you're using a modified surfing RNG version.

    In this version, everything stays method K the whole time; there is no going back to method 1 to determine encounter slots, etc. The reason why I label it as modified "Surfing" RNG, is because you sweet scent at your target frame - 3, just like you would while upon water in the rest of the game, rather than F-2 for other grass SSing.

    The encounter slot is determined by your current frame + 1, while the IVs/nature/etc is determined by your current frame + 3, all PID numbers and calculations taken and done from the Method K values, not the "actual" values. The actual slots are broken up as follows:

    [number obtained via current frame + 1 latter 4 hex digits / 656; the usual process]

    Slot 1: 0 - 19
    Slot 2: 20 - 39
    Slot 3: 40 - 49
    Slot 4: 50 - 59
    Slot 5: 60 - 69
    Slot 6: 70 - 79
    Slot 7: 80 - 84
    Slot 8: 85 - 89
    Slot 9: 90 - 94
    Slot 10: 95 - 99

    These values correspond to the pokemon (from left to right) on this Serebii page.

    All of this has been confirmed on both VBA and physical carts, multiple (as in 5+) times.

    As for the actual catching process, since you only have 1 mon with you during the contest, it has to be able to both sweet scent, sleep, and false swipe (latter two are optional, but make EVERYTHING easier). In 4th Gen there are only 2 mons that legally learn the combination of false swipe/spore/sweet scent (those being paras/parasect and smeargle); for those who don't want to bother with sketching, I have already bread a paras for bcc purposes and will be hosting a givaway sometime soon :)

    As for using a synchronizer, that is the next thing to figure out; sadly this limits our available spreads somewhat, but still, something is better than nothing, right?

    happy abusing!

    (note you can VM me if you have more questions; how fast I'll respond will vary however)
  4. c l e a r

    c l e a r

    Joined:
    Apr 29, 2005
    Messages:
    1,284
    Mew can do it; Hypnosis is optional, so something like T-Wave would suffice, since it's not that hard to keep him in there, unlike most legends. Doesn't Sport Ball have the same rate as a Great Ball?

    But how does this limit the spreads?
  5. Frozen_Spirit

    Frozen_Spirit

    Joined:
    Mar 3, 2008
    Messages:
    545
    Mew cant sweet scent. It limits it because there are less spreads which means less possible encounter slots. What I want to know is if most people will count it as hacking if we hacked Sweet Scent on a synch or hacked synch on a sweet scenter.
  6. c l e a r

    c l e a r

    Joined:
    Apr 29, 2005
    Messages:
    1,284
    riiight, I keep forgetting that Sweet Scent is not a TM anymore...

    Pretty sure that most people will consider it as a hack, since it's technically not possible outside of the mimic glitch. And unless that stance changes on this, I'm pretty sure...
  7. ΩDonut

    ΩDonut don't glaze me bro
    is a Programmeris a Forum Moderatoris a Community Contributoris a Pokemon Researcheris a Contributor to Smogon
    Moderator

    Joined:
    Aug 23, 2006
    Messages:
    3,727
    You don't even need a Pokemon with Sweet Scent. The Honey item does the exact same thing as Sweet Scent when you use it out in the field, in addition to spreading it on trees in DPP.
  8. Frozen_Spirit

    Frozen_Spirit

    Joined:
    Mar 3, 2008
    Messages:
    545
    Didn't know this. I'm gonna test it later if it advances it in the same way.
  9. c l e a r

    c l e a r

    Joined:
    Apr 29, 2005
    Messages:
    1,284
    OMG, you win. I gotta do this now, I'm pretty sure that if Sweet Scent works that way in BCC, it should apply to honey as well.
  10. Nexus

    Nexus Day 358: Believe
    is a member of the Site Staffis a Super Moderatoris a Contributor to Smogon
    Wi-Fi Commissioner

    Joined:
    Jun 21, 2009
    Messages:
    2,761
    ok so if I read this right, each Pokemon available in the BCC is specific to a single encounter slot? if so, then instead of going back to serebii to compare I sorted them here:

    Encounter Slots Pre National Dex (open)
    Encounter Slot: Pokemon

    Slot 1: Caterpie
    Slot 2: Weedle
    Slot 3: Metapod
    Slot 4: Kakuna
    Slot 5: Paras
    Slot 6: Venonat
    Slot 7: Butterfree
    Slot 8: Beedrill
    Slot 9: Scyther
    Slot 10: Pinsir


    Encounter Slots Post National Dex (open)

    Encounter Slot: Pokemon (Tuesday)

    Slot 1: Caterpie
    Slot 2: Weedle
    Slot 3: Metapod
    Slot 4: Kakuna
    Slot 5: Paras
    Slot 6: Venonat
    Slot 7: Butterfree
    Slot 8: Beedrill
    Slot 9: Scyther
    Slot 10: Pinsir

    Encounter Slot: Pokemon (Thursday)

    Slot 1: Wurmple
    Slot 2: Nincada
    Slot 3: Silcoon
    Slot 4: Volbeat
    Slot 5: Kricketot
    Slot 6: Kircketune
    Slot 7: Dustox
    Slot 8: Combee
    Slot 9: Scyther
    Slot 10: Pinsir

    Encounter Slot: Pokemon (Saturday)

    Slot 1: Wurmple
    Slot 2: Nincada
    Slot 3: Cascoon
    Slot 4: Illumise
    Slot 5: Kricketot
    Slot 6: Kircketune
    Slot 7: Beautifly
    Slot 8: Combee
    Slot 9: Scyther
    Slot 10: Pinsir
  11. volch

    volch

    Joined:
    Jul 3, 2009
    Messages:
    127
    It seems like the bag cannot be used during the BCC. Even registered key items are shut off.
  12. musicmeister

    musicmeister

    Joined:
    Apr 18, 2010
    Messages:
    1,071
    I don't have encounter slot 7 on my shiny spread but how come I caught a shiny Dustox and shiny Beautifly? My shiny spread encounter slots are 3 and 6.
  13. Nexus

    Nexus Day 358: Believe
    is a member of the Site Staffis a Super Moderatoris a Contributor to Smogon
    Wi-Fi Commissioner

    Joined:
    Jun 21, 2009
    Messages:
    2,761
    when i made that list I based it off the post below this one, Serebii has the Pokemon going from left to right as Dustox and Beautifly listed as the seventh Pokemon. It seems the exact slots may not be consistent from game to game or due to other factors that need to be worked out. The lists I made were just to translate the results Zari posted onto here without having users go to serebii to try and match up the slots posted by Zari with the Pokemon.

  14. Expert Evan

    Expert Evan every battle has a smell!
    is a Forum Moderator
    Moderator

    Joined:
    Jan 16, 2007
    Messages:
    3,840
  15. musicmeister

    musicmeister

    Joined:
    Apr 18, 2010
    Messages:
    1,071
    What encounter slot were you aiming for? And is it possible to check your frame during the bug contest?
  16. Osostewie

    Osostewie

    Joined:
    May 28, 2010
    Messages:
    306
    I'm not entirely sure, but cant you use radio seed?
  17. Expert Evan

    Expert Evan every battle has a smell!
    is a Forum Moderator
    Moderator

    Joined:
    Jan 16, 2007
    Messages:
    3,840
    elm calls still work during the bug catching contest so I go based on its corresponding frames that way. I was only trying the available non-sync frames.
  18. Frozen_Spirit

    Frozen_Spirit

    Joined:
    Mar 3, 2008
    Messages:
    545
    Elm calls still work. The only hard part with BCC RNGing is the fact that you have to Reset in front of the guy to start it. Not to mention the 20 minute time limit and numerous Moving NPC's.
  19. Expert Evan

    Expert Evan every battle has a smell!
    is a Forum Moderator
    Moderator

    Joined:
    Jan 16, 2007
    Messages:
    3,840
    In further gathering some data regarding the bug catching contest, here is what I've gathered from one important spread:

    Seed= 390F02B8
    PID= A777C735
    date: 9/25/2010 (Saturday)
    delay: 686
    target spread: adamant, female, ability 1, 31/31/31/17/31/31

    using non-synch smeargle with sweet scent, spore & false swipe
    Frame 900 #5. kricketot, level 30

    using synch mew that had move modified sweet scent
    Frame 862 #3. cascoon, level 36
    Frame 868 #3. cascoon, level 29
    Frame 872 #7. beautifly, level (whirlwinded)
    Frame 874 #5. kricketot, level 27
    Frame 876 #3. cascoon, level 28
    Frame 878 #6. kricketune, level 29
    Frame 882 #7. beautifly, level 31
    Frame 886 #4. illumise, level 29
    Frame 898 #4. illumise, level 27
    Frame 899 #1. wurmple, level 26

    In short while I can legitimately RNG capture a NU competitive kricketot, even if the above synch mew captures were legitimately possible, there appears to be no way to RNG capture such a desireable pinsir nor scyther in the bug catching contest with this spread. I've also noticed without sweet scent that it often targets a central frame as I'm not sure as to why, so I cannot consider sweet scenting as a modified move to be legit unless it's randomly possible.

    So far as the other jolly quint-flawless spreads that were accomplishable without a sync, only the following 2 were known:

    jolly female scyther (swarm): 31/31/31/24/31/31
    jolly female kricketot: 31/31/31/29/31/31

    I have not further tested using a jolly sync with a modified move as of yet. Any correlation as to how these species are created shall be gratefully appreciated.

    Edit:
    Seed= 54090B53
    PID= 67A6D16E
    date: 9/4/2010 (Saturday)
    delay: 2889
    target spread: jolly, female, ability 0, 31/31/31/29/31/31

    using non-synch smeargle with sweet scent, spore & false swipe
    Frame 161 #5. kricketot, level 30

    using synch mew that had move modified sweet scent
    Frame 153 #3. cascoon (did not save)
    Frame 155 #6, kricketune (did not save)
    Frame 159 #2, nincada (saved)

    Until I can determine whether or not nincada is possibly available with a sync without sweet scent I will not even offer this nincada.

    Edit again:
    Seed= 1D42D783
    PID= 67A6D16E
    date: 9/11/2010 (Saturday)
    delay: 979
    target spread: hasty, male, ability 1, 21/31/12/3/30/31

    using non-synch smeargle with sweet scent, spore & false swipe
    Frame 158 #2, nincada (saved)
  20. ΩDonut

    ΩDonut don't glaze me bro
    is a Programmeris a Forum Moderatoris a Community Contributoris a Pokemon Researcheris a Contributor to Smogon
    Moderator

    Joined:
    Aug 23, 2006
    Messages:
    3,727
    Current information on the B&W RNG:

    The state of the RNG is stored as a 64-bit number at memory location 022160A4.

    It advances only as necessary; you can see this when it advances quickly in an area with many NPCs, slowly in an area with one or two moving NPCs, and not at all with no moving NPCs.

    The LCRNG formula, identical to the one used since 3rd gen, is in the game code (along with the IRNG used for creating egg PIDs), but when applied to the numbers stored in this memory location did not correspond to the results.

    The RNG does NOT advance every 128 steps.
  21. Riski

    Riski

    Joined:
    Nov 11, 2009
    Messages:
    1,267
    I'm hoping to get my copy of Black in the next few weeks. If there's anything I can do to help research the RNG in 5th Gen, let me know.
  22. DarkLynx

    DarkLynx

    Joined:
    Apr 27, 2009
    Messages:
    735
    Is there any way to check our initial seed already?

    @OmegaDonut, what do you mean by the state of the RNG? Is this value the same on Kazo's program?
  23. ΩDonut

    ΩDonut don't glaze me bro
    is a Programmeris a Forum Moderatoris a Community Contributoris a Pokemon Researcheris a Contributor to Smogon
    Moderator

    Joined:
    Aug 23, 2006
    Messages:
    3,727
    Here's what we DON'T know:

    - How the initial seed is generated

    - What formula is being applied to update the RNG at memory address 022160A4.
    - How Pokemon are generated (it's definitely not Method 1, 2, or any of the other methods found so far)

    We really can't do anything else until we find this out.

    No and no.
  24. Expert Evan

    Expert Evan every battle has a smell!
    is a Forum Moderator
    Moderator

    Joined:
    Jan 16, 2007
    Messages:
    3,840
    I am wondering if the new wild pokemon mechanics as described on serebii's site has any effect on how the RNG method in B/W now works, if that has any factor.
  25. Ditto

    Ditto /me huggles
    is a Tournament Directoris a Forum Moderatoris a Community Contributoris a Contributor to Smogonis a Battle Server Moderator Alumnus
    Moderator

    Joined:
    Jun 11, 2007
    Messages:
    2,984
    Just posting to confirm what OmegaDonut has said. Through some testing I have noticed the same 2 things.

    1. There is a delay/frame system similar to Gen 4 in which the time before you start the game (press continue) affect the seed you get, but once in game it is based on RNG frame advancements, such as moving NPCs, instead of timing like Emerald. (Tested by obtaining starter Pokemon).

    2. It don't seem to use Method 1 as the primary Method. Both Method J and K used Method 1 as a base and only changed the frames on which spreads were found, but the seeds would still be the same and arrived through the same delays. However, in this new Method, spreads do not match the seeds for Method 1 and come up with either different timings or "no reasonable seed found" when you search for your seed based off a Pokemon that you just caught. (Tested by capturing Zekrom searching for delays 100 - 5000)

    EDIT: Will be doing some more testing

    EDIT #2: Found something pretty interesting. When testing on Kyuremu (the Ice/Dragon) I came across several spreads that are illegal by Gen 4's seeds.

    Spreads (open)
    Also tested on Borutorosu, a Roaming Pokemon (which was Method 1 in Gen IV)

Users Viewing Thread (Users: 0, Guests: 1)