SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: The random factor

Results 1 to 8 of 8
  1. #1

    The random factor

    Hello. I would like to know how the random factor is programmed in HoN. I remember few moths ago there was a tweak patch saying that "the random will now work more randomly". Is there actually a cap for some random proc spells like Legionnaire's 2nd or the Blacksmith's stun? I mean can they theoretically proc all the time or is there like that they can proc 10 times in a row and then it is broken by a rule or is it just the random random with no limits at all?

  2. #2
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Apr 2010
    Location
    The Netherlands
    Posts
    438
    As with all computer-generated random numbers, random isn't entirely random, but only pseudo-random. These are made with a (pseudo-)random number generator. What that update did, was replace one random number generator with another, which churns out numbers that are more random.

    In short: the numbers used now are more random than before.

    Also, everything is completely random, no caps or anything.

    PS: random looks stranger the more you use it.
    The Game. You just lost it.

  3. #3
    Offline
    S2 Staff Member S2 Games Staff
    Join Date
    Jul 2009
    Posts
    33,846

    S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
    -----------------------------


    Tech Support and Customer Support: https://www.heroesofnewerth.com/support/


    Look for my highlighted text (important information) and grey text (interesting but not required information).

  4. #4
    If not mistaken the real fix S2 did was to NOT seed the RNG every frame.

  5. #5
    The psuedo random generator makes it harder to roll a yatzy

  6. #6
    Thank you, misters, I will now disappear with this precious knowledge
    btw. I saw 2 randomed ophelias today (only 2 randoms altogether).
    it must be easter/april

  7. #7
    Quote Originally Posted by SuperCommand View Post
    If not mistaken the real fix S2 did was to NOT seed the RNG every frame.
    I really doubt that was the problem - that would be a very rookie programming mistake.

  8. #8
    Offline
    Account Icon
    Join Date
    Mar 2011
    Posts
    145
    Quote Originally Posted by Ubuntu View Post
    I really doubt that was the problem - that would be a very rookie programming mistake.
    His Eminence Michael Burge confirmed this fact several months ago.

    He defends S2 on the basis that such a mistake likely had "// ToDo: Fix this later, just checking to see if RNG is working" above it, but attacks them on the basis that they don't take their own advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •