Pages:
Actions
  • #1 by alexbetmaster on 10 Jul 2015
  • Hello,

    I hope that this is not very dumb question, my apologies if it is  :-\

    So, basically I want to be able to change constants/variables depending on market.

    Example:
    for 5f Hcap I need my constant/variable max_lay_price to be 20, but
    for 6f Hcap I need it to be 15

    So how do I ask trigger to check name of market and change constants/variables depending on that?

    Best Regards,
    Alex
  • #2 by tupp on 10 Jul 2015
  • I think you have to make two triggers
    - the first trigger having a condition markets name contain "5f Hcap"
    - the second trigger having a condition markets name contain "6f Hcap"

    and insted of max_lay_price use two : max_lay_price5f and max_lay_price6f or what you want to name them.
  • #3 by alexbetmaster on 10 Jul 2015
  • Yes, this is one of the way, however I hope there is a different approach since I need trigger to know difference between all types of markets which will make it extremely huge.
  • #4 by LarpHager on 10 Jul 2015
  • Hi,

    Can you detail what markets you want to have different and what ones are ok to be the default. ie 5f,6f,7f etc etc.

    • LarpHager
  • #5 by alexbetmaster on 10 Jul 2015
  • I will need to set different constants for:
    5f
    6f
    7f
    1m
    1m1f
    1m2f
    1m3f
    1m4f
    1m5f
    1m6f
    2m1f
    2m2f
    ...
    and so on...

    As I said earlier I will need a different settings for all markets available.
    The main setting will be time in-play when the bet needs to be placed.

    Best Regards,
    Alex
  • #6 by LarpHager on 11 Jul 2015
  • Hi,

    Thats alot of conditional writing, but it can be done.

    How will you judge the time to bet in the race? Is it the time since the actual start time of the race?
    • LarpHager
  • #7 by alexbetmaster on 11 Jul 2015
  • Hi,

    Yes, time since the actual start of the race.

    Best Regards
  • #8 by LarpHager on 11 Jul 2015
  • Hi,

    I have something on file for this written not by me, but by Mark or McBee. I will dig it out and post it later today.


    UPDATE

    There is a trigger file attached which was written by one or more of the multiskilled crew on here. I take credit only for being able to attach it without needing a stapler.

    Good luck with it, and please remember to thank whomever did the nice work on it.
    Larp

    Ps You are getting for free what some other companies would have charged you £30 for a lesser job.





    • LarpHager
  • #9 by alexbetmaster on 14 Jul 2015
  • Thank you for trigger LarpHager. I highly appreciate your help and everyone involved. Made a thumbs up for you, McBee and Mark as well.

    Will support forum in future with my findings, if I have any :)
  • #10 by mcgoo on 25 Apr 2018
  • Was just perusing and tried this trigger. Nice bit of work.The only thing I noticed (on Oz) was where you have a market that is 1800m it will find 800m. Also, if the race length is 1620m, for example, the Race Distance will be set to 0.This, I think, is due to the lack to ability to apply wildcards to Find statements.Just a note unless someone else can think of something clever. I just used the Market search only to find markets >=1000m and remove the anomalous lengths. Seems to work.Cheers
Pages:
Actions