adventurist's Recent Forum Activity

  • Interesting... seems like it works fine in Chrome, but not in Firefox O_o.

    Might be a Firefox restriction that has come into place in a recent update like the privacy functions that block tracking etc. that is set by default. Guess I'll have to experiment with it a bit and see if some settings work.

  • Looking at about:webrtc in the browser show a log with some errors. No clue what they mean so hopefully someone else does:

    (registry/INFO) insert 'ice' (registry) succeeded: ice (registry/INFO) insert 'ice.pref' (registry) succeeded: ice.pref (registry/INFO) insert 'ice.pref.type' (registry) succeeded: ice.pref.type (registry/INFO) insert 'ice.pref.type.srv_rflx' (UCHAR) succeeded: 0x64 (registry/INFO) insert 'ice.pref.type.peer_rflx' (UCHAR) succeeded: 0x6e (registry/INFO) insert 'ice.pref.type.host' (UCHAR) succeeded: 0x7e (registry/INFO) insert 'ice.pref.type.relayed' (UCHAR) succeeded: 0x05 (registry/INFO) insert 'ice.pref.type.srv_rflx_tcp' (UCHAR) succeeded: 0x63 (registry/INFO) insert 'ice.pref.type.peer_rflx_tcp' (UCHAR) succeeded: 0x6d (registry/INFO) insert 'ice.pref.type.host_tcp' (UCHAR) succeeded: 0x7d (registry/INFO) insert 'ice.pref.type.relayed_tcp' (UCHAR) succeeded: 0x00 (registry/INFO) insert 'stun' (registry) succeeded: stun (registry/INFO) insert 'stun.client' (registry) succeeded: stun.client (registry/INFO) insert 'stun.client.maximum_transmits' (UINT4) succeeded: 7 (registry/INFO) insert 'ice.trickle_grace_period' (UINT4) succeeded: 5000 (registry/INFO) insert 'ice.tcp' (registry) succeeded: ice.tcp (registry/INFO) insert 'ice.tcp.so_sock_count' (INT4) succeeded: 0 (registry/INFO) insert 'ice.tcp.listen_backlog' (INT4) succeeded: 10 (registry/INFO) insert 'ice.tcp.disable' (char) succeeded: \000 (generic/ERR) UDP socket error:Internal error at /builds/worker/checkouts/gecko/dom/network/UDPSocketParent.cpp:248 this=000000B01BE94400 (ice/ERR) ICE(PC:1592494910760000 (id=10737418244 url=http://localhost:50000/)): failed to find default addresses (generic/ERR) UDP socket error:Internal error at /builds/worker/checkouts/gecko/dom/network/UDPSocketParent.cpp:248 this=000000B01BE95800 (ice/ERR) ICE(PC:1592494910760000 (id=10737418244 url=http://localhost:50000/)): failed to find default addresses (ice/WARNING) ICE(PC:1592494910760000 (id=10737418244 url=http://localhost:50000/)): peer (PC:1592494910760000 (id=10737418244 url=http://localhost:50000/):default) has no stream matching stream PC:1592494910760000 (id=10737418244 url=http://localhost:50000/) transport-id=transport_0 - fb357d33:9ecea536fc0342876df01b4af9fcb7c5 (generic/ERR) UDP socket error:Internal error at /builds/worker/checkouts/gecko/dom/network/UDPSocketParent.cpp:248 this=000000B01C980400 (ice/ERR) ICE(PC:1592495604393000 (id=10737418245 url=http://localhost:50000/)): failed to find default addresses (generic/ERR) UDP socket error:Internal error at /builds/worker/checkouts/gecko/dom/network/UDPSocketParent.cpp:248 this=000000B01C981800 (ice/ERR) ICE(PC:1592495604393000 (id=10737418245 url=http://localhost:50000/)): failed to find default addresses (ice/WARNING) ICE(PC:1592495604393000 (id=10737418245 url=http://localhost:50000/)): peer (PC:1592495604393000 (id=10737418245 url=http://localhost:50000/):default) has no stream matching stream PC:1592495604393000 (id=10737418245 url=http://localhost:50000/) transport-id=transport_0 - 7c8b47d9:29b40645b4237d2ffef340f6307a0b4c

  • I just checked the browser console log and saw this error message:

    "WebRTC: ICE failed, add a TURN server and see about:webrtc for more details".

    Hopefully it's helpful someway.

  • Right, so I also updated to the latest beta version since I hadn't done that already, then I changed the game instance name to be unique and tried again. This time I joined as host the first time in one tab. The second tab I entered as a peer, but again, no other peer present, I was the only one listed in there. Same in host tab, the peer didn't show up in the list.

    After a few seconds, I got kicked from the peer tab. The host tab kept running.

    I don't know what the unrelated connectivity issue there could be to be honest. My internet connection is working fine, maybe I accidentally set some setting somewhere.

    EDIT: The messages shows I connected to the chat room both times, one time as host and one time as peer. But for some reason none of them shows up in eachothers lists and no messages are shown for the other user when typing them in and sending them.

    Thanks.

  • Hello!

    I'm wondering if the multiplayer still works as it should with construct 2? I know construct 2 is being phased out, so I'm wondering if the signaling server is not working correctly?

    I was working away on a project and noticed I couldn't send messages from the peer to the host, so I decided to test the chat example without modifications, and it seems like its not working either. I open two Firefox browser tabs and log in to the chat example. In each tab it only lists one user which is the one I logged in with for the specific tab. Then after a few seconds, the host one that I opened up first suddenly gets kicked out.

    So any info on this Ashley?

  • You do not have permission to view this post

  • Seems like the last bit I tried in the previous post does work, but only if you retrieve it with PropertyOfMyRoom, and not with RoomProperty.

    I can only retrieve the room property after one has joined the room, but not before, even with the "set properties listed in the lobby" before creating the room. Why's that?

  • Hi!

    I'm wondering how the "set properties listed in lobby" can be used to retrieve custom room properties from the lobby?

    As far as I understand, you have to set it to be accessible in the lobby in order to retrieve it from there.

    I tried doing it like this without it working:

    -Photon: is connected to a lobby

    Photon -> set name of local actor to "name"

    Photon -> join room "Room" in lobby (create if not existing)

    Photon -> Set custom property "theProperty" of my room to "testing"

    Photon -> Set properties listed in lobby to "theProperty"

    Text -> set text to photon.RoomProperty(photon.MyRoomName, "theProperty")

    The text as a result then says 0.

    ****EDIT*****

    I saw in this forum post: forum.photonengine.com/discussion/10574/set-via-room-setcustomproperties-not-available-for-roominfo-class

    that you have to set the properties before creating the room. But how is that possible in construct 2? The plugin doesn't have a field to pass room properties when creating a room.

    If I do this:

    -Photon: is connected to a lobby

    Photon -> set name of local actor to "name"

    Photon -> Set properties listed in lobby to "theProperty"

    Photon -> join room "Room" in lobby (create if not existing)

    (also tried create room action)

    Photon -> Set custom property "theProperty" of my room to "testing"

    Text -> set text to photon.RoomProperty(photon.MyRoomName, "theProperty")

    It returns 0 still.

  • Ah I made it work.

    Had to dig in the forum to find the answer.

    For anyone else who want's to know:

    To set a textbox or a list to have a custom font that's in your project files folder, you have to first add an empty text field to the layout that uses the "set webfont" action.

    Then any other object like the list object can have that font by simply using the "set css" action to: "font-family" and value: "thefontname".

    I'll write a tutorial on it too. :)

  • Ah yes I see. Makes sense.

    So you wouldn't perhaps know how to set the list to use a .woff font I imported? I've been following this tutorial that's meant for a text object:https://www.scirra.com/tutorials/557/using-any-fonts-in-your-project

  • Hi!

    Thanks for your help. :)

    I managed to make it work with web-fonts like this:

    But yeah, the custom font I imported doesn't work.

    I'm not sure where the code you provided should go?

  • Try Construct 3

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

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

    I'd like to know if there's a way to use a custom font in a list object.

    I know the text object has a "set web font", but the list object doesn't have that. I have imported the font as .eot, .svg, .woff, .ttf to the project files and the stylesheet for it is there too.

    How would yo do it with the "set css" action? It doesn't seem to work if I set it to the font name as specified in the stylesheet.

adventurist's avatar

adventurist

Member since 20 Sep, 2013

None one is following adventurist yet!

Trophy Case

  • 11-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies