Hello Welldone,
I have the following logic in operation to set a user variable to the value '7777' if conditions are met in round 2 of poker turbo (just for testing purposes):
trigger expression h_1_card_1_suit is equal to h_1_card_2_suit
AND trigger expression h_1_card_1_suit is equal to h_2_card_1_suit
AND trigger expression h_2_card_2_suit is equal to h_1_card_2_suit
The trigger log shows that this variable gets set to 7777, e.g.
-------------------------------------
26/12/2016 18:39:31: Round 2. Channel POKER_TURBO refreshed. Game ID: 98488586
-------------------------------------
Checking: Trigger Expression h_1_card_1_suit is equal to h_1_card_2_suit
Condition is true.
Checking: and Trigger Expression h_1_card_1_suit is equal to h_2_card_1_suit
Condition is true.
Checking: and Trigger Expression h_2_card_2_suit is equal to h_1_card_2_suit
Condition is true.
A user variable has been set. Name: suited_and_unique, value: 7777.
The trigger log also shows that this variable does not get set when one of the conditions is false, e.g.
-------------------------------------
26/12/2016 18:38:47: Round 2. Channel POKER_TURBO refreshed. Game ID: 98487232
-------------------------------------
Checking: Trigger Expression h_1_card_1_suit is equal to h_1_card_2_suit
Condition is true.
Checking: and Trigger Expression h_1_card_1_suit is equal to h_2_card_1_suit
Condition is true.
Checking: and Trigger Expression h_2_card_2_suit is equal to h_1_card_2_suit
Condition is false. ( Selection 'Hand 1': Trigger Expression is D. Selection 'Hand 2': Trigger Expression is D. Selection 'Hand 3': Trigger Expression is D. Selection 'Hand 4': Trigger Expression is D.)
Conditions remaining in the block will not be checked.
HOWEVER... if I change the logic for the third test to "is not equal to", I would expect the game above to return TRUE for all conditions and therefore set the variable to 7777. It does not do this.
trigger expression h_1_card_1_suit is equal to h_1_card_2_suit
AND trigger expression h_1_card_1_suit is equal to h_2_card_1_suit
AND trigger expression h_2_card_2_suit is not equal to h_1_card_2_suit
returns the following:
-------------------------------------
26/12/2016 18:47:06: Round 2. Channel POKER_TURBO refreshed. Game ID: 98487232
-------------------------------------
Checking: Trigger Expression h_1_card_1_suit is equal to h_1_card_2_suit
Condition is true.
Checking: and Trigger Expression h_1_card_1_suit is equal to h_2_card_1_suit
Condition is true.
Checking: and Trigger Expression h_2_card_2_suit is not equal to h_1_card_2_suit
Condition is false. ( Selection 'Hand 1': Trigger Expression is D. Selection 'Hand 2': Trigger Expression is D. Selection 'Hand 3': Trigger Expression is D. Selection 'Hand 4': Trigger Expression is D.)
Conditions remaining in the block will not be checked.
The test DOES return the expected result for the first game example above, i.e.
-------------------------------------
26/12/2016 18:47:40: Round 2. Channel POKER_TURBO refreshed. Game ID: 98488586
-------------------------------------
Checking: Trigger Expression h_1_card_1_suit is equal to h_1_card_2_suit
Condition is true.
Checking: and Trigger Expression h_1_card_1_suit is equal to h_2_card_1_suit
Condition is true.
Checking: and Trigger Expression h_2_card_2_suit is not equal to h_1_card_2_suit
Condition is false. ( Selection 'Hand 1': Trigger Expression is D. Selection 'Hand 2': Trigger Expression is D. Selection 'Hand 3': Trigger Expression is D. Selection 'Hand 4': Trigger Expression is D.)
Conditions remaining in the block will not be checked.
Am I overlooking something or is this a bug in the software? The games are from the 30/11/16.
Thanks.