ArcadEd's Recent Forum Activity

  • Bingo! Thanks so much, totally forgot about that.

  • I'm using AJAX to send data to a php file on my server.

    Sending URL looks like this.

    http://elf-games.com/twitch/checklogin. ... ss=texas18

    The php file on server is this. Obviously the ***** are data I don't want to show, but the connection is working fine.

    <?php
    
    $host="localhost";
    $username="*******";
    $password="********";
    $db_name="*******";
    $tbl_name="********";
    
    mysql_connect("$host", "$username","$password")or die("cannot connect");
    mysql_select_db("$db_name")or die ("cannot select DB");
    
    $myusername=$_GET['user'];
    $mypassword=$_GET['pass'];
    
    //to project MySQL injection
    $myusername = stripslashes($myusername);
    $mypassword = stripslashes($mypassword);
    $myusername = mysql_real_escape_string($myusername);
    $mypassword = mysql_real_escape_string($mypassword);
    $sql = "SELECT * FROM $tbl_name WHERE name='$myusername' and password='$mypassword'";
    $result=mysql_query($sql);
    
    $count=mysql_num_rows($result);
    
    if($count==1){
    	$_SESSION['myusername']=$myusername;
    	$_SESSION['mypassword']=$mypassword;
    	echo "Success";
    	//header("location:login_success.php");
    	
    } else {
    	echo "Wrong Username or Password";
    }
    ?>[/code:qxhqrrlp]
    
    I assumed the Echo responses are what would give me back my ajax.lastdata, but I'm getting nothing back.  Any ideas how I send data back to my ajax call?
    
    Thanks,
  • With Tom's help, I got it worked out.

    It wasn't just my phone that was the problem. The problem was I had some SEO tools installed on that domain. Attracta or something, and it was causing some weird redirect on mobile.

    I've moved the games to a domain that doesn't have that installed and all is working now.

  • So for years and years I have used Host Gator for my hosting, everything has been fine.

    However, recently I can't browse to any of my HTML5 games via my mobile device. They work fine on desktop, but when typing in the exact same URL on my phone browser (Firefox or chrome) I get a File Not Found error from my website. I've tried it a few hundred times <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">.

    here is one example url. http://www.elf-games.com/twitch/games/spaceshooter/

    I've contacted Host Gator and they have no clue. Has anyone else seen this or had this problem? I might try another web host to see if the issue is fixed.

  • I'm planning on doing a weekly stream for construct 2, if you get a chance, filling out this survey will really help. Thanks.

    https://www.surveymonkey.com/r/BLJMKZT

  • I mean when dumping the data into the array.

    At some point you need to put the info into the array, and that point you can check if that value exists. Unless you do need dups at some point

  • You can also use the array Contains Value action to check if that value is already anywhere in the array.

  • ehhh will be nice when they finish this beat em up tut

    Anyone is of course is welcome to continue it. I've just been too busy with other projects to make videos. I know I keep promising to continue it, just can't seem to find the time. Hopefully someday.

  • Yeah, the ONLY thing with the old CJS is no direct admob support and that's a killer for me. It's my only reason for wanting to jump to cordova/cocoon.io.

  • Does this mean that once you want to export your third game, you will have to upgrade and start paying monthly to export more? And than After 10 exports, you need to upgrade again? Does this also include beta exports for testing purposes?

    Or remove a project, and replace it with a new one. Which isn't a good idea if you want to update the game in the future.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, read that too. I did email them already, nothing as of yet.

    I've already moved over to Game Maker for my newer projects since I was able to buy the master collection on sale (the price of one splash screen removal). I'll probably just stick with the old CJS compiler to update my projects and anything new I will just create in GM.

    I'm not a big fan of monthly subscription either. I would rather just pay per project. With subscriptions I feel like I am just throwing money away for the months I don't add or update any of my games.

    I don't want to come off as a complainer. I've been behind Ludei most of they way and I think Cocoon.IO is a great platform from what I have used in beta.

    I just know a lot of people have been waiting for me to update my Udemy Course and other tutorials for Cocoon.IO, and I just don't think I will be doing it. The tutorials on the Cocoon.IO site are really good though. I'm just going to stick with C2 for creating html5 games and leave mobile developing to another game engine.

  • Solomon

    If you use a custom splash screen it will show them both.

ArcadEd's avatar

ArcadEd

Early Adopter

Member since 3 Jul, 2012

Twitter
ArcadEd has 7 followers

Connect with ArcadEd

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x10
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies