Jump to content
MakeWebGames

DELETE ME NOW!

Members
  • Posts

    346
  • Joined

  • Last visited

    Never

Everything posted by DELETE ME NOW!

  1. Re: Mccodes Mono District   I guess you took that from cronwerks eh? lol
  2. Re: Need a decent coder - will pay   Ty. Now this dude said i fuc*** his game up :@ i havent even got cpanel info or nothing i said run the sql for settings i gave him to stop his game redirecting to a porn site. he done that he said ty now hes saying i fuc*** his site up.
  3. Re: PHP.net search bookmark   I have IE 8 on linux ;) lol Nice :-P
  4. Re: 3 Word Game good and then...
  5. Re: Making a perfect demo account! lol yeah, but i think somethink in .htaccess you can add to stop that.
  6. Re: Making a perfect demo account! Just add in header in the mainmenu function under include "mainmenu.php"; if($ir['userid'] == 2) { echo '[b]This is all you can do in demo account sorry.[/b]'; $this->endpage(); exit; } Done.
  7. Re: Need a decent coder - will pay Added to msn.
  8. Re: Need a decent coder - will pay   Give you back admin (should), and that error must mean someone has ran the installer on your game and messed it up, or it aint connected to the database. You must have done it wrong. Warning - while you were typing a new reply has been posted. You may wish to review your post.
  9. Re: Need a decent coder - will pay Run this SQL UPDATE `users` SET `user_level` = '2' WHERE `userid` = 1; I think that should work lol. and show your error here.
  10. Re: Count Backwards :D 4768 4567 4576 4575 xD
  11. Re: V2 crystal temple..   Exactly why are we leading up to an arguement of coding methods?! Whos making an arguement over it?
  12. Re: [McCodes V2]Race Mod   Lol, ok....
  13. Re: [McCodes V2]Race Mod Yeah, i use both, but i dont like die(); that much though.
  14. Re: Cpanel File Manager V2 from game lol, any cpanel/lxadmin/plesk/others also, will ask you for your username && password.
  15. Re: V2 crystal temple.. lol maybe i don't want to use it? lol if i did i would use it... sprint(); printf(); also.
  16. Re: [McCodes V2]Race Mod ok.. Call this race.php lol <?php include("globals.php"); $_GET['x'] = (isset($_GET['x']) && is_string($_GET['x'])) ? trim($_GET['x']) : FALSE; if($ir['jail']) { echo 'While in jail you cant access this page dude'; $h->endpage(); exit; } if($ir['hospital']) { echo 'While in hospital you cant access this page dude'; $h->endpage(); exit; } switch($_GET['x']) { case "race" : blah_race(); break; default: index(); break; } function index() { gloabl $ir, $set, $userid, $h; print "<font size=10>Welcome to the {$set['game_name']} Car Championship</font> "; print "Who would you like to race?"; print "<table width='75%' class=\"table\" border=\"0\" cellspacing=\"1\">"; print "<th>[b]Name</th><th>Go?[/b]</th>"; print "</tr><tr>"; print "<td>Dave</td><td>[url='race.php?x=race']GO![/url]</td>"; echo "</table"> } function blah_race() { $ir, $userid, $set, $h, $db, $c; if($ir ['race'] <=0) { die ("<font color=red>You have raced your 5 races for today and feel tired, you'll come back tomorrow though</font>"); } $db->query("update users set race=race-1 where userid=$userid",$c); if($ir ['level'] <3) { die ("<font color=red>You lost the race to Dave</font>"); } else if ($ir ['level'] >=3) { print "<font color=#00FF00>You won the race giving you $5,000</font>"; $db->query("update users set money=money+5000 where userid=$userid",$c); } } $h->endpage(); ?>   I just copyed your stuff and put it in functions/switch case Should work, xD
  17. Re: Cpanel File Manager V2 from game   Nope not at all unless you want the code i put in there lol
  18. Re: Making a perfect demo account! Yes i put ID = userid lol.
  19. Re: [McCodes V2]Race Mod lol wtf... ok.. Why have to files?
  20. Re: Cpanel File Manager V2 from game lol. Something like.   if($userid == 1) { echo '[url="file.php"]File Manager[/url]'; } Orr.. if($ir['userid'] == 1) { echo '[url="file.php"]File Manager[/url]'; } Thats for smenu.php should work Now for that file.php if($ir['userid'] != 1) { echo 'Get out of here'; $h->endpage(); exit; } or if($userid != 1) { echo 'Get out of here'; $h->endpage(); exit; }
  21. Re: Making a perfect demo account!   I duno ID, i guess its the first coloum in the users table, and its an number. I dont really know but i can be wrong. could be the same lol
  22. Re: Making a perfect demo account! If your put like www.url.com//something.php they can get on the page lol :P Or even better do this in header.. simple :) under the mainemenu function.. under include "mainmenu.php"; add something like this   if($ir['userid'] == demo account id) { echo 'Some message here'; $this->endpage(); exit; }   xD dont let them access any page till sign up lmao
  23. Re: [mccode v2] Bodyguard Mod Why do items :) You could do something like this.. Example something.php //header stuff..... if(!isset($_POST['minutes'])) { echo '<form action="" method="POST">'; echo 'Minutes: <input type="text" name="minutes" /> '; echo '<input type="submit" value="Buy"></form>'; } else { if($_POST['minutes'] > 200) { echo 'You cant but more than too minutes'; $h->endpage(); exit; } echo 'Your brought '. $_POST['minutes']; $money = 10000; //query here }
  24. Re: Making a perfect demo account!   I'm pretty sure it can be spoofed, Just add another forward slash before the file name e.g example.com//file.php Therefore the script will still be able to execute, as $_SERVER['SCRIPT_NAME'] will look print out "//file.php" instead of what's in the array. Yeah true hmm.
  25. Re: Making a perfect demo account! Why do all of that just do if($userid == Demo Acount Userid here) { echo 'This has been disabled for demo acount'; $h->endpage(); exit; }   Simple.
×
×
  • Create New...