Jump to content
MakeWebGames

weewooz

Members
  • Posts

    258
  • Joined

  • Last visited

    Never

Everything posted by weewooz

  1. Re: Awards Mod so what about the brave going into your inv so users would have make a brave refil item rite and put the item id number in the script? or am i missing some thing her lol
  2. Re: Awards Mod just scanning the code how can a brave refil which ya can get be put inti your inventory shunt users have to make the item first mate
  3. Re: Lucky Boxes Re-code The amount of boxes opened must be numeric! > Back i just get that messgae in the admin part cant view or change who as opened what
  4. Re: Deadly World ok ty for imput give me pointers in working on anew layout at the mo
  5. Re: Deadly World ok i think its not to bad im working on a new layout mate thanks for your imput
  6. Re: Deadly World well i can assure you it is back for good few problems with cash etc and family problems caused it to be of for a time now its back people who did donate last time just send a mail to id1 deadly ill check the records and re credit it you with packs what players did buy
  7. www.deadly-world.com is back online yes get it thought if any other players who used to play to let you know wohhhoooo
  8. Here its is use dont use lol up to you lol just thought would post it every little helps not much i know but see what you think replace your usersonline.php with this   <?php include "globals.php"; print "<h3>Users Online</h3> <table align='left' ><td border='1'><h3>Time Changer</h3>[[url="usersonline.php?view=fifteen>15"]] [<a href=usersonline.php?view=thirty>30 Mins[/url]] [[url="usersonline.php?view=hour>1"]] [<a href=usersonline.php?view=today>Today[/url]]</td> <tr><td> <h3>Statistics</h3>"; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Users online in the last 15 mins <font color=white>$r[cnt]</font> "; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-30*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Users online in the last 30 mins <font color=white>$r[cnt]</font> "; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-60*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Users online in the last 1 Hour <font color=white>$r[cnt]</font> "; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-200*720 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Users online in the last 24 Hours <font color=white>$r[cnt]</font> "; Print"</td></tr></center> <tr><td><h3>Name Legend:</h3> <font color='lime'>Green</font> Names are Admin <font color='blue'>Blue</font> Names are Secretaries <font color='purple'>Purple</font> Names are Assistants <font color='red'>Red</font> Names are Donators </td></tr></table>"; switch($_GET['view']) { case 'fifteen': fifteen(); break; case 'thirty': thirty(); break; case 'hour': hour(); break; case 'today': today(); break; default: fifteen(); break; } function fifteen() { global $ir,$c,$userid; print "Users On In The Last 15 Mins "; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Last 15 Mins <font color=white>($r[cnt])</font>"; print "<table width=45% border=1>"; $cn=0; $q=mysql_query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.laston>unix_timestamp()-15*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) { $lon=date('F j, Y g:i:s a',$r['laston']); $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['gang']) { $qg=mysql_query("SELECT * FROM gangs WHERE gangID={$r['gang']}",$c); $rr=mysql_fetch_array($qg); $gn= "[".$rr['gangPREF']."]"; } else { $gn=""; } $cn++; if($r['user_level'] == 26) { $user="<font color=gold>{$r['username']}</font>"; } else if($r['user_level'] == 2) { $user="<font color=lime>{$r['username']}</font>"; } else if($r['user_level']==3) { $user="<font color=blue>{$r['username']}</font>"; }else if($r['user_level'] ==5) { $user="<font color=purple>{$r['username']}</font>"; } else if($r['donatordays'] > 0) { $user="<font color=red>{$r['username']}</font>";} else { $user="{$r['username']}";} print "<tr><td>$cn. </td><td>$gn [url='viewuser.php?u={$r[']$user[/url]</td><td>($la $unit)</td></tr>"; } print "</table>"; } function thirty() { global $ir,$c,$userid; print "Users On In The Last 30 Mins "; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-30*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Last 30 Mins <font color=white>($r[cnt])</font>"; print "<table width=45% border=1>"; $cn=0; $q=mysql_query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.laston>unix_timestamp()-30*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) { $lon=date('F j, Y g:i:s a',$r['laston']); $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['gang']) { $qg=mysql_query("SELECT * FROM gangs WHERE gangID={$r['gang']}",$c); $rr=mysql_fetch_array($qg); $gn= "[".$rr['gangPREF']."]"; } else { $gn=""; } $cn++; if($r['user_level'] == 26) { $user="<font color=gold>{$r['username']}</font>"; } else if($r['user_level'] == 2) { $user="<font color=lime>{$r['username']}</font>"; } else if($r['user_level']==3) { $user="<font color=blue>{$r['username']}</font>"; }else if($r['user_level'] ==5) { $user="<font color=purple>{$r['username']}</font>"; } else if($r['donatordays'] > 0) { $user="<font color=red>{$r['username']}</font>";} else { $user="{$r['username']}";} print "<tr><td>$cn. </td><td>$gn [url='viewuser.php?u={$r[']$user[/url]</td><td>($la $unit)</td></tr>"; } print "</table>"; } function hour() { global $ir,$c,$userid; print "Users On In The Last Hour "; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-60*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Last Hour <font color=white>($r[cnt])</font>"; print "<table width=45% border=1>"; $cn=0; $q=mysql_query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.laston>unix_timestamp()-60*60 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) { $lon=date('F j, Y g:i:s a',$r['laston']); $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['gang']) { $qg=mysql_query("SELECT * FROM gangs WHERE gangID={$r['gang']}",$c); $rr=mysql_fetch_array($qg); $gn= "[".$rr['gangPREF']."]"; } else { $gn=""; } $cn++; if($r['user_level'] == 26) { $user="<font color=gold>{$r['username']}</font>"; } else if($r['user_level'] == 2) { $user="<font color=lime>{$r['username']}</font>"; } else if($r['user_level']==3) { $user="<font color=blue>{$r['username']}</font>"; }else if($r['user_level'] ==5) { $user="<font color=purple>{$r['username']}</font>"; } else if($r['donatordays'] > 0) { $user="<font color=red>{$r['username']}</font>";} else { $user="{$r['username']}";} print "<tr><td>$cn. </td><td>$gn [url='viewuser.php?u={$r[']$user[/url]</td><td>($la $unit)</td></tr>"; } print "</table>"; } function today() { global $ir,$c,$userid; print "Users On In The Last 24 Hours "; $q=mysql_query("SELECT COUNT(*) as cnt FROM users WHERE laston>unix_timestamp()-200*720 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) print "Last 24 Hours <font color=white>($r[cnt])</font>"; print "<table width=45% border=1>"; $cn=0; $q=mysql_query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.laston>unix_timestamp()-200*720 ORDER BY laston DESC",$c); while($r=mysql_fetch_array($q)) { $lon=date('F j, Y g:i:s a',$r['laston']); $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['gang']) { $qg=mysql_query("SELECT * FROM gangs WHERE gangID={$r['gang']}",$c); $rr=mysql_fetch_array($qg); $gn= "[".$rr['gangPREF']."]"; } else { $gn=""; } $cn++; if($r['user_level'] == 26) { $user="<font color=gold>{$r['username']}</font>"; } else if($r['user_level'] == 2) { $user="<font color=lime>{$r['username']}</font>"; } else if($r['user_level']==3) { $user="<font color=blue>{$r['username']}</font>"; }else if($r['user_level'] ==5) { $user="<font color=purple>{$r['username']}</font>"; } else if($r['donatordays'] > 0) { $user="<font color=red>{$r['username']}</font>";} else { $user="{$r['username']}";} print "<tr><td>$cn. </td><td>$gn [url='viewuser.php?u={$r[']$user[/url]</td><td>($la $unit)</td></tr>"; } print "</table>"; } ?>
  9. Re: Travel Time ty sniko mate every little helps i like to think
  10. DONT KNOW IF THIS AS DONE BEFORE BUT ALL IT DOES IS INSTEAD OF JUST CLICKING AND GOING TO A NEW LOCATION THIS MAKES YOUR PLAYERS WAIT IN TIME REAL TIME TO TRAVEL TO DIFFO LOCATIONS OK HERE IT GOES POST WHAT YA THINK Open header.php and find if($ir['fedjail']) { $q=mysql_query("SELECT * FROM fedjail WHERE fed_userid=$userid",$c); $r=mysql_fetch_array($q); die("<font color=red size=+1>You have been put in the Deadly WorldFederal Jail for {$r['fed_days']} day(s). Reason: {$r['fed_reason']}</font></body></html>"); } under add if($ir['ttime'] > 0) { $q=mysql_query("SELECT * FROM users WHERE userid=$userid",$c); $r=mysql_fetch_array($q); die(" <center>You are traveling you have {$ir['ttime']} minutes left.Sit back and enjoy the flight.</center> "); } 3.Open monorail.php and find $r=mysql_fetch_array($q); mysql_query("UPDATE users SET money=money-100,location='{$_GET['to']}', WHERE userid=$userid",$c); $r=mysql_fetch_array($q); print "Congratulations, you paid $100 and travelled to {$r['cityname']} on the airplane!"; replace with $r=mysql_fetch_array($q); $time=$r['citytime']; mysql_query("UPDATE users SET money=money-100,location='{$_GET['to']}', ttime=$time WHERE userid=$userid",$c); print "Congratulations, you paid $100 and travelled to {$r['cityname']} on the airplane!"; and the sqls ALTER TABLE `users` ADD `ttime` INT( 11 ) NOT NULL ALTER TABLE `cities` ADD `citytime` INT( 11 ) NOT NULL and this to your 1min cron mysql_query("UPDATE users set ttime=ttime-1 WHERE ttime>0",$c); please deadly world is my game so change to your game name
  11. Re: Shops (Upgraded a bit) lol sky just thought wud let ya know just right clcikm and save on images or better still use ya own to fit ya own game
  12. Re: Shops (Upgraded a bit) for those with basic shops you need to add dontorshop and shopimage into your sqls for this upgraded shops to work but nice mod bro well done
  13. Re: Sell Your Gang VR1 plus 1 for yhose who use it and want to also make it so you can rent a gang out with its current members im working on it now and will add when done so basic you make gangs get your members to own it and rent it out for a fee weekly if they dont pay the rent on the gang then the gang returns back to its owner you post what you all think before i post
  14. Re: Sell Your Gang VR1 ty modern hope you all enjoy
  15. Re: [mccode v2] Fishing Mod getting this now You hit a jagged rock and your boat just sank, good thing you had a life vest on. You should be more carefull where your rowingQUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query was SELECT * FROM inventory WHERE inv_userid=1 AND inv_itemid=
  16. Re: New Take Out A Loan and how would you say i can do that how can any one on here who makes mods and idoits steal them which people do on here and i asure you im not one speak with with loastone he will back me up bro look i dont wanna argue about it im just posting a script for the people of ce to use thats all chill mate
  17. Re: New Take Out A Loan arrr stop please dont at least some of us post unlike some just trying to help everyone and yes we made alot me and lostone a few years back so dont come that crap bro
  18. Re: New Take Out A Loan most not have done if you said so all mighty god you dont know me mate all alot ive found on my old computer tower from years ago which ive just set for my son in his bedroom so thought i wud post them but some people dont like it so ill not post no more
  19. Re: [mccode v2] Fishing Mod ive added this so when ya hit the rocks it takes the item fish kit off you but keep getting a sql error and it dont take it off you well heres the line fish.php echo "<center>You hit a jagged rock and your boat just sank, good thing you had a life vest on.</center> You should be more carefull where your rowing"; item_remove($userid, $item, 69); } any ideas thanks
  20. Re: [MC-Codes][V2]Thugs (core system) why ya buy a thug item it dont show on my thugs page under attack waepon thingi
  21. Re: Sell Your Gang VR1 to be honest i cant rember was off my old tower when i was learning php so i might of made or picked it up some where cant rember just thought i would post it for all of you to use thanks for +1 guys
  22. Re: Sell Your Gang VR1 glad you all like thought it would be some nice for people to add to there game keeps players active can never have enough mods for gangs hope you all enjoy plus 1 if you like ty guys
  23. Re: Mail Bomb Pro Version sorry lol was only posting a script sure you secure it more guys if you want to use if not dont lol
  24. Re: Mail Bomb Pro Version sorry here is the sql   INSERT INTO `settings` (`conf_id`, `conf_name`, `conf_value`) VALUES ('NULL', 'mb_price', '3'); CREATE TABLE `mb_used` ( `mb_mail` INT( 11 ) NOT NULL, `mb_used` INT( 11 ) NOT NULL ) TYPE=MYISAM ; ALTER TABLE `users` ADD `mailbomb` INT( 11 ) NOT NULL; CREATE TABLE `mbmarket` ( `mb_id` INT( 11 ) NOT NULL, `mb_from` INT( 11 ) NOT NULL, `mb_price` INT( 11 ) NOT NULL, `mb_quantity` INT( 11 ) NOT NULL, PRIMARY KEY (`mb_id`) ) TYPE=MYISAM ;   CREATE TABLE `mb_logs` ( `mb_id` INT( 11 ) NOT NULL, `mb_from` INT( 11 ) NOT NULL, `mb_to` INT( 11 ) NOT NULL, `mb_time` VARCHAR( 255 ) NOT NULL, PRIMARY KEY (`mb_id`) ) TYPE=MYISAM ;
  25. Re: New Take Out A Loan ok fair comment but why wud you want negative cash can really mess with your game thats why i made it take there house but thanks for your input mate
×
×
  • Create New...