Page 1 of 18 1 2 3 11 ... LastLast
Results 1 to 10 of 175

Thread: Pseudo Random Distribution

  1. #1
    Basic Member
    Join Date
    Nov 2011
    Posts
    78

    Pseudo Random Distribution

    For those of you who played DotA 1 and knew a bit about mechanics, you may have heard of PRD (Pseudo Random Distribution).

    For those of you who don't know, its an algorithm used in the Warcraft 3 Engine (specifically for bashes and criticals) that makes it less luck based and more likely to fit the probability.

    For example... (this is not 100% accurate)

    Let's say you have a 25% chance to bash.

    On your first hit, your chance to bash is ~10%.

    The second, ~23%.

    Third, ~38%.

    Fourth ~55%.

    As you can see, your chance starts out lower than the initial probability, and increases for each UNSUCCESSFUL bash that occurs, once a bash occurs, the counter is reset back to the original 10%.

    Quote Originally Posted by MDuh View Post
    a little bump

    So I was really intrigued by this thread and decided to test it myself. I took out my notes, skim through vb.net notes and made a windows service that monitors "Sound levels"(through stereo mix) outputted in the computer.
    The simple windows service appends a line to a log file when a certain sound wave reaches a level peak..

    when a sound reaches n% of sound level is reached, it will log something

    so what I did is,
    1) create a private game and turn cheats on
    2) start the game
    3) chosed Dragon Knight
    4) Leveled him up to "25"
    5) bought 2x Heart of Tarrasque and 4x Bloodstone
    6) spawned 2 dark seers, 1 allied, 1 enemy; picked vacuum skill
    7) spawned Slardar (enemy); leveled it to lvl 7; Leveled bash up to lvl 4.
    8) spawned Witch Doctor (ally); leveled it to 25; Leveled VooDoo Restoration up to level 4; bought: 2x Guinsoo and 4xBloodstone
    9) in every lane of dire and radiant near the tier 3 tower, I spawned 2 fountains so no creeps can push and possibly end the game..
    10) Vacuumed Dragon Knight, Witch Doctor and Slardar in the bottom cliff near the bottom rune (Reason: that place the hast the most quiet ambient noise)
    11) Run a Calibration test to determine the threshold of the sound when Slardar Proc'ed a Bash and normal attacks
    12) Cleared the log file
    13) Let slardar attack Dragon Knight Continuously
    14) Ran the Test while I'm sleeping

    Note: Voices, Commentator are disabled so when a tower is destroyed, no voice will pop-up

    Here is the log file that the program recorded
    http://pastebin.com/download.php?i=nLUxx09Z

    The test logged 16,880 attacks;
    The results was somewhat disappointing.
    out of 16,880 attacks
    Slardar only Proc'ed his bash 2,534 times
    Based on the results of the test, the Actual Stun Percentage was only: 15%
    LVL 4 Slardar's bash is rated at 25% chance.
    Maximum Miss Streak: 60
    Maximim Bash Streak: 4

    Immediately there, I stopped analyzing and wondered, Did my program has flaws? Is my methodology for data gathering incorrect?
    I'm not sure but I spent 2 hours of testing the program to really see if it is reliable for data gathering and not even once it has a incorrect detection.
    So for me, Dota 2's RNG is prolly flawed

    I'll update this for a graph of chance vs stun streak of slardar

    I'm curios to see Diabolic's test (who promised to will release numbers for this) if his test will vary or not..
    Quote Originally Posted by MDuh View Post
    SLARDAR LVL 3 BASH TEST

    Steps:
    1) create a private game and turn cheats on
    2) start the game
    3) chosed Dragon Knight
    4) Leveled him up to "25"
    5) bought 2x Heart of Tarrasque and 4x Bloodstone
    6) spawned 2 dark seers, 1 allied, 1 enemy; picked vacuum skill
    7) spawned Slardar (enemy); leveled it to lvl 5; Leveled bash up to lvl 3.
    8) spawned Witch Doctor (ally); leveled it to 25; Leveled VooDoo Restoration up to level 4; bought: 2x Guinsoo and 4xBloodstone
    9) in every lane of dire and radiant near the tier 3 tower, I spawned 2 fountains so no creeps can push and possibly end the game..
    10) Vacuumed Dragon Knight, Witch Doctor and Slardar in the bottom cliff near the bottom rune (Reason: that place the hast the most quiet ambient noise)
    11) Run a Calibration test to determine the threshold of the sound when Slardar Proc'ed a Bash and normal attacks
    12) Cleared the log file
    13) Let slardar attack Dragon Knight Continuously
    14) Ran the Test while I'm sleeping

    Note: Voices, Commentator are disabled so when a tower is destroyed, no voice will pop-up

    Here is the log file that the program recorded
    http://pastebin.com/8atb1kag

    The test logged 14,583 attacks;
    The results is intriguing.
    out of 14,583 attacks
    Slardar Proc'ed his bash 3,183 times which is higher than LVL 4 should supposed to bash
    Based on the results of the test, the Actual Stun Percentage was: 21.5182%
    LVL 3 Slardar's bash is rated at 20% chance.
    Maximum Miss Streak: 34
    Maximim Bash Streak: 5

    Level 4 Bash Test: http://dev.dota2.com/showthread.php?...l=1#post113392


    From the data you can see that sometimes there are large gaps between you getting bashes, PRD can almost completely eliminate the extreme circumstances and make it more accurate.

    As far as I have witnessed, this is NOT in Dota 2, and I am assuming it is intended not to be, but I would like to see other's views on if they should apply it to Dota2 as well.

    In my honest opinion, it SHOULD be. It is still slightly luck based, but not completely. The less complete randomness that happens the better in my opinion.
    Last edited by Blarrg; 02-29-2012 at 07:56 PM.

  2. #2
    Basic Member
    Join Date
    Dec 2011
    Posts
    55
    [EDIT] reply no longer relevant
    Last edited by Zanez; 11-29-2012 at 04:47 PM.

  3. #3
    Basic Member
    Join Date
    Nov 2011
    Posts
    78
    Considering how much I've witnessed bashes and criticals occur in Dota 2, I can pretty safely assume it is not in Dota 2. I'd say I'm 95% sure.


    And I see your logic, reply to the thread with no valuable information or opinion on the matter at hand, I see, I see.

    Please don't waste your time replying if you don't have anything meaningful to contribute.

  4. #4
    Basic Member
    Join Date
    Dec 2011
    Posts
    55
    [EDIT] Reply no longer relevant
    Last edited by Zanez; 11-29-2012 at 04:47 PM.

  5. #5
    Basic Member
    Join Date
    Nov 2011
    Posts
    78
    Whats wrong with anecdotal evidence?

    I don't know if you know how probability and percentage works but there is no possible way to say "There is PRD" based on any data that I would provide, because it is CHANCE based either way. The only way to confirm it is to have someone with access to the code confirm it.

    Now please be a good little feedback provider and actually provide feedback, instead of harassing people trying to suggest improvement. If it truely DID exist in Dota 2 already, then leave it up to a mod or admin to close the discussion.

    Watch your hostility by the way buddy

  6. #6
    Basic Member Mr.Evo's Avatar
    Join Date
    Feb 2012
    Location
    Germany
    Posts
    1,681
    In my opinion this topic is worth to be discussed. I didn't experience this yet, but if OP is right and PRD isn't implented yet it should be implented.
    Thats why Zanez is right too. We need to test this, we need the stats or even confirmation from a Dev to solve this issue.

  7. #7
    Basic Member
    Join Date
    Nov 2011
    Posts
    34
    Quote Originally Posted by Zanez View Post
    You have no statistics to provide. I have not noticed this being a problem, or even significantly different from Dota1 at all... You have brought absolutely nothing to the table... just your anecdotal evidence against mine. The difference is, you have the burden of proof. The good news is, this is very simple to provide... so be a good little beta tester, go into dota 1, and play some games against bots with the heroes of your choice, and then load up dota 2 with the same heroes against some bots, and compare data. Bring back compiled evidence and data, and record them here. THAT would be something meaningful to contribute. Until you do that, you have nothing.
    Please do us a favor and go read this wonderful discussion regarding RNG and actual data compiled and recorded. It has been proven that RNG is working as intented HOWEVER doesn't make sense (especially for Slardar and Axe) over 16,000 attacks for each level acquired.

    http://dev.dota2.com/showthread.php?t=20582
    Quote Originally Posted by Blarrg View Post
    Whats wrong with anecdotal evidence?

    I don't know if you know how probability and percentage works but there is no possible way to say "There is PRD" based on any data that I would provide, because it is CHANCE based either way. The only way to confirm it is to have someone with access to the code confirm it.

    Now please be a good little feedback provider and actually provide feedback, instead of harassing people trying to suggest improvement. If it truely DID exist in Dota 2 already, then leave it up to a mod or admin to close the discussion.

    Watch your hostility by the way buddy
    Have a good read with link above!
    Last edited by Sandy; 02-29-2012 at 06:19 PM.

  8. #8
    Basic Member
    Join Date
    Nov 2011
    Posts
    78
    I don't think there is anything too off about the RNG currently, except for that level 4 slardar bash.


    The point of PRD is to be appliable to small sample sizes and still give accurate results, testing it in large quantities is pointless.

    Also you can tell by the data given there (miss streaks of 36 and higher), that PRD is definitely NOT in play in Dota 2.

    Actually I'll think I'll put that data in my OP.

  9. #9
    Basic Member
    Join Date
    Jan 2012
    Posts
    1,318
    Is there such a thing as 'too random'?

    I think so. Something just feels off about the %to occur things in this game, crits/bashes/counter helixes, in comparison to dota 1.

  10. #10
    Basic Member Baloroth's Avatar
    Join Date
    Nov 2011
    Posts
    538
    Quote Originally Posted by Zanez View Post
    So your logic is "I don't think it has this, therefore it doesn't."

    K just making sure.
    Try looking up how the PRD works in DotA. It prevents (absolutely prevents) intervals of longer that 11 attacks without a proc (for abilities with 25% chance). So no, it is not being used in DOTA 2, at least not for Slardar's Bash (which it was used for in DotA), that much I can say with absolute certainty. See the guide.

    From what I remember of other tests, I recall similar behavior for other abilities (like critical strike), i.e. going longer than 11 strikes without a critical hit, but I don't have that data in front of me ATM.

Posting Permissions

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