ThePhotons's Recent Forum Activity

  • matrixreal

    Sorry, we can't help you until you explain what is not working.

    Run project from editor and check browser console for errors and other info.

    The capx file is the same except that actual app id set before export.

    • Not sure what room deletion should do. Room removed from list after last player left the room.
    • Who kicks the player? If other client, then just send message to the player you want to kick. Client should handle it and leave the room itself.
    • Plugin does not has specific JoinRoom error handler currently. Use generic "On Error":

    You need separate appid for every game.

  • Could anyone experienced with this plugin confirm if my questions are doable with this plugin?

    The plugin is Construct 2 interface to Photon js sdk http://doc.exitgames.com/en/onpremise/c ... javascript

    Which in turn is one of sdks available for work with Photon Cloud: http://doc.exitgames.com/en/realtime/cu ... time-intro

    While plugin covers not all js sdk / Photon cloud functionality it may be quite enough for your needs which look like fit good in Photon cloud infrastructure.

    Please check documentation, tutorials and demos on exitgames.com and feel free to ask if something is still not clear.

  • we still wait for the new capx (probably with some fixing bugs)

    because the first one on the main page not working

    thanks

    Can you be more specific, what exactly does not work for you, which errors do you get.

  • wich wrapper you use ? cordova ? ejecta ? cocoonjs ?

    and can we have a capx example ?

    It does not use any wrapper. As I wrote we did html5 export from Construct 2 export menu.

    Links to sample projects are in 1st post of this topic.

  • I found if two players start at the same time (common when running two windows in construct), the first will start creating a room, which is recognized by the second player, but its not complete enough for the second to join

    Probably this is one of the reasons why js sdk joinRoom() call has 'createIfNotExists' option in Photon js sdk.

    But it's not exposed in Construct 2 plugin yet, sorry.

  • I tested again, it appears that some network port /or possible firewall is blocking photon on some of the machines ( NameServer peer error 3001 followed by peer timeout 3004).

    Then this is not iOS-specific problem as you described it earlier.

    [quote:9bo5cjt0]What ports does photon need open?

    You found right doc for required ports http://doc.exitgames.com/en/onpremise/c ... rt-numbers

    It states that when connecting to cloud via websockets, ports 9090, 9091, 9093 required.

    If you use secure websockets then 19090, 19091, 19093 should be open.

    EDIT: ports list updated (removed port which required only for self-hosted server)

  • We tested app exported as html5 website on iPad mini 2 with iOS 8.3/Safary. It works w/o problems.

    Exported app: http://demoauthphoton.site44.com/c2-dem ... index.html

    (we may remove the app in several days so link may become broken)

    Maybe there are issues with dns on your device.

    Or temporal Photon websocket server malfunction at times when you were testing.

  • bentwonk,

    Thanks for feedback.

    [quote:7glh8mhz]I note there is a "joinRandomRoom no match found" event, could there also be an event for non random rooms, along the lines off "roomNotFound"

    Errors other than "onJoinRandomRoomNoMatchFound" can be handled via Photon."On Error" event. Log Photon.ErrorCode and Photon.ErrorMessage to get an idea which codes are for which events. 32766 / "A game with the specified id already exist" is for creating room with existing name for instance. OnOperationResponse with operation code (as in js sdk) may be more convenient sometimes. Maybe we will add this handler later.

    We are looking into iOS issue.

  • I could help to design actions/conditions, Or you might post question here.

    Thanks.

    At this point we just need to know which missed plugin parts are most demanded.

  • Plugin updated.

    Added setMyRoomIsVisible, setMyRoomIsOpen, setMyRoomMaxPlayers and other room methods.

    Use them along with setPropertyOfMyRoom before room creation to set parameters for new room.

    Or call them while joined to change parameters of currently joined room.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1) There's a bug, which throws "undefined property" error, when you call expressions "RoomMaxPlayers", "RoomPlayerCount", "RoomIsOpen". I think it refers to something [availableRoomsDict] which is missing in Photon-Javascript_SDK.min.js

    2) SetMaxPlayers and SetRoomClosed/Opened actions

    3) Kick user action

    Fixed.

    Please download and reinstall plugin.

ThePhotons's avatar

ThePhotons

Member since 13 Feb, 2015

Twitter
ThePhotons has 7 followers

Connect with ThePhotons