Currently, there are 0 users and 0 guests visiting this topic.
Viewing 6 posts - 61 through 66 (of 66 total)
  • Author
    Posts
  • #203260
    Mark70
    Participant
    @mark70
    Member

    Awesome – Thanks a lot for the update!

    #204672
    Rajo Joey
    Participant
    @joey2001
    Member

    Wow, just played a few games in VR and it was fantastic, especially the deep ot the tunnel.
    Guys, buy a headset and you will have tears of joy in your eyes while you play. :yahoo:

    Only one not important question:
    The evaluation of the points changes, if you have more than 100.000.

    Up to 99,990 the first display shows tens of thousands, from 100,000 points the first display shows hundreds of thousands.
    So my highscore 213.340 is shown as 21334.
    Is this as the table works? I never noticed that in other tables.

    #204686
    rothbauerw
    Moderator
    @rothbauerw
    ModeratorContributorMembervip

    Wow, just played a few games in VR and it was fantastic, especially the deep ot the tunnel.

    Guys, buy a headset and you will have tears of joy in your eyes while you play. :yahoo:

    Only one not important question:

    The evaluation of the points changes, if you have more than 100.000.

    Up to 99,990 the first display shows tens of thousands, from 100,000 points the first display shows hundreds of thousands.

    So my highscore 213.340 is shown as 21334.

    Is this as the table works? I never noticed that in other tables.

    No, that’s not how it should work.  It’s an issue with the score coding.  I think you can fix it by doing a find and replace.

    Change

    B2SSetScore

    to

    B2SSetScorePlayer

     

    Current Project: Perpetual updates of VPX physics.

    1 user thanked author for this post.
    #204730
    bord
    Moderator
    @bord
    MembervipContributorModerator

    @rothbauerw, scoring script looks like this:

    Sub AddScore(x)
    If TableTilted = 0 Then
    PrevScore(Player) = Score(Player)
    ‘ if isScoring() = 0 Then
    If x = 10 Then
    Play10Bell
    ‘ CheckForRoll(10)
    Score(Player) = Score(Player) + 10
    AdvMatch
    ElseIf x = 100 Then
    Play100Bell
    ‘ CheckForRoll(100)
    Score(Player) = Score(Player) + 100
    ElseIf x = 1000 Then
    Play1000Bell
    ‘ CheckForRoll(1000)
    Score(Player) = Score(Player) + 1000
    End If
    ‘ End If
    CheckFreeGame
    End If
    EVAL(“ScoreReel”&player).setvalue score(player)
    If B2SOn Then Controller.B2SSetScore Player,Score(Player)
    End Sub

    Couldn’t quite figure out the fix.

    • This reply was modified 1 month, 2 weeks ago by bord.
    #204887
    Rajo Joey
    Participant
    @joey2001
    Member

    No, that’s not how it should work. It’s an issue with the score coding. I think you can fix it by doing a find and replace. Change B2SSetScore to B2SSetScorePlayer

    I tested it with one player and it seems to work.

    I change the lines 191-194 to:

    Controller.B2SSetScorePlayer 1,Score(1)
    Controller.B2SSetScorePlayer 2,Score(2)
    Controller.B2SSetScorePlayer 3,Score(3)
    Controller.B2SSetScorePlayer 4,Score(4)

    Line 1029 to:

    If B2SOn Then Controller.B2SSetScorePlayer Player,Score(Player)

    Lines 1303-1306 to:

    Controller.B2SSetScorePlayer 1,0
    Controller.B2SSetScorePlayer 2,0
    Controller.B2SSetScorePlayer 3,0
    Controller.B2SSetScorePlayer 4,0

    I hope, that this is correct. :unsure: :scratch:

    #211423
    BeachBumTN
    Participant
    @beachbumtn
    Member

    Magnificent as always bord. This is a beauty – thank you!

Viewing 6 posts - 61 through 66 (of 66 total)
  • You must be logged in to reply to this topic.

©2020 VPinBall.com

Log in with your credentials

or    

Forgot your details?

Create Account

The Vpinball app

FREE
VIEW