CraigF Posted April 14, 2007 Posted April 14, 2007 Re: PUB bite, wheres mine :o! i posted that code, i was out all day sorry i couldnt tell you its bar.php i meant to! Quote
wwgame Posted April 17, 2007 Posted April 17, 2007 Re: PUB There's an exploit in this mod. As long as players have money out the can go to the tequila or any drink and hit refresh and it'll take there energy well past 100%. which allows them the train more rapidly and level faster! Quote
wwgame Posted April 17, 2007 Posted April 17, 2007 Re: PUB Not complaining. Just letting everyone know about it! Quote
Guest Anonymous Posted April 17, 2007 Posted April 17, 2007 Re: PUB and thanks for posting it...if you happen to fix it please post the fix for others Quote
CraigF Posted April 17, 2007 Posted April 17, 2007 Re: PUB are you suing mine or someone elses as i did not put taqueila in it Quote
KyleCrispy Posted April 24, 2007 Posted April 24, 2007 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 :-) Quote
oxidati0n Posted April 25, 2007 Posted April 25, 2007 Re: PUB Thanks thats a nice contribution. +1 :) Quote
KyleCrispy Posted April 25, 2007 Posted April 25, 2007 Re: PUB thanks and later on ill be putting the fully coded one with sqls :-D Quote
KyleCrispy Posted April 27, 2007 Posted April 27, 2007 Re: PUB Here is a coded one create file: 1-bar.php and put: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then create file: barpass.php and put: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add a sql with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. that is a bar and whorehouse pass (it has been a lil edited) Quote
3XTR3M3 Posted July 22, 2007 Posted July 22, 2007 Re: [mccode] PUB Alterd Version Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in line 42 Quote
Danny Posted July 22, 2007 Posted July 22, 2007 Re: [mccode] PUB Alterd Version liam add me on msn [email protected] Quote
--{A$H0}-- Posted August 10, 2007 Posted August 10, 2007 Re: [mccode] PUB Alterd Version Altered So All Prices In Centre <?php /*----------------------------------------------------- -- A product of Stage3Gaming -- http://www.stage3gaming.com -- Pub.php -- Modified By Sarunas -----------------------------------------------------*/ 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(!$_GET['spend']) { print "<h2>Pub</h2> Hi and welcome , what would you like?. Prices and payment options are listed below. <h3>For The Clients</h3> <table border='1' width='90%' bordercolor='#939393'><tr background='header.jpg'><th>Alchohol Drinks</th><th>Price</th><th><center>Buy</th></tr><tr> <td><center>Juice</td><td><center>$1,000,000</td><td><center>Buy Juice</td></tr><tr> <td><center>Beer</td><td><center>$5,000,000</td><td><center>Buy Beer</td></tr><tr> <td><center>Brandy</td><td><center>$7,000,000</td><td><center>Buy Brandy</td></tr><tr> <td><center>Tequila</td><td><center>$10,000,000</td><td><center>Buy Tequila</td></tr></table>"; print " } else { if($_GET['spend'] == 'Juice') { if($ir['money'] <1000000) { print "You don't have enough money to buy a pint of beer , Get out of my PUB!"; } else { mysql_query("UPDATE users SET will=will+35,energy=0,money=money-1000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed the Bartender \$1,000,000,and then drank your juice . You feel some of your will comming back to you. >Home</center>"; } } else if($_GET['spend'] == 'Beer') { if($ir['money'] <5000000) { print "You don't have enough money to buy a pint of beer , Get out of my PUB!"; } else { mysql_query("UPDATE users SET will=will+70,energy=0,money=money-5000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed the Bartender $5,000,000, and then drank your beer. You feel some of your will comming back to you. >Home</center>"; } } else if($_GET['spend'] == 'Brandy') { if($ir['money'] <10000000) { print "You don't have enough money to buy a pint of beer , Get out of my PUB!"; } else { mysql_query("UPDATE users SET will=will+210,energy=0,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed the Bartender \$10,000,000, and then drank your Brandy. You feel some of your will comming back to you. >Home</center>"; } } else if($_GET['spend'] == 'Tequila') { if($ir['money'] <10000000) { print "You don't have enough money to buy a pint of beer , Get out of my PUB!"; } else { mysql_query("UPDATE users SET will=will-50,energy=+250,money=money-10000000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET will=maxwill WHERE will > maxwill",$c); print "<center>You payed the Bartender $10,000,000, and then drank your tequila. You feel Dizzy , Then you feel some of your energy comming back to you. >Home</center>"; } } } } $h->endpage(); ?> :-D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.