TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    New dice server

    Scheduled Pinned Locked Moved The War Club
    38 Posts 8 Posters 14.6k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RoiEXR Offline
      RoiEX Admin
      last edited by

      @Kindwind You can find the sourcecode here:
      https://github.com/triplea-game/dice-server/blob/1fdb8fa8866223a7b4328d6846f86fe292616dd0/src/dice.class.php#L138-L144

      1 Reply Last reply Reply Quote 1
      • C Offline
        CaptainSquareyez
        last edited by

        This is not a rant, but it is the truth.
        These dice are terrible. Me and my brother play the board game version of A&A. We NEVER get so many total misses on throws like we do in Triple A's Marti Dice. Last night, i had my go, my units missed 3 rounds of throws. I had 2 fighters and 3 infantry. My brother had a tank and 2 infantry. And he managed to kill all my infantry off coz my dice kept missing every throw til the last throw. This has been happening to me for the last 5 games. I cant even win a freaking game now because they keep going against me. Feels like they have changed in recent weeks. I used to be able to win games, now im winning none. Not fun when you keep losing. These dice are rigged! We need more servers. The chance of a total miss in a single throw out of say 5 units would be for arguments sake, 1 in 1000 throws. But a total miss in same amount of units with 3 rounds of dice being thrown, would be more like 1 in a million. These dice are BS!
        Me and my brother, are going to send each other the game file now instead of using these junk dice coz we both are fed up with Marti and its BS!
        Why is it too much to ask for more servers and more fairer dice? why the argument over creating more servers? Why not just do it?

        ubernautU 1 Reply Last reply Reply Quote 0
        • ubernautU Offline
          ubernaut Moderators @CaptainSquareyez
          last edited by ubernaut

          @captainsquareyez said in New dice server:

          The chance of a total miss in a single throw out of say 5 units would be for arguments sake, 1 in 1000 throws.

          missing with 2 fighters basically happens 25% of the time or so. missing with 3 infantry on the attack is 50/50 more or less. So your math is several magnitudes of order off.

          there is a dice stats feature in the game which gives you a report of hits versus expected hits for each round, as well as another that gives totals for each number, rolled over the course of the game.

          many have made these claims in the past but none has ever been substantiated with the evidence that would be convincing.

          "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            CaptainSquareyez @ubernaut
            last edited by

            @ubernaut said in New dice server:

            missing with 2 fighters basically happens 25% of the time or so. missing with 3 infantry on the attack is 50/50 more or less. So your math is several magnitudes of order off.

            there is a dice stats feature in the game which gives you a report of hits versus expected hits for each round, as well as another that gives totals for each number, rolled over the course of the game.

            many have made these claims in the past but none has ever been substantiated with the evidence that would be convincing.

            Like i said, "for arguments sake", meaning im not saying that to be literal. And even you could be a magnitude off. Dice, are random. These programmed dice, are just that, programmed and can be done so in anyway the coder sees fit.
            Getting back on track, my point here was anyway, why is it a debate with people that want different dice servers? I've read this entire thread and seems like we're getting a constant "no, not gonna happen". Why? Is it a bad idea to for us to have a selection? Surely it cant be that hard to say "sure, we can do that, implement different servers."
            We're not asking to change the game OR dice, just give us more options. Guess its too hard to do though

            ubernautU 1 Reply Last reply Reply Quote 0
            • ubernautU Offline
              ubernaut Moderators @CaptainSquareyez
              last edited by

              @captainsquareyez said in New dice server:

              Why?

              because it has not been established that there is an actual problem and our developer resources are extremely limited to invent a new dice server without any indication that it would improve anything

              Is it a bad idea to for us to have a selection?

              you do, you can use the local dice roller, but that involves trusting the other party to be fair and not reroll bad outcomes.

              "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

              TheDogT C 2 Replies Last reply Reply Quote 0
              • TheDogT Offline
                TheDog @ubernaut
                last edited by

                Here is my dice stats, for a local game me v 5 AI.
                Found by Game> Show Dice Stats

                3419ed42-1d11-44b9-8142-cbf28750a9cf-image.png

                Looking at the Total block.
                There are almost 960 rolls, meaning that each number on average should be rolled 160 times.

                The internal dice roller looks fine to me.

                https://forums.triplea-game.org/tags/thedog
                https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  CaptainSquareyez @TheDog
                  last edited by CaptainSquareyez

                  @thedog said in New dice server:

                  Here is my dice stats, for a local game me v 5 AI.
                  Found by Game> Show Dice Stats

                  3419ed42-1d11-44b9-8142-cbf28750a9cf-image.png

                  Looking at the Total block.
                  There are almost 960 rolls, meaning that each number on average should be rolled 160 times.

                  The internal dice roller looks fine to me.

                  Throw REAL dice and see if it works out like that. Bet it dont.
                  Also, im talking about the Marti dice, not the builtin dice for local dice. The builtin dice are better than the marti dice!

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CaptainSquareyez @ubernaut
                    last edited by

                    @ubernaut said in New dice server:

                    @captainsquareyez said in New dice server:

                    Why?

                    because it has not been established that there is an actual problem and our developer resources are extremely limited to invent a new dice server without any indication that it would improve anything

                    Is it a bad idea to for us to have a selection?

                    you do, you can use the local dice roller, but that involves trusting the other party to be fair and not reroll bad outcomes.

                    Yeah i can tell dev resources are lmited coz of the amount of bugs in some of the games. But at least we now know why there wont be any new dice servers. Guess i will just go back to the board game version where dice throws are more realistic and dont miss 3 or 4 times in a row

                    ubernautU 1 Reply Last reply Reply Quote 0
                    • ubernautU Offline
                      ubernaut Moderators @CaptainSquareyez
                      last edited by

                      @captainsquareyez i'm sorry you feel that way but the number the dog put up and my own experience with marti doesn't support your claims. if you can provide evidence to the contrary i'm sure the priority would be made. 🙂

                      "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        CaptainSquareyez @ubernaut
                        last edited by CaptainSquareyez

                        @ubernaut Dont get me wrong, im not having a go at you, i just think these dice are horrible. Maybe they're bugged, i dont know, maybe its defender favored.

                        So you think its normal to get 3 rounds of misses in a row? Infantry i can understand coz they throw at 1. But, it doesnt really matter what number they throw at, there is always a 1 in 6 chance of throwing that number you need. But i think logic would say, the more units you have, the more chance you would also have in throwing more of required numbers, which would also lower the chance of getting total misses or 1 lousy hit. But that does not seem to be the case. It sounds like what you have said to me, these dice go by a percentage. Well, thats not random is it? Or am i misinterpreting what you're saying?

                        Heres some examples of dice marti has thrown me. Im going by a current game, starting at round 1. Will see if i can find that round where i missed 3 times in a row,(found it, its actually 4 times in a row i missed) :
                        Germans roll dice for 1 armour, 1 bomber, 2 fighters and 3 infantry in Karelia S.S.R., round 2 : 1/7 hits, 2.67 expected hits
                        1 lousy hit out of 7 units. When i have 2 fighters a tank and bomber.

                        Germans roll dice for 2 artilleries and 2 infantry in East Poland, round 2 : 1/4 hits, 1.33 expected hits
                        Again, 1 hit even though the infantry are now boosted to attacking at 2 instead of 1 by the artilleries.

                        Germans roll dice for 3 armour and 2 infantry in Ukraine, round 2 : 1/5 hits, 1.83 expected hits
                        3 tanks and 1 hit? So im starting to think there is a 99% chance of the infantry always missing when attacking.
                        The above 3 are from round 1, so a new game.

                        Germans roll dice for 2 armour, 1 fighter and 4 infantry in Karelia S.S.R., round 2 : 1/7 hits, 2.17 expected hits
                        Seeing a pattern here yet? This is from 1 game, the Germans turn. This one is from round 2 of the same game.

                        Here it is, so, same game, round 3 of the game, i miss completely 4 throws in a row, and yet, British only had 1 tank. How is it that he had better luck to get 3 hits over 4 throws then what i did in 5 throws? Can you now see why i think these dice are horrible? Can you see why i think they are defender favored, or even bugged?
                        Also, im not sure how "expected hits" work, to me it means you got whats expected. So, when you miss it should be reading as "0 expected hits", shouldnt it?
                        Germans roll dice for 2 fighters and 3 infantry in France, round 2 : 0/5 hits, 1.50 expected hits
                        British roll dice for 1 armour in France, round 2 : 1/1 hits, 0.50 expected hits
                        1 infantry owned by the Germans lost in France
                        Germans roll dice for 2 fighters and 2 infantry in France, round 3 : 0/4 hits, 1.33 expected hits
                        British roll dice for 1 armour in France, round 3 : 0/1 hits, 0.50 expected hits
                        Germans roll dice for 2 fighters and 2 infantry in France, round 4 : 0/4 hits, 1.33 expected hits
                        British roll dice for 1 armour in France, round 4 : 1/1 hits, 0.50 expected hits
                        1 infantry owned by the Germans lost in France
                        Germans roll dice for 2 fighters and 1 infantry in France, round 5 : 0/3 hits, 1.17 expected hits
                        British roll dice for 1 armour in France, round 5 : 1/1 hits, 0.50 expected hits
                        1 infantry owned by the Germans lost in France
                        Germans roll dice for 2 fighters in France, round 6 : 2/2 hits, 1.00 expected hits
                        Then finally i get a couple of hits. Sorry, but i still think there is something not right with these dice.

                        How many units do i need to get more than 1 hit? Or to not miss 4 times in a row?
                        I would be more understanding if it was 1 infantry on 1 infantry missing all the time. But when multiple units are in play and we get constant misses, then something is not right. And even to get only 1 lousy hit on a regular basis is just wrong as well, no one is that unlucky

                        You said this to me yesterday, "missing with 2 fighters basically happens 25% of the time or so"
                        Well, i missed 99% of the time in that last round. 4 times out of 5 throws. And with 5 units. Against 1 unit.

                        ubernautU 2 Replies Last reply Reply Quote 0
                        • ubernautU Offline
                          ubernaut Moderators @CaptainSquareyez
                          last edited by

                          @captainsquareyez honestly, the action you are outlining is a bit hard to follow seems like you are picking certain battles that had bad outcomes. to truly demonstrate a problem i think you'd have to give enough complete rounds of results (for both sides) to show that you're consistently getting results that different from what would be expected.

                          expected hits gives you the number of hits expected so in the first example the 2 armour give 1 (1/2 each), the fighter and 3 of your infantry give you the second 1 for a total of 2, the last remaining infantry gives you the .17 remainder (1/6).

                          "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                          C 1 Reply Last reply Reply Quote 0
                          • ubernautU Offline
                            ubernaut Moderators @CaptainSquareyez
                            last edited by

                            @captainsquareyez also, would be helpful if you can share your dice stats screen that gives you the total results of all dice rolls for any game.

                            "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              CaptainSquareyez @ubernaut
                              last edited by

                              @ubernaut Fair enough. But i still dont think we should be getting so many complete misses like that, especially 4 in a row with multiple units. Just go through a thread with my gamertag on it in Axisandallies.org. It does feel like its too frequent.

                              ubernautU 1 Reply Last reply Reply Quote 0
                              • ubernautU Offline
                                ubernaut Moderators @CaptainSquareyez
                                last edited by

                                @captainsquareyez reality is streaky oftentimes. a single bad battle can in some cases decide a game.

                                "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                                TheDogT C 2 Replies Last reply Reply Quote 0
                                • TheDogT Offline
                                  TheDog @ubernaut
                                  last edited by TheDog

                                  @CaptainSquareyez
                                  If the map/scenario supports Low Luck try that in the Map Options.

                                  https://forums.triplea-game.org/tags/thedog
                                  https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                  C 1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    CaptainSquareyez @TheDog
                                    last edited by

                                    @thedog tried it, thats even worse again, seems to favor defender even more

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      CaptainSquareyez @ubernaut
                                      last edited by CaptainSquareyez

                                      @ubernaut yeah, again, fair enough, a game every now and then, yeah sure. But just about every game? No, i dont think so. Out of a dozen games, i have lost nearly all of them due to your so called "bad battles". Again, look at the posts. Guess you didnt even look though,right? Not unless you sped read thru pages worth of rolls and games.
                                      But i get it, you are set in your ways that is absolutely nothing wrong with the dice. You ask for evidence and quickly dismiss it. Keep your broken dice. Im done! A good developer listens to their community. You tell us to show evidence, and you quickly dismiss it.

                                      LaFayetteL 1 Reply Last reply Reply Quote 0
                                      • LaFayetteL Offline
                                        LaFayette Admin @CaptainSquareyez
                                        last edited by

                                        @captainsquareyez Pointing out flaws in statistics requires large data sets. That means 100s and 1000s of examples. 20 examples can just be variation.

                                        One should also keep in mind it's more important to look at deviation from the expected rolls than the exact roll. For example, you might expect 6 hits, but only get 4, the odds of a -2 or worse could be quite good. If you compute the odds of exactly 4 hits, it's a misleading probability. That's one key, the odds that are more interesting is that many hits or fewer, not just that many hits.

                                        Another thing to keep in mind is that conditional probably is not intuitive. The probability tree could depend significantly on initial outcomes that have higher probability than the total. AA is a good example, there might be 100 possible outcomes in a battle with 90 going for the attacker and 10 going for the defender. Now, if the AA hits, then the subtree that remains has perhaps 12 branches, with 9 of those going for the defender and 3 for the attacker. So while the initial odds were 90% for the attacker, if the AA hits then suddenly the battle is a 25%, and on the flip side if the AA misses then it's probably a 98% battle. So that 90% is misleading, it's actually a 1/6 chance that you'll get a battle where the defender is overwhelming likely to win, that is twice as likely as a 10% chance would have you think. So in part, the problem is remaining in battles where the initial rolls are against you, it flips the odds and then remaining in the battle is an expected loss.

                                        With all that said, the source code is open, MARTI uses the mersenne-twister algorithm to generate random numbers.

                                        C 1 Reply Last reply Reply Quote 1
                                        • C Offline
                                          CaptainSquareyez @LaFayette
                                          last edited by CaptainSquareyez

                                          @lafayette The one thing i think you are missing, is i keep mentioning how it keeps happening. zero hits or 1 hit back and forth, back and forth, back and forth. But, dont listen, dont care anymore. A game is not fun when you keep losing due to bad throws constantly. But, theres absolutley nothing wrong with these dodgy dice!
                                          Edit, just to be clear i have managed to win a couple of games, but they seem to be rare due to the dice keep giving me cruddy outcomes.

                                          LaFayetteL 1 Reply Last reply Reply Quote 0
                                          • LaFayetteL Offline
                                            LaFayette Admin @CaptainSquareyez
                                            last edited by

                                            @captainsquareyez That's the game, it depends heavily on dice. I can give you examples where in real world dice I got unbelievably bad odds and had runs of games where I "lost" due to that.

                                            Are the dice actually "dodgy", seemingly not as much as you describe, but perhaps are to some extent, it's unclear. One also cannot rule out confirmation bias from the examples given. Notably, how about all the other battles where you got really decent dice? Then when it counts, the battles you really want to win, instead you had the more variable dice rolls there.

                                            Overall, constructive criticism and research is welcome. Bitching about a run of 3 bad games is not helpful. GL, sorry you are feeling frustrated with the dice.

                                            C 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums