Pages:
Actions
  • #1 by clivetwo on 29 Jun 2012
  • Hi Guys

    Is it possible to set a trigger to randomly chose 1 selection in a market?

    This may seem silly but I need to rest it out in some markets. If this is possible please help.

    Thanks
  • #2 by Tim (WellDoneSoft) on 30 Jun 2012
  • Any Selection's Index is equal to INTEGER(ABS((event_start-now_time)/0.00001157))%runner_number+1
  • #3 by clivetwo on 30 Jun 2012
  • Hi and thanks for your reply.

    I put into the conditions of the trigger for greyhound races, Any Selections Index is equal to INTEGER(ABS((event_start-now_time)/0.00001157))%runner_number+1

    but the trigger will not fire a bet, could you please tell me how to set this up correctly please.

    Thanks
  • #4 by Tim (WellDoneSoft) on 30 Jun 2012
  • Check other trigger fields (market, status, etc.) then trigger log.
  • #5 by clivetwo on 30 Jun 2012
  • Hi cant find the problem I think my trigger is not set up correctly please give me an example so that I can check against my trigger. I am using MF V6

    Thanks
  • #6 by mcbee on 30 Jun 2012
  • hi
    i do not think the formula is for v6.

    mcbee
  • #7 by Tim (WellDoneSoft) on 30 Jun 2012
  • Oh, the 6th ;(
    Then
    (now_time*10000000 - INTEGER(now_time)*10000000)%runner_number+1
  • #8 by clivetwo on 30 Jun 2012
  • Ok I have set-up MF 7 and added the trigger but there is no Any Selection's in conditions just Selection's

    I have:

    Lay: lay_price Amount ( default_laya)/(1-commission)
    Selections: All Matching Selections
    Markets: All Markets
    Market Status: All Except Settled

    CONDITTION

    Ans Selections Index is equal to INTEGER(ABS((event_start-now_time)/0.00001157))%runner_number+1

    Any clues please, Ho and I had to leave   All Except Settled because it will change but then reverts back when saved or when on exiting the editor.
  • #9 by clivetwo on 30 Jun 2012
  • where do I put Oh, the 6th ;(
    Then

    Is it like this

    AND Any Selection's index is equal to 6th ;((now_time*10000000 - INTEGER(now_time)*10000000)%runner_number+1
  • #10 by Tim (WellDoneSoft) on 30 Jun 2012
  • Here the triggers.
  • #11 by clivetwo on 30 Jun 2012
  • Here the triggers.


    Thank you so much for this help, the trigger is firing fine but all it is doing is laying the favourite each time, I thought that it would pick any random selection.
  • #12 by Tim (WellDoneSoft) on 30 Jun 2012
  • That's strange. Are you sure?
    It works pretty well with my MF...
  • #13 by mcbee on 30 Jun 2012
  • hi
    i have tested both downloads with v7 and they are random.
    tested the download for v6 only and it is random.

    mcbee
  • #14 by clivetwo on 30 Jun 2012
  • hi
    i have tested both downloads with v7 and they are random.
    tested the download for v6 only and it is random.

    mcbee
    Got it thanks mcbee I had
    OR (now_time*10000000 - INTEGER(now_time)*10000000)%runner_number+1

    and OR selections lay price is equal or less than 12 changed both to AND and all is fine

    Thanks
  • #15 by mcbee on 30 Jun 2012
  • hi
    we are all learning new tricks.
    this is new to me and something that i have been looking for.

    thanks
    mcbee
Pages:
Actions