Adding commas to UltraDMD Score

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #106703
    outhere
    Moderator
      @outhere
      MemberContributorvipModerator

      https://www.vpforums.org/index.php?showtopic=38755&p=419373

      #106705
      Wizball
      Participant
        @wizball

        Note the discussion below the linked post that, due to a bug in UltraDMD, this only works on machines that have English locales. If you use the DisplayScoreboard00 function, you will break the table for many users while it might work for you.

        #106710
        Thalamus
        Moderator
          @thalamus
          ContributorMemberModerator

          Seems JP found a way around that.

          #106715
          Wizball
          Participant
            @wizball

            Yes, but JP’s way involved changing the locale settings in Windows. That is not something you can expect from the end user. I would recommend something like this to prevent crashes from locale settings:

            Dim bEnglishNumberFormat
            Sub Table1_Init
            ' Add this to the other code that goes in your table initialization
                If FormatNumber(1000,0) = "1,000" Then
                    bEnglishNumberFormat = True
                Else
                    bEnglishNumberFormat = False
                End If
            End Sub
            Sub DMD_DisplayScoreboard
                If bEnglishNumberFormat = True Then
                    UltraDMD.DisplayScoreboard00 cPlayers, highlightedPlayer, score1,_
                    score2, score3, score4, lowerLeft, lowerRight
                Else
                    UltraDMD.DisplayScoreboard cPlayers, highlightedPlayer, score1,_
                    score2, score3, score4, lowerLeft, lowerRight
                End If
            End Sub
            #106716
            randr
            Keymaster
              @randr
              ModeratorMember

              This is good info. Ultradmd is really only way to display on a real dmd such a shame that the developer has not been around to update it. Could really be great with a few updates. Is it open source?

              ********************************************************
              Messing with the VPinball app and push notifications.
              So if you haven't downloaded app yet what are you waiting for!?
              for IOS and Android

              ********************************************************

              #106717
              Thalamus
              Moderator
                @thalamus
                ContributorMemberModerator

                I must admit. I’m not sure. You have UltraPeepi and Tom Speirs having source available over at bitbucket. I guess this is UltraPeepi’s repo https://bitbucket.org/srakonza/ultradmdand this is Tom’s … xdmd  https://bitbucket.org/tspeirs/xdmd/overview

                It is kind of confusing. With the one in all installert, the folder is xdmd containing ultradmd.

              Viewing 6 posts - 1 through 6 (of 6 total)

              Forums are currently locked.

              ©2024 VPinBall.com

              Log in with your credentials

              Forgot your details?