Jump to content
MakeWebGames

Recommended Posts

  • Replies 64
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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!

Guest Anonymous
Posted

Re: PUB

and thanks for posting it...if you happen to fix it please post the fix for others

Posted

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 :-)

Posted

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)

  • 2 months later...
  • 3 weeks later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...