jugger87's Recent Forum Activity

  • 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

  • Hello,

    I'm having problems with the plugin when the game is hosted.

    In localhost everything is OK, but in the my host I'm no able even to login into facebook.

    I think the problen is the The redirect URL.

    In your plugin I noticed these two variables:

    AddStringParam("URL", "The redirect URL" ,'"http://lancelocke.yourhosting.com/Inbox"');

    AddStringParam("URL", "The redirect URL" ,'"http://lancelocke.yourhosting.com/Outbox"');

    Should I change them?

    If my host is https://www.myexamplehost.com/PRUEBA/PRUEBA/index.html

    Also in the facebook app settings what should I enter in advanced tab, Valid OAuth redirect URIs?

    Thanks,

    Sergio

  • Hello everyone,

    I've developed a game with facebook integration thanks to lanceal plugin. In localhost all is OK, but when I

    execute the game from my host it simple loads and stops when was supposed to open facebook login.

    I've wasted the whole day "searching" for a solution(again thanks Facebook for your lack of information), but I guess the problem is the url in advanced configuration of the facebook app:

    Valid OAuth redirect URIs

    What should I put there? If my game is hosted in https://www.myhost.com/PRUEBA/PRUEBA/index.php for example?

    I've tried with lost of combinations and none worked, while with http://localhost:5000/ works for localhost.

    Help please I'm desperate with Facebook!

  • Hello everybody,

    I've just created a new android game. It's about agility and reflexes, you'll have to interact with different types of balls as fast as you can.

    I've done it with crosswalk, in my brother's mobile and mine it works well, but I would appreciate to prove it in more different mobiles.

    This is the google play page: https://play.google.com/store/apps/deta ... zing_balls

    Regards,

    Sergio

  • Hello again,

    I've been working with the plugin and all was going well, but today I got an error I didn't get before.

    The problem comes with the send request (object), it keeps loading the facebook windows but never shows the info and the send button. The extrange thing is that one week ago it worked well, I could ask my brother for an object many times.

    The only thing I've changed is the object ID, I deleted the one I was using and I created this new one...but it should work the same way isn't it?

    Thanks,

    Sergio

    Solved: It seems that it is now working well...I assume it was a facebook problem. Sorry for the unnecessary post.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello again,

    I've been working with the plugin and all was going well, but today I got an error I didn't get before.

    The problem comes with the send request (object), it keeps loading the facebook windows but never shows the info and the send button. The extrange thing is that one week ago it worked well, I could ask my brother for an object many times.

    The only thing I've changed is the object ID, I deleted the one I was using and I created this new one...but it should work the same way isn't it?

    Thanks,

    Sergio

  • Hello,

    I've recently added two games to the google play.

    Bat's Jungle was already done for facebook, but now I've been able to optimize the code to work on mobiles.

    https://play.google.com/store/apps/deta ... ats.jungle

    Blazing balls is my second game created, the one that make me know how to optimize construct 2 for mobiles.

    I made it with phonegap, and I BQ mobiles for example it makes zoom which makes imposible to play.

    I you can please tell me if you can see it well, because if not I may rebuild it with crosswalk.

    https://play.google.com/store/apps/deta ... azingBalls

    Hope you enjoy both.

    Regards,

    Sergio

jugger87's avatar

jugger87

Member since 9 Mar, 2014

None one is following jugger87 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies