Jump to content
MakeWebGames

Haunted Dawg

Members
  • Posts

    2,933
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by Haunted Dawg

  1. Re: Name bug Add bellow that..   $_POST['NewName'] = trim($_POST['NewName']);
  2. Re: THIS OR THAT? Poor & Happy Him or Her
  3. Re: Need an artist If you want custom design image's made, it would cost around $15 - $35 per image.
  4. Re: .htaccess or php help needed Or stick your file's under public_html in a folder called include_files then just include that.
  5. Re: need help with v2 You did buy? Provide proof of purchase ;)
  6. Re: [MC Codes V2] Advanced Player Reports Idea: Let the admin's reply to the report. And let the reporter list all their report's with given status.
  7. Re: need a new mysql.php As im not an staff. PLEASE DO NOT BUMP YOUR THREAD 30 MINUTES AFTER POST!
  8. Re: Automatic Merit System Awarder [any version] $20.00 Unique! I was proven wrong.. He did purchase them.
  9. Re: Automatic Merit System Awarder [any version] $20.00 Unique! I am, my new msn is [email protected]
  10. Re: Automatic Merit System Awarder [any version] $20.00 Unique! Uhm, the hide&seek.php file is mine.. as far as i know.. iso used hide.php, so don't lie.. And i dont remmember you buying it off me.. please prove this. Or i wont hesitate to contact your host :/
  11. Server friendly let me guess.. you select all from the users table or all from the merits table when only needing one? Yup very server friendly.. Btw, i don't rememmber you purchasing that advanced whore house mod from me 0.o Ahem, after going to your site, you also have my hide & seek mod.. which you never paid for..
  12. Re: Jail and Hospital   //Jail echo ((!$jc) ? '[url="jail.php"][img=ikony/jail.gif][/url]' : '[url="jail.php"][img=ikony/jail2.gif][/url]'); //Hospital echo ((!$hc) ? '[url="hospital.php"][img=ikony/hospital.gif][/url]' : (($hc >= 5) ? '[url="hospital.php"][img=ikony/hospital3.gif][/url]' : '[url="hospital.php"][img=ikony/hospital2.gif][/url]'));   Try that..
  13. Re: Viewing codes hack In 1 year's time, ill be legit to actualy have a paypal account. But i guess i still have access to my money even tho im 17 :P
  14. Re: Viewing codes hack Actualy simple.. I had a paypal since ive been 12.. You get a bank card, you signup you add it.. viola,, they think your 18.
  15. Re: View Item Information Just a tip, i don't know if it is true.. but your query is pulling the thing's twice. $sql = $db->query( "SELECT i.*, i.itmid, i.itmname, i.itmdesc, i.itmbuyprice, i.itmsellprice " . "FROM items i "); Your pulling everything at i.* then again with the rest.
  16. Re: View Item Information Or just grab mine.. Faz, don't use the quick editor that is what screw's it up.
  17. Re: I need help with an update script for a little mod I did   mysql_query('UPDATE `users` SET `speed` = LEAST(`speed` - 1, 0), `steroids` = LEAST(`steroids` - 1, 0), `pcp` = LEAST(`pcp` - 1, 0)' ); //PCP $pcp = mysql_query('SELECT `userid` FROM `users` WHERE `pcp` > 0'); while($pcps = mysql_fetch_assoc($pcp)) { mysql_query('UPDATE `userstats` SET `guard` = (`guard` / 2) WHERE `userid` = ' , $pcps['userid']); } //Speed $speed = mysql_query("SELECT `userid` FROM `users` WHERE `speed` > 0"); while($speeds = mysql_fetch_assoc($speed)) { mysql_query('UPDATE `userstats` SET `agility` = (`agility` / 2) WHERE `userid` = ' , $speeds['userid']); } //Sterioids $steriod = mysql_query('SELECT `userid` FROM `users` WHERE `sterioids` > 0'); while($steriods = mysql_fetch_assoc($steriod)) { mysql_query('UPDATE `userstats` SET `strength` = (`strength` / 2) WHERE `userid` = ' , $steriods['userid']); }   From your script, that will work. But where is it updating their strength, speed & guard back to normal?
  18. Re: Google Speed (No it's not a drug) This is very good examples on how to speed up web page's. How ever, i do not use the , instead i use . I might change from now on, but scheming through my engine's code i have used . through out my code. I might change this for faster performance. The other day me & bluedevil23 were discussing he brough up a blog that said " is faster than ', which i highly doubt. But we will leave it to that. I hope alot of you guy's put notice to these option's to make other live's easier, as we all hate lag.
  19. Re: View Item Information   <?php include "globals.php"; print "<h2 style = 'padding-bottom:2px;'>{$set['game_name']} Item Information</h2>"; $sql = $db->query( "SELECT i.*, i.itmid, i.itmname, i.itmdesc, i.itmbuyprice, i.itmsellprice " . "FROM items i "); echo "<table class='table' width='80%'>"; echo "<tr>"; echo "<th>Item ID</th>"; echo "<th>Item Name</th>"; echo "<th>Item Description</th>"; echo "<th>Item Buy Price</th>"; echo "<th>Item Sell Price</th>"; echo "</tr>"; while($item = $db->fetch_row($sql)) { echo "<tr>"; echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmid']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmname']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmdesc']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmbuyprice']))); echo sprintf("<td style='text-align:center;'>%s</td>", stripslashes(htmlspecialchars($item['itmsellprice']))); } echo "</table>"; ?>
  20. Re: Viewing codes hack Using javascript document.write() with another speciality in the javascript lib you can encrypt your html ;)
  21. Re: New mccodes template Feeling abit touchy?
  22. Re: New mccodes template You told mike that you made it from scratch.. pls.
  23. Re: New mccodes template lol, aparantly you claim you coded mono-district.net game from scratch?
  24. Re: New mccodes template Coded by you or stolen?
  25. Re: [sHOWCASE] Avalon I think it is due to getting ip's. Try changing $_SERVER['HTTP_X_FOWARDED_FOR'] to $_SERVER['REMOTE_ADDR']
×
×
  • Create New...