Jump to content
MakeWebGames

AlabamaHit

Members
  • Posts

    1,308
  • Joined

  • Last visited

Everything posted by AlabamaHit

  1. Re: I need help with a Mod i made No you didn't "make" it. I can tell by looking at it. That it is a combinatino of mine and streets....well, at least an attempt to.
  2. Re: Login & Register [$15] lol now you have it showed on a site...anyone can get it lol...
  3. Re: I need help with a Mod i made lol, naw I'll use mine :-P
  4. Re: Cock Fight [$10] Found a small bug in it....while on demo You get charged the 5K to heal even if its already have full HP.
  5. Re: I need help with a Mod i made What the hell..................This script is more jacked up than the mccodes forums.php.... You where debating on selling this?? lol
  6. Re: Need help on a problem lol are you serious? For that to even work you have to click on hospital....if your going to go that cheap way of it...put that code in the header.
  7. Re: Levels if you look at the code you will see why you have to click so much... It's obvious. You have to becuase that function runs every page load.(Click). And it only updates 1 level at time.
  8. Re: crons not working if its not in code then its in the server Did they cutt off the Curl function.? if not then your code is messed up.
  9. Re: Levels it does that cuase if they are gaingin more than 1 level per attack......They are gaingin TO much........simple as that..
  10. Re: Quick question about Staff Functions V2 Edit it in the Database.
  11. Re: Need help on a problem Come on people if you expect to run a game and turn profit You ahve to be able to do simple stuff like this...   print " [b]What do you want to do with {$odata['username']} now?[/b] <form action='attackwon.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Mug Them' /></form> <form action='attackbeat.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Hospitalize Them' /></form> <form action='attacktake.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Leave Them' /></form>";   to   print " [b]What do you want to do with {$odata['username']} now?[/b] "; if($odata['user_level'] > 0) { echo "<form action='attackwon.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Mug Them' /></form> <form action='attackbeat.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Hospitalize Them' /></form>"; } echo "<form action='attacktake.php?ID={$_GET['ID']}' method='post'><input type='submit' value='Leave Them' /></form>";
  12. Re: cmarket.php HELP I done it all myself to. I taught myself. I didn't come on here and beg for codes that are supposed to paid for. If he paid for codes. He would have got a working cmarket.php Now it does need fixed. But it works. He and you need to stop complaining here when no one helps cuae you have illegal codes.. Go back and complain to the warez site you downloaded from. Don't compalin here.
  13. Re: [McCodes V2] Streets Mod That pointed at me?
  14. Re: I need help with a Mod i made Naw not that look at his query not the one i done.. he has $db->query("UPDATE users SET turns=turns-1 where userid=$userid",$c); See it...he didn't bracket the $userid
  15. Re: I need help with a Mod i made MTG i gave him the fix on that... And you didn't code that lol...You might have spent 2 hours on it. But this is from a version 1. We can tell from the ,$c you had on there. lol.
  16. Re: I need help with a Mod i made man.....come on lol $db->query("UPDATE users SET turns = turns - 1 WHERE userid = ".$userid."");
  17. Re: I need help with a Mod i made if ($ir['jailtime'] => 1){ to if ($ir['jailtime'] >= 1){
  18. Re: [MCCODES V2[ Announcements mod only visible to staff If you want to add this under announcements in main menu instead of staff menu use...   if($ir['user_level'] > 1) { $sn = $ir['staffnew_announcements'] > 0 ? ("[url='staffannouncements.php']<font color='orange'>Announcements ({$ir['staffnew_announcements']})[/url] ") : ("[url='staffannouncements.php']Announcements (0)[/url] "); echo $sn; }
  19. Re: [McCodes V2] Streets Mod Yeah wasn't ment that way lol. I was just stating the obvious.
  20. Re: [REVIEW] Extreme-Warzone - Please review!! I suggest making the game match....You have 3 different skins going on their.. Let us know when you do I'll re-review the game. But as of right now. 2/10
  21. Re: [McCodes V2] Streets Mod Mod = Modification So yes. This is a mod, cause your modifying the pages..
  22. Re: [any version] Removal of 1 minute crons I think i speak for most of CE... I can't be bothered to help someone fix a game that they will profit from when they can not even be bothered to Pay for hosting and/or domain name.
  23. Re: [McCodes V2] Private Helth Care (Donator Only) Here brave and money cost.. v1   <?php // //Free mod...Modified by AlabamaHit. //Idea From Dayo // 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(); echo "<h3>Hospital</h3>"; if(isset($_POST['hc'])) { $money_cost = 5000; $brave_cost = 10; if($ir['donatordays'] == 0) { echo "Sorry, this is for donators only."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } if($ir['money'] < $money_cost) { echo "Sorry, you need at leaset \$".number_format($money_cost)." to get Private Health Care."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } if($ir['brave'] < $brave_cost) { echo "Sorry, you need at leaset ".$brave_cost." to get Private Health Care."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } if($ir['hospital'] == 1) { echo "Sorry, you can not get any more health care."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } $hosptime = $ir['hospital'] / 2; $newtime = round($hosptime); $do = sprintf("UPDATE users SET hospital = %u, money = money - %u, brave = brave - %u WHERE userid = %u", ($newtime),($money_cost),($brave_cost),($ir['userid'])); mysql_query($do); echo sprintf("You get Private Health Care you save %u minutes.",($newtime)); echo " "; echo "[url='hospital.php']> Go Back[/url]"; } else { if($ir['donatordays'] > 0) { if ($ir['hospital']) { echo "<form action='hospital.php' method='post'>"; echo "<input type='hidden' name='hc' />"; echo "<input type='submit' value='Get Private Health Care' />"; echo "</form>"; echo " "; } } echo "<table width='75%' class=\"table\" border=\"0\" cellspacing=\"1\"> <tr bgcolor=gray> <th>Name</th> <th>Level</th> <th>Time</th> <th>Reason</th> </tr>"; $q=mysql_query("SELECT u.userid, u.username, u.level, u.hospital, u.hospreason, u.gang, c.* FROM users u LEFT JOIN gangs c ON u.gang=c.gangID WHERE u.hospital > 0 ORDER BY u.hospital DESC",$c); while($r=mysql_fetch_array($q)) { echo " <tr> <td>{$r['gangPREFIX']} [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td>{$r['level']}</td> <td>{$r['hospital']} minutes</td> <td>{$r['hospreason']}</td> </tr>"; } echo "</table>"; } $h->endpage(); ?>   this is v2   <?php // //Free mod...Modified by AlabamaHit. //Idea From Dayo // include_once("globals.php"); echo "<h3>Hospital</h3>"; if(isset($_POST['hc'])) { $money_cost = 5000; $brave_cost = 10; if($ir['donatordays'] == 0) { echo "Sorry, this is for donators only."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } if($ir['money'] < $money_cost) { echo "Sorry, you need at leaset \$".number_format($money_cost)." to get Private Health Care."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } if($ir['brave'] < $brave_cost) { echo "Sorry, you need at leaset ".$brave_cost." to get Private Health Care."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } if($ir['hospital'] == 1) { echo "Sorry, you can not get any more health care."; echo " "; echo "[url='hospital.php']> Go Back[/url]"; $h->endpage(); exit; } $hosptime = $ir['hospital'] / 2; $newtime = round($hosptime); $do = sprintf("UPDATE users SET hospital = %u, money = money - %u, brave = brave - %u WHERE userid = %u", ($newtime),($money_cost),($brave_cost),($ir['userid'])); $db->query($do); echo sprintf("You get Private Health Care you save %u minutes.",($newtime)); echo " "; echo "[url='hospital.php']> Go Back[/url]"; } else { if($ir['donatordays'] > 0) { if ($ir['hospital']) { echo "<form action='hospital.php' method='post'>"; echo "<input type='hidden' name='hc' />"; echo "<input type='submit' value='Get Private Health Care' />"; echo "</form>"; echo " "; } } echo "<table width='75%' class=\"table\" border=\"0\" cellspacing=\"1\"> <tr bgcolor=gray> <th>Name</th> <th>Level</th> <th>Time</th> <th>Reason</th> </tr>"; $q=$db->query("SELECT u.userid, u.username, u.level, u.hospital, u.hospreason, u.gang, c.* FROM users u LEFT JOIN gangs c ON u.gang=c.gangID WHERE u.hospital > 0 ORDER BY u.hospital DESC",$c); while($r=$db->fetch_row($q)) { echo " <tr> <td>{$r['gangPREFIX']} [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td> <td>{$r['level']}</td> <td>{$r['hospital']} minutes</td> <td>{$r['hospreason']}</td> </tr>"; } echo "</table>"; } $h->endpage(); ?>
  24. Re: cmarket.php HELP Yeah my old computer had the atholn 3500+ in it.
  25. Re: cmarket.php HELP No. Just using the nvidia I don't play games on here so no need for bigger card :)
×
×
  • Create New...