Jump to content
MakeWebGames

Mark F

Members
  • Posts

    196
  • Joined

  • Last visited

    Never

Mark F's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: [McCodes v2] ($3) Database driven voting script with incentive and security The best $3 I have ever spent!!
  2. Re: [mccode v2] Simple Job Specials When creating a job special, is it possible to make it so that an item does not need to be selected?
  3. Hello everyone, I was wondering if there is a way to make it so that a user can not have two of the same weapons equipped at the same time. (same weapon in primary and secondary slot) Any help would be highly appreciated.
  4. Re: [mccode] Icons I have misplaced the icons, if anyone has them, could they please upload them somewhere?
  5. Mark F

    CE's Home

    I came across the template that was used to make CE's home page today. I remembered seeing it a few years ago, though cannot believe that I didn't recognize it on this website! Here is what the original template looks like in case anyone is curious. http://www.freewebsitetemplates.com/preview/media/
  6. Re: [mccode v2] Simple Job Specials Does anyone else have the problem where the table still shows up when someone does not have a job?
  7. Re: [MCCODE V2] User Competitions   If you can do a better job, then feel free to post it. Otherwise don't criticize other peoples work.
  8. Re: [other] New Login + New Register Great Job! 8-)
  9. Re: V2 A better multi alerter for transfers. Thanks Guys ;)
  10. Hello everyone, I decided to swap Criminal Territory over from MC Codes to GRPG. I know that some people really dislike this script (mainly due to security concerns), though I decided to give it a go. I would appreciate it if everyone had a look at it and gave me their thoughts. Please keep in mind that the script has only been up for a few days, and I am currently working on a new theme, am upgrading the stock market and waiting to have a companies script coded for the website. There are also a few bugs that I am working on fixing. I am also integrating Pro Chat Rooms with the script, as well as either vBulletin or PHPBB. www.criminalterritory.com :-D Don't be too harsh, lol.
  11. Hello everyone, I am unable to view all of the items in my inventory for some reason, except for weapons and armour. I believe that it is most likely to do with how it is connecting to the database, though I am unsure. Any help would be highly appreciated. P.S. This script is from GRPG, though I didn't know where to post it.   <? include 'header.php'; if ($_GET['use'] == 14){ //if they are trying to use an awake pill $result = mysql_query("SELECT * FROM `inventory` WHERE `userid`='".$user_class->id."' AND `itemid`='14'"); $howmany = mysql_num_rows($result); if ($howmany > 0) { $result = mysql_query("UPDATE `grpgusers` SET `awake` = '".$user_class->maxawake."' WHERE `id`='".$_SESSION['id']."'"); Take_Item(14, $user_class->id);//take away an awake pill echo Message("You popped an awake pill."); } } ?> <tr><td class="contenthead">Your Inventory</td></tr> <tr><td class="contentcontent">Everything you have collected.</td></tr> <tr><td class="contenthead">Equipped</td></tr> <tr><td class="contentcontent"> <table width='100%'> <tr> <td width='50%' align='center'> <? if ($user_class->eqweapon != 0){?> [img=<?= $user_class->weaponimg ?>] <?= item_popup($user_class->weaponname, $user_class->eqweapon) ?> [url='equip.php?unequip=weapon'][unequip][/url] <? } else { echo "You don't have a weapon equipped."; } ?> </td> <td width='50%' align='center'> <? if ($user_class->eqarmor != 0){?> [img=<?= $user_class->armorimg ?>] <?= item_popup($user_class->armorname, $user_class->eqarmor) ?> [url='equip.php?unequip=armor'][unequip][/url] <? } else { echo "You don't have any armor equipped."; } ?> </td> </tr> </table> </td></tr> <? $result = mysql_query("SELECT * FROM `inventory` WHERE `userid` = '".$user_class->id."' ORDER BY `userid` DESC"); while($line = mysql_fetch_array($result, MYSQL_ASSOC)) { $result2 = mysql_query("SELECT * FROM `items` WHERE `id`='".$line['itemid']."'"); $worked2 = mysql_fetch_array($result2); if ($worked2['offense'] > 0){ $sell = ($worked2['cost'] > 0) ? "[url='sellitem.php?id=".$worked2['][sell][/url]" : ""; $weapons .= " <td width='25%' align='center'> [img=". $worked2[] ". item_popup($worked2['itemname'], $worked2['id']) ." [x".$line['quantity']."] $". $worked2['cost'] ." $sell [url='putonmarket.php?id=".$worked2['][Market][/url] [url='senditem.php?id=".$worked2['][send][/url] [url='equip.php?eq=weapon&id=".$worked2['][Equip][/url] </td> "; } if ($worked2['defense'] > 0){ $sell = ($worked2['cost'] > 0) ? "[url='sellitem.php?id=".$worked2['][sell][/url]" : ""; $armor .= " <td width='25%' align='center'> [img=". $worked2[] ". item_popup($worked2['itemname'], $worked2['id']) ." [x".$line['quantity']."] $". $worked2['cost'] ." $sell [url='putonmarket.php?id=".$worked2['][Market][/url] [url='senditem.php?id=".$worked2['][send][/url] [url='equip.php?eq=armor&id=".$worked2['][Equip][/url] </td> "; } if ($worked2['id'] == 14){ $misc .= " <td width='25%' align='center'> [img=". $worked2[] ". $worked2['itemname'] ." [x".$line['quantity']."] [url='inventory.php?use=14'][use][/url] [url='putonmarket.php?id=".$worked2['][Market][/url] [url='senditem.php?id=".$worked2['][send][/url] </td> "; } } //check for drugs if ($user_class->cocaine != 0){ $drugs .= " <td width='25%' align='center'> [img=images/noimage.png] Cocaine [x".$user_class->cocaine."] $0 [url='drugs.php?use=cocaine'][use][/url] </td> "; } if ($user_class->nodoze != 0){ $drugs .= " <td width='25%' align='center'> [img=images/noimage.png] No-Doze [x".$user_class->nodoze."] $0 [url='drugs.php?use=nodoze'][use][/url] </td> "; } if ($user_class->genericsteroids != 0){ $drugs .= " <td width='25%' align='center'> [img=images/noimage.png] Generic Steroids [x".$user_class->genericsteroids."] $0 [url='drugs.php?use=genericsteroids'][use][/url] </td> "; } //check for drugs if ($weapons != ""){ ?> <tr><td class="contenthead">Weapons</td></tr> <tr><td class="contentcontent"> <table width='100%'> <tr> <? echo $weapons; ?> </tr> </table> </td></tr> <? } if ($armor != ""){ ?> <tr><td class="contenthead">Armor</td></tr> <tr><td class="contentcontent"> <table width='100%'> <tr> <? echo $armor; ?> </tr> </table> </td></tr> <? } if ($misc != ""){ ?> <tr><td class="contenthead">Misc.</td></tr> <tr><td class="contentcontent"> <table width='100%'> <tr> <? echo $misc; ?> </tr> </table> </td></tr> <? } if ($drugs != ""){ ?> <tr><td class="contenthead">Drugs</td></tr> <tr><td class="contentcontent"> <table width='100%'> <tr> <? echo $drugs; ?> </tr> </table> </td></tr> <? } include 'footer.php' ?>
  12. Re: MCCODES V2 Exploited   Yes, everyone knows that MC Codes is a piece of garbage, though that is why everyone likes it. The only reason that I asked is because I have 300+ files that I would need to go through. You also forgot option #4, which would be the best way to go; Start from scratch.
  13. Does anyone know if there are any major exploits in the MC Codes V2 script, because a few players in one of my games have somehow managed to get their money up into the millions and billions? I am unsure how they did it, though definetly not legitimately.
  14. Re: [REQUEST] Users Online Thanks guys.
  15. Hello everyone, I know that there are already about 50 'users online' scripts on the website, though I have yet to see one that shows all of the games users ordered by the time that they were last online. (from most recent all the way down to least recent) I know that this is a n00bish question to ask, though any help would be appreiated.
×
×
  • Create New...