StefanN's Recent Forum Activity

  • Ashley,

    Here is the log to download:

    gofile.io

    Log:

    editor.construct.net/:1 Unchecked runtime.lastError: The message port closed before a response was received. register-root-sw.js:17 Registered root service worker on https://editor.construct.net/ analytics-sandbox.html:1 Unchecked runtime.lastError: The message port closed before a response was received. main.js:2 Error while parsing the 'sandbox' attribute: 'allow-storage-access-by-user-activation' is an invalid sandbox flag. (anonymous) main.js:2 main.js:210 Stop! main.js:210 This is a browser feature intended for developers. If someone told you to copy and paste something here to enable a feature or "hack" something, it is a scam and may allow them to steal your account information or your work. main.js:210 Note: this is the developer tools console for the Construct editor. If you're looking for developer tools for preview, be sure to open developer tools for the preview window instead. sandbox.html:1 Unchecked runtime.lastError: The message port closed before a response was received. login:1 Unchecked runtime.lastError: The message port closed before a response was received. main.js:210 Registered service worker on https://editor.construct.net/r186/ main.js:210 [Project] Exception opening: Error: behavior 'Lite Tween' not supported in this runtime at new <anonymous> (projectResources.js:1) at Function.ǃG (main.js:2) at Object.ǃfoI (main.js:63) at Function.ǃXV (projectResources.js:1) at n.ǃuH (projectResources.js:1) at Function.ǃflS (projectResources.js:1) at async Promise.all (/r186/index 4) at async e.ǃfph (projectResources.js:1) at async t.ǃfqM (projectResources.js:1) at async Object.ǃhnf (main.js:210) ǃhnJ main.js:210 ǃhnf main.js:210 main.js:210 [Project] Exception opening: Error: behavior 'Lite Tween' not supported in this runtime at new <anonymous> (projectResources.js:1) at Function.ǃG (main.js:2) at Object.ǃfoI (main.js:63) at Function.ǃXV (projectResources.js:1) at n.ǃuH (projectResources.js:1) at Function.ǃflS (projectResources.js:1) at async Promise.all (/r186/index 4) at async e.ǃfph (projectResources.js:1) at async t.ǃfqM (projectResources.js:1) at async Object.ǃhnf (main.js:210) ǃhnJ main.js:210 DevTools failed to parse SourceMap: chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map DevTools failed to parse SourceMap: chrome-extension://eakacpaijcpapndcfffdgphdiccmpknp/scripts/content_page.map DevTools failed to parse SourceMap: chrome-extension://hgmoccdbjhknikckedaaebbpdeebhiei/performance-now.js.map

    Plus, if you could provide me an email address, I will be more then happy to share with you the project source. I don't want to make it public.

    Thank you.

  • Ashley, do you have an idea about how to solve this? :)

    Today I updated to R186, but I got the same error.

  • Hello,

    I have a problem with the latest beta version, R185. I needed to update to the beta version (because of the popups URL blocked by browsers). Everything went good, Friday I saved my project to my Google Drive cloud account and went home.

    Today, I wanted to make a change to the game so I opened the project from my laptop (not PC), but I got the following message:

    "Failed to open project. Check it is a valid Construct 3 single-file (.c3p) project.".

    I tried to downgrade Construct 3, but if I do so, I will get another error telling me that the project was saved in version R185, and I'm using R182 - so, I need to upgrade to R185 again.

    I can open other project saved in other version of Construct 3. The single problem is at that project saved in R185.

    Anybody got a trick? :)

    EDIT:

    I tried to get an older version of the game project (Google Drive > Manage versions), but it won't open it. I got the same error. I tried to open the very first version (that was in 31 January), but I got the same error.

    Tagged:

  • Hello Ashley,

    Now I tried the latest beta update, and it works.

    I was able to solve it in the 182.2 stable version by using the Javascript. But now with the latest beta update, I can use just Touch > Browser > Open in New Window and it will work just fine - so I don't need to create new Buttons for this.

    Thank you, and have a great day! :)

  • Hello,

    From one of the latest updates, I have a problem with the outgoing links (Browser > Open URL in New Window). I use it in my games to my logo, so, when a player push/click the logo, it will open a new tab with my site. (I have an online gaming site)

    Until the latest days, it worked; I had to make a button, put it 0 opacity and, position above logo, and on touch or on click to the button, I triggered an Open ULR in New Window event. Now, this will not work.

    How can we make an outgoing link to work?

    Kyatric, Ashley

    Thank you! :)

  • You do not have permission to view this post

  • kcalpesh, could you please tell me more about what are you searching?

    I solved my problem by doing the following things.

    1. When I want to show the AD, I will have 2 Javascript lines (Browser > Execute Javascript). The first one is: "cr_setSuspended(true);" that will suspend (pause) the game and the next is "window[preroll.config.loaderObjectName].refetchAd();" that will fetch my AD.

    2. After I export the game, I will add in the index.html file, in header, the AD, like this:

    <script type="text/javascript" src="example.iframe.conf.js"></script>

    <script type="text/javascript" src="example.js"></script>

    Those two scripts are provided by our partners, Google Certificate Partners that manage our Adsense account. I don't know more about them.

  • Nepeo

    Yes, the script will not work in preview.construct.net, just when uploaded to our servers.

    Fengist

    I've solved (for a moment) the problem with your trick; JQuery plugin for Construct 3. In this way I can import my script from Construct 2. For a moment it's ok. I will try to remake it using your idea in the future.

    Thank you all! :)

  • Nepeo

    Sure. Here is the Construct 3 test project and PHP script: gofile.io

    For testing, you can use: zuzu.games/upload/our/get-content_NEW.php - the script is working properly, because it is used in my old Construct 2 projects. That page receive an URL, and search in the URL's example.com/ads.txt, testing if there is or not our Google Publisher ID.

    What else could I provide for you?

  • silbedbg

    I saw that you know Javascript, and from what I understand you make games in Construct using scripts. Is there a chance to look at my problem? I'm try for some days to solve it, and I'm out of ideas.

    If you could, that would be great! :D

  • Nepeo

    No, the script runs ok, but I don't get any data in.

    The problem is that I can't get any data through:

    .then(res => res.text())
    .then(data => runtime.callFunction("cauta_pub_id", data))
    

    Here is the script in Construct 3:

    Image: i.postimg.cc/Ghr3Z4Nq/code.png

    Sort explanation:

    • 'mod_reclama' = ad_mode ( I set 1 if it's partner - and display google ADS, 2 if it's not - I display banners)
    • 'executa' = is just for test - to see if it's stuck, how many times he tried to send data, and so on. Is incrementing with 1 until he send any data to function. When is some data send, it becomes 99.
    • 'partner' = is the variable that store the data send by your script; is 0 or 1 - by default it's -1.

    I extract the application test, upload to my server, and it's not working. The PHP part is 100% correct because I use it in the Construct 2 games.

    If you have nerves, the page where I need to send the URL where is the game running is in the image too. I'm trying to find a solution for more then 5 days. :))

    PS: If it helps you, I can provide the PHP script too.

  • Try Construct 3

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

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

    I use it in an event sheet script block, but I don't know why it's not working. If I delete 'away' operator, I don't get any errors, but the script will not work properly.

    I don't get any data, just 'Promise' or 'undefined'.

StefanN's avatar

StefanN

Member since 6 Jul, 2017

Twitter
StefanN has 1 followers

Trophy Case

  • 7-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies