Talk:Vending machine: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
m (→‎What's the chance...: resolution + XD/Colo mention)
Line 5: Line 5:
::The results were kind of strange though... the first 500 times yielded 14 free drinks; but the next 500 only 3. So {{tt|by applying basic mathematical probability to circumstantial results|not incredibly accurate seeing as computer games tend to calculate probability by getting a completely random number and comparing it to a certain range; but the best I could do with no knowledge of code-diving}}, I would say the average chance is... maybe about 2%?
::The results were kind of strange though... the first 500 times yielded 14 free drinks; but the next 500 only 3. So {{tt|by applying basic mathematical probability to circumstantial results|not incredibly accurate seeing as computer games tend to calculate probability by getting a completely random number and comparing it to a certain range; but the best I could do with no knowledge of code-diving}}, I would say the average chance is... maybe about 2%?
::Anyway! To answer the question, I found it to be about 2% in Platinum... or perhaps between 2-3%... less than 5% anyway! '''[[User talk:ShiningSteelix|<span style="color:#C49900">***shining</span>]][[User:ShiningSteelix|<span style="color:#6E6E6E">Steelix***</span>]]''' 15:40, 5 August 2011 (UTC)
::Anyway! To answer the question, I found it to be about 2% in Platinum... or perhaps between 2-3%... less than 5% anyway! '''[[User talk:ShiningSteelix|<span style="color:#C49900">***shining</span>]][[User:ShiningSteelix|<span style="color:#6E6E6E">Steelix***</span>]]''' 15:40, 5 August 2011 (UTC)
:::(To essentially futureproof this... it's 3.125% = 100/32). B2W2 & BW just do rand(32) and if 0 give an extra.
:::Just fyi, XD/Colosseum do not have the "bonus" drink feature. I set a breakpoint on the RNG and got no 'calls' when buying a drink. —[[User:Kaphotics|Kaphotics]] ([[User talk:Kaphotics|talk]]) 06:55, 18 July 2013 (UTC)

Revision as of 06:55, 18 July 2013

What's the chance...

...of a vending machine dropping a free beverage? As in, does a vending machine have a 5% chance of giving the player an extra beverage? 10%? 1 in 8192? It would be good information to put in the article, wouldn't it? - unsigned comment from Missingno. Master (talkcontribs) 23:53, 29 July 2011 (UTC)

...anybody? - unsigned comment from Missingno. Master (talkcontribs) 13:56, 2 August 2011 (UTC)
I was also curious about this, so I did a bit of testing into this in Platinum. I bought ONE THOUSAND drinks - to make sure the results were quite accurate - and recorded how many free drinks were obtained.
The results were kind of strange though... the first 500 times yielded 14 free drinks; but the next 500 only 3. So by applying basic mathematical probability to circumstantial results, I would say the average chance is... maybe about 2%?
Anyway! To answer the question, I found it to be about 2% in Platinum... or perhaps between 2-3%... less than 5% anyway! ***shiningSteelix*** 15:40, 5 August 2011 (UTC)
(To essentially futureproof this... it's 3.125% = 100/32). B2W2 & BW just do rand(32) and if 0 give an extra.
Just fyi, XD/Colosseum do not have the "bonus" drink feature. I set a breakpoint on the RNG and got no 'calls' when buying a drink. —Kaphotics (talk) 06:55, 18 July 2013 (UTC)