pikazho's Recent Forum Activity

  • Hi

    How can I move an object to a position (it would be better to set moving speed)?

    I found rexmove plugin but I think it was too old and construct2 showed me error.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi

    I want to have a players independent chatroom. I mean I want my server to be host and players join the chatroom will be peer.

    I have a virtual linux server that has ubuntu consol (not visual element of ubuntu).

    I have setup a turn server on it so I have solved NAT problems.

    I know one way is to open browser in a server and login to chatroom so my server will be host, but my server has not browser, it has just ubuntu terminal.

    is there any way to achieve my goal with my current server or I have to rent a new server with ui and browser?

    thank you take the time and read my question

  • Cell data (e.g. 4G) sometimes uses NAT which blocks peer-to-peer connections. It's a problem with how the carrier has implemented 4G. The multiplayer tutorial covers the subject in the first part.

    Thanks for your answer but this is a big problem, in this case many players that uses 3G or 4G (over NAT) cant join multiplayer game.

    in manual it says:

    "There are several other variants of NAT, including large scale NAT applied to entire regions, ISPs, or mobile networks, and some are more restrictive than others. Unfortunately this means in some cases connections are not possible, particularly if both the host and the joining peer are behind highly restrictive NAT. However with common setups players can usually connect to each other, and generally the closer they are geographically the more likely the connection is to work and provide good quality service."

    what does it mean by saying "However with common setups players can usually connect to each other"??

    is there something I can do to increase connecting chance via NAT (like mobiles connect via 4G that uses NAT)?

    what is the solution? is there any way? if yes please help with with giving a refrence link, etc

    thank you very much

  • Hi

    I open construct2 chatroom example from File->New menu -> example: Multiplayer -chatroom

    1- I just changed the Game_NAME,INSTANCE_NAME and ROOM_NAME.

    2- I export project as html5

    3- upload it to my host: shikpoosh24.ir/tmp/chat3

    First scenario works fine:

    I have a mobile and a laptop.

    1- I turn on my mobile wifi and laptop wifi and connect both of them to my adsl modem

    2- I connect to chatroom with my mobile and it will be host

    3- I connect to chatroom with my laptop, it will be peer and every thing just work as expected.

    Second scenario doesnt works:

    I have a mobile and a laptop.

    1- I turn on my mobile 4G data and connect to chatroom, my mobile will be host

    and this is the screenshot:

    shikpoosh24.ir/tmp/a.png

    2 - I connect to chatroom with my laptop over wifi and this is my laptop screen shot:

    shikpoosh24.ir/tmp/b.png

    as you see in above screenshot my laptop join the chatroom as peer but automatically kicked after about 20 seconds and could not connect to the host.

    every time both of my device are in same network chatroom works but when I try to connect them to chatroom via different network it doesnt work.

    anybody can help?

    thanks you that take time and read my question

pikazho's avatar

pikazho

Member since 16 Oct, 2016

None one is following pikazho yet!

Connect with pikazho

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies