Jump to content
MakeWebGames

KyleCrispy

Members
  • Posts

    158
  • Joined

  • Last visited

    Never

Everything posted by KyleCrispy

  1. seeing some ppl like steeling other ppls login page and that on the folowing pages befor the
  2. Re: Free Multiple Event Deleter - FREE! yh i noticed that u must select a event first i edited it so it shows u all the events and can delete up to 10000 events and it would look nice if there was one for mails
  3. Re: [FREE-v1.1]Steps market What do you mean by that :?
  4. Re: Free Multiple Event Deleter - FREE! i fixed it zaver helped me
  5. Re: Free Multiple Event Deleter - FREE! NICE thats a cool one i like it +1 ok but can some one fix this error for me i get it in the events Warning: Missing argument 4 for userdata() in /home/gangstas/public_html/header.php on line 37
  6. Re: [FREE-v1.1]Steps market well i dont like selling mods bcoz if i do sum ppl come along and say hey thats my mod and wants to sue me and of course i have to do suming about it and i tell them shut up and i block them and delete them and another thing why i dont sell it bcoz you will find alot of ppl wich dont have enough $ to buy it but wants it so bad so i just give it away for free but thats only if it is like a 1 hour job if it is more than 2 days job of course i will charge like $10
  7. here is a steps market so your members can add there steps to it and others can buy them instructions: 1.-create a file called stepsmarket.php 2.-instert the folowing: <?php /*----------------------------------------------------- kyles steps market.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']); $gm=money_formatter($ir['turns'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "Steps Market "; switch($_GET['action']) { case "buy": steps_buy(); break; case "remove": steps_remove(); break; case "add": steps_add(); break; default: steps_index(); break; } function steps_index() { global $ir,$c,$userid,$h; print "[url='stepsmarket.php?action=add']Add A Listing[/url] Viewing all listings Adder Qty Price each Price total Links [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}] {$r['stepsQTY']} \$" . number_format($each)." \$".number_format($r['stepsPRICE'])." [$link] "; } function steps_remove() { global $ir,$c,$userid,$h; $q=mysql_query("SELECT * FROM stepsmarket WHERE stepsID={$_GET['ID']} AND stepsADDER=$userid",$c); if(!mysql_num_rows($q)) { print "Error, either these Steps do not exist, or you are not the owner. [url='stepsmarket.php']Back[/url]"; $h->endpage(); exit; } $r=mysql_fetch_array($q); mysql_query("UPDATE users SET turns=turns+{$r['stepsQTY']} where userid=$userid",$c) or die(mysql_error()); mysql_query("DELETE FROM stepsmarket WHERE stepsID={$_GET['ID']}",$c); print "Steps removed from market! [url='stepsmarket.php'] Back[/url]"; } function steps_buy() { global $ir,$c,$userid,$h; $q=mysql_query("SELECT * FROM stepsmarket steps WHERE stepsID={$_GET['ID']}",$c); if(!mysql_num_rows($q)) { print "Error, either these Steps do not exist, or they have already been bought. [url='stepsmarket.php']Back[/url]"; $h->endpage(); exit; } $r=mysql_fetch_array($q); if($r['stepsPRICE'] > $ir['money']) { print "Error, you do not have the funds to buy these Steps. [url='stepsmarket.php'] Back[/url]"; $h->endpage(); exit; } mysql_query("UPDATE users SET turns=turns+{$r['stepsQTY']} where userid=$userid",$c) or die(mysql_error()); mysql_query("DELETE FROM stepsmarket WHERE stepsID={$_GET['ID']}",$c); mysql_query("UPDATE users SET money=money-{$r['stepsPRICE']} where userid=$userid",$c); mysql_query("UPDATE users SET money=money+{$r['stepsPRICE']} where userid={$r['stepsADDER']}",$c); event_add($r['stepsADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['stepsQTY']} Steps from the market for \$".number_format($r['stepsPRICE']).".",$c); print "You bought the {$r['ddQTY']} Steps from the market for \$".number_format($r['stepsPRICE'])."."; } function steps_add() { global $ir,$c,$userid,$h; $_POST['amnt'] = abs((int) $_POST['amnt']); $_POST['price'] = abs((int) $_POST['price']); if($_POST['amnt']) { if($_POST['amnt'] > $ir['turns']) { die ("You are trying to add more Steps to the market than you have."); } $tp=$_POST['amnt']*$_POST['price']; mysql_query("INSERT INTO stepsmarket VALUES('',{$_POST['amnt']},$userid,$tp)", $c); mysql_query("UPDATE users SET turns=turns-{$_POST['amnt']} WHERE userid=$userid", $c); print "Steps added to market! [url='stepsmarket.php']> Back[/url]"; } else { print "[b]Adding a listing...[/b] You have [b]{$ir['turns']}[/b] Steps that you can add to the market.Steps: Price Each: "; } } $h->endpage(); ?> ?> in your database insert this sql: -- -------------------------------------------------------- -- -- Table structure for table `stepsmarket` -- CREATE TABLE `stepsmarket` ( `stepsID` int(11) NOT NULL auto_increment, `stepsQTY` int(11) NOT NULL default '0', `stepsADDER` int(11) NOT NULL default '0', `stepsPRICE` int(11) NOT NULL default '0', PRIMARY KEY (`stepsID`) ) ENGINE=MyISAM ; -- -------------------------------------------------------   NOTE: if you are not using turns in your database you must change all turns into what eva you are using thanks   THIS HAS BEEN SLIGHTLY MODIFIED SO PLEASE RE TAKE THIS ONE THANKS
  8. Re: [FREE-v1.1] ok good one xD
  9. For all those ppl out there and that are looking for a script wich shows the donators here is one: instructions: 1.-go to your file manager 2.-open your public_html or www folder 3.-click on create a new file 4.-create the file and make it what eva u want to call it 5.-edit the file and insert: <?php /*----------------------------------------------------- kyles donator users -----------------------------------------------------*/ 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['credits'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print " [b]Donators[/b] User Level Money Donator days Left Status [b]Online[/b]"; } else { $on="[b]Offline[/b]"; } print "[url='viewuser.php?u={$r['][b]{$r['username']}[/b][/url] [{$r['userid']}]{$r['level']} \${$r['money']} {$r['donatordays']} $on "; } print ""; $h->endpage(); ?> then open your explore and put: [url='put what u called ur file here']Name it here[/url] and you are done fully made by me   *Description in title added* ~LostOne
  10. Re: donator day market for v2 free VERY HARD!.......NOT! hehe sorry for bieng sarcasm
  11. Re: donator day market for v2 free hope this works this file must be called: dday.php <?php include "globals.php"; print "<h3>Donator Day Market</h3>"; switch($_GET['action']) { case "buy": dday_buy(); break; case "remove": dday_remove(); break; case "add": dday_add(); break; default: dday_index(); break; } function dday_index() { global $db,$ir,$c,$userid,$h; print "[url='dday.php?action=add']> Add A Listing[/url] Viewing all listings... <table width=75% cellspacing=1 class='table'> <tr style='background:gray'> <th>Adder</th> <th>Qty</th> <th>Price each</th> <th>Price total</th> <th>Links</th> </tr>"; $q=$db->query("SELECT dd.*, u.* FROM donatormarket dd LEFT JOIN users u ON u.userid=dd.ddADDER ORDER BY ddPRICE/ddQTY ASC"); while($r=$db->fetch_row($q)) { if($r['ddADDER'] == $userid) { $link = "[url='dday.php?action=remove&ID={$r[']Remove[/url]"; } else { $link = "[url='dday.php?action=buy&ID={$r[']Buy[/url]"; } $each= (int) $r['ddPRICE'] / $r['ddQTY']; print "\n<tr> <td>[url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td>{$r['ddQTY']}</td> <td> \$" . number_format($each)."</td> <td>\$".number_format($r['ddPRICE'])."</td> <td>[$link]</td> </tr>"; } print "</table>"; } function dday_remove() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM donatormarket WHERE ddID={$_GET['ID']} AND ddADDER=$userid"); if(!$db->num_rows($q)) { print "Error, either these days do not exist, or you are not the owner. [url='cmarket.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); $db->query("UPDATE users SET donatordays=donatordays+{$r['ddQTY']} where userid=$userid"); $db->query("DELETE FROM donatormarket WHERE cmID={$_GET['ID']}"); print "days removed from market! [url='cmarket.php']> Back[/url]"; } function dday_buy() { global $db,$ir,$c,$userid,$h; $q=$db->query("SELECT * FROM donatormarket dm WHERE ddID={$_GET['ID']}"); if(!$db->num_rows($q)) { print "Error, either these days do not exist, or they have already been bought. [url='dday.php']> Back[/url]"; $h->endpage(); exit; } $r=$db->fetch_row($q); if($r['ddPRICE'] > $ir['money']) { print "Error, you do not have the funds to buy these days. [url='dday.php']> Back[/url]"; $h->endpage(); exit; } $db->query("UPDATE users SET donatordays=donatordays+{$r['ddQTY']} where userid=$userid"); $db->query("DELETE FROM donatormarket WHERE ddID={$_GET['ID']}"); $db->query("UPDATE users SET money=money-{$r['ddPRICE']} where userid=$userid"); $db->query("UPDATE users SET money=money+{$r['ddPRICE']} where userid={$r['cmADDER']}"); event_add($r['ddADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['ddQTY']} days from the market for \$".number_format($r['ddPRICE']).".",$c); print "You bought the {$r['ddQTY']} days from the market for \$".number_format($r['ddPRICE'])."."; } function dday_add() { global $db,$ir,$c,$userid,$h; $_POST['amnt'] = abs((int) $_POST['amnt']); $_POST['price'] = abs((int) $_POST['price']); if($_POST['amnt']) { if($_POST['amnt'] > $ir['donatordays']) { die ("You are trying to add more days to the market than you have."); } $tp=$_POST['amnt']*$_POST['price']; $db->query("INSERT INTO donatormarket VALUES('',{$_POST['amnt']},$userid,$tp)"); $db->query("UPDATE users SET donatordays=donatordays-{$_POST['amnt']} WHERE userid=$userid"); print "days added to market! [url='dday.php']> Back[/url]"; } else { print "[b]Adding a listing...[/b] You have [b]{$ir['donatordays']}[/b] day(s) that you can add to the market.<form action='dday.php?action=add' method='post'><table width=50% border=2><tr> <td>Days:</td> <td><input type='text' name='amnt' value='{$ir['donatordays']}' /></td></tr><tr> <td>Price Each:</td> <td><input type='text' name='price' value='200000' /></td></tr><tr> <td colspan=2 align=center><input type='submit' value='Add To Market' /></tr></table></form>"; } } $h->endpage(); ?>   the sql for it -- -------------------------------------------------------- -- -- Table structure for table `donatormarket` -- CREATE TABLE `donatormarket` ( `ddID` int(11) NOT NULL auto_increment, `ddQTY` int(11) NOT NULL default '0', `ddADDER` int(11) NOT NULL default '0', `ddPRICE` int(11) NOT NULL default '0', PRIMARY KEY (`ddID`) ) ENGINE=MyISAM ; -- --------------------------------------------------------   this was my v1 version converted to v2 if this dont work properly just let me know
  12. Re: (Free) Contra Game cool
  13. Re: (FREE) Pac Man Game soz :-)
  14. Re: (Free) Contra Game oh i seee
  15. Re: (Free) Contra Game with that u can like add games and that right?
  16. Re: PUB Here is a coded one create file: 1-bar.php and put: <?php /*----------------------------------------------------- --kyle --1-bar.php is for entering of whore house and bar --product of reddevil copyright 2007 for ck -----------------------------------------------------*/ 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['pass']== 0) { die("You do not have a pass to enter this area, >[url='barpass.php']Buy a pass[/url]"); } print "<h2><center>[b]Entering the bar<font color=red>:</center></h2>[/b] </font> Slut<font color=red>[b]:[/b]</font> Would you like to enter Bar or Whorehouse {$ir['username']}<font color=red>[b]:[/b]</font> Yes i would like to enter, but i dont know what to choose yet Slut<font color=red>[b]:[/b]</font> Ok call me when you are finished baby {$ir['username']}<font color=red>[b]:[/b]</font> Ok thanks <h2>[b]<center>Please choose the place u would like to enter[b]:[/b] <form action='bar.php' method='post'><input type='submit' value='Bar' /></form> <form action='whorehouse.php' method='post'><input type='submit' value='Whore House' /></form> "; $h->endpage(); ?>   then create file: barpass.php and put: <?php /*----------------------------------------------------- kyles barpass.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(); print "<h3>Purchase a bar pass</h3>"; if($ir['pass'] == 5) { die("You already have a bar pass.."); } if($ir['money'] < 5000) { die("You dont have enough money for a bar pass..You need \$5,000"); } if(isset($_GET['buypass'])) { if($ir['pass'] == 0) { print "Congratulations, you bought a bar pass for \$5,000! [url='1-bar.php']Start going to the bar[/url]"; mysql_query("UPDATE users SET money=money-5000,pass=5 WHERE userid=$userid",$c); } else { print "You do not have the requirements of cash to purchase a bar pass..it costs \$5,000. [url='explore.php']Back to city...[/url]"; } } else { print "Purchase a bar pass, just \$5,000! [url='barpass.php?buypass']> Yes I Would Please![/url] [url='explore.php']No Please...Thankyou...![/url]"; } print""; $h->endpage(); ?>     add a sql with ALTER TABLE `users` ADD `pass` INT( 11 ) NOT NULL ;   that is a bar and whorehouse pass (it has been a lil edited)
  17. Re: Proxy Deny Script[free] thanks
  18. Re: (Free) Contra Game <?php /*----------------------------------------------------- kyles contra -----------------------------------------------------*/ 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(); print " <center><table width='500' border=2><tr style bgcolor='#ff0000'><th>CONTRA</th></center></tr><tr><td>"; print "<div><embed src='http://www.puffgames.com/contra/' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='500' height='450'></embed></div></tr><tr><td><center>Back to Explore</center>"; $h->endpage(); ?>   thats my contra :-D (hope u guys like it) mail me if u want it in v2!
  19. Re: Proxy Deny Script[free] ok not one of those codes work :|
  20. Re: LARGE ammount of stolen code in use. :-o i know alot of games wich are using stolen codes :roll:
  21. Re: (Free) Contra Game nice one still nah i wont use it i can make a betta one :evil:(if i had the time :-()
  22. Re: (FREE) Pac Man Game nice game but to tell u the truth IT is so easy to make so i can make 1 even betta xD (if i had the time :-()
  23. Re: PUB thanks and later on ill be putting the fully coded one with sqls :-D
  24. Re: PUB For those ones who have whorehouse.php and bar.php this mod can be changed if u want atm i am changing it around and u can only enter 5 times per hour and that so here it is create a file of any name with .php ( for n00bs ) and insert <?php /*----------------------------------------------------- --kyle --1-bar.php is for entering of whore house and bar --product of reddevil copyright 2007 for ck -----------------------------------------------------*/ 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(); print "<h2><center>Entering the bar<font color=red>:</center></h2>     </font> Slut<font color=red>:</font> Would you like to enter Bar or Whorehouse {$ir['username']}<font color=red>:</font> Yes i would like to enter, but i dont know what to choose yet Slut<font color=red>:</font> Ok call me when you are finished baby {$ir['username']}<font color=red>:</font> Ok thanks       <h2><center>Please choose the place u would like to enter: <form action='bar.php' method='post'><input type='submit' value='Bar' /></form> <form action='whorehouse.php' method='post'><input type='submit' value='Whore House' /></form> "; $h->endpage(); ?> thanks (wishes he gets a karma(wich i dont believe i will) hehe) when i have the fully edited one ill post here :-)
  25. Re: Sick and Tired of Them sue them m8
×
×
  • Create New...