Hi,
I am yet again frustrated by MFP..
As you will see by the image, I have a very simple trigger. A bet has alreay been placed, and the trigers action is to add the the selections name into the placedBets file. The image shows clearly, that Stefanos Tsitsipas is present in the placedBets file.
I have a further trigger, when the market settles, it writes an entry, to a winner text file, where the condition is that it wins, AND the selections name is present in the placedBets file...
As can clearly be seen, both of the conditions are true, Stefanos Tsitsipas won his match, AND, there was an entry in the placedBets file..
Yet, looking at the logs, it sees fine that he did win, allowing the process to continue, but when it checks to see if the selections name is i the file placedBets, somehow, MFP has this condition evaluating to false?...
I have looked at this a thousand times. The path to the file is correct, the placedBets does contain the value "Stefanos Tsitsipas", he did win, everything lines up - but, no entry is made, because MFP decides that the condition is false.
This has the effect that my variable, fibStart, has not been incremented, and consequently, tbets, has not been set to 0, as a result, the next bet will not take place, because tbets is set as 1, due to the last bet placed setting this value.
So, the consequence is catastrophic.
It can clearly be seen that what I have done is correct, yet MFP has failed?
If I have done something wrong here, slap me round the head with a wet kipper, but I don't think I have