Chris Wright
Chris Wright
@TZK- Any thoughts on this?
I came across this behaviour today and found it odd. Thanks for calling attention to it.
@lw1990 I believe the current mechanism can only be used to determine if the current client is connected to the server--not other players. What @nicolodavis meant was enhancing that mechanism...
That is the exact API I was thinking. I looked briefly into the implementation and it doesn't look like there are any existing systems in place for handling stage "state"...
Ok, so we'll need a way to track number of moves within a stage in addition to the entire turn. We could add additional keys to `ctx` (`ctx._activePlayersStageNumMoves` and `ctx._activePlayersStageMoveLimit`...
Oh! I thought `_activePlayerNumMoves` was global for the turn - my bad. Knowing this I'll take a peak and see what I come up with.
I'm also looking for information on how to query a relationship.
@guice I know this is an old post but I just came across it and it helped me clean up some hacky code so I wanted to say thank you.
Sorry @Abspirit, I didn't get notified of your issue :( I didn't realize anyone was using this! @likeavenus if you want to submit a PR I'd be happy to release...
I just went through troubleshooting an issue in a project I'm working on where this tool would have worked wonders. Unfortunately this lack of support meant I had to look...