Why Event OnPhotonPlayerDisconnected called when PlayerTTL reach 0? It must be when player first dc
Options
Dvionst
✭
Im implementing a reconnect system. i read on the docs about PlayerTTL (Make player inactive and will be perfectly disconnected when 0) and it gives me idea about reconnecting. but when i set PlayerTTL to 60k ms / 60 secs. it is not calling the event of OnPhotonPlayerDisconnected when other player closing the connection (crash,timeout,no connection). I must wait until 60 secs before it called how could i implement the reconnect system? how to get player disconnect information from the first time before playerTTL running out?
EDITED:
I must checking the property of photonnetwork.otherplayer[n].isinactive? that seems akward
EDITED:
I must checking the property of photonnetwork.otherplayer[n].isinactive? that seems akward
0
Answers
-
so you guys from photon are preparing new feature for inactive event? i read from this
http://forum.photonengine.com/discussion/8940/need-an-event-callback-for-inactive-players
Thx, Im waiting for the update0