• Resolved fimo66

    (@fimo66)


    Hi,

    I moved away from the save button to the “Asynchronous saves” in the admin for my users but i noticed that when a user ie forgets:

    1. to insert a guess in both boxes – he will received point as the match was a draw like here 1-1 ? https://imgur.com/zy1xlfB
    2. what if he forget to insert a guess in BOTH boxes, like this ?https://imgur.com/vplyhb5 what points will he receive ?

    so an empty box or both boxes- represents “zero” or ??

    This is my settings in the admin part:

    View post on imgur.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AntoineH

    (@antoineh)

    There is a new setting under “Prediction options” called “Fix incomplete predictions”. This setting will change a missing home or away score by replacing it with a zero while doing the calculation of the score. But this should only happen if only one value is missing. If both values are missing (or NULL value), then my intention was to ignore this prediction. I think you have found an edge case. I will see if I can optimize the code a bit, so this won’t happen anymore. But I have some trouble reproducing the issue in my install (what PHP version are you running?).

    For now, I would suggest to disable the new setting. This will be more in line with the behavior that you are used to.

    Hope this helps.

    Thread Starter fimo66

    (@fimo66)

    Hi,

    im running PHP 7.4 and from my point of view its ok as it is today (above) if a user forgets one guess in ONE box, the system will see the missing guess as a zero. BUT if a user forgets both guess in both boxes it will be ignored as a prediction.

    Now that i know the reason for this….

    Thanks as always….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘no guess = draw result ?’ is closed to new replies.