Jump to content
MakeWebGames

Curt

Members
  • Posts

    525
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Curt

  1. We all would be wasting time on some other forum... What if Danny696 owned MWG ?
  2. I first got into playing these type of games when I seen a post on craigslist under the free section, someone posted there referral link along with a promise to give those who signed up ingame money. The game was called mafiabattle.com... I was hooked on playing them for at least a month or two before i began looking into creating them.
  3. No one would be effected other than noobs who post in year old topics...they would actually catch a break...lol What if a frog had wings ?
  4. we would all die a quick death because it would be more of an extermination than a war. What if aliens started life on earth ?
  5. Everyone would be anxiously waiting for the next expansion pack... What if the internet was never invented ?
  6. Hey, This should be a very simple issue to resolve. simply check if both vairables are set and if so show error message.
  7. Best country in the world, USA of course. FireFox and Vista.
  8. Ive been using Netbeans....
  9. Hey, You will need more information to even have any considerations...
  10. Curt

    Everyone Read

    There is no 4 main people.....those people would be the most trusted out of whom joins the project. ( I would assume)
  11. Curt

    Everyone Read

    Hey, I had a similar Idea a while back...the idea was for a game created by the community... I even bought the domain yourrpg.com but i never really brought the idea to light... There are many holes to the idea but I do think its something that could be possible. The management of the files would need to be thoroughly planned out. You have those that want to help others, then you have those that enjoy messing up someones work... all in all its not a bad idea but most likely nothing will come of it.... one main reason would be if its a group project, how will funds gained be distributed to contributors ? Many people would not put much effort at all into something that brings then no gain. if a small group got together...now that is a different story....
  12. No problem at all :)
  13. nope sorry no screen shots...but it is extremely easy to install for someone to test out... The player side would need updated to fit your game as its not much to it. I have left room for expansion aswell, to those that have a little programming knowledge.. the admin side is pretty straight forward aswell.
  14. Hello Everyone, With Lithium's permission, I have taken one of his older Mccode V2 Mods and updated it. Similar features have been created before, but we have taken a slightly different approach. Basicly what this feature does is allow players to seach the streets with different possible outcomes. One thing differently about this one compared to others is that specific outcomes can be set to a certain city only.   INSTRUCTIONS: 1) RUN SQLs 2) UPLOAD streets.php & staff_streets.php 3) UPDATE - cron_day.php to include the following : $db->query("UPDATE `users` SET `street_turns` = 25");   SQL   ALTER TABLE `users` ADD `street_turns` INT( 3 ) NOT NULL DEFAULT 25; CREATE TABLE IF NOT EXISTS `streets` ( `sid` int(11) NOT NULL AUTO_INCREMENT, `location` int(11) NOT NULL DEFAULT '0', `reward` varchar(255) NOT NULL DEFAULT '0', `reward_type` varchar(255) NOT NULL, `reason` varchar(255) NOT NULL DEFAULT '0', `text` text NOT NULL, PRIMARY KEY (`sid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `streets_rewardtypes` ( `srID` int(11) NOT NULL AUTO_INCREMENT, `srNAME` varchar(255) NOT NULL, `srDBNAME` varchar(255) NOT NULL, PRIMARY KEY (`srID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; INSERT INTO `streets_rewardtypes` (`srID`, `srNAME`, `srDBNAME`) VALUES (1, 'Find Money', 'money'), (2, 'Find Crystals', 'crystals'), (3, 'Find Item', 'item'), (4, 'Go to Jail', 'jail'), (5, 'Go to Hospital', 'hospital'), (6, 'Get Robbed', 'robbed'), (7, 'Gain EXP', 'exp');   streets.php <?php /* EXPLORE THE STREETS CREATED BY: Lithium ~ 03/01/2010 UPDATED BY: Curt ~ 08/03/2011 This feature is 100% free. Enjoy. */ include(DIRNAME(__FILE__) ."/globals.php"); ?> <table cellpadding="4" style="width: 415px; margin-top: 20px;" align="center"> <tr> <td style="background-image: url('images/gradbg.gif'); background-repeat: no-repeat;"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="401" style="background-image: url('images/newsbarhead.gif');" colspan="2" height="20" align="center"> <span class="title">Explore the Streets</span> </td> </tr> <tr> <td colspan="2" class="newspost"> <?php if(!$ir['street_turns']) { echo "You can't explore anymore today!"; $h->endpage(); exit; } if($ir['hospital']) { echo "You can't explore while injured."; $h->endpage(); exit; } if($ir['jail']) { echo"You can't explore while in jail."; $h->endpage(); exit; } $l = $db->query("SELECT * FROM `streets` WHERE (`location` = '{$ir['location']}' OR `location` = '0') ORDER BY RAND() LIMIT 1"); if($_GET['step'] == 'explore') { $db->query("UPDATE `users` SET `street_turns` = `street_turns` - '1' WHERE `userid` = $userid"); $ir['street_turns']-=1; if($db->num_rows($l)) { $step = mysql_fetch_assoc($l); $str = $step['reward']; @eval("\$str = $str;"); if ($step['reward_type'] == 'hospital') { $db->query("UPDATE `users` SET `hp` = '1', `hospital` = '{$str}', `hospreason` = '{$step['reason']}' WHERE `userid` = $userid"); } else if ($step['reward_type'] == 'jail') { $db->query("UPDATE `users` SET `jail` = '{$str}', `jailreason` = '{$step['reason']}' WHERE `userid` = $userid"); } else if ($step['reward_type'] == 'item') { item_add($userid, $str, 1); } else if ($step['reward_type'] == 'robbed') { if ($ir['money']<$str) { $str=$ir['money']; } $db->query("UPDATE `users` SET `money` = `money` - '$str' WHERE `userid` = $userid"); } else if ($step['reward_type'] == 'nothing') {} else { $db->query("UPDATE `users` SET `".$step['reward_type']."` = `".$step['reward_type']."` + '$str' WHERE `userid` = $userid"); } $what = array('{money}','{crystals}','{hospital}','{jail}','{nothing}','{item}','{robbed}','{exp}'); $for = is_numeric($str) ? number_format($str) : $str; echo str_replace($what, $for, stripslashes(htmlspecialchars($step['text']))); } ?> <br /><br /> <br /><a href="streets.php?step=explore">Continue Exploring</a> <br /><a href="index.php">Back Home</a><br /> You have <?php echo $ir['street_turns']; ?> turns left.<br /><br /> <?php } else { ?> <br /><a href="streets.php?step=explore">Explore The City</a><br /> You have <?php echo $ir['street_turns']; ?> turns left.<br /><br /> <?php } ?> </td> </tr> </table> </td> </tr> </table> <?php $h->endpage(); ?>   staff_streets.php <?php /* EXPLORE THE STREETS CREATED BY: Lithium ~ 03/01/2010 UPDATED BY: Curt ~ 08/03/2011 This feature is 100% free. Enjoy. */ include(DIRNAME(__FILE__) ."/sglobals.php"); $_POST['streetid']=abs((int)$_POST['streetid']); $_POST['location']=abs((int)$_POST['location']); // EDIT STEP function edit_step() { global $db,$h; ?><h1> EDIT STEP </h1><?php $edit=$db->query("SELECT * FROM streets WHERE sid={$_POST['streetid']}"); if (!$db->num_rows($edit)) { echo "Incorrect Option."; $h->endpage(); exit;} else { $step=$db->fetch_row($edit); if(!isset($_POST['submit2'])) { ?> <br /> <form action="staff_streets.php?action=edit" method="post"> <input type="hidden" name="streetid" value="<?php echo $step['sid']; ?>" > <input type="hidden" name="action" value="EDIT" > <table width="100%"> <tr> <td width="50%"> NOTES: on the reward amount, be VERY careful with your input.<br /> You can make random giveaways using p.e.<br /> {1} rand(5,20)<br /> {2} rand(5,20)*$ir['level']<br /> which will give the user a random amount between 5 and 20 of the type you have chosen.<br /> If you want to show the reward amount ot the user, use fig 1 or 2<br /><br /> Money: {money}<br /> Crystals: {crystals}<br /> Item: {item}<br /> Nothing: {nothing} (returns the word "nothing")<br /> Jail Time: {jail}<br /> Hospital Time: {hospital}<br /> Robbed: {rob} (returns the word "robbed")<br /> <br /><br /> REWARD TYPES <br /> Get Robbed: Player loses money <br /> </td> <td> <br /> Location<br /> <select name="location" id="location"> <?php if ($step['location']==0) { ?> <option selected="selected" value="0">All Cities</option> <?php } else { ?> <option value="0">All Cities</option> <?php } $l = $db->query("SELECT `cityid`, `cityname` FROM `cities`"); while($disp = $db->fetch_row($l)) { if ($step['location'] == $disp['cityid']) { ?> <option selected="selected" value="<?php echo $disp['cityid']; ?>"><?php echo $disp['cityname']; ?></option> <?php } else { ?> <option value="<?php echo $disp['cityid']; ?>"><?php echo $disp['cityname']; ?></option> <?php } } ?> </select> <br /> <br /> Create Reward/Penalty Type: <br /> <select name="sreward" id="sreward"> <?php if ($step['reward_type']=='nothing') { ?> <option selected="selected" value="nothing">Nothing</option> <?php } else { ?> <option value="nothing">Nothing</option> <?php } $l = $db->query("SELECT `srID`, `srNAME`, `srDBNAME` FROM `streets_rewardtypes`"); while($disp = $db->fetch_row($l)) { if ($step['reward_type'] == $disp['srDBNAME']) { ?> <option selected="selected" value="<?php echo $disp['srDBNAME']; ?>"><?php echo $disp['srNAME']; ?></option> <?php } else { ?> <option value="<?php echo $disp['srDBNAME']; ?>"><?php echo $disp['srNAME']; ?></option> <?php } } ?> </select> <br /><br /> Item ID or Reward/Penalty Amount:<br /> <input type="text" name="reward" id="reward" value="<?php echo $step['reward']; ?>" /><br /><br /> Jail/Hospital Reason:<br /> <textarea name="reason" id="reason" cols="45" rows="5"><?php echo $step['reason']; ?></textarea><br /><br /> Text: <br /> <textarea name="text" cols="45" rows="5" id="text"><?php echo $step['text']; ?></textarea> </td> </tr> <tr> <td colspan="2" align="center"><input type="submit" name="submit2" id="submit2" value="Edit Step" /></td> </tr> </table> </form> <?php } else { $_POST['sreward']=$db->escape($_POST['sreward']); if(empty($_POST['text'])) { echo "Step text not entered."; $h->endpage(); exit; } if(empty($_POST['location'])) { $_POST['location']=0; } if(empty($_POST['reward']) AND $_POST['sreward']!='nothing') { echo "Reward was not entered"; $h->endpage(); exit; } if ($_POST['sreward']) { if(($_POST['sreward']=='jail' OR $_POST['sreward']=='hospital') && empty($_POST['reason'])) { echo "Reason was not entered"; $h->endpage(); exit; } if($_POST['sreward']=='item') { $item=$db->query("SELECT itmid FROM items WHERE itmid={$_POST['reward']}"); if (!$db->num_rows($item)) { echo "The Item you entered does not exist."; $h->endpage(); exit; } } } $update = " UPDATE `streets` SET `location`='{$_POST['location']}', `reward`='{$_POST['reward']}',`reward_type`='{$_POST['sreward']}', `reason`='{$db->escape($_POST['reason'])}', `text`='{$db->escape($_POST['text'])}' WHERE sid={$_POST['streetid']}"; $db->query($update); echo "You have successfully edited this Step!"; $h->endpage(); exit; } } } // DELETE STEP function delete_step() { ?><h1> DELETE STEP </h1><?php $db->query("DELETE FROM streets WHERE sid={$_POST['streetid']}"); echo "The step has been deleted."; } // CREATE NEW STEP function create_step() { global $db,$h; ?><h1> CREATE STEP </h1><?php if(!isset($_POST['submit'])) { ?> <br /> <form action="staff_streets.php?action=create" method="post"> <table width="100%"> <tr> <td width="50%"> NOTES: on the reward amount, be VERY careful with your input.<br /> You can make random giveaways using p.e.<br /> {1} rand(5,20)<br /> {2} rand(5,20)*$ir['level']<br /> which will give the user a random amount between 5 and 20 of the type you have chosen.<br /> If you want to show the reward amount ot the user, use fig 1 or 2<br /><br /> Money: {money}<br /> Crystals: {crystals}<br /> Item: {item}<br /> Nothing: {nothing} (returns the word "nothing")<br /> Jail Time: {jail}<br /> Hospital Time: {hospital}<br /> Robbed: {rob} (returns the word "robbed")<br /> <br /><br /> REWARD TYPES <br /> Get Robbed: Player loses money <br /> </td> <td> <br /> Location<br /> <select name="location" id="location"> <option selected="selected" value="0">All Cities</option> <?php $l = $db->query("SELECT `cityid`, `cityname` FROM `cities`"); while($disp = $db->fetch_row($l)) { ?> <option value="<?php echo $disp['cityid']; ?>"><?php echo $disp['cityname']; ?></option> <?php } ?> </select> <br /> <br /> Create Reward/Penalty Type: <br /> <select name="sreward" id="sreward"> <option value="nothing">Nothing</option> <?php $l = $db->query("SELECT `srID`, `srNAME`, `srDBNAME` FROM `streets_rewardtypes`"); while($disp = $db->fetch_row($l)) { ?> <option value="<?php echo $disp['srDBNAME']; ?>"><?php echo $disp['srNAME']; ?></option> <?php } ?> </select> <br /><br /> Item ID or Reward/Penalty Amount:<br /> <input type="text" name="reward" id="reward" /><br /><br /> Jail/Hospital Reason:<br /> <textarea name="reason" id="reason" cols="45" rows="5"></textarea> <br /><br /> Text: <br /> <textarea name="text" cols="45" rows="5" id="text"></textarea> </td> </tr> <tr> <td colspan="2" align="center"><input type="submit" name="submit" id="submit" value="Add Step" /></td> </tr> </table> </form> <?php } else { $_POST['sreward']=$db->escape($_POST['sreward']); if(empty($_POST['text'])) { echo "Step text not entered."; $h->endpage(); exit; } if(empty($_POST['location'])) { $_POST['location']=0; } if(empty($_POST['reward']) AND $_POST['sreward']!='nothing') { echo "Reward was not entered"; $h->endpage(); exit; } if ($_POST['sreward']) { if(($_POST['sreward']=='jail' OR $_POST['sreward']=='hospital') && empty($_POST['reason'])) { echo "Reason was not entered"; $h->endpage(); exit; } if($_POST['sreward']=='item') { $item=$db->query("SELECT itmid FROM items WHERE itmid={$_POST['reward']}"); if (!$db->num_rows($item)) { echo "The Item you entered does not exist."; $h->endpage(); exit; } } } $insert = " INSERT INTO `streets` (`location`, `reward`, `reward_type`, `reason`, `text`) VALUES ({$_POST['location']}, '{$_POST['reward']}', '{$_POST['sreward']}','{$db->escape($_POST['reason'])}','{$db->escape($_POST['text'])}')"; $db->query($insert); echo "Step created on city id {$_POST['location']}."; $h->endpage(); exit; } } // VIEW ALL CREATED STEPS function view_steps() { global $db,$h; ?><h1> VIEWING CREATED STEPS </h1><?php ?><br /><br /><br /><?php // PAGINATION -- $st=abs((int) $_GET['st']); $app=25; $q=$db->query("SELECT sid FROM streets"); $isid=$db->num_rows($q); $pages=ceil($isid/$app); print "Pages: "; for($i=1;$i<=$pages;$i++) { $s=($i-1)*$app; if($s==$st) { print "<b>$i</b> "; } else { print "<a href='staff_streets.php?st=$s'>$i</a> "; } if($i % 30 == 0) { print "<br />"; } } echo "<table width='100%' class='table'><tr><th> ID </th><th> Location </th><th> Reward Type </th><th> Reward Amount </th><th> EDIT/DELETE </th></tr> "; $q=$db->query("SELECT * FROM streets s LEFT JOIN cities c ON s.location=c.cityid WHERE s.sid>0 ORDER BY location ASC LIMIT $st, $app"); while($ss=$db->fetch_row($q)) { if ($ss['cityid']==0) {$ss['cityname']="All Cities"; } echo "<tr><td> {$ss['sid']} </td><td> {$ss['cityname']} </td><td> {$ss['reward_type']}</td><td> {$ss['reward']} </td> <td> <form action='staff_streets.php?action=edit' method='POST'><input type='hidden' name='streetid' value='{$ss['sid']}'><input type='submit' name='action' value='EDIT'></form> <form action='staff_streets.php?action=delete' method='POST'><input type='hidden' name='streetid' value='{$ss['sid']}'><input type='submit' name='action' value='DELETE'></form> </td> </tr>"; } echo "</table>"; print "Pages: "; for($i=1;$i<=$pages;$i++) { $s=($i-1)*$app; if($s==$st) { print "<b>$i</b> "; } else { print "<a href='staff_streets.php?&st=$s'>$i</a> "; } if($i % 30 == 0) { print "<br />"; } } } ?> <h2> MANAGE STREETS </h2> <a href="staff_streets.php?action=create"> Create Step </a> <br /><br /> <a href="staff_streets.php?action=view"> View Steps </a> <br /> <?php if ($_GET['action']=='create') { create_step(); exit;} else if ($_GET['action']=='view') { view_steps(); exit;} else if ($_GET['action']=='edit') { edit_step(); exit;} else if ($_GET['action']=='delete') { delete_step(); exit;} ?>   Any problems post them and I will see about getting it fixed. All contructive criticism is welcome. Thanks Everyone, Curt
  15. Hey, I did not play it too much but it reminds me a good bit of Mafiamofo, which I think is what you where going for.   15) Total online (24 hours) does not show players correctly or the Mobsters online is wrong...   Overall not bad, keep working on it though ;)
  16. This is a nice topic for those looking for programmers/designers and as long as Danny keeps the list updated it should be very useful. A trusted buyers thread would be nice aswell...but would probably require a bit more updating as there are many more buyers than programmers/designers.
  17. Ill start your auction with a bid of 15$ :)
  18. not bad, ill start with a 25$ bid :)
  19. looking forward to some examples :)
  20. lol...i tried to buy it but I guess you got there before me Peter :p
  21. lol....he has gotten a taste of the easy money made by scamming and now he wants more !!.. a few hundred from Jailbird....no telling who else he has scammed... Its messed up that they can completely get away with it with no legal consequence....
  22. Im sure you might be a trustworthy person illusions but I would highly recommend against giving your cpanel information to anyone.
  23. ah...im assuming your referring to the CSS/HTML. I believe you about finding some errors in that part but the overall quality of the images are pretty good. Thats the part I was referring too.
  24.   Exactly Danny, I agree Peters prices are more than fair for his clients. Thats why I said for my situation...as 2 ad banners cost me 50$ when I could have got 5 I think it is from Bluetrendz for 100$. But hey as I remember Peter Offered to update them but I accepted them as is :P He was professional about the situation.   I do have to disagree with you about bluetrendz...i believe they do quality graphics.
  25. Sounds pretty interesting. Looking forward to checking it out :)
×
×
  • Create New...