Jump to content
MakeWebGames

Magictallguy

Administrators
  • Posts

    2,146
  • Joined

  • Last visited

  • Days Won

    149

Everything posted by Magictallguy

  1. Re: Can someone please explain how to do a total reset of my game? And userstats, inventory, logs...
  2. Re: just restarted my game fresh and wondering Why are you looking into the class folder/files? It's the config.php that is more likely to have the problem, it may not have the driver array! That, or any file trying to require the class file may not have the $_CONFIG globally defined..
  3. Re: Hacked :( I have a feeling that "Casanova" is "Jameo" under yet another pseudonym. I have seen the way "they" type - and it matches perfectly.
  4. Re: FIRST THOUGH! Exillerating
  5. Re: FIRST THOUGH! Shilling
  6. Re: How to use sprintf?   <?php function check_number($num) { if(!ctype_digit($num)) { echo "Invalid submission"; exit; } $num = abs(@intval($num)); } function check_alpha($let) { if(!ctype_alpha($let)) { echo "Invalid Submission"; exit; } $let = mysql_real_escape_string(htmlspecialchars($let)); } function check_string($str) { if(!ctype_alnum($str)) { echo "Invalid submission"; exit; } $str = mysql_real_escape_string(htmlspecialchars($str)) }   All of those are designed for database usage (bar the numerical check). If you're not using a database, remove the mres() as there will be no need for it. The numerical check can be used with and without a database. Make sure you CHECK what's going INPUT, then CLEAN the INPUT!
  7. Re: [any version] Removal of 1 minute crons   timestamped actions can be an option, yet it will increase the load more than crons, unless you close open connections, even though the load is higher than crons. One other option... are the mysql events :P While this is true - not all servers have MySQL 6.* yet. The developers of MySQL strongly recommend that you do not use MySQL 6.* until there is a stable release.
  8. Re: Cronus's Armory Mod Help   Not for conversions, I had planned to convert this, however I have not yet. Want me to convert for you? I have no use for the code so I will not be stealing/using it anywhere. -- You are more than welcome to "supervise" me if you so wish (using a nifty little program called TeamViewer :P)
  9. Re: How to use sprintf?   Please tell me why you're securing numbers coming from the database that can only be a numerical value (due to fieldset being int)   $sql = sprintf("SELECT * FROM cities WHERE ((cityid != %u) AND (cityminlevel <= %u))", $ir['location'], $ir['level']); $q = $db->query($sql); would work just fine ;)
  10. Re: 3 Word Game over the place. //Clean up on Aisle 2!
  11. Re: Questions about languages. 1. 17 2. UK 3. undefined - Bit of everything really lol 4. Taught myself
  12. Re: Need help with this Did you even put them into your Cron Jobs? (found underneath the "Advanced" tab (by default at the bottom))
  13. Re: Mccodes Mono District Let's see.. Using MC Craps v2.5 -- Code is only slightly better - still lacks highly in security.
  14. Re: 3 Word Game , needed "muffin management" //OMGWTFBBQ!! O.o
  15. Re: Count Backwards :D 999,999,999,996 //Ugh, gonna be here all year, and longer!
  16. Re: Count Backwards :D 999,999,999,998
  17. Re: 3 Word Game of my donkey! O.o
  18. Re: 3 Word Game good. My orgasm
  19. Re: 3 Word Game double ended dildo //Happy now? :P
  20. Re: [mccode v2] Lucky Boxes   Just curious.. Why did you encase an SQL statement inside PHP tags?
  21. Re: [McCodes V2]Race Mod 'nuff said ;)
  22. Re: 3 Word Game on the top
  23. Re: 3 Word Game a naked mud-wrestle //HA! Got 2 in one there! :D
  24. Re: 3 Word Game   sploodged. I must //lol sorry, had too..
  25. Re: Things A Goverment Official Wont Say....   That had me laughing for 3 minutes straight! xD -- "I don't know what to do, do you know where this goes?"
×
×
  • Create New...