Jump to content
MakeWebGames

Danny696

Members
  • Posts

    2,632
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Danny696

  1. Its too late to read :P how much will this forum be?
  2. Because McCodes was sold, and Torn wasnt, Torn is a game, just like anyother game, the game engine on the otherhand, it what the game is made from
  3. I believe its INSERT(stuff here, like column names) INTO tables VAULES(values) Incorrect. And whats the error, whould help
  4. Why do some people expect everything for free, ever heard of money, or are you a cheap skate! Sure, i used a free host, but i didnt host a game on it, only when buliding my game because i didnt know aout WAMP
  5. Some people are cheap skates, if anything, he's undercharging, Drizzle, go away you moron!
  6. one, $bbc->bbcode_parse is from mtg's bbcode paser, and two, including the bbcode_engine.php, will make $bbc->bbcode_parse invalid.
  7. Happy birthday!
  8. Are you 100% sure, what is they made the class etc themselves.
  9. oh and not everything revloves around your engine, thats why its in MySql :P
  10. WOW, i thought i overused sprintf. $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",15000000,$userid)); cumon' even i dont sprintf for 15000000, its a number, why does it need to be outside the query itself.
  11. Lol, saw mtg do it ;P i suppose so, i prefer it in other files, just so i know where i am :S
  12. sniko, whats the point in defining the class varabile in the same file?
  13. I would say, template -> $100 (min) Security -> $75 (min) mods -> $5(min) each
  14. users cant gain mining levels then there exp bars will go up because theres noting to say there at 100% (i think)
  15. in global_func find ?> before add   function get_mine() { global $ir,$c,$userid,$db; if($ir['mine_exp'] >= $ir['mine_needed']) { $db->query(sprintf("UPDATE users SET mine_level=mine_level+1, mine_exp=0, mine_needed=mine_needed+100, max_power=max_power+1 WHERE userid=%u", $userid)); } }   open globals find check_level(); after add get_mine(); DONE!
  16. Why *150% ??? all you loojng for is the 100% :S
  17. Cleaned up, fixed. and [ b] is not a valid HTML 'function' its a bb code   <?php @include_once(DIRNAME(__FILE__) .'/globals.php'); if($ir['user_level'] < 2) { echp'<span style="font-weight: bold;">What are you doing here. <a href="/">> Go Home<a/>'; } $_GET['action'] = ((isset($_GET['action']) && ctype_alnum($_GET['action'])) ? $_GET['action'] : FALSE; if($_GET['action'] == 'doit') { $db->query("UPDATE users SET user_level=1 WHERE userid=".abs(@intval($userid)).""); echo'You have now resigned as staff.'; $h->endpage(); exit(); } echo'Are you sure you would like to resign from being a staff member? <table width="60%" class="table"> <form action="" method="get"> <tr><td><input type="submit" name="doit" value="Yes." /></td></tr> <tr><td><input type="submit" value="No!" onmouseclick="document.location.href=\''index.php\'" /></td></tr> </form> </table>'; $h->endpage(); ?>
  18. is there like a check_mine() function in global_func?
  19. I want mrgreen back, coz thats what i would h'v put. Nice anyways, $IP = $_SERVER['REMOTE_ADDR']; least you didnt mres it like other -.-
  20. If your serious about the game, free will drag you down, most of them are reallly slow anyway
  21. 1. A Free web hosting. For more information on Web hosting - http://www.w3schools.../host_intro.asp 2. A Free domain. For more information on Domains - http://www.domainsne...adomainname.htm LAMO Free!! hows about paid!
  22. Me too, i'd defonattly look at the facebook tuts
  23. $IP=addslashes($IP); $IP=mysql_real_escape_string($IP); $IP=strip_tags($IP); Someone shoot me
  24. Im quessing you havent looked at js, if(myvr > <?php echo $ir['money'] ?>) { document.write("Hello"); } me thinks
×
×
  • Create New...