Go Back   Smogon Community > Pokémon > Wi-Fi
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old Apr 9th, 2009, 1:58:36 PM   #1076
ayush is cool
 
ayush is cool's Avatar
 
Join Date: Jan 2009
Posts: 385
India,Gurgaon,Haryana
Default

ok i fixed that.
anyways lets a say i caught a pokemon with sweet scent and now want to check the IV's. so do i have to have an AR or how can i check them?
__________________
FC is 3136 9667 4806
i EV train the NON hack way
i do not have a AR or Pokesav
my GMT is +5:30
please check ou my trade thread
Mario Kart FC is 3867 6714 3653
ayush is cool is offline   Reply With Quote
Old Apr 9th, 2009, 2:00:04 PM   #1077
Toothache
Let the music play!
is a Forum Moderator Alumnus
 
Toothache's Avatar
 
Join Date: Dec 2004
Posts: 3,730
Default

Quote:
Originally Posted by Fat ayush is cool View Post
ok i fixed that.
anyways lets a say i caught a pokemon with sweet scent and now want to check the IV's. so do i have to have an AR or how can i check them?
Use the simple questions thread for questions like this. Thanks.
__________________
Quote:
Originally Posted by Fat Toothache
May I remind all users - DO NOT POST IN THE BLACKLIST UNLESS YOU ARE DIRECTLY INVOLVED. This is not a peanut gallery, this is not a place for debate. This thread is for reporting of blacklistable offences only. Any debating should be done privately with the people involved, and of course the mods. Everyone else should butt out and stop adding their 2 cents which is frankly, neither helpful nor welcome. This thread is for the site, it is not for you to rant.
Toothache is offline   Reply With Quote
Old Apr 9th, 2009, 2:21:15 PM   #1078
hrc969
 
Join Date: Jul 2007
Posts: 58
Default

Quote:
Originally Posted by Fat mingot View Post
It's been said that this ARNG (in your linked material) generates the PID for wonder card pokemon. I wonder if that's really the case, now, or is it _only_ using this routine for PID modification to un-shiny them, when in fact, there was some earlier method used to create the initial PID. What makes me think it could be is that the IRNG actually uses this routine when you have parents from different regions in daycare to modify the PID (up to 3 times) to increase the chance of it being shiny.
As the info says the seed for the mystery gift pokemon is made from the two locations given (16 bits each) then the ARNG is used exclusively.

Here is a video which shows the mystery gift algorithm in action: http://rapidshare.com/files/173485208/MG.avi

and an explanation: http://www.pokecommunity.com/showthread.php?t=163030
hrc969 is offline   Reply With Quote
Old Apr 9th, 2009, 2:39:17 PM   #1079
mingot**
free agent
is a member of the Smogon Site Staffis a Battle Server Administratoris an Administrator
 
Administrator
Join Date: Jun 2008
Posts: 3,045
Default

And any idea what puts the values into the two locations given that lead to their seeding or the ARNG?

If those numbers could, in any way, be correlated back to the initial seed that LCRNG and IRNG use then it might actually be possible to do a soft hack check on them.
mingot is offline   Reply With Quote
Old Apr 9th, 2009, 2:44:11 PM   #1080
hrc969
 
Join Date: Jul 2007
Posts: 58
Default

Quote:
Originally Posted by Fat mingot View Post
And any idea what puts the values into the two locations given that lead to their seeding or the ARNG?

If those numbers could, in any way, be correlated back to the initial seed that LCRNG and IRNG use then it might actually be possible to do a soft hack check on them.
This might be a possibilty. I'll let SCV know and see what he can find about the IRNG. Would he be able to find everything he needs to find it in the RAM in this thread?
hrc969 is offline   Reply With Quote
Old Apr 9th, 2009, 3:51:03 PM   #1081
mingot**
free agent
is a member of the Smogon Site Staffis a Battle Server Administratoris an Administrator
 
Administrator
Join Date: Jun 2008
Posts: 3,045
Default

He'll probably want the magic numbers for MT, which is at least linked. I spoke with him a bit ago and he put me right on the wondercards. :)
mingot is offline   Reply With Quote
Old Apr 9th, 2009, 3:59:44 PM   #1082
Dark-Ryu
Spammer
 
Dark-Ryu's Avatar
 
Join Date: Mar 2008
Posts: 8,781
Default

So I have to follow the same steps for D/P o.o?
It doesn't change anything?
__________________
Dark-Ryu is offline   Reply With Quote
Old Apr 9th, 2009, 4:11:53 PM   #1083
mingot**
free agent
is a member of the Smogon Site Staffis a Battle Server Administratoris an Administrator
 
Administrator
Join Date: Jun 2008
Posts: 3,045
Default

Yes, same steps. No it does not change anything.
mingot is offline   Reply With Quote
Old Apr 9th, 2009, 4:13:57 PM   #1084
Dark-Ryu
Spammer
 
Dark-Ryu's Avatar
 
Join Date: Mar 2008
Posts: 8,781
Default

