theziggypops's Forum Posts

  • usually in a webpage, it would use a method called '$_POST' and its not actually in the url. as construct 2 can only request pages. you can request a page (using $_GET) with login.php?username=username&password=asdaskdjn or whatever. but also, you should hash passwords at where it is held (usually in a mysql database).

    Thats what I think anyway, I'm no expert, it's merely what i've understood from the last couple of days.

  • I would think that dropbox would be a pretty nice way of doing it, as you can get a dropbox app <img src="smileys/smiley1.gif" border="0" align="middle" />

  • i would

    always

    recommend

    android tablets <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Currently.. I get the game to hash the password before it is sent and the php salts it. I will look into your session state idea, that sounds like a much safer idea. I will be buying a ssl certificate too.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • (This question is very php oriented, but relevant)

    Hi, so me and my friends are making a game and I've started on the register + login process. I have managed to get it working and passwords are encrypted.

    I've looked around the net and have realised that &_GET is very unsafe. $_GET being the use of the AJAX plugin(login.php?username=theziggypops&password=mypass)

    Has anyone got any other safer ideas?

    (I've heard of using session keys? Will look into it)

    Thanks,

    theziggypops

  • thanks for the quick update :D

  • <img src="smileys/smiley6.gif" border="0" align="middle" />

    i tried my app with the new plugin and recieved errors, so i thought i'd try your tech demo. I get errors on that too. I'm on r70 64bit.

    <img src="http://i41.tinypic.com/21n2ljb.png" border="0" />

  • not my best, but meh! <img src="smileys/smiley36.gif" border="0" align="middle" />

    <img src="http://www.speedtest.net/result/1631929254.png" border="0" />

  • is this working with the newest c2? just wondered as i THINK it's crashing my app.

  • Hi,

    I'm making a register + login system for a game me and my friends are making. I have added encryption on the php side, but would like to encrypt it ingame. I downloaded a sha1/md5 hasher, but i keep getting the error 'cr.plugins not created' whenever i run it. Are there any alternatives or a way to fix it?

    rpgmenuwip.webatu.com/logintest

    Thanks,

       theziggypops

  • Hi!

    So, i'm making a game with a few friends. I'm currently trying to save locations of a player via AJAX requests to php. It is currently working. Let me explain what I need help with.

    game requests save.php?name=theziggypops&locationx=223&locationy=134.

    whatever, something like that.

    the problem with this is, ANYONE can just put that in their address bar pretty much and move themselves anywhere they want. Whats the best way of stopping this? Is there a way to only allow the website to run php scripts?

    If I didn't make anything clear, let me know.

    (I didn't know what board to post this on)

    Thanks,

    theziggypops

  • okay! it's defintely a socket problem. if i have a 'Socket > Connect "<iphere>"' in then it doesn't load. Would this be due to me not setting the server up properly?

    I also noticed that my files weren't uploading on the previous host, if you're confused.

    rpgmenuwip.webatu.com

  • I was just going to say. I just added the sockets again and it doesn't start. What's going on?

    How do you find these errors btw?

  • Found the problem! There was something odd with the facebook plugin. Once i removed the facebook objects, it seems to work fine. Not sure why it worked okay on your side though.

    Thanks anyway!

  • Well, i can't even run the html from file. I get the same error. The version on there doesn't use websockets anymore, so i can factor that out.

    I just reinstalled Construct 2 and still the same.