Jump to content
MakeWebGames

-K1-

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

-K1-'s Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: [mccodes v2] Mail Prank Mod noo it lets other users set other peoples mailcount ^_^
  2. Re: [mccodes v2] Mail Prank Mod yes sorry ^_^ main post updated
  3. make a new file called mailprank.php   <?php include "globals.php"; if($_POST['user']) { global $ir,$c,$h,$userid; $q=$db->query("SELECT * FROM users WHERE userid={$_POST['user']}"); $them=$db->fetch_row($q); $re=$db->query("UPDATE users SET new_mail={$_POST['newmail']} WHERE userid={$_POST['user']}"); $db->query("UPDATE users SET money=money-1000 WHERE userid={$ir['userid']}"); print "Prank Done"; } else { print " Mailpranking User This user will have a set number of new mail, this will cost you $1000 <form action='mailprank.php' method='post'> User: ".user_dropdown($c,'user',$_GET['userid'])." New Mail: <input type='text' name='newmail' /> <input type='submit' value='Prank Time!' /></form>"; } $h->endpage(); ?>   and there you go :D
  4. Re: Cool Menu Maker its crap dont use it not very good when you get mail because it doesnt change
  5. Re: [mccode v2] Updated Help tutorial   Has no one heard of search and replace? Still the thought was there... :wink: yeah init , search and replace does like 1000lines in a flash it will do all your replaces in the time you click copy!
  6. Re: [mccodes v2] Main Announcement at the top of the all pages   Bull eye ask karlos , we raced to code it on msn and btw if it c omes with a game then i would still have to code it into mccodes :/
  7. Re: [mccodes v2] Main Announcement at the top of the all pages this is my version tho i havnt seen yours and your a better coder :evil:
  8. Re: [mccodes v2] Main Announcement at the top of the all pages the good thing about this mod it also allows html so i used: <font color="red"> Game still in coding </font>
  9. find: Game Owner: <input type='text' name='game_owner' value='{$set['game_owner']}' /> in staff.php add below: Game Announcement: <input type='text' name='game_ann' value='{$set['game_ann']}' />   then open header.php Find print "[url='donator.php'][b]Donate to {$set['game_name']} now for game benefits![/b][/url] add directly after it {$set['game_ann']}   run this sql query INSERT INTO `settings` ( `conf_id` , `conf_name` , `conf_value` ) VALUES ( '17', 'game_ann', 'default' )
  10. Find print "[url='viewuser.php?u={$r[']{$r['username']}[/url]   in mainmenu.php add after [url='mailbox.php?action=compose&ID={$r['][M][/url]   another VERY simple edit im just bored :D
  11. Re: Macro Page Edit [V2] baha leave blind people alone :/ besides karlos , were cloose mates :) so inoo this mod is good because when i was on msn then you mentioned it i was like great , now i can turn it on , b4 too many failures , now its fine   Many Thanks Bro
  12. Re: [v2] Cannot be attacked for 2 days :| so what if its easy to make:lol: it helps the newbies and the people that are only here to use other peoples work lol:|   Good mod anyway thanks :)
  13. Re: News Paper Ads no sql Its A Good Mod, If it doesnt use newspaper, why not make the newspaper an actual page on its own?? Be Grateful of what you get, not what you want
  14. Re: Advanced Usersonline   <?php require "globals.php"; switch($_GET['online']) { case 'fiveminutes': fiveminutes(); break; case 'thirtyminutes': thirtyminutes(); break; case 'onehour': onehour(); break; case 'oneday': oneday(); break; default: index(); break; } function index() { print " <table width='90%' border='2' height='20'> <tr> <th><u>[url='usersonline.php?online=fiveminutes']Five Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=thirtyminutes']Thirty Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=onehour']One Hour[/url]</u></th> <th><u>[url='usersonline.php?online=oneday']One Day[/url]</u></th> </tr> </table>"; } function fiveminutes() { print " <table width='90%' border='2' height='20'> <tr> <th><u>[url='usersonline.php?online=fiveminutes']Five Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=thirtyminutes']Thirty Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=onehour']One Hour[/url]</u></th> <th><u>[url='usersonline.php?online=oneday']One Day[/url]</u></th> </tr> </table>"; echo "<table width='90%' border='2' height='20'> <tr> <th height='6'><u>Order</u></th> <th><u>Name</u></th> <th><u>ID</u></th> <th><u>Level</u></th> <th><u>Gender<u/></th> <th><u>Last Action<u/></th> <th><u>Money</u></th> <th><u>Attack</u></th> </tr>"; $q=mysql_query("SELECT * FROM users WHERE laston>unix_timestamp()-5*60 ORDER BY laston DESC"); while($r=mysql_fetch_array($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } $cn++; echo "<tr> <th>$cn.</th> <th>[url='viewuser.php?u={$r[']{$r['username']}[/url]</th> <th>{$r['userid']}</th> <th>{$r['level']}</th> <th>{$r['gender']}</th> <th>$str</th> <th>{$r['money']}</th> <th><a href='attack.php?ID={$r['userid']}'>Attack "; if($r['gender'] == 'Female') { echo "her"; } else { echo "him"; } echo "</a></th> </tr>"; } echo "</table>";} function thirtyminutes() { print " <table width='90%' border='2' height='20'> <tr> <th><u>[url='usersonline.php?online=fiveminutes']Five Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=thirtyminutes']Thirty Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=onehour']One Hour[/url]</u></th> <th><u>[url='usersonline.php?online=oneday']One Day[/url]</u></th> </tr> </table>"; echo "<table width='90%' border='2' height='20'> <tr> <th height='6'><u>Order</u></th> <th><u>Name</u></th> <th><u>ID</u></th> <th><u>Level</u></th> <th><u>Gender<u/></th> <th><u>Last Action<u/></th> <th><u>Money</u></th> <th><u>Attack</u></th> </tr>"; $q=mysql_query("SELECT * FROM users WHERE laston>unix_timestamp()-30*60 ORDER BY laston DESC"); while($r=mysql_fetch_array($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } $cn++; echo "<tr> <th>$cn.</th> <th>[url='viewuser.php?u={$r[']{$r['username']}[/url]</th> <th>{$r['userid']}</th> <th>{$r['level']}</th> <th>{$r['gender']}</th> <th>$str</th> <th>{$r['money']}</th> <th><a href='attack.php?ID={$r['userid']}'>Attack "; if($r['gender'] == 'Female') { echo "her"; } else { echo "him"; } echo "</a></th> </tr>"; } echo "</table>";} function onehour() { print " <table width='90%' border='2' height='20'> <tr> <th><u>[url='usersonline.php?online=fiveminutes']Five Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=thirtyminutes']Thirty Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=onehour']One Hour[/url]</u></th> <th><u>[url='usersonline.php?online=oneday']One Day[/url]</u></th> </tr> </table>"; echo "<table width='90%' border='2' height='20'> <tr> <th height='6'><u>Order</u></th> <th><u>Name</u></th> <th><u>ID</u></th> <th><u>Level</u></th> <th><u>Gender<u/></th> <th><u>Last Action<u/></th> <th><u>Money</u></th> <th><u>Attack</u></th> </tr>"; $q=mysql_query("SELECT * FROM users WHERE laston>unix_timestamp()-60*60 ORDER BY laston DESC"); while($r=mysql_fetch_array($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } $cn++; echo "<tr> <th>$cn.</th> <th>[url='viewuser.php?u={$r[']{$r['username']}[/url]</th> <th>{$r['userid']}</th> <th>{$r['level']}</th> <th>{$r['gender']}</th> <th>$str</th> <th>{$r['money']}</th> <th><a href='attack.php?ID={$r['userid']}'>Attack "; if($r['gender'] == 'Female') { echo "her"; } else { echo "him"; } echo "</a></th> </tr>"; } echo "</table>";} function oneday() { print " <table width='90%' border='2' height='20'> <tr> <th><u>[url='usersonline.php?online=fiveminutes']Five Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=thirtyminutes']Thirty Minutes[/url]</u></th> <th><u>[url='usersonline.php?online=onehour']One Hour[/url]</u></th> <th><u>[url='usersonline.php?online=oneday']One Day[/url]</u></th> </tr> </table>"; echo "<table width='90%' border='2' height='20'> <tr> <th height='6'><u>Order</u></th> <th><u>Name</u></th> <th><u>ID</u></th> <th><u>Level</u></th> <th><u>Gender<u/></th> <th><u>Last Action<u/></th> <th><u>Money</u></th> <th><u>Attack</u></th> </tr>"; $q=mysql_query("SELECT * FROM users WHERE laston>unix_timestamp()-1440*60 ORDER BY laston DESC"); while($r=mysql_fetch_array($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } $cn++; echo "<tr> <th>$cn.</th> <th>[url='viewuser.php?u={$r[']{$r['username']}[/url]</th> <th>{$r['userid']}</th> <th>{$r['level']}</th> <th>{$r['gender']}</th> <th>$str</th> <th>{$r['money']}</th> <th><a href='attack.php?ID={$r['userid']}'>Attack "; if($r['gender'] == 'Female') { echo "her"; } else { echo "him"; } echo "</a></th> </tr>"; } echo "</table>";} $h->endpage(); ?>   its a fully working version for some of thoose newbies to coding, but hey i was a newbie , so were you xD   Please use [code]...[/code] tags ~Nyna
  15. Re: New V2 Hall of Fame shrek , a very good peice of work, it is very effective
×
×
  • Create New...