Quote:
Originally Posted by Fat mingot View Post
Yes, same steps. No it does not change anything.
Alright, thank you Mingot.
So it doesn't matter if I hit the option of "Plat Egg PID (normal)" Right?
Thanks for the awesome program =)
__________________
Dark-Ryu is offline   Reply With Quote
Old Apr 9th, 2009, 4:15:39 PM   #1085
mingot**
free agent
is a member of the Smogon Site Staffis a Battle Server Administratoris an Administrator
 
Administrator
Join Date: Jun 2008
Posts: 3,045
Default

Thats the one you want to choose. The next version renames all options to DPPt, but it is not out yet. Thanks :)
mingot is offline   Reply With Quote
Old Apr 9th, 2009, 4:59:41 PM   #1086
Massi
 
Massi's Avatar
 
Join Date: Jan 2008
Posts: 1,353
Wetter, Germany
Default

So I have just one question about the RNG Reporter:

What should I fill in here?
http://img24.imageshack.us/img24/541...eichnenvcv.jpg

This box confuses me :s
Massi is offline   Reply With Quote
Old Apr 9th, 2009, 5:01:21 PM   #1087
The Mole
 
The Mole's Avatar
 
Join Date: Jul 2008
Posts: 2,063
Birmingham, UK
Default

You don't need to fill anything in there :)
__________________
[Suit Up! A Trade Thread][I UTUBE][Battle Clauses]
Soul Silver: 5285 4173 9336
White: 1549 4547 9864
The Mole is offline   Reply With Quote
Old Apr 9th, 2009, 5:01:24 PM   #1088
mingot**
free agent
is a member of the Smogon Site Staffis a Battle Server Administratoris an Administrator
 
Administrator
Join Date: Jun 2008
Posts: 3,045
Default

Nothing at all. Don't over think the directions, just follow them.
mingot is offline   Reply With Quote
Old Apr 9th, 2009, 5:03:00 PM   #1089
Massi
 
Massi's Avatar
 
Join Date: Jan 2008
Posts: 1,353
Wetter, Germany
Default

Ok, thanks =) I will just try it on D/P.. Hope it will work
Massi is offline   Reply With Quote
Old Apr 9th, 2009, 7:36:15 PM   #1090
Justice_X
 
Join Date: Jul 2007
Posts: 123
Default

This is all so confusing to me. ?_? Can someone please tell me what RNG stands for before I start to try to comprehend how all of this works? And can someone please give me link to threads that include information that'll be useful to me?
Justice_X is offline   Reply With Quote
Old Apr 9th, 2009, 7:39:39 PM   #1091
thetorsoboy
 
thetorsoboy's Avatar
 
Join Date: Mar 2008
Posts: 2,301
Default

Really?

Check the first page of this thread, okay?
__________________
Coming back with a vengeance. 2013.
thetorsoboy is offline   Reply With Quote
Old Apr 9th, 2009, 7:41:38 PM   #1092
TCCPhreak
 
Join Date: Mar 2009
Posts: 23
Default

Quote:
Originally Posted by Fat =Jonny= View Post
the Jonny2Code has at least 2 mistakes: an | must be replaced with a + and a & with a xor somewhere but I don't remember where...time has passed :D.
Found them - the hard way. ;-)

also my own generator now outputs the same numbers as mingot's does. Decided to go for C++ because the STL-Map seems rather nice for it - also my other pokemon-related-tools were written in C++

Code:
typedef map<uint32_t,uint32_t> t_mersenneTable;

t_mersenneTable createInitialMTable(uint32_t seed){
  t_mersenneTable myTable;
  { // insert seed
    pair <uint32_t,uint32_t> myEntry;
    myEntry.first=0;
    myEntry.second=seed;
    myTable.insert(myEntry);
  }
  uint16_t tableIndex;
  map<uint32_t,uint32_t>::iterator lastPos=myTable.begin();
  for (tableIndex=1;tableIndex<=623;tableIndex++){
    pair <uint32_t,uint32_t> myEntry;
    myEntry.first=tableIndex;
    myEntry.second=((lastPos->second / (1<<30)) xor lastPos->second) *0x6C078965 + tableIndex;
    myTable.insert(lastPos,myEntry);
    lastPos++; // advance iterator 
  }
  
  //t[n] = (( upper 2bits of t [n-1] ) xor t [n-1]) * 0x6c078965 + n
  return myTable;
}

uint32_t getPreRandom(t_mersenneTable* currentTable){
  uint32_t currentIndex=currentTable->rbegin()->first+1;
  uint32_t temp_h=0;
  uint32_t randomNumber;
  temp_h = temp_h + ((*currentTable)[currentIndex-624] & 0x80000000); // front bit
  temp_h = temp_h + ((*currentTable)[currentIndex-624+1] & 0x7FFFFFFF); // back
  // temp_h is equivalent to k[0]
  
  randomNumber=(*currentTable)[currentIndex-227] xor (temp_h / 2) 
                xor ((temp_h % 2) * 0x9908B0DF);
  // last xor only useful if temp_h is even.
  
  { // insert into table
    pair <uint32_t,uint32_t> myEntry;
    myEntry.first=currentIndex;
    myEntry.second=randomNumber;
  
    currentTable->insert(myEntry);
  }
  return randomNumber;
}

