kentoy's Recent Forum Activity

  • I update my game by changing the version in data.js and changing version(timestamp) in offline.js

    After I reload the browser to get update verison,normaly the update works well, but sometimes I got this error. The page freezes and get black screen.

  • kentoy

    > Im using Construct2 and set photon to Self hosted, and set address to my server xxxx.com:5055

    5055 is UDP port by default. See doc.photonengine.com/en-us/realtime/current/connection-and-authentication/tcp-and-udp-port-numbers

    You need to conect to WebSocket (default 9090) or Secure WebSocket (default 19090) server endpoints. The latter also requires additional setup doc.photonengine.com/en-US/server/current/operations/websockets-ssl-setup

    Thank you!

  • Hi,

    Im using Construct2 and set photon to Self hosted, and set address to my server xxxx.com:5055

    My Construct2 fail to connect to my photon server, but I'm sure that my photon server is working, because my Unity game is connecting to it.

    What could be the reason?

  • kentoy

    > So is that means if player join rooms with different lobby names using Photon C2 plugin, they can not match each others?

    Correct. Players from different lobbies can't join the same room.

    thank you!

  • hi kentoy

    Please read matchmaking documentation doc.photonengine.com/en-us/realtime/current/lobby-and-matchmaking/matchmaking-and-lobby

    It also has detailed lobby definition.

    hi,

    in the Photon document:

    If you are trying to join a random room, make sure to choose the same lobby (name and type) used when creating it.

    So is that means if player join rooms with different lobby names using Photon C2 plugin, they can not match each others?

    thanks!

  • by the way, what is the "lobby name" means when creating or finding random rooms?

  • hi there!

    How can I divide rooms for different levels of players. For example I don't want hardcore player to play agains new players.

    Could I set lobby name while creating rooms, and set lobby name as level1, level2, level3 for different levels. Then player find random room by lobby name based on their own level.

    thanks!

  • That probably means the server caching settings are wrong, which is the problem you should be solving instead.

    OK thank you! We will on it!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • > You can also use the Browser object to detect if an update is available and prompt them to reload.

    We tried, but after we delete the game on server and upload the new one with same name, we waited for a while but no Browser update found or ready action triggered...Then we reload the page, and not get triggered...

  • The game should update automatically. You can also use the Browser object to detect if an update is available and prompt them to reload. Trying to force all browser storage to be cleared is the wrong approach.

    thank you for your answer! But after we replace the new game version on server, the player opened his browser to start the game, and then the game is running the older version. In this case, player could do something that we do not want(for example the older version have some bugs or something we dont want anymore), we don't want the older version to be opened anymore at any time...

  • Use the 'Clear storage' action of the Local Storage object.

    The 'Clear storage' action could help me to clear the local storage, and it works. But it does not clear our website's cookie and caches, is there any way to clear them? Thank you!

    The issue is after we upgrade our game by replace the game folder on our server, and we don't want to change the game's URL, player who played older version will continue load the older version from cache. They can not load the new version.

  • I'm not an expert on JavaScript, but maybe calling this method using the Execute javascript action from Browser object would do the trick.

    Hope this helps.

    Cheers!

    Thank you I will try!

kentoy's avatar

kentoy

Member since 21 Sep, 2017

None one is following kentoy yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies