lost prior functionality after updating

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #99608
    fusionwerks
    Participant
      @fusionwerks

      hey, im hoping somebody will know the answer to this.

      I have a WIP that was created prior to pinup version 1.3. All the scripting was done based on that era. Now that i have updated to version 1.3 i have lost some of the functionality on my table.

      anything that refers to pDMDSplashBig or pDMDSplashLines do not work anymore with the number of arguments.

      Example:

      This works:

      pDMDSplashBig “Game Over”, 2, 12632256, 1

      This does not:

      pDMDSplashBig “Game Over”, 2, 12632256, 0

      the last number tells it to blink or not. What do i need to put here to make it show up, but not blink or scroll?

      #99610
      NailBuster
      Moderator
        @nailbuster
        ModeratorMember

        I think you’re talking about PuPDMD functionality?

        download this sample vpx/demo and see tablescript at bottom for new/updated functions.

        http://www.nailbuster.com/pup/PuPDMDSample.zip

        #99613
        fusionwerks
        Participant
          @fusionwerks

          Sigh. I think so. So are you basically telling me that now that i updated, (as well as anyone else) none of the v1.2 scripting will work? I need to completely redo everything relating to the dmd?

          #99615
          NailBuster
          Moderator
            @nailbuster
            ModeratorMember

            Im not basically telling you anything.  i sent you the sample code to compare to what you are doing… nothing has changed between 1.2 to 1.3 about this.

            the splash function you are talking about never had 4 parameters… so perhaps you changed it in your script.  these are just helper functions.

             

             

             

             

             

            #99620
            fusionwerks
            Participant
              @fusionwerks

              your right! When JP and i were trying to figure this out, he must have “adjusted” the helper function to keep it from blinking. This is what he did:

              Sub pDMDSplashBig(msgText, timeSec, mColor, Blink)
              PuPlayer.LabelShowPage pDMD, 2, timeSec, “”
              PuPlayer.LabelSet pDMD, “Splash”, msgText, 0, “{‘mt’:1,’at’:” & Blink & “,’fq’:150,’len’:” & (timeSec * 1000) & “,’fc’:” & mColor & “}”
              end sub

              so… i replaced it back to the default and everything shows, but now stuff that i dont want to blink blinks. Is there a helper that doesnt blink text?

              #99624
              Thalamus
              Moderator
                @thalamus
                ContributorMemberModerator

                Sure. If you copy the sub that JP made and change its name to dontblinkstupid, and call that instead when you don’t want it to blink :)

                #99628
                fusionwerks
                Participant
                  @fusionwerks

                  um…thanks? i think you missed the point. If i have it set up the way it is above it doesn’t show up at all, so changing the name of the sub wont help. I may just change the frequency(fq) to a higher number that is longer than the text will be displayed.

                  #99631
                  Thalamus
                  Moderator
                    @thalamus
                    ContributorMemberModerator

                    Ah. Ok. I thought you said it didn’t blink – sorry.

                    #99633
                    NailBuster
                    Moderator
                      @nailbuster
                      ModeratorMember

                      this is pseudo code..

                      Sub pDMDSplashBig(msgText, timeSec, mColor, Blink)

                      PuPlayer.LabelShowPage pDMD, 2, timeSec, “”

                      if Blink = 1 then
                      PuPlayer.LabelSet pDMD, “Splash”, msgText, 0, “commands from my vpx”

                      else

                      PuPlayer.LabelSet pDMD, “Splash”, msgText, 1, “”

                      end sub

                      #99636
                      fusionwerks
                      Participant
                        @fusionwerks

                        i’ll give it a go, thanks guys

                        #99638
                        fusionwerks
                        Participant
                          @fusionwerks

                          that did what i needed with an “end if” in there. Thanks NB!

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

                        Forums are currently locked.

                        ©2024 VPinBall.com

                        Log in with your credentials

                        Forgot your details?