questions

Forum > Questions > block chance
Reply To Thread (login)
zipter11 [94]
2011-07-15 20:11:52
[13 years, 136 days ago]

Ender, just wondering from previous suggestion from Off, is the block chance functioning correctly?


 
Ender [1]
Administrator
2011-07-15 20:14:36
[13 years, 136 days ago]

Link? It's been functioning correctly all along as far as I know.


 
zipter11 [94]
2011-07-15 20:17:13
[13 years, 136 days ago]

http://bots4.net/forum/7/1808


 
Ender [1]
Administrator
2011-07-15 20:31:09
[13 years, 136 days ago]

Oh, I didn't read much of that thread after reading the OP to be honest.

I've looked at the code and it looks right to me, but mistakes happen. If you think block isn't working correctly, you can take a large number of trials and see how close this value comes to the expected block probability. Emanuel's addons could probably help with this task.


 
zipter11 [95]
2011-07-15 22:14:43
[13 years, 136 days ago]

well i dont have time to do more at the moment but i just did 100 trains and came up with 51.08% block. My bot has a block chance of 58.63%, I realize that 100 is not that much of an amount to run this test though


 
Saiyan Z [139]
2011-07-16 07:21:16
[13 years, 136 days ago]

I just did a few hundred trains and my blockrate is around 5% as expected.

Think this will explain some of the discrepancy. Shields now take damage and their blockchance is decreases by 1% for each time damaged. This will have an effect on the final blockrate. You'll never have as much blockrate as that shown in the workshop.


 
Agile Azrael [114]
2011-07-16 09:15:46
[13 years, 136 days ago]

Mine seems to be right on target


 
Saiyan Z [139]
2011-07-16 15:26:56
[13 years, 135 days ago]

Did 1500 trains. Blockrate is almost spot on. 4.982% actual vs 5% expected.


 
Off [115]
2011-07-17 04:20:57
[13 years, 135 days ago]

what's the point of doing trains on str bot which had no problems with blockchance? The shit is happening with dexies and balanced ones :D


 
Ender [1]
Administrator
2011-07-18 17:21:51
[13 years, 133 days ago]

Ah yes Saiyan, good point about losing block from shield damage. You'll lose 1% block every time your shield takes damage. And that's a percentage of the shield's block...so one hit to a 50% block shield takes away 0.5% block.


 
Mainor [73]
2011-07-18 19:36:22
[13 years, 133 days ago]

my block (on my dex bot) seems to be really close to what it's supposed to be too. I guess you're on your own zipter...


 
zipter111 [61]
2011-07-18 21:24:03
[13 years, 133 days ago]

wasnt saying that it was wrong...


 
Forum > Questions > block chance
Reply To Thread (login)