Hello,
I am going to try to resume my issue and hope that I am clear enough
I am working on DiceForge game (if you want to look at the code to have clearer understanding).
I have a chain of states that could be defined like that : blessing (active state) -> ressourceChoice (multiactive).
At the end of my blessing state, I activate all the users that needs to be active. This works correctly as when my JS enter the new state, in args, I do have the list of the various active players.
Then, in my arg function (called for ressourceChoice), I send back information if the user running the code is active. From the PHP side it looks like it works as I had put some "print" in the PHP and they were triggered, however, on the JS, my args.args are empty...
If I refresh the web page, my args.args is correctly filled-in and therefore the JS have the necessary information to follow.
Did you encounter this issue before? Do you have an idea as to why?
Thanks a lot for you help as I do not understand where is the issue
Regards
Vincent
I am going to try to resume my issue and hope that I am clear enough
I am working on DiceForge game (if you want to look at the code to have clearer understanding).
I have a chain of states that could be defined like that : blessing (active state) -> ressourceChoice (multiactive).
At the end of my blessing state, I activate all the users that needs to be active. This works correctly as when my JS enter the new state, in args, I do have the list of the various active players.
Then, in my arg function (called for ressourceChoice), I send back information if the user running the code is active. From the PHP side it looks like it works as I had put some "print" in the PHP and they were triggered, however, on the JS, my args.args are empty...
If I refresh the web page, my args.args is correctly filled-in and therefore the JS have the necessary information to follow.
Did you encounter this issue before? Do you have an idea as to why?
Thanks a lot for you help as I do not understand where is the issue
Regards
Vincent