Beekiller's Recent Forum Activity

  • Good morning to all. I have a problem that cannot be solved and I need it for a university project; we are doing a visual psychophysical test to detect changes in spatial frequency in patients with Parkinson's (a problem that is beside the point);

    I have created a simple test of a stimulus which with right and left works, with successes(global variable)=0 and errors(global variable)=2; I mark that when I press the correct stimulus I add a hit and when I do the reverse I subtract 1 miss, but when I pass the first hit it always subtracts and adds both, and it sucks because it's not real and I don't know what happens. I attach screenshots:

    If I erase or cancel the sequence of failures, it perfectly counts the successes; but if not the problem is the following:

    Sometimes it works correctly, but other times it does very strange things and subtracts and adds at the same time.

    any idea or solution?

  • Im doing a therapeutic game, and i dont know who services for login, resultsts could be better, i think maybe firebase and playfab cause have addons for do all service without code, but i dont know.

    Someone can give me a important review? Thanks

  • WHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

    i DO IT!!!!!!!!!

    IM TOO HAPPY XD

    $qz = "SELECT id FROM members where username='".$username."' and password='".$password."'"

    Chante to this

    $qz = "SELECT id FROM members where username=$username and password=$password" ;

    and voala

  • The php file connects to the database and I can do it, the problem is in the results chains of the script, since it is not well designed or it does not give me the value of id corresponding to username and password.

    I think the error is here cause that echo dont do nothing

    $qz = "SELECT id FROM members where username='".$username."' and password='".$password."'" ;

    $qz = str_replace("\'","",$qz);

    $result = mysqli_query($con,$qz);

    while($row = mysqli_fetch_array($result))

    {

    echo $row['id'];

    }

    mysqli_close($con);

    ?>

  • How i can do that. I am learning by my own php but i dont know do that at this moment.

    I can have a ajax.lastdata with all the sentence SELECT id FROM, But not the result id from my database

  • The URL works fine.

    Its AJAX or something of the script to give me the ID and that ID put it into de Ajax.Lastdata and then put on the variable UserID

  • I can try the last part later, cause i think all is ok...

  • I use the https://www.construct.net/en/tutorials/simple-login-using-a-mysql-database-312 tutorial.

    The Script is conected to the Database.

    This is the Script

    This is the AJAX.LastData Nothing

    I don´t know where is the issue.

    This is the eventshit

    Please i need some help i cant finish this part

    BTW i use always HTTPS protocol into the webserver also into the game.

    Tagged:

  • i see; i try to find this information

    Thanks a lot

  • Good morning to all

    I have within my therapeutic project I want to calculate the reaction time that a person takes to destroy an object (arrow) between destruction and destruction, and that it goes out once after another and I want to calculate said time.

    I have a global variable called total time, with the function For every 1s add 1 to said variable.

    I have a global variable called destruction time, which is set to destroy the object for every 1 s add 1 to that variable.

    For Time 1 it would be T reaction total time - destruction time and we add it to another variable, but I want it to always calculate it and this is where I am lost.

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for info ;)

  • The new Beta Version 272 its not compatible with proui addon. I have big error.

    I use a clean R272 and when i install proui 1,817 crash and put that in image; in version 271-2 doesnt appear

Beekiller's avatar

Beekiller

Member since 18 Jun, 2019

None one is following Beekiller yet!

Connect with Beekiller