Jump to content
MakeWebGames

iseeyou94056

Members
  • Posts

    691
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by iseeyou94056

  1. Re: [v1][FREE] DONATION PACKS TO ITEMS i know
  2. Re: [mccode] Mining mod all you got to do for v2 is change the mine.php to   <?php include "globals.php"; switch($_GET['action']) { case 'mine': mine_1(); break; case 'minesub': mine_1_sub(); break; case 'mine2': mine_2(); break; case 'mine2sub': mine_2_sub(); break; case 'mine3': mine_3(); break; case 'mine3sub': mine_3_sub(); break; case 'mine4': mine_4(); break; case 'mine4sub': mine_4_sub(); break; case 'mine5': mine_5(); break; case 'mine5sub': mine_6_sub(); break; case 'mine6': mine_6(); break; case 'mine6sub': mine_6_sub(); break; default: mine_index(); break; } function mine_index() { global $ir,$c,$userid; print "<center>Welcome to the mine shaft. There are 3 spots to go mining but thay are restricted depending on your mine level. Your mining level is {$ir['mine_level']} and you have {$ir['mine_exp']}/{$ir['mine_needed']} mining experience </center>"; print "<center> <u>Crystal Mines</u> [[url='mine.php?action=mine']Level 1 mine[/url]] [[url='mine.php?action=mine2']Level 20 mine[/url]] [[url='mine.php?action=mine3']Level 40 mine[/url]] <u>Money Mines</u> [[url='mine.php?action=mine4']Level 10 mine[/url]] [[url='mine.php?action=mine5']Level 30 mine[/url]] [[url='mine.php?action=mine6']Level 40 mine[/url]] </center>"; } if ($ir['jailtime'] > 0){ print "<center>The mine is closed to jail birds come back when thay release you</center>"; exit; } if ($ir['hospital'] > 0){ print "<center>You cant go mining while in hospital</center>"; exit; } function mine_1() { global $ir,$c,$userid; if($ir['power'] < 10){ print "You need 10 power to mine here your have {$ir['power']}"; exit; } $db->query("UPDATE users SET power=power-10 WHERE userid=$userid",$c); $rand_gems = rand(1,5); $rand_exp = rand(1,100); echo "<center>You begin mining in the level 1 mine and found $rand_gems crystal(s).</center> "; $db->query("UPDATE users SET crystals=crystals+'$rand_gems',mine_exp=mine_exp+'$rand_exp' WHERE userid=$userid",$c); print "<center>[[url='mine.php?action=mine']Mine again[/url]]</center> "; print "<center>[[url='mine.php']Back[/url]]</center> "; } function mine_2() { global $ir,$c,$userid; if($ir['power'] < 15){ print "<center>You need 15 power to mine here your have {$ir['power']}</center>"; exit; } if($ir['mine_level'] < 20){ print "<center>You need to be mining level 20 to mine here you are mining level {$ir['mine_level']}</center>"; exit; } $db->query("UPDATE users SET power=power-15 WHERE userid=$userid",$c); $rand_gems = rand(1,20); $rand_exp = rand(1,300); echo "<center>You begin mining in the level 20 mine and found $rand_gems crystal(s).</center> "; $db->query("UPDATE users SET crystals=crystals+'$rand_gems',mine_exp+'$rand_exp' WHERE userid=$userid",$c); print "<center>[[url='mine.php?action=mine2']Mine again[/url]]</center> "; print "<center>[[url='mine.php']Back[/url]]</center> "; } function mine_3() { global $ir,$c,$userid; if($ir['power'] < 25){ print "<center>You need 25 power to mine here your have {$ir['power']}</center>"; exit; } if($ir['mine_level'] < 40){ print "<center>You need to be mining level 40 to mine here you are mining level {$ir['mine_level']}</center>"; exit; } $db->query("UPDATE users SET power=power-25 WHERE userid=$userid",$c); $rand_gems = rand(1,40); $rand_exp = rand(1,600); echo "<center>You begin mining in the level 40 mine and found $rand_gems crystal(s).</center> "; $db->query("UPDATE users SET crystals=crystals+'$rand_gems',mine_exp+'$rand_exp' WHERE userid=$userid",$c); print "<center>[[url='mine.php?action=mine3']Mine again[/url]]</center> "; print "<center>[[url='mine.php']Back[/url]]</center> "; } function mine_4() { global $ir,$c,$userid; if($ir['power'] < 10){ print "You need 10 power to mine here your have {$ir['power']}"; exit; } if($ir['mine_level'] < 10){ print "<center>You need to be mining level 10 to mine here you are mining level {$ir['mine_level']}</center>"; exit; } $db->query("UPDATE users SET power=power-10 WHERE userid=$userid",$c); $rand_money = rand(1,1000); $rand_exp = rand(1,100); echo "<center>You begin mining in the level 10 mine and found $$rand_money .</center> "; $db->query("UPDATE users SET money=money+'$rand_money',mine_exp=mine_exp+'$rand_exp' WHERE userid=$userid",$c); print "<center>[[url='mine.php?action=mine4']Mine again[/url]]</center> "; print "<center>[[url='mine.php']Back[/url]]</center> "; } function mine_5() { global $ir,$c,$userid; if($ir['power'] < 15){ print "<center>You need 15 power to mine here your have {$ir['power']}</center>"; exit; } if($ir['mine_level'] < 30){ print "<center>You need to be mining level 30 to mine here you are mining level {$ir['mine_level']}</center>"; exit; } $db->query("UPDATE users SET power=power-15 WHERE userid=$userid",$c); $rand_money = rand(1,3000); $rand_exp = rand(1,300); echo "<center>You begin mining in the level 30 mine and found $$rand_money .</center> "; $db->query("UPDATE users SET money=money+'$rand_money',mine_exp+'$rand_exp' WHERE userid=$userid",$c); print "<center>[[url='mine.php?action=mine5']Mine again[/url]]</center> "; print "<center>[[url='mine.php']Back[/url]]</center> "; } function mine_6() { global $ir,$c,$userid; if($ir['power'] < 25){ print "<center>You need 25 power to mine here your have {$ir['power']}</center>"; exit; } if($ir['mine_level'] < 40){ print "<center>You need to be mining level 40 to mine here you are mining level {$ir['mine_level']}</center>"; exit; } $db->query("UPDATE users SET power=power-25 WHERE userid=$userid",$c); $rand_money = rand(1,8000); $rand_exp = rand(1,600); echo "<center>You begin mining in the level 40 mine and found $$rand_money .</center> "; $db->query("UPDATE users SET money=money+'$rand_money',mine_exp+'$rand_exp' WHERE userid=$userid",$c); print "<center>[[url='mine.php?action=mine6']Mine again[/url]]</center> "; print "<center>[[url='mine.php']Back[/url]]</center> "; } ?>
  3. Re: [v1][FREE] DONATION PACKS TO ITEMS this works great +1 but it there a way to make it so if you give user donator pack through the admin panel it will give them that?
  4. Re: [FREE]Music system how do u make it so it say the names of the songs that play?
  5. Re: [free] AJAX Notepad ya i did
  6. Re: [free] AJAX Notepad all it does is say it updates it then it dont save it anyone know how 2 fix it
  7. Re: docrime.php problem works thanks
  8. There is a new place in the city. It's called The Party House. Inside you can throw a normal party. You can rent a space for say $10k and you get it for say 12 hours. You can decorate it and add picture of say baloons and stuff. You can invite people to these partys and they can donate things. for example...... XXXXXX donates a gun and says "Thanks for a great party" You can also donate money. Also there is another type of party.... For every 50 days you are on tc you have a party and this party has different outcomes. Your first party costs $500 and you have to be a level 3 or over to throw one. Every 50 days a message appears on your home page says :- You are now _____ days old. Congratulations! click here to throw a party   One outcome could be (green result) :- The party was a great sucsess. Everyone had a great time and they enjoyed the music. You recieved lots of presents. Unfortunately none were to your taste so you took them back. You were refunded $ ______ (an amount of money depending on your level say for level 1 $500 - $ 1,500 and level 2 $1,000 - $3,000 etc)   Another outcome could be (brown result :- You party went well..,.until the end. There was too much booze at your party, you friends trashed your house and caused major damage. you have to pay out $______ to repair the damage ( and amount of money depending on your level, say $1,000 for level 1, $2,000 for level 2 etc) but luckily you were given enough birthday money to cover the cost   A red result could be :- Your best friend bought you a fast car for your birthday but there was some technical difficaulties with it and yoy crashed into your next door neighbours house causing servere damage. You have to pay $______ (an amount of money depending on your level, say $500 - $1,500 for a level 1, $1,000 -$3,000 for a level 2, $2,000 - $6,000 for level 3 etc but if you get two reds in a row it gets doubled ***) The crash left you with fractured ribs and a broken leg. (you spend between 3 hours and 6 hours in hospital) ***= for exemple. 50 days old level 2 = you get a red outcome! = you pay out $1,000 - $3,000 100 days old level 3 = you get a red outcome! = you pay out $4,000 - $12,000 etc and for every party the cost it would have been for the previous partys red result but double so it would be $500 first party ever (you get a red result) $1,000 second party etc   There could be a :- 20% chance of getting a brown result 35% chance of getting a red result 45% chance of getting a green result   How to work out how much money you earn on a green result - level x (random number between $500 and $1,500) with a 5% chance of getting level x $1,000 extra   How to work out how much you lose on a red result - level x (random number between $500 and $1,500) with a 5% chance of losing money...level x $1,000   Please write what you think about this idea.
  9. Re: [mccode] Close page system it dont work for me
  10. Re: [free] AJAX Notepad it says it updated it then it dont
  11. Re: [mccode] FREE Criminal Record (advanced) it dont realy work right but i like it i dont got it on my game no more but is there a way that someone could fix it
  12. Re: docrime.php problem well atlest i know i am not the only one that does not know what wrong with it
  13. Re: [Free] [v1] Profile Image Uploader how do i make it go into just public html beacuse i am addin it to a mates site and hiss ftp is mested up
  14. Re: docrime.php problem ?
  15. Re: docrime.php problem can someone help me please
  16. Re: docrime.php problem do u see whats wrong
  17. Re: [Free] [v1] Scuba Diving Occationally when doing this it just takes 10 energy and doesn't give you a reason
  18. Re: docrime.php problem this is my hold docrime.php   <?php /*----------------------------------------------------- -- Mono Country v1.0 BETA -- A product of DBS-entertainment -- Copyright held 2005 by Abominate -- INDEX.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); $_GET['c']=abs((int) $_GET['c']); if(!$_GET['c']) { print "Invalid crime"; } else { $q=mysql_query("SELECT * FROM crimes WHERE crimeID={$_GET['c']}",$c); $r=mysql_fetch_array($q); if($ir['brave'] < $r['crimeBRAVE']) { print "You do not have enough Brave to perform this crime."; } else { $ec="\$sucrate=".str_replace(array("LEVEL","EXP","WILL","IQ"), array($ir['level'], $ir['exp'], $ir['will'], $ir['IQ']),$r['crimePERCFORM']).";"; eval($ec); print $r['crimeITEXT']; $ir['brave']-=$r['crimeBRAVE']; mysql_query("UPDATE users SET brave={$ir['brave']} WHERE userid=$userid",$c); $temp1 = rand(1,100); $temp2 = $sucrate * 1; $temp3 = $temp2 / 2; if($temp1 <= $temp3) { print str_replace("{money}",$r['crimeSUCCESSMUNY'],$r['crimeSTEXT']); $ir['money']+=$r['crimeSUCCESSMUNY']; $ir['exp']+=(int) ($r['crimeSUCCESSMUNY']/8); mysql_query("UPDATE users SET money={$ir['money']},exp={$ir['exp']} WHERE userid=$userid",$c); print " [url='docrime.php?c={$_GET[']Try Again[/url] [url='criminal.php']Crimes[/url]"; } else { print $r['crimeFTEXT']; } print " [url='']Try Again[/url] [url='index.php']Home[/url]"; } if($_GET['c'] == 1 or 2 and $temp1 > $temp3) { print""; } elseif($temp1 > $temp3) { $ran=rand(1,3); $jail = $r['crimeBRAVE'] * $ran; $tempcrimename = $r['crimeNAME']; $reasonjail2 = 'You Got Caught while attempting '; $reasonjail2 .= $tempcrimename; mysql_query("UPDATE users SET jail=$jail, jail_reason='$reasonjail2' WHERE userid=$userid",$c) or die(mysql_error()); event_add($ir['userid'],"$reasonjail2",$c); print " You failed and were caught!"; } } ?>
  19. Re: docrime.php problem v1
  20. i got a problem with my docrime.php when they fail they dont go to jail and i dont want it where they get jail for crime id 1 or 2 is there any one that can help me
  21. Re: [FREE] DPS TO ITEMS V1 [MCCODES] [uPDATED] they r and it still dont work
  22. Re: [site tools] auto backup your site o ok thanks for puttin it in a better way for me
  23. Re: Gift one thing how do they get thanks?
  24. Re: [Free] [v1] Scuba Diving whats another think i could call this to make it fit my game my game is about gangsta's gun's and stuff like that
  25. Re: if jail/if hosp ya lol i realy looked at it and i figured it out i made to add "; at the end of the thing befor and print " at the end of the code
×
×
  • Create New...