Constant777's Recent Forum Activity

  • It's a PNG icon. It's supported everywhere. There's no need to use .ico.

    Ashley thank you very much for your answer!

    I really want you to make an official good plugin for the layout of the site with <dev> tags, with a feedback forms, with resizing for mobile devices and so on.

    So that the site turns out like in Wordpress, but with the capabilities of Construct it will be even cooler! You will attract even more users :)

    Construct has an unofficial plugin for website layout, but it's not good :(

  • Construct does already add <link rel="icon" ...> inside the <head> tag.

    Maybe I'm doing something wrong, but I don't have an icon.ico (!) inside the <head> tag :((((

    <head>

    <meta charset="UTF-8">

    <title>Title</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">

    <meta name="generator" content="Construct 3">

    <meta name="description" content="Official site">

    <link rel="manifest" href="appmanifest.json">

    <link rel="apple-touch-icon" sizes="128x128" href="icons/icon-128.png">

    <link rel="apple-touch-icon" sizes="256x256" href="icons/icon-256.png">

    <link rel="apple-touch-icon" sizes="512x512" href="icons/icon-512.png">

    <link rel="icon" type="image/png" href="icons/icon-512.png">

    <link rel="stylesheet" href="style.css">

    </head>

    Can you tell me how do I insert an icon.ico (!) inside the <head> tag?

    I would really appreciate your help :)

  • What I usually do is put .ico file in the root of exported project. Then modify index.html and add this inside <head></head> tag:

    > 	<link rel="icon" href="/favicon.ico" />
    

    I do the same EVERY time I update site :(((((

    And I couldnt type "?" to <title> in Construct :(((

  • Exported Construct games set the favicon automatically for you. See Icons and Splash in the manual.

    Yes, I see an icon on the site, but search robots don't see it.

    It must be in <head> such string:

    <head>

    ...

    <link rel="icon" href="https://site.org/favicon.ico" type="image/x-icon">

    ...

    </head>

    and the icon should be at this address (https://site.org/favicon.ico).

    Otherwise, search engines do not see the icon on the site and does not show the icon in the search results.

    There is a great wish you to make an official good plugin for website layout. It will be a bomb! ;)

  • Hi! I need to place a favicon when exporting a website to html. How can I do it?

    Tagged:

  • Hi!

    I downloaded an example of a multiplayer chat.

    Added 1 Button: "Leave room"

    Added 3 text fields to it that display the connection status:

    1. is connected to the server (is NOT connected to the server)

    2. is logged in (is NOT logged in)

    3. is in room (is NOT in room)

    I made an output to the android file.

    Started the chat.

    The text became like this:

    1. is connected to the server

    2. is logged in

    3. is in room

    Turn off WiFi.

    The text became like this:

    1. is NOT connected to the server

    2. is NOT logged in

    3. is in room

    Why doesn't the chat leave the room?

    It is not possible to re-enter the chat.

    When I click "Leave room" button, the server writes:

    Error: not in the room.

    But the system thinks I'm in the room and informs me about it:

    3. is in room

    How do I make the correct exit from the chat so that it does not stay in the room when the connection is lost?

    The problem is that if the Internet connection lost, the program shows that there is no connection to the server, but I am in the room. How is this possible?

    Because of this error, it is impossible to create a room since I am supposedly already in it.

    And when I try to say to SERVER leave the room, the server reports that I am NOT IN the room but the PROGRAM says that I am IN the room.

    And all this happens on the example of a multiplayer chat without any changes in signalling.

    I need help!

    can any of the developers answer my question?

  • Hi!

    I downloaded an example of a multiplayer chat.

    Added 1 Button: "Leave room"

    Added 3 text fields to it that display the connection status:

    1. is connected to the server (is NOT connected to the server)

    2. is logged in (is NOT logged in)

    3. is in room (is NOT in room)

    I made an output to the android file.

    Started the chat.

    The text became like this:

    1. is connected to the server

    2. is logged in

    3. is in room

    Turn off WiFi.

    The text became like this:

    1. is NOT connected to the server

    2. is NOT logged in

    3. is in room

    Why doesn't the chat leave the room?

    It is not possible to re-enter the chat.

    When I click "Leave room" button, the server writes:

    Error: not in the room.

    But the system thinks I'm in the room and informs me about it:

    3. is in room

    How do I make the correct exit from the chat so that it does not stay in the room when the connection is lost?

    The problem is that if the Internet connection lost, the program shows that there is no connection to the server, but I am in the room. How is this possible?

    Because of this error, it is impossible to create a room since I am supposedly already in it.

    And when I try to say to SERVER leave the room, the server reports that I am NOT IN the room but the PROGRAM says that I am IN the room.

    And all this happens on the example of a multiplayer chat without any changes in signalling.

    I need help!

  • Not too clear from your description, but issues like this usually result from misunderstanding and getting the signaling connection and the room connection mixed up. The can be disconnected from separately, make sure you're using the right one. Also note that disconnection is an asynchronous action, it doesn't happen in one tick so make sure to use the 'on disconnected' and 'on left room' triggers to log and diagnose.

    The problem is that if the Internet connection disappears, the program shows that there is no connection to the server, but I am in the room. How is this possible?

    Because of this error, it is impossible to create a room since I am supposedly already in it.

    And when I try to say to SERVER leave the room, the server reports that I am NOT IN the room but the PROGRAM says that I am IN the room.

    And all this happens on the example of a multiplayer chat without any changes.

  • Hi!

    I downloaded an example of a multiplayer chat.

    Added 1 Button: "Leave room"

    Added 3 text fields to it that display the connection status:

    1. is connected to the server (is NOT connected to the server)

    2. is logged in (is NOT logged in)

    3. is in room (is NOT in room)

    I made an output to the android file.

    Started the chat.

    The text became like this:

    1. is connected to the server

    2. is logged in

    3. is in room

    Turn off WiFi.

    The text became like this:

    1. is NOT connected to the server

    2. is NOT logged in

    3. is in room

    Why doesn't the chat leave the room?

    It is not possible to re-enter the chat.

    When I click "Leave room" button, the server writes:

    Error: not in the room.

    But the system thinks I'm in the room and informs me about it:

    3. is in room

    How do I make the correct exit from the chat so that it does not stay in the room when the connection is lost?

    Ashley, I need help!

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think only Ashley can answer me...

  • Hi!

    I took the chat template from the Construct examples.

    Added a button to exit the chat and 3 text forms in which the multiplayer states are displayed:

    Then I export poject to Android, run it, push button "JOIN"

    Then I collapsed the chat and waited 10 minutes.

    During this time, the server apparently disconnected me.

    I clicked the exit chat button, it is clear that there is no connection with the server, but the system shows that I did not leave the room.

    And I can't go into the room again.

    How to log out of the chat correctly?

  • What platform?

    If you have a log in server, that can be used to verify the game version at the same time. What authentication method are you using?

    I need to check for updates on android.

    the game itself, but not the android system.

    because for some players, the update may be disabled.

    there are games that you go into and they show you a message that you need to update the game.

Constant777's avatar

Constant777

Member since 5 Apr, 2021

None one is following Constant777 yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies