Acey's Forum Posts

  • I cannot write PM because rep <500.

    I have some problems. When I uploaded all the files to the server php, I get error 500 while any other php scripts in the same directory are opened correctly. The server creates the error log with the following content:

    "[22-Jun-2016 13:23:39 Europe/Moscow] PHP Warning:  include_once(./config.php): failed to open stream: No such file or directory in /home/mokujin/public_html/my_domain.tld/mainsource/lib/includes.php on line 3
    [22-Jun-2016 13:23:39 Europe/Moscow] PHP Warning:  include_once(): Failed opening './config.php' for inclusion (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/mokujin/public_html/my_domain.tld/mainsource/lib/includes.php on line 3
    [22-Jun-2016 13:23:39 Europe/Moscow] PHP Fatal error:  Arrays are not allowed in class constants in /home/mokujin/public_html/my_domain.tld/mainsource/lib/user.class.php on line 15"[/code:2y2klc3w]
    
    How to fix it ?
    

    Well you could use my support mail

    But any way. Try making a die(phpinfo()); in any php file, and then see what version of PHP you're having. I guess you have below 5.6, so please upgrade your server to 5.6.

    This can be done at many hosts in the cPanel.

  • In this case, I will definitely buy this plugin !!! as soon as I get my salary. And what a guide "How to export to Android with Crosswalk" where I can see more about it?

    Yea. I will make some guides on how to setup the php part, and then how to export

  • this will only work when you compile the game on the Web as a site. And what about the game Android or iPhone games? When you export to Android or iOS, your form will no longer receive data from the server. ie post and get requests will be held from mobile games, but they will not be received back. or I'm wrong and everything will work after compilation in the APK format?

    Hello

    Well i've just tested a build on android, and had no problems, everything worked as expected. And this was done by just following the "How to export to Android with Crosswalk" guide. So this plugin works on all platforms.

  • HI there

    I am thinking of buying your plugin, mainly because I want a secure login system for a social app I am working on.

    Can you tell me how secure etc your system is with regards to salting and hashing etc.

    Many thanks.

    Hi algiz13

    ULS is very secure. What it does is like the following:

    It hashes the Password with SHA512 algorithm.

    Then it makes a random salt by doing this: hash('sha512', uniqid(mt_rand(1, mt_getrandmax()), true));

    A totally RANDOM salt that's hashed too.

    And then is stores the password like this: hash('sha512', PASSWORD . SALT);

    So it puts together the hashes password, and the salt, and then hashes it once more.

    I guess it won't get more secure than this... So you won't get problems with anything in the security matter.

  • Thanks, i have other question, its possible to overvrite old score in leaderboard.

    Original example is great but will be nice if you add other capx example with posibility to overvrite old score (this is nice second option)

    This is almost done and will be implemented in the next version (within 1-2 weeks). But thanks for the suggestion, will try to speed it up

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Its possible to create 3 games in one project and each game have own leaderboard?

    Also

    Can you record a video how install php and my sql?

    I BUY long time ago online leaderboards and i have problem with install it, even author of that leader board cant help

    Hi.

    Yes that's possible. Just create the different Leaderboards in the admin and then post to the correct ID from C2.

    Yea sure, i can do that to help people out. But i'm not sure when i get time to make it.

    BUT, if you get problems while installing, i can deffinetly help you out, just write to my support mail, and i'll get in touch as soon as possible.

  • Ultimate Login System — Now for sale in the Scirra Store!

    https://www.scirra.com/store/construct2-plugins/ultimate-login-system-2257

    <h3>Let a User Register, Login and Post scores to different Leaderboards in 1 minute</h3><div class="deshr"></div><h3>Available Features:</h3><div class="deshr"></div>

    • Login
    • Register
    • Multiple Leaderboards (Post and get Scores Sorted ascending or descending)
    • Change Password

    <h3>FULL PHP BACKEND, Desktop and Mobile compatible, with the following features</h3><div class="deshr"></div>

    • EASY SETUP of Database and first admin user!
    • Admin only login
    • User List
    • Ban / Unban User
    • Change role of user (Member / Admin)
    • Leaderboard List
    • Create Leaderboard
    • Activate / Deactivate Leaderboard (Deactivated can't receive anymore scores)
    • Systemlog (Check what admins are doing)
    • Change your password

    <h3>Upcoming Features:</h3><div class="deshr"></div>

    • PHP: Frontend example with Login, Registration and Change Password
    • Achievements!!

    <p>If you have any features in mind, then write to our email and suggest them.</p><p>To use this plugin, you have to have any kind of server running PHP 5.6 and a MySQL database with a user that have enough rights to Create Tables, Create Foreign keys, Insert rows and Update rows.</p>

    Use this topic to leave comments, ask questions and talk about Ultimate Login System

  • Hi

    I thought i understanded the difference on .obj and ["obj"], but apparently i don't fully understand.

    If you look at the screenshot. I can easily check on:

    self.response.status == "success"[/code:39prnqmf]
    That works without problems.
    But i can't do:
    [code:39prnqmf]self.errors = self.response.errors[/code:39prnqmf]
    Even if it does exist. So if i use:
    [code:39prnqmf]self.errors = self.response["errors"][/code:39prnqmf]
    It works..
    
    [img="http://i.imgur.com/f6ki7i7.png"]
    
    Can anyone explain this behavior ?
    
    EDIT 1:
    [code:39prnqmf]self.data = self.response.data[/code:39prnqmf]
    This line is working too, for some reason.
    
    EDIT 2:
    I found out that i had to do like this to get it to totally work:
    [code:39prnqmf]self["errors"] = self.response["errors"][/code:39prnqmf]
    
    -Acey
  • For now i have a module where you can register and login.

    I will be implementing Leaderboards from a start, and achievements later on.

    To add Leaderboards or make other user admins, you'll have to use the website backend.

    The backend is only for admins.

    From a start you won't be able to add more roles, but the standards (member, admin)

    Anyone got any suggestions for other features that would be nice to have ?

  • IP Info — Now for sale in the Scirra Store!

    https://www.scirra.com/store/construct2-plugins/ip-info-2249

    <h3>Get all info you need on the users or a custom IP</h3><div class="deshr"></div><p>This plugin can be very useful with Location Info and Weather Info, since you're then able to Load the Latitude and Longitude from IP, and then use these to get the Location and/or Weather info.</p><h3>Available Info</h3><div class="deshr"></div>

    • IP
    • Country
    • Country Code
    • Region Code
    • Region Name
    • City
    • Postal Code
    • Latitude
    • Longitude
    • Timezone
    • ISP
    • Organization
    • AS Number / Name

    <p>The custom IP can only be a IPv4, IPv6 isn't supported.</p>

    Use this topic to leave comments, ask questions and talk about IP Info

  • i check now but nothing have change, let me know i test this for you

    Maybe try on your mobile

  • Great but almost green text is right number

    Can be because either the Geolocation plugin for C2 can't take the 100 EXACT location, i didn't set the Accuracy to high (maybe i should). Or google can't find the EXACT address for the Latitude and Longitude, will upload a new Demo, try again in 5 minutes

  • >

    > > I had made geocoding plugin before, download and invoking google api does not need google api key, although the document of google map api has key parameter.

    > >

    >

    > I found some of that too, but i only see libs for Python, Java and Go

    >

    Does this plugin not use google map api in javascript version?

    Nope. I'm making a call to googles api.

  • I had made geocoding plugin before, download and invoking google api does not need google api key, although the document of google map api has key parameter.

    I found some of that too, but i only see libs for Python, Java and Go

  • It does not need a google account, imo.

    Soo, why do you say that, and what else do you have in mind ?