Hi, i am trying to use the web hooks on my PUN application and i am having trouble.
Everything seems to be set up correctly;
My dashboard configs;
AsyncJoin : false
BaseUrl : http://mydomain/rftv/ws
HasErrorInfo : true
IsPersistent : false
PathCreate : gameCreated.php
http://mydomain/rftv/ws/gameCreated.php returns this: {"ResultCode":2,"Message":"Denied"}
But when i create a room from the client with PhotonNetwork.Create(randomName,roomOptions,TypedLobby.Default) it just creates the room regardless of the resultCode.
I've thought that it might be trying to revive a saved room but isPersistent is false, and i've set room ttl to 0, also tried with new room names without any luck.
I think the webhook is working because when i set logLevel to Full, i realized that my client receives OnEvent: Event 251 after creating and joining the room. And it doesn't receive that if i change the resultcode to 0 on the php output.
I can't see why the room is created regardless of the ResultCode. Thanks for your
Everything seems to be set up correctly;
My dashboard configs;
AsyncJoin : false
BaseUrl : http://mydomain/rftv/ws
HasErrorInfo : true
IsPersistent : false
PathCreate : gameCreated.php
http://mydomain/rftv/ws/gameCreated.php returns this: {"ResultCode":2,"Message":"Denied"}
But when i create a room from the client with PhotonNetwork.Create(randomName,roomOptions,TypedLobby.Default) it just creates the room regardless of the resultCode.
I've thought that it might be trying to revive a saved room but isPersistent is false, and i've set room ttl to 0, also tried with new room names without any luck.
I think the webhook is working because when i set logLevel to Full, i realized that my client receives OnEvent: Event 251 after creating and joining the room. And it doesn't receive that if i change the resultcode to 0 on the php output.
I can't see why the room is created regardless of the ResultCode. Thanks for your