jugger87's Forum Posts

  • Problem Description

    Expresion UserFolder from Nw.js is returning \\ instead of Users\katy.kaiser

    Attach a Capx

    https://drive.google.com/open?id=0B1Q_X ... VBJcG1lTG8

    Description of Capx

    I've attached both capx and the exported project in nw.js. In my pc it works allright, but I sent it to a web that sells desktop games and they told me that the game didn't load. After some debuging we've find that in his pc the expresion UserFolder from nw.js is returning \\ instead of his real route (Users\katy.kaiser).

    She also has proved in one of his mate's pc and it also doesn't work.

    I copy here the response they've given me:

    Hi Sergei,

    I got the same error when I tried the 32-bit and 64-bit windows version (using the Run as Administrator technique). It doesn’t locate the proper folder (first button populates “\\” only) and doesn’t actually create any folders in my Users\katy.kaiser\AppData folders.

    The test version did function correctly on my Mac, however, so that’s good news!

    Kind regards,

    Katy

    Steps to Reproduce Bug

      Just click the button above, it should return users default folder in the textbox next to it.

    Observed Result

    \\ is returned instead of the real user's folder

    Expected Result

    Fill the text with the user's folder

    Affected Browsers

      Nw.js

    Operating System and Service Pack

    Operating System: Windows 7 Enterprise 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_ldr.160408-2045)

    Construct 2 Version ID

    227

  • Hello,

    I've recently update my last game succesfully to google play.

    Hope you enjoy it!

    Google play: https://play.google.com/store/apps/details?id=jumping.ninja

  • Hello,

    I've recently update my last game succesfully to google play.

    I have to say that now it seems that making games with C2 really work well with android using inter xdk.

    Cranberry plugin works really well with highscores, and admob ads also is working correctly.

    Google play: https://play.google.com/store/apps/details?id=jumping.ninja

  • Hello,

    In my case the problem is that the banner takes more than 20 seconds to display, give it a try and wait some seconds to know if at least it shows.

  • Hello,

    I have the same problem, but I've noticed that in only fails when requesting public highscores, if you try it with social it return the scores.

    I think is a bug from the Google Play plugin.

  • Hello,

    I know its been some time, but what did you do to make ir work?

    I have the same problem, kongregate answer me with this:

    It might be an issue with directory structure. Index.html is calling c2runtime.js and c2webappstart.js, which are in the KONGREGAME directory (the dev’s zip file) below the game directory, so index.html won’t find them.

    I've also followed the tutotrial which is very simple, export game as kongregate, zip all files directly except index.html.

    Upload index.html, click "I would like to add more files" and select de zip...

    Thanks in advance,

    Sergio

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • wow, your game looks amazing! great job!

    are you finding many purchases from facebook credits?

    Thanks sidneycat! We put a lot of effort doing it.

    So far we have 25$ with facebook credits, specially for buying lifes.

    We are looking to promote the game thought facebook...but its extremely expensive...suggested bid of almost 1 € or even more per click...that may be good if you are selling cars or something really expensive...but with that cost I would have to spend 1.000€ just to get 1.000 players try my game...

  • Hello,

    my brother and I have been working with a game for a couple of months.

    We have finally succed implementing all kind of facebook integration( which was a tought task because of facebook confusing documentation).

    The game is a match 3 with numbers, but you can see it better in the video on the facebook game page:

    https://www.facebook.com/games/insane_numbers/

    And this is the facebook page:

    https://www.facebook.com/insanenumbers/

    Any suggestion will be welcome.

    Regars,

    Sergio

  • Okey you were right, I thinnk the JSON vas in 2D and construct 2 requires it in 3D.

    If anyone has the same problem, this was my first JSON:

    {"c2array":true,"size":[4,4,1],"data":[[0,50,100,150],[0,500,1000,2000],[0,1000,2000,3000],[0,1500,5000,10000]]}

    And this is the correct format:

    {"c2array":true,"size":[4,4,1],"data":[[[0,50,100,150]],[[0,500,1000,2000]],[[0,1000,2000,3000]],[[0,1500,5000,10000]]]}

    You can close it as it is not a bug, thanks everyone!

  • But the Json loads the data correctly, is at the time of changing the value in any position that crashes.

    Here you can see the crash:

    https://www.dropbox.com/s/epq8kzivone10 ... o.png?dl=0

  • Error while changing value to an array after load from JSON

    Javascript error is showm when a value of an array ins changed after it was first filled with a load JSON.

    Attach a Capx

    https://www.dropbox.com/s/5xxbgdwfjy2pb ... .capx?dl=0

    Description of Capx

    Just open the project, it will autoload a JSON on an array, and after that, it makes a set value in (0,0,0) = 234;

    In chrome you should see a crash, in Firefox in simple doesn't change the value

    Steps to Reproduce Bug

      Just open the project

    Observed Result

    Javascript error or the value is not changed

    Expected Result

    Change the value in the position indicated.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)

    Operating System and Service Pack

    Windows 7 Ultimate

    Construct 2 Version ID

    216

  • Well doing some changes to the plugin and some proves, I can assure the problem is here: (open runtime.js inside the ajax plugin (C:\Program Files\Construct 2\exporters\html5\plugins\ajax\runtime.js)

    line 197: request.onerror that triggers this:

    line 127: var errorFunc = function (err) where err in this case is :

    [object XMLHttpRequestProgressEvent]

    As a provisional solution I will make an if (err = "[object XMLHttpRequestProgressEvent]") return.

    But anyone knows why this happens? And why not in Firefox?

    Thanks,

    Sergio

  • Sorry there was a problem with the capx, now it is Ok.

  • Problem Description

    Ajax request for a php file returns both OnCompleted and OnError triggers

    Attach a Capx

    https://www.dropbox.com/s/ew45o51qaa25d ... .capx?dl=0

    Description of Capx

    Ajax request for a php file returns both OnCompleted and OnError triggers.

    The call itself works (you can check it here: https://www.app.insanenumbers.com/Insan ... erid=12112).

    It returns a string "newuser".

    Steps to Reproduce Bug

      Just open the project in debug mode, it inmediatle calls the ajax request on start of layout.

    Observed Result

    Both variables sPrueba3 and sPrueba4 are 1, and you can see that each one is set on a separate triggers, whichs means that both triggers are called.

    Expected Result

    It should only return one trigger, either the ajax was OK or NO, but not both.

    It only happens in Chrome and Internet Explorer, in firefox is all OK.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (NO)
    • I.E: (YES)[/

    Operating System and Service Pack

    Windows 7 Ultimate Service Pack 1

    Construct 2 Version ID

    212.2

  • Hello,

    I've created a game on facebook, and I don't know why if I export the game with the option Advert bar style, the facebook payments doesn't work.

    With the Normal style they work correctly, and I've read that is a matter of canvas and iframe.

    With advert style the index.html created and iframe, and with normal everything is on canvas. Facebook only accepts payments from a canvas.

    Is there a way to create or put the canvas inside the iframe?

    Thanks,

    Sergio