Jump to content
MakeWebGames

iseeyou94056

Members
  • Posts

    691
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by iseeyou94056

  1. Re: [mccode] Mining mod that wont work
  2. Re: [Mccode][Free] House Pictures sry you made little mistake with the ; its actually ; simple error
  3. Re: [v1] Banner Selector thats how mine is i added mine to css send me on msn my msn is [email protected] i will tell you what all i did
  4. Re: [v1] Banner Selector ya u can its simple if u want me to i will do it for you i have that done on my game
  5. Re: Supporter Days{v1} thanks
  6. Re: [mccode] staff applications here v2 staff apps sry mate you where little off   <?php include "globals.php"; if($_POST['app']) { db->_query("INSERT INTO staffapps VALUES('',$userid,'{$_POST['pos']}','{$_POST['app']}')", $c) or die("Your staff application could not be processed. Make sure you have filled out the form completely"); print "Staff application processed. You will receive a mail in less than 3 days with our decision. Good luck"; } else { print "<h3>Staff Application</h3> <form action='staffapps.php' method='post'> Position: <select name='pos'><option value='2'>Admin</option><option value='3'>Secretary</option><option value='5'>Assistant</option></select></br> Why do you deserve the position?: <textarea rows='7' cols='40' name='app'>{$_GET['app']}</textarea> <input type='submit' value='Submit Application' /></form>"; } $h->endpage(); ?>
  7. Re: [mccode] staff applications lol sure
  8. Re: [mccode] staff applications some what but the session_start(); require "globals"; if($_POST['app']) { mysql_query   make it this   include "globals"; if($_POST['app']) { db->_query
  9. Re: [Free] [v1] Scuba Diving i know im not gona do no more converting for him
  10. Re: [Free] [v1] Scuba Diving PLEASE LEARN TO CONVERT lol but i will be nice and convert it beacuse i understand i was the same way but i cant no more after this beacuse thats how i learned everyone stoped helpin me told me how and when i asked ppl to convert they did not answer but   make a file called shoot.php in it put <?php /*----------------------------------------------------- -- Isomerizer Copright 2007+. -- Scuba Dive (Free Mod) -- Property of isomerizer.com -----------------------------------------------------*/ /*----------------------------------------------------- -- made into shoot by iseeyou94056. -- shoot mod (Free Mod) -- Property of isomerizer.com -----------------------------------------------------*/ include "globals.php"; if ($ir['jail'] > 0){ print "<center>you cant shoot someone wile you are in the jail you dont want more jail time</center>"; exit; } if ($ir['hospital'] > 0){ print "<center>you cant shoot someone wile you are in the hospital. Just sit back and relax will</center>"; exit; } echo "<h3>Random Shoot</h3>"; echo "Shooting brave: {$ir['shoot']} / 100 whats up i am john, I'll be helping you shoot someone today Would you like to go shoot someone today? (10 shoot brave required [b]Updated![/b]) <form action=shoot.php method=POST><select name=shoot> <option value=yes>Yes</option> <option value=no>No</option> </select> <input type=submit value='Shoot Someone!'></form><hr />"; if (isset($_POST['shoot'])) { if ($select==no) { echo "Dont shoot no one then, Your loss!"; exit; } if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } $rand=rand(1,120); if ($rand <= 10) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someoe while in hospital / jail"; exit; } $db->query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); $moneyfound=rand(10,500); echo "you shoot someone and looked is there wallet and found <font color=green>$$moneyfound</font>"; $query1 = sprintf("UPDATE users SET money=money+$moneyfound WHERE userid=$userid", $c); $db->real_escape_string($moneyfound, $c); $db->query($query1, $c); exit; } if ($rand > 10 && $rand < 41) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } $db->query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); $moneyfind=rand(10,500); echo "you shoot someone and in there hand bag you find <font color=green>$$moneyfind</font>"; $query2 = sprintf("UPDATE users SET money=money+$moneyfind WHERE userid=$userid", $c); $db->real_escape_string($moneyfind, $c); $db->query($query2, $c); exit; } if ($rand > 40 && $rand < 61) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } $db->query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } $success=rand(1,10); $crystalfinding=rand(1,10); if ($sucess > 5) { echo "you shoot a rich person and in his wallet you find<font color=green>$crystalfinding</font> crystals!"; $query3 = sprintf("UPDATE users SET crystals=crystals+$crystalfinding WHERE userid=$userid", $c); $db->real_escape_string($query3, $c); $db->query($query3, $c); exit; } if ($success <=5) { echo "some one scared you and made you run and loose some of your energy"; $db->query("UPDATE users SET energy=energy-0.5 WHERE userid=$userid", $c); exit; } } if ($rand > 60 && $rand < 81) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } $db->_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } $find=rand(1,2); if ($find==1) { echo "Bah, You cant seem to find anyone to shoot! Except for a some little kids!"; exit; } if ($find==2) { echo "Bah, You cant seem to find anyone to shoot! Wait, you spot a bit of someones shit!"; exit; } } if ($rand > 80 && $rand < 100) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } $db->query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital /jail"; exit; } $unit=rand(1,2); if ($unit==1) { $cashhh=rand(50,700); echo "wile shooting people you found $<font color=green>$cashhh</font>"; $query4 = sprintf("UPDATE users SET money=money+$cashhh WHERE userid=$userid", $c); $db->real_escape_string($cash, $c); $db->query($query4, $c); exit; } if ($unit==2) { $crystalss=rand(3,5); echo "While shooting someone you find <font color=green>$crystalss</font> crystals"; $query5 = sprintf("UPDATE users SET crystals=crystals+$crystalss WHERE userid=$userid", $c); $db->real_escape_string($crystalss, $c); $db->query($query5, $c); exit; } } if ($rand == 100) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } $$db->query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } echo "you found a already dead body in his pocket you find<font color=green>$1,000</font>!"; $db->query("UPDATE users SET money=money+1000 WHERE userid=$userid", $c); exit; } if ($rand > 100 && $rand < 121) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } $db->query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } echo "you tryed to shoot someone and miss and he shoots back and hits you!"; $db->query("UPDATE users SET hospital='5' WHERE userid=$userid", $c); $db->query("UPDATE users SET hospreason='Got Shot At' WHERE userid=$userid", $c); exit; } } ?> In crons open energy cron Find: $query2="UPDATE users SET energy=maxenergy WHERE energy>maxenergy"; Under add: $query8="UPDATE users SET shoot=shoot+5 WHERE shoot<100"; Find: db->_query($query5,$c) or die("\nError Executing Query 5 for updating users $i to $next\n$query5\n".mysql_error()."\nError Code:".mysql_errno()); Under add: db->_query($query8,$c) or die("\nError Executing Query 8 for updating users $i to $next\n$query8\n".mysql_error()."\nError Code:".mysql_errno()); Open explore.php and in a table w/e you like... [url='shoot.php']Shoot[/url] SQL: ALTER TABLE `users` ADD `shoot` INT( 11 ) NOT NULL DEFAULT '100';
  11. Re: [mccode] Fixed Advertisements for mccode v1.1 it say forver not as many days they pay for it just stay there
  12. Re: [Free] [v1] Scuba Diving i made it into shoot same codes just different words make a file called shoot.php in it put <?php /*----------------------------------------------------- -- Isomerizer Copright 2007+. -- Scuba Dive (Free Mod) -- Property of isomerizer.com -----------------------------------------------------*/ /*----------------------------------------------------- -- made into shoot by iseeyou94056. -- shoot mod (Free Mod) -- Property of isomerizer.com -----------------------------------------------------*/ 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(); if ($ir['jail'] > 0){ print "<center>you cant shoot someone wile you are in the jail you dont want more jail time</center>"; exit; } if ($ir['hospital'] > 0){ print "<center>you cant shoot someone wile you are in the hospital. Just sit back and relax will</center>"; exit; } echo "<h3>Random Shoot</h3>"; echo "Shooting brave: {$ir['shoot']} / 100 whats up i am john, I'll be helping you shoot someone today Would you like to go shoot someone today? (10 shoot brave required [b]Updated![/b]) <form action=shoot.php method=POST><select name=shoot> <option value=yes>Yes</option> <option value=no>No</option> </select> <input type=submit value='Shoot Someone!'></form><hr />"; if (isset($_POST['shoot'])) { if ($select==no) { echo "Dont shoot no one then, Your loss!"; exit; } if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } $rand=rand(1,120); if ($rand <= 10) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someoe while in hospital / jail"; exit; } mysql_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); $moneyfound=rand(10,500); echo "you shoot someone and looked is there wallet and found <font color=green>$$moneyfound</font>"; $query1 = sprintf("UPDATE users SET money=money+$moneyfound WHERE userid=$userid", $c); mysql_real_escape_string($moneyfound, $c); mysql_query($query1, $c); exit; } if ($rand > 10 && $rand < 41) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } mysql_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); $moneyfind=rand(10,500); echo "you shoot someone and in there hand bag you find <font color=green>$$moneyfind</font>"; $query2 = sprintf("UPDATE users SET money=money+$moneyfind WHERE userid=$userid", $c); mysql_real_escape_string($moneyfind, $c); mysql_query($query2, $c); exit; } if ($rand > 40 && $rand < 61) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } mysql_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } $success=rand(1,10); $crystalfinding=rand(1,10); if ($sucess > 5) { echo "you shoot a rich person and in his wallet you find<font color=green>$crystalfinding</font> crystals!"; $query3 = sprintf("UPDATE users SET crystals=crystals+$crystalfinding WHERE userid=$userid", $c); mysql_real_escape_string($query3, $c); mysql_query($query3, $c); exit; } if ($success <=5) { echo "some one scared you and made you run and loose some of your energy"; mysql_query("UPDATE users SET energy=energy-0.5 WHERE userid=$userid", $c); exit; } } if ($rand > 60 && $rand < 81) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } mysql_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } $find=rand(1,2); if ($find==1) { echo "Bah, You cant seem to find anyone to shoot! Except for a some little kids!"; exit; } if ($find==2) { echo "Bah, You cant seem to find anyone to shoot! Wait, you spot a bit of someones shit!"; exit; } } if ($rand > 80 && $rand < 100) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } mysql_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital /jail"; exit; } $unit=rand(1,2); if ($unit==1) { $cashhh=rand(50,700); echo "wile shooting people you found $<font color=green>$cashhh</font>"; $query4 = sprintf("UPDATE users SET money=money+$cashhh WHERE userid=$userid", $c); mysql_real_escape_string($cash, $c); mysql_query($query4, $c); exit; } if ($unit==2) { $crystalss=rand(3,5); echo "While shooting someone you find <font color=green>$crystalss</font> crystals"; $query5 = sprintf("UPDATE users SET crystals=crystals+$crystalss WHERE userid=$userid", $c); mysql_real_escape_string($crystalss, $c); mysql_query($query5, $c); exit; } } if ($rand == 100) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } mysql_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } echo "you found a already dead body in his pocket you find<font color=green>$1,000</font>!"; mysql_query("UPDATE users SET money=money+1000 WHERE userid=$userid", $c); exit; } if ($rand > 100 && $rand < 121) { if ($ir['shoot'] < 10) { echo "10 shooting brave is required to shoot someone"; exit; } mysql_query("UPDATE users SET shoot=shoot-10 WHERE userid=$userid", $c); if ($ir['hospital'] > 0 || $ir['jail'] > 0) { echo "You cannot shoot someone while in hospital / jail"; exit; } echo "you tryed to shoot someone and miss and he shoots back and hits you!"; mysql_query("UPDATE users SET hospital='5' WHERE userid=$userid", $c); mysql_query("UPDATE users SET hospreason='Got Shot At' WHERE userid=$userid", $c); exit; } } ?> In crons open enerwillupdate.php Find: $query2="UPDATE users SET energy=maxenergy WHERE energy>maxenergy"; Under add: $query8="UPDATE users SET shoot=shoot+5 WHERE shoot<100"; Find: mysql_query($query5,$c) or die("\nError Executing Query 5 for updating users $i to $next\n$query5\n".mysql_error()."\nError Code:".mysql_errno()); Under add: mysql_query($query8,$c) or die("\nError Executing Query 8 for updating users $i to $next\n$query8\n".mysql_error()."\nError Code:".mysql_errno()); Open explore.php and in a table w/e you like... [url='shoot.php']Shoot[/url] SQL: [code] ALTER TABLE `users` ADD `shoot` INT( 11 ) NOT NULL DEFAULT '100'; [/code]
  13. Re: New!! Free!! Staff can change any users back ground here for v2 <?php include "globals.php"; if($ir['user_level'] != 2) { print "GET OUT DUMBASS"; $h->endpage(); exit; } switch($_GET['action']) { case 'changetxtsub': change_usertxt_sub(); break; default: idnx_home(); break; } function idnx_home() { global $ir,$c,$h,$userid; print "<h3>Changing Users Text Color</h3> The user will be banned from the changing there Text. <form action='changeusertxt.php?action=changetxtsub' method='post'> User: ".user_dropdown($c,'user',$_GET['ID'])." Text Color: <input type='text' name='usertxt' /> <input type='submit' value='Change User Text' /></form>"; } function change_usertxt_sub() { global $ir,$c,$h,$userid; db->("UPDATE users SET usertxt='{$_POST['usertxt']}' WHERE userid={$_POST['user']}",$c); event_add($_POST['user'],"A staff has changed your text color.",$c); print "User Text Changed."; } $h->endpage(); ?> the rest is the same much the same
  14. Re: New!! Free!! Staff can change any users back ground here is staff can change user text color   Make a new file called: changeusertxt.php add <?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(); if($ir['user_level'] != 2) { print "GET OUT DUMBASS"; $h->endpage(); exit; } switch($_GET['action']) { case 'changetxtsub': change_usertxt_sub(); break; default: idnx_home(); break; } function idnx_home() { global $ir,$c,$h,$userid; print "<h3>Changing Users Text Color</h3> The user will be banned from the changing there Text. <form action='changeusertxt.php?action=changetxtsub' method='post'> User: ".user_dropdown($c,'user',$_GET['ID'])." Text Color: <input type='text' name='usertxt' /> <input type='submit' value='Change User Text' /></form>"; } function change_usertxt_sub() { global $ir,$c,$h,$userid; mysql_query("UPDATE users SET usertxt='{$_POST['usertxt']}' WHERE userid={$_POST['user']}",$c); event_add($_POST['user'],"A staff has changed your text color.",$c); print "User Text Changed."; } $h->endpage(); ?> find mainmenu.php or admin.php in it add if adding it to mainmenu.php put if ($ir['user_level'] == 2) { echo "[url='changeusertxt.php']Change User Text[/url]"; } if adding it to admin.php put [url='changeusertxt.php']Change User Text[/url]
  15. Re: [Free] [v1] Profile Image Uploader i know but is there a way to make it work just not using ftp like just go into a file
  16. Re: [Free] [v1] Profile Image Uploader ftp dont work
  17. Re: battlearena i tryed this and it ran good but i still get a sql error when tryin 2 battle   CREATE TABLE `battlearena` ( `batid` int(11) NOT NULL auto_increment, `p1` int(11) NOT NULL default '0', `p2` int(11) NOT NULL default '0', `p3` int(11) NOT NULL default '0', `p4` int(11) NOT NULL default '0', `p5` int(11) NOT NULL default '0', `p6` int(11) NOT NULL default '0', `p7` int(11) NOT NULL default '0', `p8` int(11) NOT NULL default '0', `p9` int(11) NOT NULL default '0', `p10` int(11) NOT NULL default '0', `lastwinner` int(11) NOT NULL default '0', PRIMARY KEY (`batid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
  18. Re: battlearena and i am very very bad with sql can someone tell me what to run
  19. Re: [Free] [v1] Monkey Slaves it works now but you got to but 50 some monkeys to get it to start workin it say -50 some and u got to buy all of them plus more for it to say u got monkeys
  20. Re: battlearena can someone make it so i can just run that sql please
  21. Re: [Free] [v1] Monkey Slaves its not workin it dont let you but them
  22. Re: Counting (nr game) 1573
  23. Re: [mccode] Fixed Advertisements for mccode v1.1 for some reson the ads keep going they dont go off how do i make them come off
  24. Re: [v1] Maximum Users Online Counter can u tell a better place for it
  25. Re: [v1] Maximum Users Online Counter where u want it if your login is html then add   <?php if(!$c) { include 'mysql.php'; global $c; } $q2=mysql_fetch_array(mysql_query("SELECT * FROM max_online",$c)); $maxonline=$q2['value']; print "The maximum users online recorded was [b]$maxonline[/b]"; ?>   and it should work i just did it for someone
×
×
  • Create New...