Pages:
Actions
  • #1 by eelhead on 06 Nov 2018
  • Hi all, I am trying to create a trigger that checks current score in HT but I am having some issues. I am using selection contains market_score1 - market_score2. It works most of the times but often the trigger place the bet on another score than the HT score. I get the imporession the trigger place the bet on the favorite selection instead of current correct score.

    Is there anybody who could figure out what I am doing wrong?

    Thanks all!
    Anders
  • #2 by MarkV on 06 Nov 2018
  • Hi
    the condition for the current score is:
    selections name contains "market_score1 - market_score2"

    and your trigger should be:
    first matching selection
    once per market
  • #3 by eelhead on 06 Nov 2018
  • Okay thanks! Should the " " be in the condition as well? Could it be that Test mode sometimes return the wrong value?

    Another question, what is the best condition for HT in soccer. Now I am using :

    Selection's trigger expression match_minute is between 45 and 46.

    Is that correct?
  • #4 by MarkV on 06 Nov 2018
  • Hi
    Yes quotation marks to be included and one space before and after the hyphen. Should work just as well in test mode and real mode, but the score must be available for it to work. You can check the score is available by adding this condition as the first condition:
    selections trigger expression score_exists is equal to 1

    another way to do the current score is to use a block of conditions for each scoreline and the selection index. e.g. for Correct Score market:

    OR
    selections trigger expression market_score1 is equal to 0
    and selections trigger expression market_score2 is equal to 1
    and selections index is equal to 2
    OR
    selections trigger expression market_score1 is equal to 1
    and selections trigger expression market_score2 is equal to 0
    and selections index is equal to 5
    OR
    etc...

    for half-time I would use:
    markets minutes since the off is between 52 and 57
    and selections trigger expression match_minute is between 45 and 48

    because sometimes the match_minute remains at say 47 after first half added time, and then resets to 46 after the start of second half. Have a play and see what suits you best.     

       
  • #5 by eelhead on 06 Nov 2018
  • Thank you very much MarkV!
Pages:
Actions