uint32_t temper(uint32_t randomNumber){
  uint32_t temp;
  temp = randomNumber;
  temp = temp xor ((temp >> 11)); // (equivalent to ( / 0x800)
  temp = temp xor ((temp << 7) & 0x9D2C5680); // equivalent to ( * 0x80)
  temp = temp xor ((temp << 15) & 0xEFC60000); // equivalent to ( * 0x8000)
  temp = temp xor ((temp >> 18));
  return temp;
}
now I just need to put it into a class file on its own, write some nice command-line-interface... but the main work is done.

@mingot: Thanks for posting the example code. I really helped finding the flaws in my stuff.

TCC
TCCPhreak is offline   Reply With Quote
Old Apr 9th, 2009, 8:06:04 PM   #1093
Justice_X
 
Join Date: Jul 2007
Posts: 123
Default

Is there any way to do any of this without a Pokesav or another cheat device? How about for non-bred Pokemon?
Justice_X is offline   Reply With Quote
Old Apr 9th, 2009, 8:32:12 PM   #1094
Justice_X
 
Join Date: Jul 2007
Posts: 123
Default

Quote:
Originally Posted by Fat Adamco13 View Post
For everything except checking your SID, yes you can do it without a cheating device as long as you have rare candies.
In order to breed shinies using this method do you need to check your Secret ID?

Also, what does PID stand for?
Justice_X is offline   Reply With Quote
Old Apr 9th, 2009, 8:38:31 PM   #1095
mingot**
free agent
is a member of the Smogon Site Staffis a Battle Server Administratoris an Administrator
 
Administrator
Join Date: Jun 2008
Posts: 3,045
Default

Quote:
Originally Posted by Fat Adamco13 View Post
For everything except checking your SID, yes you can do it without a cheating device as long as you have rare candies.
Actually if you have a shiny pokemon that you have caught, not including chained pokemon, you can find your SID without any hacking device.

@ TCC It looks very nice and clean :)
mingot is offline   Reply With Quote
Old Apr 9th, 2009, 10:35:45 PM   #1096
Miltonic
 
Miltonic's Avatar
 
Join Date: Mar 2007
Posts: 1,661
WONDERLAND!
Default

after lots of procrastination I finally gave a shot at this with my Pearl gme and finally got the bold female shiny feebas I always wanted on my second try. :)
__________________

Miltonic is offline   Reply With Quote
Old Apr 9th, 2009, 10:37:43 PM   #1097
Lightsabre
 
Lightsabre's Avatar
 
Join Date: Aug 2008
Posts: 1,958
Texas.
Default

my bro just missed barely. I'm working on a longer tapping spree of 789. much better then the orriginal one I was going for(5989)
__________________
† I am a Christian and I'm Proud of it.†

Scramble Challenge HeartGold
Lightsabre is offline   Reply With Quote
Old Apr 9th, 2009, 10:45:16 PM   #1098
OmegaX
 
OmegaX's Avatar
 
Join Date: Nov 2007
Posts: 1,989
Lima, Perú
Default

It has been a LONG time since I bred anything but as soon as I read that this was possible to do on D/P I had to try it.
I managed to lock myself on a Shiny-Adamant-Technician-Scyther-egg after only 300+ taps and 9 coin flips :D
Now if only the RNG that generates the IVs of eggs was figured out too this would be a breeze but for now I'm SRing the good old fashioned way as always.
Thanks to everyone that make this possible.
__________________
Ψ I am a Pastafarian and proud of it! Copy and paste this if you think that religious signatures are dumb too. Ψ
Pokémon Diamond FC: 4167 2980 7937
OmegaX is offline   Reply With Quote
Old Apr 9th, 2009, 10:49:42 PM   #1099
mingot**
free agent
is a member of the Smogon Site Staffis a Battle Server Administratoris an Administrator
 
Administrator
Join Date: Jun 2008
Posts: 3,045
Default

It's been figured out, just waiting on documentation and new software (which is really done now so just documentation). Warning -- It's not like Emerald and it WILL test your patience and sanity. Some with good parents will likely opt to continue the old fashioned way.
mingot is offline   Reply With Quote
Old Apr 9th, 2009, 10:52:25 PM   #1100
Lightsabre
 
Lightsabre's Avatar
 
Join Date: Aug 2008
Posts: 1,958
Texas.
Default

my brother just did 316 taps, and 5 coin flips, just like the app said. but he didn't get a shiny sheildon like he was breeding for. what's the cause?
__________________
† I am a Christian and I'm Proud of it.†

Scramble Challenge HeartGold
Lightsabre is offline   Reply With Quote
Reply Smogon Community > Pokémon > Wi-Fi

Tags
random number generator, rng

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 6:35:53 AM.