PavleNikolic's Recent Forum Activity

  • I am using your rex_ngio_medal plugin successfully on Newgrounds, thank you for a great contribution.

    I have downloaded your rex_ngio_loader and you wrote: Handles loading various URLs and tracking referral stats.

    My problem is: One of my games placed on Newgrounds is being iframed on a number of different websites. I am o.k. with that but the generated iframe-views are displayed only in my private Game Statistics and not in my NG published game bar.

    Can I use your rex_ngio_loader to track if my game is being played on the http://www.newgrounds.com or on some other url?

    I would like to determine if the game is being played on Newgrounds and, if it's not, just open the game's newgrounds url in a new window.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's a good workaround

    ...but I'm o.k. with iframeing, the game is getting nice gameplay-counts, it's just that I wanted for those views to be noted also on the main NG game page, not just in my NG developer's game statistics.

  • ...it seems that this code worked and, unfortunately, proved that the game url is not what I need:

    <!DOCTYPE html>
    <html>
    <body>
    <p>Click the button to display the URL of the document.</p>
    <button onclick="myFunction()">Try it</button>
    <p id="demo"></p>
    <script>
    function myFunction() {
        var x = document.URL;
        document.getElementById("demo").innerHTML = x;
    }
    </script>
    </body>
    </html>
    [/code:iu4k0njt]
    I placed it in a plain html file and uploaded it on Newgrounds, it gave me the url but it was a "http://uploads.ungrounded.net/tmp/1025000/... etc, etc".
    
    It's of no use since I need to check the url of the active browser, not the url of the hosting service where the index.html is located.
  • The Magistross code worked in the Construct but not on Newgrounds.

    I also tried to get the url like Newt suggested but, once again, it worked in Construct (it gave me localhost) but failed in Newgrounds (gave me "0").

    My capx in zip:

    http://www.newgrounds.com/dump/download ... bec3e4df71

  • Thank you so much, just tried it and it's functioning great.

    I'm o.k. with iframeing but I don't like the fact that these views are not visible in the Newgrounds game bar, just in my Game Statistics. I will use the function to open game on NG in a new window if the browser url is not identical to NG url. That way I will also have a NG gameplay-view and player can choose to play the iframed version or the NG version.

    EDIT:

    No, it's not working on Newgrounds. After a few tests with both unpublished and published game it seems that the function is always returning 'false' on game's url. I believe that this is happening because the game is also being iframed into newgrounds.com from uploads.ungrounded.net.

  • Is there any way to check what's the currant url that my game is being played?

    Explanation:

    I have placed a game on Newgrounds and, after about 7 days, my game is being iframed on a number of different websites. The gameplays are displayed in my NG Game Statistics but not being displayed in my NG published game bar (I have over 3000 plays on NG but over 4000 plays that can't be seen apart from my private NG Game Statistics).

    What I want to do is check what's the currant url of my game and if it's not: http://www.newgrounds.com/portal/view/xxxxxx then redirect to that official NG game url. Is something like that possible?

  • Thanx for reply, the id.net does seems a bit overly-complicated just to display ads, I don't think I will explore their features unless I get to the zero-ads point

    However I was approved by EpicGameAds and my ad-test was successful so I will give it a go. They are not really 'cutting-edge' and it looks like they seen a better days but so have I

    I intend to display EpicGameAds with free flash 3D engine called Cyberix3D. The process will be: I export the empty 'level' with ads to swf and then iframe that swf with POD's plugin in C2

  • I have no idea what's going on.

    I found this page with In-Game Ads tab and signed up:

    https://dev.id.net/docs/in-game-ads

    ..and then, suddenly, I seem to be a member of something called Id.net with some kind of a 3-part Identity profile <img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing">

    Does anyone knows what Id.net is? Does this have anything to do with in-game ads? <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked">

  • ..so the list shortens

    1. AdMob - only mobile platforms.

    2. Leadbolt - only mobile platforms.

    3. CPMfun - Reply to my mail never happened.

    4. New Grounds APIv3 plugins (doesn’t include NG Ads at this moment).

    5. AdSense (seems to demand applying with website and not game).

    6. Ad4game (seems to be just for mobile-platform advertising).

    7. CPMstar - I have been rejected but they will consider new application.

    8. EpicGameAds - My account is still pending.

    9. AdTomatik (seems to be for websites).

    10. AdvertiseGame - They are closing down the service.

    I now believe that the best solution would be to create a website, apply for ads with it and then Iframe the ads into the game

  • It seems that I have reached the point where I must admit to myself that I’m unable to find a way to display web-based ads in my Construct 2 game.

    This is what I tried so far:

    1. AdMob (seems to be just for mobile-platform advertising).

    2. Leadbolt (works for mobile-platform advertising).

    3. CPMfun (didn’t reply to me so far on my question concerning the non-website ads).

    4. New Grounds APIv3 plugins (doesn’t include NG Ads at this moment).

    5. AdSense (seems to demand applying with website and not game).

    6. Ad4game (seems to be just for mobile-platform advertising).

    7. CPMstar (have some-sort-of sponsor system that I don’t get or want).

    8. EpicGameAds (haven’t approved my account yet but they seem to be for flash-games).

    9. AdTomatik (seems to be for websites).

    10. AdvertiseGame (seems to be for websites).

    If anyone has any ideas on how I can proceed with this in any direction (can even be a theoretical direction) please write your idea.

  • This is great, I downloaded all the plugins, thank you so much for this work. I am not sure if some of them is also for displaying NG Ads?

  • This is even better than I expected, I hope you can find the FX file

PavleNikolic's avatar

PavleNikolic

Member since 5 Oct, 2015

Twitter
PavleNikolic has 25 followers

Trophy Case

  • 9-Year Club
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Email Verified

Progress

12/44
How to earn trophies