Pages:
Actions
  • #1 by Dsimoes on 12 Jan 2015
  • Hi,

    How can i recover a lost bet placed by a specific trigger?! I want that the recoupment is independent.

    Example:

    trigger 1: back 2€ at 3.5  and lost
    trigger 2: back 5€ at 4     and lost

    Recoupment:

    Trigger 1: "lostbet" (2€) + init_bet
    Trigger 2: "lostbet" (5€) + init_bet

    I dont use the "last_lost" because this variable use the sum, in this case (2+5= 7€).


    Thanks for your attention.

  • #2 by Dsimoes on 13 Jan 2015
  • Can anyone help?
  • #3 by mcbee on 14 Jan 2015
  • hi
    it is a bit complicated.
    you have to have variables and triggers to record the bet amounts, then use a trigger to set the loss using the pw_1_sel_index(this gives the last markets winner index number).
    it would be easier if you requested a trigger using this link.
    http://community.welldonesoft.com/make-me-a-trigger!/


    mcbee
  • #4 by tupp on 14 Jan 2015
  • If the two triggers work on different markets for example (horse race & grayhound) it's simple.

    hr_last_lost ( cumulativ loss sinse last profit on horse race)
    gh_last_lost ( cumulativ loss sinse last profit on dogs)

  • #5 by LarpHager on 14 Jan 2015
  • If the two triggers work on different markets for example (horse race & grayhound) it's simple.

    hr_last_lost ( cumulativ loss sinse last profit on horse race)
    gh_last_lost ( cumulativ loss sinse last profit on dogs)



    Hi,

    tupp, i did not know of the above. thanks for posting.
    • LarpHager
Pages:
Actions