Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Wrong game/peerCount in Photon javascript?

$
0
0
Hi, I made a little node.js script to retrieve player and game counts from all region master servers. It seems fine but it doesn't show actual player numbers from the game. It seems it only counts the WebSocket client that is used to retrieve the information from Photon servers. Are WebSocket connections treated differently than UDP from the game? Or is this a bug? Or am I missing something? My node.js script: https://pastebin.com/ZTdnaBdy Logs output: [0] State: ConnectingToNameServer [0] ============ ws://ns.exitgames.com:9093/*APPID*7ea4?libversion=4.1.0.0 [0] ============ [0] State: ConnectedToNameServer [0] Photon regions: [0] eu : ws://SLAMS095.exitgames.com:9090 [0] us : ws://SLWASH115.exitgames.com:9090 [0] usw : ws://SLSJ002.exitgames.com:9090 [0] cae : ws://SLMON001.exitgames.com:9090 [0] asia : ws://SLSING001.exitgames.com:9090 [0] jp : ws://SLTOK073.exitgames.com:9090 [0] au : ws://SLMEL001.exitgames.com:9090 [0] sa : ws://SLSP002.exitgames.com:9090 [0] in : ws://SLCHE001.exitgames.com:9090 [0] ru : ws://GCMOS001.exitgames.com:9090 [0] rue : ws://GCTOK009.exitgames.com:9090 [0] kr : ws://GCSEL001.exitgames.com:9090 [0] State: ConnectingToMasterserver [0] ============ ws://SLAMS095.exitgames.com:9090/*APPID*?libversion=4.1.0.0 [0] ============ [0] appStats: 1 0 0 [0] eu (1/12) : games 0 master peers: 1 peers 0 [0] Connecting to: us [0] State: ConnectedToMaster [0] onLobbyStats: 1 [0] lobby: lobbyType: 0 peerCount: 0 gameCount: 0 Says peerCount 0 although my game client is running and connected.

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>