Pages:
Actions
  • #1 by liltbrockie on 21 Oct 2015
  • I don't think Set user variable for individual markets is working properly....
    A variable I am setting which is incrementing +1 when certain conditions occur in a market is not happening on a per market basis.
    The variable is just incrementing on and on and not resetting itsself to 0 when a new market becomes monitored.

    I have set the optioin to monitor market individually... and indeed even on the view user variables window, when i change the variable view to the specific market and not global scope i am seeing the variable count to be high like its occuring over all previous markets and not individually!

  • #2 by LarpHager on 21 Oct 2015
  • Hi

    Does your trigger condition reset the user variable to 0 once per market? If not, then I think you should try that.

    Larp
    • LarpHager
  • #3 by Tim (WellDoneSoft) on 21 Oct 2015
  • Nope, I think you have it set in global scope, for example in "constants" block?
  • #4 by liltbrockie on 21 Oct 2015
  • Nope dont get it..... in the constants block you cant set global scope?

    Anyway I have attacehd the trigger can anyone help ?

    As you can see the variables index are not workin gon a per market basis
  • #5 by LarpHager on 21 Oct 2015
  • Hi,

    You are correct that it was not working for the trigger as you had it written. I have no idea why not.

    But, I made a few changes to your trigger file; deleted the constants as you had them initialised in a trigger, then re-ordered the conditions so the Selections Index was read first, then the lay price and then the pdif_1

    From the sample races I tested, albeit only on 3, the variables are being recorded individually for each market and this is visible on the UserVariables popup screen.

    Hope it works for you
    Larp
    • LarpHager
  • #6 by liltbrockie on 21 Oct 2015
  • Will test now  Larp many thanks for your time in fixing this I appreciate it x
Pages:
Actions