Pages:
Actions
  • #1 by zanpo on 30 Jan 2017
  • Is there any variable for the difference in tennis set score? For example in my image the difference in the second set is 3, and I don't know which variable calculates this difference.
    Thanks!
  • #2 by mcbee on 30 Jan 2017
  • hi
    you will find all the tennis conditions in selections trigger expression then select market variables.

    mcbee
  • #3 by zanpo on 30 Jan 2017
  • Yes...I only have these variables, but nothing about set points difference  :(
  • #4 by mcbee on 30 Jan 2017
  • hi
    all you have to do is tennis_player1_points_won-tennis_player2_points_won

    mcbee
  • #5 by zanpo on 30 Jan 2017
  • Thanks for the info!  ;)
  • #6 by zanpo on 31 Jan 2017
  • Also, is there a variable for the set number winner? For example in the image attached, the set 1 winner is Kristina, and I need a variable that remembers her as the winner of the set. Most variables look at the index of the player rather than the winner.
  • #7 by mcbee on 31 Jan 2017
  • hi
    you would have to create a variable to record IF(tennis_player1_setsc1>tennis_player2_setsc1,1,2)
    so if player 1 points are greater than player 2 then 1 else 2
    you are now entering complicated conditions , if you need a free trigger completed please use this link, then you will be able to see the conditions and learn.

    https://community.welldonesoft.com/marketfeeder-make-me-a-trigger/

    mcbee
  • #8 by zanpo on 31 Jan 2017
  • Well this is weird, I used a user variable named setwinner with the value IF(tennis_player1_setsc1>tennis_player2_setsc1,1,2)


    And in this game, tennis_player1_setsc1 is indeed greather than tennis_player2_setsc1, and my variable shows result 2, meaning that it's false. What is going on here?
  • #9 by mcbee on 31 Jan 2017
  • hi
    not sure, i will have to test them in a day or so,i am busy for a few days.

    will get back to you
    mcbee
  • #10 by zanpo on 31 Jan 2017
  • Ok, no worries, thanks! :)
  • #11 by mcbee on 02 Feb 2017
  • hi
    could you please include your trigger so that i can test exactly as it is.

    mcbee
  • #12 by zanpo on 02 Feb 2017
  • Sure, here it is
  • #13 by mcbee on 03 Feb 2017
  • hi
    the reason why you have conflicting results and variable difference is because you have the variable setwinner set to global , this means that the variable looks at all markets at once.
    please change setwinner to Individually for each market.

    thank you
    mcbee
  • #14 by zanpo on 03 Feb 2017
  • Oh, didn't realise that, thank you mcbee
Pages:
Actions