bluebobbo's Forum Posts

  • 9 posts
  • Shakalu

    Yes I have session_start() initiated.

    Yes make the request for the token, first, then use that token to secure further actions.

    [attachment=0:33kqedpf][/attachment:33kqedpf]

  • I must be the only one that has integrated this plugin and tested it thoroughly enough... I'm guessing nobody else found this error. I guess I'll try to debug it later.

  • Shakalu, looks like RSA.php is throwing a PHP Notice:

    PHP Notice: Decryption error in /rsa/Crypt/RSA.php on line 2230

    PHP Warning: array_search() expects parameter 2 to be array, null given in /rsa/ajax.php on line 64

    It is online, so I'm not sure why it's throwing the errors. Any ideas?

    Update: 5:29 PM CST.

    I narrowed down the problem to this line

    if( ($k = array_search($arr_data['token'], $_SESSION['token'])) !== FALSE )[/code:12trc521]
    
    Specifically, $_SESSION['token'] does not hold a value. I couldn't find anywhere in any of the files where $_SESSION['token'] was assigned a value, thus the array_search wasn't matching anything. Also note, that array_search's second parameter must be the array, so it'd actually be array_search($_SESSION['token'], $arr_data['token']) for valid syntax. There is a value in $arr_data['token'], just none in $_SESSION['token'].
  • Getting same bugs with opening urls, app.loadurl is the error. Also tested literally all of Construct2's objects having anything related to opening/redirecting to url as a function, and tested + compiled in XDK Crosswalk but to NO avail. Nothing works to open a url. Yeah, major issue here, since no URLs can't be opened on the device's default web browser.

    One last test I'll try is to try and pull the Cordova API and see if inappbrowser is of any use. Maybe this is a better option than opening up the user's default browser... Who knows. I'm using XDK 1199 and the latest C2 now (176)

    I guess right now, it's time to build your userbase.

  • Seems like there is no good answer to this? I'm also looking for an advertising solution that works with Intel XDK Crosswalk for Android.

  • I'll be XDK all the way as my app is about 5 days to finally reach the Play store (in full form) for Android... I've already written up a really long post that I'd like to share... It starts from ground zero, just having an idea and Construct2. XDK Crosswalk for Android has so far been the most compatible. In fact, I've had VERY VERY little issues as far as Compatibility through compilation goes... While with CJS and Ludei, I couldn't even get the App past their branded load screen. (Did I mention XDK gives you your own brand/splash - cheers!)

  • Intel XDK (1199) / Construct2 (r174 beta) compiled with Crosswalk for Android tested (on Samsung Galaxy S4) as of 8/6/2014!

    I must say Shakalu, this could be the best plugin for encryption for Construct2! Not to mention it's updated, and has a beautiful guide to go along with it... Just perfect. I was stuck doing a bunch of research in this part of my game (security) until I found this plugin! I even looked through Kyatric's huge list, but honestly most of those are dated now. Dug through tons of tutorials (new and old). Nothing was like this plugin! This was everything I needed.

    This is a must-use for any serious C2 game developers trying to reach the mass audience (as for me, I'm trying to get onto Android devices via Google Play Market). It's hard to find quality C2 plugins that actually work when compiled through a wrapper...Anyway, can't go sending private data just in any old fashion if you're trying to hit 100k game members .

    Thanks a ton Shakalu, you rock. Keep up the excellent work!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I actually found a way around this. For the purposes of my game it should work.

    If I'm able to complete the basic concepts of my game with sockjs in multiplayer, I'll definitely let you know about it.

  • Hey Johnny, I'm not sure how actively you are working on this plugin but I think we should talk and see how we can further move this plugin.

    In anycase, I've been tinkering around with multiplayer functionality and I've tested just about everything (to no avail), until I found SockJS. I was finally able to get some sort of real time data transferring through a NodeJS server (hosted at Nodejitsu).

    And to my point... I've found a small bug that I'm not sure if it has to do with the sockjs plugin or not. Essentially, what happens is:

    On SockJS even "On Message": when I added the System Trigger once condition to it, the sockjs doesn't recognize this and still runs the loop multiple times, instead of just once.

    Let me know if you know anything about this, thanks a lot!

  • 9 posts