Jump to content
MakeWebGames

Mcfarlin

Members
  • Posts

    205
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Mcfarlin

  1. While i do not know 100% wtf all had happened. you have to see this from all sides. All of the evidence pointed to you bro. and i know we will get this figured out soon enough and the ppl or person who has done this will pay, if it be you or some other. like i told you earlier i hope its not the first. ?( ?( ?( ?( ?( ?( ?( ?( ?(
  2. well i can vouch otherwise, i know of four sites, maybe five he has got in the last week. three has to start the site over due to deleted files, embeded code, and dropped tables.
  3. while he may keep in touch, he will also hack where he can. im not saying that he does not have a few good mods. im saying the guy hacks games as well. two faced and you should watch what you do with him, the guys a jerk! :thumbdown:
  4. i have got a few mods from the guy, the shitty service is from his hacking after wards. then he hacks a few games. redirects all the users to his game. bla bla bla im not goinig to repeat all of this im tired of talking abo0ut it. but i will assure you he will get whats coming his way.
  5. have to give it a go, but nice work bro.
  6. Do not buy! shitty "service" nothing more than a punk hacker.
  7. think he meant the market place on here, there is a thread with such a name.
  8. ? what happend bro this was looking interesting.
  9. but it would work wonders for any game tho right? :P
  10. pretty sure seanbob has a pretty cool casion mod. its a nice one. :thumbup:
  11. [mysql]CREATE TABLE IF NOT EXISTS `thugs` ( `userid` int(11) NOT NULL, `tID` int(11) NOT NULL auto_increment, `tName` varchar(255) NOT NULL, `tLevel` int(11) NOT NULL default '1', `tHealth` int(3) NOT NULL default '100', `tStr` int(11) NOT NULL default '1', `tDef` int(11) NOT NULL default '1', `tPrice` int(11) NOT NULL default '100', `tExp` int(11) NOT NULL default '0', `tENERGY` int(11) NOT NULL default '10', PRIMARY KEY (`tID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;[/mysql]   that should be it all in one shot.
  12. then i wont mention the haircut mod you were working on either then. hehe but these additions should be a huge hit. again nice work bro.
  13. link sent. not a bad mod the pets thing, it jsut does not fit into a mobster game at all. never could figure out why ppl have mods that make no sense to have in a game.   next we will see a gardening mod for these mob games, oh yeah and knitting. ^^   thats why i am liking what i see with this one so much better. more options are always a good thing.
  14. awsome do you see the similarities to a pets mod at all ? lol i know you kate it being compaired to that, but my opinion that with some work this mod would be 100 times better than any pets mod could be, especially if the thugs can interact within the game. very nice. +100 8|
  15. lol pets dont fit i know, but that was just what i reminded me of. would one of the things your working on adding to this be the ability for the thugs to attack other ppls thugs or the other players themselves by chance?
  16. i have images for the most of the links on the main menu i never looked to see if it updated it with more than one. mine no longer shows how many new mails you have. <----like this for new mails, and for no new mails. :D
  17. he has it correct. tglobals.php is the second file he has posted you will have to have it to make this one do anything for ya.
  18. nice one, has a feel of a pets mod growing with more potential for interactivity between players maybe. looks good.
  19. friggen flight delayed again. lol stuck in another airport   but i cant see why [mysql]$m=$db->query("SELECT FROM users WHERE userid='{$r['married']}'"); $par=$db->fetch_row($m); if($ir['married'] > 0) { print "<a href='viewuser.php?u={$par['userid']}'><font color=yellow> {$par['username']}</font></a>"; } else if($ir['married'] == 0) { print "<font color=red>single and looking for some action</font>"; } [/mysql] is not working for ya bro. not 100% on the query to pull the info, but the last bit should show what your after.
  20. all of them or ???? when is this happening bro? specifics bob we need specifics lol
  21. i will be home from work in a few hours, i will hit you up.   ADDED!
  22. you might try this [mysql]if($ir['married'] > 0) { print "<a href='viewuser.php?u={$par['userid']}'><font color=yellow> {$par['username']}</font></a>"; } else if($ir['married'] == 0) { print "<font color=red>N/A</font>"; }[/mysql] where you have [mysql]<td> <center>Married: $partner </td></tr>"; [/mysql]
  23. Works wonders!
  24. Not a whole lot different in this home file, the links are different so change those to your liking along with the cost and how the images are called. [mysql]<?php include "globals.php"; // CALL Your House DATA $h=$db->query("SELECT * FROM home_users WHERE home_userid={$userid}"); $home=$db->fetch_row($h); $hh=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $hhh=$db->fetch_row($hh); if ($ir['donatordays']==0) { echo " Ummmm... what are you trying to do, this is for donors only."; return; } echo "<h1> INSIDE YOUR {$hhh['hNAME']} </h1><hr>"; echo " You have entered your quarters, so what you gonna do ?"; echo " "; echo "[ Buy Upgrades ]"; echo " "; echo "[ Enter Living Room ]--[ Enter Bed Room ]--[ Enter Kitchen ]"; switch($_GET['action']) { case "livingroom": living_room(); break; case "bedroom": bed_room(); break; case "kitchen": kitchen(); break; case "upgrades": home_upgrade(); break; default: index(); break; } function index() { global $db, $ir,$c,$userid,$h,$home; echo " "; echo " Each room has different things for you to do !"; } function living_room() { global $db, $ir,$c,$userid,$h,$home; echo " <h3> LIVING ROOM </h3><hr width=25%> "; $_POST['TV'] = mysql_real_escape_string($_POST['TV']); if($_POST['TV']) { if ($home['home_tv'] == 0) { echo " You do not own a TV "; return; } else { if ($ir['view_tv'] != 0) { echo " You can only watch TV once a hour. Dont be a potato dammit get back in the game bro."; return; } $db->query("UPDATE home_users SET home_microwave = 1 WHERE home_userid = $userid"); $db->query("UPDATE users SET view_tv = 1, brave=maxbrave WHERE userid = $userid"); echo " You watched your TV for a while and gain 100 % courage! "; return; } } $_POST['SIT'] = mysql_real_escape_string($_POST['SIT']); if($_POST['SIT']) { if ($home['home_couch'] == 0) { echo " You do not own a Couch ! "; return; } else { if ($ir['sleep_sofa'] != 0) { echo " You can only nap on your sofa once a hour."; return; } $will = $ir['maxwill'] * .5; $willgain= $ir['will'] + $will; if ($willgain > $ir['maxwill']) { $willgain = $ir['maxwill'];} $db->query("UPDATE users SET sleep_sofa=sleep_sofa+1, will=$willgain WHERE userid=$userid"); echo " You napped on your sofa and gained some Will! "; return; } } if ($home['home_tv'] > 0) { echo "<table width=80%> <tr> <td width='25%'></td> <td> Once a HOUR you can view the television. You will gain 100% Courage for this action. </td> <td>"; echo " <form action='living.php?action=livingroom' method='POST'> <input type='hidden' name='TV' /> <input type='submit' value='Watch TV' name='TV' /></form> "; echo "</td></tr></table>"; } else { echo " YOU DONT OWN A TELEVISION. "; } echo " "; if ($home['home_couch'] > 0) { echo "<table width=80%> <tr> <td width='25%'></td> <td> Once a HOUR you can take a nap on your Sofa. You will gain 50% Will for this action. </td><td>"; echo " <form action='living.php?action=livingroom' method='POST'> <input type='hidden' name='SIT' /> <input type='submit' value='Sit Down' name='SIT' /></form> "; echo "</td></tr></table>"; } else { echo " YOU DONT OWN A SOFA. "; } } function bed_room() { global $db, $ir,$c,$userid,$h,$home; echo " <h3> BED ROOM </h3><hr width=25%> "; if($_POST['SLEEP']) { if ($home['home_bed'] == 0) { echo " You do not own a Bed "; return; } else { if ($ir['sleep_bed'] >= 2) { echo " You can only Sleep in your bed 2 times a day."; return; } $db->query("UPDATE users SET sleep_bed=sleep_bed+1, energy=maxenergy, will=maxwill WHERE userid=$userid"); echo " You went to sleep for a while and gained Full Energy and Will !"; return; } } echo " "; if ($home['home_bed'] > 0) { echo "<table width=80%> <tr> <td width='25%'></td> <td> Twice a DAY you can go to sleep on your Bed. You will gain Full Energy and Will for this action. </td><td>"; echo " <form action='living.php?action=bedroom' method='POST'> <input type='hidden' name='SLEEP' /> <input type='submit' value='Sleep' name='SLEEP' /></form> "; echo "</td></tr></table>"; } else { echo " YOU DONT OWN A BED. "; } } function kitchen() { global $db, $ir,$c,$userid,$h,$home; echo " <h3> KITCHEN </h3><hr width=25%> "; $_POST['STOVE'] = mysql_real_escape_string($_POST['STOVE']); if($_POST['STOVE']) { if ($home['home_refridgerator'] ==0) { echo " A refridgerator is required to cook meals. "; return; } else { if ($home['home_stove'] == 0) { echo " You do not own a stove "; return; } else { if ($ir['meal_eat'] >= 3) { echo " You can only eat 3 meals a day."; return; } $db->query("UPDATE users SET meal_eat=meal_eat+1, energy=maxenergy, hp=maxhp WHERE userid=$userid"); echo " You cooked a Superb Meal and gained Full Energy and Health. !"; return; } } } $_POST['MICROWAVE'] = mysql_real_escape_string($_POST['MICROWAVE']); if($_POST['MICROWAVE']) { if ($home['home_refridgerator'] ==0) { echo " A refridgerator is required to cook meals. "; return; } else { if ($home['home_microwave'] == 0) { echo " You do not own a microwave "; return; } else { if ($ir['meals_eat'] >= 3) { echo " You can only eat 3 times a day."; return; } $energy = $ir['maxenergy'] * .50; $health = $ir['maxhp'] * .50; $energygain = $ir['energy'] + $energy; if ($energygain > $ir['maxenergy']) { $energygain = $ir['maxenergy']; } $healthgain = $ir['hp'] + $health; if ($healthgain > $ir['maxhp']) { $healthgain = $ir['maxhp']; } $db->query(sprintf("UPDATE users SET meal_eat = meal_eat + %u, energy=%u, hp=%u WHERE userid = %u",1,$energygain,$healthgain,$userid)); echo " You Cooked a decent meal and gained some Energy and Health !"; return; } } } echo " "; if ($home['home_refridgerator'] > 0) { echo "<table width=80%> <tr> <td width='25%'></td> <td> You can Eat 3 Times a day.</td> <td> NO ACTIONS </td></tr></table>"; } else { echo " YOU DONT OWN A REFRIDGERATOR. "; } echo " "; if ($home['home_stove'] > 0) { echo "<table width=80%> <tr> <td width='25%'></td> <td> You will gain FULL Energy and Health for this action. </td><td>"; echo " <form action='living.php?action=kitchen' method='POST'> <input type='hidden' name='STOVE' /> <input type='submit' value='Cook' name='STOVE' /></form> "; echo "</td></tr></table>"; } else { echo " YOU DONT OWN A STOVE. "; } echo " "; if ($home['home_microwave'] > 0) { echo "<table width=80%> <tr> <td width='25%'></td> <td> You will gain 50% Energy and Health for this action. </td><td>"; echo " <form action='living.php?action=kitchen' method='POST'> <input type='hidden' name='MICROWAVE' /> <input type='submit' value='Cook' name='MICROWAVE' /></form> "; echo "</td></tr></table>"; } else { echo " YOU DONT OWN A MICROWAVE. "; } } function home_upgrade() { global $db, $ir,$c,$userid,$h,$home; echo " <h3> Home Upgrades </h3><hr width=25%> "; $_POST['buyTV'] = mysql_real_escape_string($_POST['buyTV']); if($_POST['buyTV']) { if ($home['home_tv'] != 0) { echo " YOU ALREADY OWN A TV. "; return;} if ($ir['money'] < 1000) { echo " You cannot afford a TV ! "; return; } $db->query(sprintf("UPDATE home_users SET home_tv = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",1000,$userid)); echo " You have successfully purchased a TV !"; return; } $_POST['buySOFA'] = mysql_real_escape_string($_POST['buySOFA']); if($_POST['buySOFA']) { if ($home['home_couch'] != 0) { echo " YOU ALREADY OWN A SOFA. "; return;} if ($ir['money'] < 2500) { echo " You cannot afford a Sofa ! "; return; } $db->query(sprintf("UPDATE home_users SET home_couch = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",2500,$userid)); echo " You have successfully purchased a Sofa !"; return; } $_POST['buyBED'] = mysql_real_escape_string($_POST['buyBED']); if($_POST['buyBED']) { if ($home['home_bed'] != 0) { echo " YOU ALREADY OWN A BED. "; return;} if ($ir['money'] < 5000) { echo " You cannot afford a Bed! "; return; } $db->query(sprintf("UPDATE home_users SET home_bed = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",5000,$userid)); echo " You have successfully purchased a bed !"; return; } $_POST['buyFRIDGE'] = mysql_real_escape_string($_POST['buyFRIDGE']); if($_POST['buyFRIDGE']) { if ($home['home_refridgerator'] != 0) { echo " YOU ALREADY OWN A REFRIDGERATOR. "; return;} if ($ir['money'] < 5500) { echo " You cannot afford a Refridgerator! "; return; } $db->query(sprintf("UPDATE home_users SET home_refridgerator = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",5500,$userid)); echo " You have successfully purchased a Refridgerator !"; return; } $_POST['buySTOVE'] = mysql_real_escape_string($_POST['buySTOVE']); if($_POST['buySTOVE']) { if ($home['home_stove'] != 0) { echo " YOU ALREADY OWN A STOVE. "; return;} if ($ir['money'] < 8500) { echo " You cannot afford a Stove! "; return; } $db->query(sprintf("UPDATE home_users SET home_stove = %u WHERE home_userid = %u",1,$userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",8500,$userid)); echo " You have successfully purchased a Stove !"; return; } $_POST['buyMICROWAVE'] = mysql_real_escape_string($_POST['buyMICROWAVE']); if($_POST['buyMICROWAVE']) { if ($home['home_microwave'] != 0) { echo " YOU ALREADY OWN A MICROWAVE. "; return;} if ($ir['money'] < 3000) { echo " You cannot afford a Microwave! "; return; } $db->query(sprintf("UPDATE home_users SET home_microwave = %u WHERE home_userid = %u",1, $userid)); $db->query(sprintf("UPDATE users SET money = money - %u WHERE userid = %u",3000, $userid)); echo " You have successfully purchased a Microwave !"; return; } echo "<table width=80%> <th colspan=4> LIVING ROOM UPGRADES </th> </tr> <th> </th> <th> DESCRIPTION </th> <th> PRICE </th> <th> PURCHASE </th> <tr><td width=25%></td> <td> A nice addition to anyones living room !</td> <td> \$1,000 </td><td>"; if ($home['home_tv'] == 0) { echo " <form action='living.php?action=upgrades' method='POST'> <input type='hidden' name='buyTV' /> <input type='submit' value='Buy' name='buyTV' /></form> "; } else { echo " BOUGHT "; } echo " </td></tr><tr> <td></td> <td> A very Comfortable Sofa to lounge on. </td> <td> \$2,500 </td><td>"; if ($home['home_couch'] == 0) { echo " <form action='living.php?action=upgrades' method='POST'> <input type='hidden' name='buySOFA' /> <input type='submit' value='Buy' name='buySOFA' /></form> "; } else { echo " BOUGHT "; } echo "</td></tr> </table>"; echo " <hr width=80%> "; echo "<table width=80%> <th colspan=4> BEDROOM UPGRADES </th> </tr> <th> </th> <th> DESCRIPTION </th> <th> PRICE </th> <th> PURCHASE </th> <tr><td width=25%></td> <td> Anyone who owns a house will need a Bed !</td> <td> \$5,000 </td><td>"; if ($home['home_bed'] == 0) { echo " <form action='living.php?action=upgrades' method='POST'> <input type='hidden' name='buyBED' /> <input type='submit' value='Buy' name='buyBED' /></form> "; } else { echo " BOUGHT "; } echo " </td></tr> </table>"; echo " <hr width=80%> "; echo "<table width=80%> <th colspan=4> KITCHEN UPGRADES </th> </tr> <th> </th> <th> DESCRIPTION </th> <th> PRICE </th> <th> PURCHASE </th> <tr><td width=25%></td> <td> Who dont need a Fridgerator ?</td> <td> \$5,500 </td><td>"; if ($home['home_refridgerator'] == 0) { echo " <form action='living.php?action=upgrades' method='POST'> <input type='hidden' name='buyFRIDGE' /> <input type='submit' value='Buy' name='buyFRIDGE' /></form> "; } else { echo " BOUGHT "; } echo " </td></tr><tr> <td></td> <td> Best way to cook your meals. </td> <td> \$8,500 </td><td>"; if ($home['home_stove'] == 0) { echo " <form action='living.php?action=upgrades' method='POST'> <input type='hidden' name='buySTOVE' /> <input type='submit' value='Buy' name='buySTOVE' /></form> "; } else { echo " BOUGHT "; } echo " </td></tr><tr> <td></td> <td> Cook your meals with this, not as effective as the stove but gets the job done. </td> <td> \$3,000 </td><td>"; if ($home['home_microwave'] == 0) { echo " <form action='living.php?action=upgrades' method='POST'> <input type='hidden' name='buyMICROWAVE' /> <input type='submit' value='Buy' name='buyMICROWAVE' /></form> "; } else { echo " BOUGHT "; } echo " </td></tr> </table>"; } ?>[/mysql] And use the sqls from above and you can add this to your register right after it inserts the new users stats. . [mysql]$db->query("INSERT INTO `home_users` (`home_userid`, `home_houseid`, `home_couch`, `home_tv`, `home_bed`, `home_stove`, `home_microwave`, `home_refridgerator`, `home_computer`) VALUES ($i, 1, 0, 0, 0, 0, 0, 0, 0)");[/mysql]
  25. it looks like you got the little things it had in it. does anyone still want a slightly different version of this :?: i have it tested and working, just a little bit different to install this one tho, a little sql knowledge is needed.
×
×
  • Create New...