Jump to content
MakeWebGames

Script47

Members
  • Posts

    1,150
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Script47

  1. You can't be, it's all in one file.
  2. The console is a very good debugging tool, it tells you JS errors/warnings, so maybe if you look there and it might shed some light to why it isn't working.
  3. Do you have any legitimate proof on what you've just said, and not just hearsay?
  4. Great template, as always by Pete. It looks extremely professional.
  5. Yerp! Obviously.   Season 3 finale is done. :p
  6. I really like the sound of the installation one. It would be cool. I think I'll try that. Then look in to the top one. :)
  7. When you output the date, make it more user friendly using this:   date('d/m/Y g:i:s A', strtotime($youDateFieldblahblah));   I wasn't sure if you mean't it but you can make thread without content in them? Good job. :)
  8. You were missing the curly brace because you were using short tags, I got syntax error end of file. I removed the short tags and put the brace proper and it worked. Why do you have this? I'm not flaming but I just want to see your thinking behind why you would close the tags then reopen them again.   <?php include_once('mods/globals.php'); ?> <?php if (array_key_exists('id', $_GET)) {   To easily get the users ID you can use $_SESSION['uid']; instead of grabbing it like that. When you run this prepared query why use "?" where `id` is and then bind the variables? bind_param();   $id = abs(intval($_GET['id'])); $sql = "SELECT `char_name`, `date`, `title`, `content` FROM `forum_threads` WHERE `id` = $id"; $get_thread = $db->prepare($sql); $get_thread->execute(); $get_thread->store_result(); $get_thread->bind_result($char_name, $date, $title, $content);   You htmlentities(); $title and $content but not $char_name?   while ($get_thread->fetch()) { echo '<h4>'.(htmlentities($title)).'</h4> <table class="table"> <tr><td>'.(htmlentities($content)).'</tr></tr> <tr><td>Created on '.($date).' by '.($char_name).'</td></tr> </table>'; }   No security from post? htmlspecialchars(); Sanitize Filters   $post = $_POST['post'];   Also make it easier for other developers to use and edit, so indent and space so it's easier to read not a big jumble. If you find you can't do that yourself then look in to online PHP formatter. PHP Formatter htmlentities() vs htmlspecialchars();
  9. My mistakes, the SQLs work.   Don't use short tags. Missing curly brace. Insecure.
  10. You have quote a few errors in your code, I tried fixing some but there are quite a few, so your SQLs are incorrect too.
  11. Awesome right? Please tell me someone here has watched it, and if not, what you waiting for watch it! It is awesome! IMBM Rating: 8.9    
  12. So title says it all, this is the official thread for all your request for things you'd like to see in Panther, what you've got to understand is you can't point the engine is one direction, meaning you can't have all "mafia" game features because this is mean't to be an engine which can be used for any sort of game. Please explain your modules if they aren't so self explanatory.
  13. If you're using V0.6 then to make things easier you use the functions successMessage(); or errorMessage(); instead of making writing the div out all the time. :)
  14. I sent a pull request for V0.6 I think this one might actually be the right one. ;)
  15. That picture board helps a lot in understanding it. :)
  16. Yeah, this is what I thought, if we give it some spotlight then maybe the activity will increase.
  17. I was wondering if an admin could make a subsection for it? So all engine support, announcements, modules etc.
  18. He's sharing the same file with users, nothing wrong with that. Unless the tutorial writer gave prior warning that you can't share or use the code, I don't see what he's done wrong.
  19. An if statement checking the users health would suffice I think. So let's say we want it to be red when the users health is 25 it would be something like this:   if($ir['health'] <= 25) { // Over here would be the style as it would normally be but for red. } else if($ir['health'] <= 50){ // Other values etc.. } else { // You could use else if or you else and have the last value, so anything else would be green. }   I think this might work, try it. ;)   Easy option for what?
  20. Not bad, have you got it so it changes colour depending on health?
  21. Both your links at the top redirect to different places. They say MWG & MCCodes yet take you to the SouthCityWars FB page. The register overlaps both the login and description box.
  22. You could at least put the site name, or the basic details.
  23. Thank you. :)
  24. webbedgames
  25. So I've been sitting on this idea for a while now, and thought it's time to actually put it out there, I have talked to some members about it already who said they like the sound of it. So why don't we as a community make a GIT page where people can put things they have made and together we can work to make them better, that way people will learn more as well, with every pull request you write what you have done, and why. So people who are still learning (like myself) learn the new things. Plus if we all pitch in we could make some decent things. Just an idea I came up with, what do you guys think? Currently on my GIT for MCCodes-Modules I have had activity from KyleMass and Shaddy who have either optimized the code or made it better in some way, which I thought was very good. Module Request
      • 1
      • Like
×
×
  • Create New...