Jump to content
MakeWebGames

Recommended Posts

Posted

This Mail Bomb Script But The Pro Version Fairly Long So Here Goes

Call This mbbuy.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Call This mbdone.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Call This mbmarket.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Call This mbuser.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Then Follow this

OPEN mailbox.php AND find where it says

function mail_inbox()

{

global $ir,$c,$userid,$h;

print "Only the last 25 messages sent to you are visible.

<table width=75% bgcolor=#222222 border=1 bordercolor=#666666><th>From</th><th>Subject/Message</th></tr>";

$q=mysql_query("SELECT m.*,u.* FROM mail m LEFT JOIN users u ON m.mail_from=u.userid WHERE m.mail_to=$userid ORDER BY mail_time DESC LIMIT 25",$c);

while($r=mysql_fetch_array($q))

{

$sent=date('F j, Y, g:i:s a',$r['mail_time']);

print "<tr><td>";

 

ADD AFTER

$q2=mysql_query("SELECT * FROM mb_used WHERE mb_mail={$r['mail_id']} AND mb_used=0",$c);

$rw=mysql_num_rows($q2);

if($rw != 0)

{

$rr=mysql_fetch_array($q2);

if($rr['mb_used'] == 0)

{

print "This mailbomb has already been used!

";

} else {

print "This mailbomb has attacked you!

";

$time=rand(10,140);

mysql_query("UPDATE mb_used SET mb_used=1 WHERE mb_mail={$r['mail_id']}",$c);

mysql_query("UPDATE users SET hospital=hospital+$time,hospreason='Mail Bombed' WHERE userid=$userid",$c);

}

}

 

THEN OPEN UP staff.php AND FIND WHERE IT SAYS

Will Potion Item: ".item_dropdown($c, "willp_item", $set['willp_item'])."

 

 

ADD AFTER

 

USD Price per Mailbomb: <input type='text' name='mb_price' value='{$set['mb_price']}'>

 

 

THEN OPEN up viewuser.php AND FIND WHERE IT SAYS

[send Cash]

 

ADD AFTER

 

[Mail Bomb]

 

THEN ADD A LINK IN explore.php

Mailbomb Market

Posted

Re: Mail Bomb Pro Version

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\mbmarket.php on line 30

------($q=mysql_query("SELECT mb.*, u.* FROM mbmarket mb LEFT JOIN users u ON u.userid=mb.mb_from ORDER BY mb_price/mb_quantity ASC",$c);

while($r=mysql_fetch_array($q))

{-----

Is this missing SQL queries or are they mentioned some place else?

Posted

Re: Mail Bomb Pro Version

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

change to

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Mail Bomb Pro Version

sorry here is the sql

 

INSERT INTO `settings` (`conf_id`, `conf_name`, `conf_value`) VALUES ('NULL', 'mb_price', '3');

CREATE TABLE `mb_used` (

`mb_mail` INT( 11 ) NOT NULL,

`mb_used` INT( 11 ) NOT NULL

) TYPE=MYISAM ;

ALTER TABLE `users` ADD `mailbomb` INT( 11 ) NOT NULL;

CREATE TABLE `mbmarket` (

`mb_id` INT( 11 ) NOT NULL,

`mb_from` INT( 11 ) NOT NULL,

`mb_price` INT( 11 ) NOT NULL,

`mb_quantity` INT( 11 ) NOT NULL,

PRIMARY KEY (`mb_id`)

) TYPE=MYISAM ;

 

CREATE TABLE `mb_logs` (

`mb_id` INT( 11 ) NOT NULL,

`mb_from` INT( 11 ) NOT NULL,

`mb_to` INT( 11 ) NOT NULL,

`mb_time` VARCHAR( 255 ) NOT NULL,

PRIMARY KEY (`mb_id`)

) TYPE=MYISAM ;

Posted

Re: Mail Bomb Pro Version

Am I getting this right,

This is a mod that allows users to donate to get a mail bomb.

You can use it on a member and they get spam?

Can you explain this mod please

Posted

Re: Mail Bomb Pro Version

Thank you for the response.

I know Beyond Evolution has something like this where players can send scorpions to others... I remember everyone really liked it because you did not know who was sending the scorpions... it might be different... I was only passing through on that game... I tend to get Fedded a lot... that's why I'm building my own game... to decrease my chances of being Fedded...

Posted

Re: Mail Bomb Pro Version

Yes but what is the least number of musical notes it would take you to do that?

Now it's like a game show... "I can hack that game in under twelve musical notes!" "Oh yeah- Hack that game!"

  • 2 weeks later...

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...