Page 1 of 11 1 2 3 ... LastLast
Results 1 to 10 of 101

Dev. Posts

Hybrid View

  1. #1
    Community Rep Camate's Avatar
    Join Date
    Mar 2011
    Posts
    630

    A Random Comment

    Ever experience a time crafting when you are at 90% and still manage to blow it up? Three times in a row?

    I know I’ve experienced some unlucky situations like this and thought to myself “Oh c’mon! No way!” all the while thinking the RNG gods hate me. If you’ve ever had times when you thought the same and questioned whether there something wrong, you are in for an interesting read.

    Grab a drink and snack, because it’s time for a mega-knowledge bomb from Hiroshi Minagawa.

    Quote Originally Posted by Hiroshi_Minagawa View Post
    Hello,

    Since this was brought up in the UI forum, even though I’m not in charge of it I will go ahead and comment about this a general discussion point.

    I checked up with our main programmer “K”, and for FFXIV it seems like we are using 3 famous random algorithms different depending on the application. Naturally, everything is processed server-side, and the random seed differs for each process.

    So in response to the question if there is a bug with the coding that generates the same random number if you continuously press an action, the answer is that the system implemented is such that this type of problem will not occur.

    There were older games where you could use certain patterns to your advantage to beat the game, but in recent days there aren’t any games like this anymore. Probably.

    However, the rate (random) process in games from very long ago and up until now -- not only for FFXIV -- have continued to be doubted by players.

    From my perspective it’s just a clear cut case of chance, but this alone may not be convincing enough, so I will try to explain about this a bit.

    This discussion is not particular to FFXIV and it is more about why random number programs are easily doubted.
    (Of course there have been a number of cases where there were bugs…)

    So to start off, I’ll lay out the essential points quickly.

    A. The standard random number programs used by FFXIV, and other modern games, generate practical “true random numbers”.
    B. With a range of trial numbers that can be understood by a person, because it’s a true random number bias arises.
    C. Since our brains are very adept in their capability to detect bias as abnormal or a singularity, we perceive true random numbers as abnormal.


    I’ll explain about each point above individually.

    First, I’ll start with the program for generating random numbers.

    FFXIV and other modern games use a random number algorithm (properly known as a pseudorandom number generator), which was contrived by some really good mathematicians and computer science people, and it was tested for a number of fields and is used as a solid algorithm.

    As an example, I’ll explain a little snippet about the periodicity of the random number algorithm known as Mersenne twister.
    “The algorithm provides a super astronomical period of 2^19937 – 1 and 623 dimensional equidistribution up to 32 bits accuracy.”

    Got it? No? That’s okay.

    Random number algorithms are part of a field that was built by the results of pure mathematics. As long as we the users understand that the random numbers generated are correct and practical that is more than enough.

    ★Those of you who know about random number algorithms and examples of problems in the past that arose in games, you’re probably wondering about something I didn’t touch on above. I will add an explanation to the end of this post.


    Next is about “true random numbers”.

    When it comes to random numbers there are two different types with different distribution patterns: uniform random numbers and normal random numbers. As the number of trials increase, we start to converge on the ideal condition.

    Conversely, if the number of trials (sampling number) is low, bias arises in random numbers.

    As humans, when it comes to the number of trials in games and such that we are able to grasp, it’s normal for us to perceive bias in the random numbers.

    In other words, the premise that it’s strange that there is bias in random numbers is mistaken.

    Of course, with hundreds and thousands or billions of trials, we will approach a distribution that is uniformly random and the bias will disappear. Unfortunately, this is impossible for a human to actually observe and experience.

    Due to this, every time you observe bias arising from a limited number of trials you can’t help but think that something’s wrong.

    Finally, onto our cognitive fallacies.

    Humans are able to instantly determine and intuit various things. It’s often said that our brains are really good at this but computers have trouble. On the other hand though, there is an aspect to this ability that is weak, and when this is exploited it opens us up to tricks and deceit.

    The pattern of deviation in judgment and illogical interpretation is known as cognitive bias.

    A leading example of where cognitive bias arises is the Gambler's fallacy.

    This states that when a person observes multiple events over the course of time, they will begin to expect that the results in the future will be affected by what happened in the past, and will either feel convinced that the results were due to a cause-and-effect relationship, or have a feeling of strangeness.

    When you flip a coin 5 times in a row, the rate in which you land either heads or tails for the 6th flip will be 50%. However, our gut feeling says “this time for sure!” and we modify this with an expected value, and as a result when it lands heads we think “No way!” or when it lands tails we think “Just as I thought!” This is cognitive bias.

    As I stated in b) above, the feeling that something is strange even though it is not is our brains are trying to create a cause-and-effect relationship that we anticipate, but the rate behaves in a completely unrelated manner.

    (I’m writing this in a definitive matter, but please be aware that I am regurgitating what I read from a book.)

    Cognitive bias is similar to a bug in humans’ cognitive capability, but it seems like it’s a system that was acquired for our survival to decide things efficiently in times of emergency.

    The whole topic of cognitive bias is really fascinating, so if you are interested I recommend reading
    this book.
     
    This pretty much sums up why we often think something is up with the probability we encounter in games.
     
    Bonus info: An aspect I didn’t touch on earlier in regards to random number algorithms.

    Amongst the random number algorithms, one method that is often adopted that has a high cost to efficiency ratio is the linear congruential method; however, it’s well known by implementers that there is an issue where large bias arises.

    In fact, there was a game that mistook the use of this function, and as the sample size grew larger the more bias increased. Meaning that just because it’s a well-known method doesn’t necessarily mean that it’s proof of it being accurate.

    Additionally, even if a random number sequence is generated properly, depending on how the application uses this value, ultimately there may be cases where strange patterns arise.

    So with all of this said, this is not one big post about the evidence of the accuracy of XIV’s various probability calculations. As I mentioned that the beginning of this post, the latter portion of this long comment is mainly just chitchat, but in response to the question as to whether there is something wrong with the probability in XIV, the answer is no, there is nothing wrong.  
    (112)

  2. #2
    Player
    Parz3val's Avatar
    Join Date
    Jun 2014
    Posts
    548
    Character
    King Adunis
    World
    Coeurl
    Main Class
    Gladiator Lv 50
    True RNG with regards to Atma is utterly inequitable. One person spends 10 hours, gets all 12; another 50 hours, has only 1. SE please change. Discuss.
    (55)

  3. #3
    Player
    MasamuneBranford's Avatar
    Join Date
    Oct 2012
    Posts
    347
    Character
    Masamune Branford
    World
    Sargatanas
    Main Class
    Thaumaturge Lv 70
    Would be nice if SE came forth and said what the Atma drop percentage was - whether Gold, Silver, Bronze has an impact - etc.
    (12)

  4. #4
    Player
    Evangela's Avatar
    Join Date
    Mar 2011
    Location
    グリダニア
    Posts
    4,361
    Character
    Evangela Monterossa
    World
    Balmung
    Main Class
    Ninja Lv 90
    fix Atma if you have time to fix something else.
    (15)

  5. #5
    Player
    Parz3val's Avatar
    Join Date
    Jun 2014
    Posts
    548
    Character
    King Adunis
    World
    Coeurl
    Main Class
    Gladiator Lv 50
    Quote Originally Posted by MasamuneBranford View Post
    Would be nice if SE came forth and said what the Atma drop percentage was - whether Gold, Silver, Bronze has an impact - etc.
    They've stated it's pure RNG. I know friends who've spent 60+ hours & are only a couple or so in.

    SE, PLEASE - here forward nerf Relic Chains two steps back from current (e.g. Atma should've been eased up at Novus release; Animus should at next release)
    (22)

  6. #6
    Player
    Zarzak's Avatar
    Join Date
    Aug 2013
    Posts
    599
    Character
    Zarzak Tigerspirit
    World
    Leviathan
    Main Class
    Warrior Lv 60
    Quote Originally Posted by Parz3val View Post
    They've stated it's pure RNG. I know friends who've spent 60+ hours & are only a couple or so in.

    SE, PLEASE - here forward nerf Relic Chains two steps back from current (e.g. Atma should've been eased up at Novus release; Animus should at next release)
    pure RNG still has to have a % chance.

    How many possible numbers can the generator spit out vs how many of those result in a atma drop.
    (1)

  7. #7
    Player
    Galliano's Avatar
    Join Date
    Jul 2011
    Location
    Ul'dah
    Posts
    671
    Character
    Mog Net
    World
    Excalibur
    Main Class
    Marauder Lv 50
    Quote Originally Posted by Parz3val View Post
    They've stated it's pure RNG. I know friends who've spent 60+ hours & are only a couple or so in.
    RNG has a %. If for example atma drop rate was 5% and the computer rolled 1-100, then landing on 5 of those numbers would equal an atma drop, the other 95 would not. So you could do 5000 FATEs and never have the RNG land on those 5 numbers, at the same time someone else could do 5 FATEs and land on one of the 5 numbers every time.

    (Basic example but easy to understand).
    (2)
    Last edited by Galliano; 07-29-2014 at 11:19 PM.

  8. #8
    Player
    IndigoHawk's Avatar
    Join Date
    Aug 2013
    Posts
    276
    Character
    Yslera Ravshana
    World
    Cactuar
    Main Class
    Gladiator Lv 60
    Human use "better than safe sorry" and "common sense" statistics, not "A causes B".

    When an airplane crashes, people avoid air travel because "better safe than sorry". Yet air travel is the safest form of travel (much safer than cars) and one plane crashing doesn't change that. However, people feel safer driving.

    Similarly, people think real RNG is unfair. If they flip a coin once and don't get heads, it's ok. Twice and they start getting unhappy. 5 times and they believe the system is unfair because of "common sense" ... when actually 5 tails in a row is reasonable.

    One way to handle this is to make systems that aren't random, but instead cater to people's poor grasp on causality. If you flip a coin once and don't get heads, increase the chance of getting heads by 50% (so 50/50 first time, 75/25 next time, 87.5/12.5, etc). Do that each time until the person wins. They will believe the result is random and feel it was fair because they won.
    (33)

  9. #9
    Player
    whiskeybravo's Avatar
    Join Date
    Nov 2013
    Posts
    2,840
    Character
    Whiskey Bravo
    World
    Leviathan
    Main Class
    Warrior Lv 100
    Quote Originally Posted by IndigoHawk View Post

    When an airplane crashes, people avoid air travel because "better safe than sorry". Yet air travel is the safest form of travel (much safer than cars) and one plane crashing doesn't change that. However, people feel safer driving.
    I always found this comparison funny, as if it has nothing to do with there being millions of cars/drivers and only thousands of airplanes/pilots. Of course the chances of being in a car accident are higher xD
    (3)

  10. #10
    Player
    IndigoHawk's Avatar
    Join Date
    Aug 2013
    Posts
    276
    Character
    Yslera Ravshana
    World
    Cactuar
    Main Class
    Gladiator Lv 60
    Quote Originally Posted by whiskeybravo View Post
    I always found this comparison funny, as if it has nothing to do with there being millions of cars/drivers and only thousands of airplanes/pilots. Of course the chances of being in a car accident are higher xD
    You find this funny because you don't understand that safety is determined by rate of death/injury and not by quantity.

    There are more car trips than plane trips, so you are not surprised that more people die from cars than planes.
    More trips is not what makes cars more dangerous. What makes cars more dangerous is the percentage of car trips that result in deaths, compared to the percentage of air travel that results in deaths.

    The percentage of death in air travel is far lower than cars. So, if someone said, "A plane crashed yesterday. Is it safer to take a plane or a car?" ... the answer is ... the plane, because they still have a lower percentage of fatal trips.

    Cars are more dangerous to you, both because you use them more frequently AND because they have a higher injury rate.
    (2)

Page 1 of 11 1 2 3 ... LastLast