Jump to content
MakeWebGames

RC Engine Mods


-BRAIDZ-

Recommended Posts

I think there are some but not many, most RC Engine games ive seen have made there own mods, simply down to the fact that RC Engines coding is so bad so game owners recoded it slightly and created there own modules, I'd happily create you some, but it's not nice working with that engine on a personal note! Goodluck anyhow!

Link to comment
Share on other sites

I think there are some but not many, most RC Engine games ive seen have made there own mods, simply down to the fact that RC Engines coding is so bad so game owners recoded it slightly and created there own modules, I'd happily create you some, but it's not nice working with that engine on a personal note! Goodluck anyhow!

I quite like the rc engine i did some work for it a while back and yea the coding is bad but if you have the time and just recode it from scratch

would be much better

Link to comment
Share on other sites

I quite like the rc engine i did some work for it a while back and yea the coding is bad but if you have the time and just recode it from scratch

would be much better

True, I looked at the coding and was like oh crap that's messy.

I can do an MCC mod but I'd get way too confused doing one for rc.

I wouldn't mind getting some work done though

- - - Updated - - -

 

I think there are some but not many, most RC Engine games ive seen have made there own mods, simply down to the fact that RC Engines coding is so bad so game owners recoded it slightly and created there own modules, I'd happily create you some, but it's not nice working with that engine on a personal note! Goodluck anyhow!

Thanks mate

Link to comment
Share on other sites

True, I looked at the coding and was like oh crap that's messy.

I can do an MCC mod but I'd get way too confused doing one for rc.

I wouldn't mind getting some work done though

- - - Updated - - -

 

Thanks mate

have you turned on error reporting yet hehe?

if you need anything done let me know

I can do an MCC mod but I'd get way too confused doing one for rc.

Its just the same as mccodes all you need to do is find the main stuff (mcc - points = rc - bars) (mcc - money = rc - wallet) also in rc it has $_SESSION['playerid']

Link to comment
Share on other sites

have you turned on error reporting yet hehe?

if you need anything done let me know

I can do an MCC mod but I'd get way too confused doing one for rc.

Its just the same as mccodes all you need to do is find the main stuff (mcc - points = rc - bars) (mcc - money = rc - wallet) also in rc it has $_SESSION['playerid']

Got a lot of errors.

Fixed some.of them as much as I can for now haha.

But can't purchase stocks.

And bookies is unfinished..

Link to comment
Share on other sites

I am trying to fix a issue for a client my mod don't want to seem to work for him ill need to try dig out my old copy of rc someplace been a while lol

No worries mate.

Just let me know.

I'm waiting for my banner and login pics from the owner..

Link to comment
Share on other sites

I am trying to fix a issue for a client my mod don't want to seem to work for him ill need to try dig out my old copy of rc someplace been a while lol

I worked out the stocks, all good.

But I get this error message when I click on 'Job' I get this error message

 

Notice: Undefined index: action in /home/braidz/public_html/job.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /home/braidz/public_html/includes/style_top.php:21) in /home/braidz/public_html/job.php on line 64

 

And that's all I get, nothing else, and I do have a job

Link to comment
Share on other sites

I worked out the stocks, all good.

But I get this error message when I click on 'Job' I get this error message

 

Notice: Undefined index: action in /home/braidz/public_html/job.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /home/braidz/public_html/includes/style_top.php:21) in /home/braidz/public_html/job.php on line 64

 

And that's all I get, nothing else, and I do have a job

its saying that the headers have been set twice try read this might help you

http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php

Link to comment
Share on other sites

Okay so I'm having a little problem.

When my nerve and whatever else is full.

It's still showing a bit of the red bar.

Is there any way I can make it is all green when full.

[ATTACH]2119[/ATTACH]

need to post the code for them and then we will be able to help

Link to comment
Share on other sites

need to post the code for them and then we will be able to help

 

     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!--
     [rrrrrrr]  /cccccc]
     [rrr[]rrr][cc/
     [rrrrrrrr][cc\
     [rr]  [rrr]\cccccc]
                      -->
      <html xmlns="http://www.w3.org/1999/xhtml">
      <style type="text/css">
      body {
      margin-top:0px;
      text-align:center;
      color:black;
      }
      a:visited,a:active,a:link {
      color: black;text-decoration: none;
      }
      a:hover {
      color: black;text-decoration: underline;
      }
<?php
      if(ae_detect_ie()) {
?>
      tr .odd {
      background: url(images/ieodd.png) no-repeat center top;
      }
      tr .even {
      background: url(images/ieeven.png) no-repeat center top;
      }
      tr .even:hover, tr .odd:hover {
      background: url(images/iehover.png) no-repeat center top;
      }
      tr .odds {
      background: url(images/ieodds.png) no-repeat center top;
      }
      tr .evens {
      background: url(images/ieevens.png) no-repeat center top;
      }
      tr .evens:hover, tr .odds:hover {
      background: url(images/iehovers.png) no-repeat center top;
      }
      input { 
      border:0px;
      }
      input.nostyle { 
      border:0px;
      }
      main {
      font-family:helvetica, arial, geneva, sans-serif;font-size:14px; color: black;
      font-weight: 800px;
      }
<?php
      }
?>
<?php
      if(!ae_detect_ie()) {
?>
      tr .odd {
      background: url(images/odd.png) repeat-y left top;
      }
      tr .even {
      background: url(images/even.png) repeat-y left top;
      }
      tr .even:hover, tr .odd:hover {
      background: url(images/ffhover.png) repeat-y left top;
      }
      tr .odds {
      background: url(images/odd.png) repeat-y left top;
      }
      tr .evens {
      background: url(images/even.png) repeat-y left top;
      }
      tr .evens:hover, tr .odds:hover {
      background: url(images/ffhover.png) repeat-y left top;
      }
      input { 
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
      background-color: #FFFFFF;
      -moz-border-radius: 7px; 
      -webkit-border-radius: 5px; 
      border:solid; style=" 
      background-color: 
      #000000; 1px 
      padding: 10px;" 
      }
      input.nostyle { 
      border:0px;
      }
      main {
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
      font-weight: 800;
      text-shadow: #363636 0px 0px 4px; 
      }
<?php
      }
?>
      input.chat { 
      font-size:10px;
      border:1px lightblue solid;
      cursor:pointer;
      }
      textarea { 
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      background-color: #FFFFFF;
      -moz-border-radius: 7px; 
      -webkit-border-radius: 5px; 
      border:solid; style=" 
      background-color: 
      #000000; 1px 
      padding: 10px;" 
      }
      textarea.nostyle { 
      font-size:10px;
      border:1px lightblue solid;
      }
      .maintable {
      margin-top:10px;
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;  
      -moz-border-radius: 7px; 
      -webkit-border-radius: 5px; 
      border: style=" 
      background-color: 
      #000000; 1px solid #000000; 
      padding: 5px;"
      }
      .maintable td {
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      font-size:12px;
      }
      .rounded { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;  
      -moz-border-radius: 1em; 
      -moz-box-shadow: 0px 2px 20px rgba(0,0,0,0.9);
      border: style=" 
      background-color: 
      #ffffff; 1px; 
      padding: 5px;" 
      }
      .bj { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      -moz-border-radius: 10em; 
      -moz-box-shadow: 0px 2px 20px rgba(0,0,0,0.9);
      border: style=" 
      background-color: 
      green; 1px; 
      padding: 5px;" 
      }
      .rounded td.round { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      -moz-border-radius: 1em; 
      }
      .forum { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      background-color:#E3E3E3;
      -moz-border-radius: 1em; 
      -moz-box-shadow: 0px 2px 20px rgba(0,0,255,0.9);
      border: style=" 
      background-color: 
      #ffffff; 1px; 
      padding: 5px;" 
      }
      .red { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      background-color:#E3E3E3;
      -moz-border-radius: 1em; 
      -moz-box-shadow: 0px 2px 20px rgba(252,3,3,0.9);
      border: style=" 
      background-color: 
      #ffffff; 1px; 
      padding: 5px;" 
      }
      .orange { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      background-color:#E3E3E3;
      -moz-border-radius: 1em; 
      -moz-box-shadow: 0px 2px 20px rgba(255,165,0,0.9);
      border: style=" 
      background-color: 
      #ffffff; 1px; 
      padding: 5px;" 
      }
      .forum td.round { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      -moz-border-radius: 1em; 
      }
      .properties { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      background-color:#E3E3E3;
      -moz-border-radius: 1em; 
      -moz-box-shadow: 0px 2px 20px rgba(124,252,0,0.9);
      border: style=" 
      background-color: 
      #ffffff; 1px; 
      padding: 5px;" 
      }
      .properties td.round { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      -moz-border-radius: 1em; 
      }
      .properties table.movedin { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      -moz-border-radius: 1em; 
      }
      .forumreply { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      -moz-border-radius: 1em; 
      -moz-box-shadow: 0px 2px 20px rgba(255,0,0,1);
      border: style=" 
      background-color: 
      #ffffff; 1px; 
      padding: 5px;" 
      }
      .forumreply td.round { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      -moz-border-radius: 1em; 
      }
      .menu { 
      margin-top:2px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      background-color:#E3E3E3;
      -moz-border-radius: 12px 22px; 
      -moz-box-shadow: 0px 2px 20px rgba(0,0,0,0.9);
      border: style=" 
      background-color: 
      #000000; 1px solid #000000; 
      padding: 5px;" 
      }
      .menu td { 
      background-color: #FFFFFF;
      }
      .menu td.a:visited,a:active,a:link {
      color: black;text-decoration: none; 
      }
      #banner {
      width:800px;
      height:70px;
      align:center; 
      }
      #btmbar {
      bottom:0;
      right:5px;
      position:fixed;
      background-color:#FFFFFF;
      height:25px;
      }
      #staffbar {
      bottom:0px;
      right:0px;
      left:0px;
      border:1px;
      position:fixed;
      text-align: center;
      }
      #BARfrndlist {
      bottom:25px;
      right:9px;
      position:fixed;
      background-color:#A1A1A1;
      width:150px;
      }
      #BARwindow1 {
      bottom:25px;
      right:174px;
      position:fixed;
      background-color:#E3E3E3;
      width:175px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      }
      #BARwindow2 {
      bottom:25px;
      right:354px;
      position:fixed;
      background-color:#E3E3E3;
      width:175px;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black; 
      }
      #BARfriends {
      width:150px;
      border:1px #000000 solid;
      }
      .chtbx {
      width:175px;
      border:1px #000000 solid;
      text-align:left;
      }
      .popUp {
      display:none;
      left: auto;
      right: auto;
      }
      #procomments {
      display:none;
      }
      .popUpOpen {
      display:block;
      bottom:230px;
      left: 450px;
      position:fixed;
      background-color:#E3E3E3;
      font-family:helvetica, arial, geneva, sans-serif;font-size:12px; color: black;
      margin-top:2px;
      -moz-border-radius: 1em; 
      -moz-box-shadow: 0px 2px 20px rgba(0,0,255,0.9);
      border: style=" 
      background-color: 
      #ffffff; 1px;
      padding: 5px;" 
      }
        </style>
        <link type="text/css" rel="stylesheet" media="all" href="css/chat.css" />
        <head>
        <link REL="SHORTCUT ICON" HREF="images/rc-favicon.png">
        <title>Game Name</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <script type="text/javascript" src="js/jquery.js"></script>
        <script src="js/jquery-1.4.2.js" type="text/javascript"></script>
        <script type="text/javascript" src="js/chat2.js"></script>
        <script type = 'text/javascript'>
        $(document).ready(function() {
        $(".openPopup1").click(function () {
            $("#po1").removeClass("popUp").addClass("popUpOpen");
       });
      });
        </script>
        </head>
<?php
ob_start();
ob_flush();
    if($_SESSION['attacking'])
    {
     header('location:run.php');
    }
            $jorh = array();
            $jorh = mysql_query("SELECT `my_jail`,`my_hosp` FROM `members` WHERE 
            `playerid` = '".mysql_real_escape_string($_SESSION['playerid'])."'");
            $joh = array();
            $joh = mysql_fetch_array($jorh);
            $bgc = array(); $sides = array(); $banner = array();
            if($joh['my_jail'] > gmtime()) { $bgc='CD853F'; $sides='j'; } else
            if($joh['my_hosp'] > gmtime()) { $bgc='FDFDFD'; $sides='h'; } else 
                                           { $bgc='CCCCCC'; $sides='';  }


         echo "<body style='background: #".$bgc." url(images/".$sides."side.jpg) repeat-x center top;'>
         <div align='center'><a href='http://www.game.com'>
                             <img src='http://www.game.com/images/top-banner-rc.png' BORDER=0></a></div>
            <div align='center'>
            <table width='99%' border = '0' cellpadding='0' cellspacing='0' class='maintable' style='margin-top:10px;'>
            <tr>
            <td align='left' valign='top' width='20%' rowspan='2' style='margin-left:10px;'>";
      $pinfo = array();
      $pinfo = mysql_query("SELECT `playername`,`wallet`,`my_points`,`my_merits`,`my_level`,`my_energy`,`my_maxenergy`,
                                   `my_nerve`,`my_maxnerve`,`my_happy`,`my_maxhappy`,`my_respect`,`my_maxrespect`,
                                   `my_gender`,`my_dondays`,`am_i_staff`,`my_partner`,`my_life`,`my_jail`,`my_hosp`,
                                   `jail_reason`,`hosp_reason`,`my_faction`,`my_flash_on`,`my_tuts_on`
                            FROM `members` 
                            WHERE `playerid` = '".mysql_real_escape_string($_SESSION['playerid'])."'");
      $pl = array();
      $pl = mysql_fetch_array($pinfo);

      $q_ry = array();
      $q_ry = "SELECT lc.lc_time,ed.edu_name
               FROM `live_courses` lc
               LEFT JOIN `educate_courses` ed
               ON lc.lc_course = ed.edu_id
               WHERE lc.lc_playerid = '".mysql_real_escape_string($_SESSION['playerid'])."'";
      $oncrs = array();
      $oncrs = mysql_query($q_ry);

      $q_ry = array();
      $q_ry = "SELECT `a_ammount`,`a_time`
               FROM `bank_accounts`
               WHERE `a_playerid` = '".mysql_real_escape_string($_SESSION['playerid'])."'";
      $bnka = array();
      $bnka = mysql_query($q_ry);

      $q_ry = array();
      $q_ry = "SELECT `my_job`
               FROM `members_extra`
               WHERE `playerid` = '".mysql_real_escape_string($_SESSION['playerid'])."'";
      $mjb = array();
      $mjb = mysql_fetch_array(mysql_query($q_ry));

               $ep = array();
               $ep = (int)(($pl['my_energy']/$pl['my_maxenergy'])*100);
               if($ep > 100)
               {
                 $ep = 100;
               }
               $np = array();
               $np=(int)(($pl['my_nerve']/$pl['my_maxnerve'])*100);
               if($np > 100)
               {
                 $np = 100;
               }
               $hp = array();
               $hp=(int)(($pl['my_happy']/$pl['my_maxhappy'])*100);
               if($hp > 100)
               {
                 $hp = 100;
               }
               $rsp = array();
               $rsp=(int)(($pl['my_respect']/$pl['my_maxrespect'])*100);
               if($rsp > 100)
               {
                 $rsp = 100;
               }
      echo "<table cellspacing = '0' cellpadding = '0' border = '0' width = '190px'>
        <tr>
           <td style = 'background: url(images/round-table/topleft.png) no-repeat left top;' width = '14px' height = '14px'></td>
           <td style = 'background: url(images/round-table/top.png) repeat-x center top;' height = '14px'></td>
           <td style = 'background: url(images/round-table/topright.png) no-repeat right top;' width = '14px' height = '14px'></td>
        </tr>
        <tr>
           <td style = 'background: url(images/round-table/left.png) repeat-y left top;' width = '14px'></td>
           <td align = 'center'>
            <table width='96%' cellpadding='0' cellspacing='0'>
            <tr><td align = 'left' style = 'background:#a1a1a1 url(images/menu-hr.jpg) no-repeat center top;font-weight:800;'> <b><u>Overview</b></u></td></tr>
            <tr><td align = 'center' style = 'background-color: #FFFFFF;'>
            <table width='98%' cellpadding='0' cellspacing='0' border = '0' style = 'background: url(images/menu-bg-top.jpg) no-repeat center top; height:24px;'><tr>
            <td colspan = '2' align = 'left' valign = 'top'>
            <img src='images/".$pl['my_gender'].".gif' title = 'You are a ".$pl['my_gender'].".'>";
      if($mjb['my_job']) { echo "<img src='images/";
      if($mjb['my_job'] == '1') { echo "army.png' alt = 'Job: Army' title='Job: Army"; }
      if($mjb['my_job'] == '2') { echo "market.png' alt = 'Job: Grocer' title='Job: Grocer"; }
      if($mjb['my_job'] == '3') { echo "casino.png' alt = 'Job: Casino' title='Job: Casino"; }
      echo "' title = 'You currently have a job.'>"; }

      if($pl['my_faction']) {
      $q_ry = array();
      $q_ry = "SELECT `fac_name`
               FROM `faction_s`
               WHERE `fac_id` = '".mysql_real_escape_string($pl['my_faction'])."'";
      $fn = array();
      $fn = mysql_fetch_array(mysql_query($q_ry));
      echo "<img src='images/faction.png' alt = 'Faction: ".$fn['fac_name']."' title = 'You are part of the ".$fn['fac_name']." faction.'>";
      }
      if($pl['my_partner']) {
      $q_ry = array();
      $q_ry = "SELECT `playername`
               FROM `members`
               WHERE `playerid` = '".mysql_real_escape_string($pl['my_partner'])."'";
      $pn = array();
      $pn = mysql_fetch_array(mysql_query($q_ry));
      echo "<img src='images/spouse.png' alt = 'Spouse: ".$pn['playername']."' title='Spouse: ".$pn['playername']."'>";
      }
      if(mysql_num_rows($bnka)) {
      $bk = array();
      $bk = mysql_fetch_array($bnka);
      echo "<img src='images/bank.png' alt = 'Investment: ".money_alter($bk['a_ammount'])." - ".gettimeleft($bk['a_time'])."' title='Investment: ".money_alter($bk['a_ammount'])." - 
           ".gettimeleft($bk['a_time'])."'>";
      }
      if(mysql_num_rows($oncrs)) {
      $onc = array();
      $onc = mysql_fetch_array($oncrs);
      echo "<img src='images/education.png' alt = '".$onc['edu_name'].": ".gettimeleft($onc['lc_time'])."' title='".$onc['edu_name'].": ".gettimeleft($onc['lc_time'])."'>";
      }
      $q_ry = array();
      $q_ry = "SELECT `mi_time`,`mi_effect_left`,`mi_drug_id`
               FROM `member_influences`
               WHERE `mi_playerid` = '".mysql_real_escape_string($_SESSION['playerid'])."'
               AND `mi_time` >= '".mysql_real_escape_string(time())."'";
      $druggy = array();
      $druggy = mysql_query($q_ry);
      if(mysql_num_rows($druggy)) {
      $dr = array();
      $dr = mysql_fetch_array($druggy);
      $type = array(9=>'Ecstacey',100=>'Vicodin',79=>'Xanax');
      echo "<img src='images/drug.png' title='".$type[$dr['mi_drug_id']].": ".gettimeleft($dr['mi_time'])."'>";
      }
      if($pl['my_dondays']) { echo "<img src='images/donator.gif' alt = 'Donator: ".$pl['my_dondays']." Days left' title='Donator: ".$pl['my_dondays']." Days left'>"; }
      if($pl['am_i_staff'] > 1) { echo "<img src='images/staff.png' title='Staff member'>"; }
      echo "</td></tr>
            </table>
            <table width='98%' cellpadding='0' cellspacing='0' style = 'background: url(images/menu-bg-middle.jpg) repeat-y center top; height:57px;' border = '0'>
            <tr><td width = '40%' align = 'left'><b>Name:</b> </td><td align = 'left' style = 'font-size:10px;'><a href='profile.php?XID=".$_SESSION['playerid']."'>",stripslashes(htmlentities($pl['playername'])),"</a> [",$_SESSION['playerid'],"]</td></tr>
            <tr><td align = 'left'><b>Money:</b> </td><td align = 'left'><span id = 'moneyc' style = 'font-size:10px;'>\$",number_format($pl['wallet']),"</span></td></tr>
            <tr><td align = 'left'><b>Level:</b> </td><td align = 'left' style = 'font-size:10px;'>".$pl['my_level'];
      $q_ry = array();
      $q_ry = "SELECT `my_experience`,`my_crimeexp`
               FROM `members_extra`
               WHERE `playerid` = '".mysql_real_escape_string($_SESSION['playerid'])."'";
      $lvl = array();
      $lvl = mysql_query($q_ry);
      $lv = mysql_fetch_array($lvl);
      if(($lv['my_experience']+($lv['my_crimeexp']/$pl['my_level'])) > exp_level($pl['my_level'])) { echo " [<a href='levelup.php'>Upgrade</a>]"; }
      echo "</td></tr>
      <tr><td align = 'left'><b>Points:</b> </td><td align = 'left' style = 'font-size:10px;'>",number_format($pl['my_points'])," [<a href='bexchange.php'>use</a>]</td></tr>
      <tr><td align = 'left'><b>Merits:</b> </td><td align = 'left' style = 'font-size:10px;'>",number_format($pl['my_merits'])," [<a href='mexchange.php'>use</a>]</td></tr>
            </table>
            <table width='98%' cellpadding='0' cellspacing='0' style = 'background: url(images/menu-bg-bottom.jpg) no-repeat center top; margin-bottom:3px;' border = '0'>
      <tr><td align = 'left' colspan = '2' height = '8px'></td></tr>
      <tr><td width = '40%' align = 'left'><b><span  rel = 'tooltip' title = '<b>Energy</b><img src = \"images/energy.gif\"><br/>Use energy for attacking and in the gym.'>Energy:</span></b> </td><td align = 'left'><span id = 'mie'><small>",$pl['my_energy'],"/",$pl['my_maxenergy'],"(";
      $loadtime = date('i')+1;
      if($pl['my_energy'] >= $pl['my_maxenergy'])
      {
      echo "full";
      }
      else
      {
      if($pl['my_dondays'])
      {
           if($loadtime > '50') { echo (60-$loadtime); }
      else if($loadtime > '40') { echo (50-$loadtime); }
      else if($loadtime > '30') { echo (40-$loadtime); }
      else if($loadtime > '20') { echo (30-$loadtime); }
      else if($loadtime > '10') { echo (20-$loadtime); }
      else if($loadtime > '00') { echo (10-$loadtime); }
      }
      else
      {
           if($loadtime > '45') { echo (60-$loadtime); }
      else if($loadtime > '30') { echo (45-$loadtime); }
      else if($loadtime > '15') { echo (30-$loadtime); }
      else if($loadtime > '00') { echo (15-$loadtime); }
      }
      echo "m:".(60-date('s'))."s";
      }
      echo ")</small></span></td></tr>
      <tr><td colspan = '2' align = 'center'><span id = 'sbe'><img src='images/bar_green.jpg' width = '".$ep."' height = '5px'><img src='images/bar_red.jpg' width = '".(140-$ep)."' height = '5px'></span></td></tr>
      <tr><td align = 'left'><b><span  rel = 'tooltip' title = '<b>Graft</b><img src = \"images/graft.gif\"><br/>Use nerve for crimes.'>Nerve:</span></b> </td><td align = 'left'><span id = 'mig'><small>",$pl['my_nerve'],"/",$pl['my_maxnerve'],"(";
      if($pl['my_nerve'] >= $pl['my_maxnerve'])
      {
      echo "full";
      }
      else
      {
           if($loadtime > '55') { echo (60-$loadtime); }
      else if($loadtime > '50') { echo (55-$loadtime); }
      else if($loadtime > '45') { echo (50-$loadtime); }
      else if($loadtime > '40') { echo (45-$loadtime); }
      else if($loadtime > '35') { echo (40-$loadtime); }
      else if($loadtime > '30') { echo (35-$loadtime); }
      else if($loadtime > '25') { echo (30-$loadtime); }
      else if($loadtime > '20') { echo (25-$loadtime); }
      else if($loadtime > '15') { echo (20-$loadtime); }
      else if($loadtime > '10') { echo (15-$loadtime); }
      else if($loadtime > '05') { echo (10-$loadtime); }
      else if($loadtime > '00') { echo (05-$loadtime); }
      echo "m:".(60-date('s'))."s";
      }
      echo ")</small></span></td></tr>
      <tr><td colspan = '2' align = 'center'><span id = 'sbg'><img src='images/bar_grey.jpg' width = '".$np."' height = '5px'><img src='images/bar_red.jpg' width = '".(140-$np)."' height = '5px'></span></td></tr>
      <tr><td align = 'left'><b><span  rel = 'tooltip' title = '<b>Happy</b><img src = \"images/happy.gif\"><br/>The more happy you are the better you train your stats.'>Happy:</span></b> </td><td align = 'left'><span id = 'mih'><small>",$pl['my_happy'],"/",$pl['my_maxhappy'],"(";
      if($pl['my_happy'] >= $pl['my_maxhappy'])
      {
      echo "full";
      }
      else
      {
           if($loadtime > '45') { echo (60-$loadtime); }
      else if($loadtime > '30') { echo (45-$loadtime); }
      else if($loadtime > '15') { echo (30-$loadtime); }
      else if($loadtime > '00') { echo (15-$loadtime); }
      echo "m:".(60-date('s'))."s";
      }
      echo ")</small></span></td></tr>
      <tr><td colspan = '2' align = 'center'><span id = 'sbh'><img src='images/bar_blue.jpg' width = '".$hp."' height = '5px'><img src='images/bar_red.jpg' width = '".(140-$hp)."' height = '5px'></span></td></tr>

      </tr></table>
      </td></tr>
      <tr><td align='left'>
      <table width='100%' cellpadding='0' cellspacing='0' style = 'padding-top:0px;'>";
      include_once('navigation.php');
    echo "</td><td align='left' valign='top' width='80%'>";
    echo "<center><a href='donate.php'>*Become a donator today and receive a 150 energy bar + loads more!(LTD:<b>Plasma kicker</b>[<a href='iinfo.php?XID=117'>View</a>])*</a></center><br/>";


   if($pl['my_tuts_on'] == 'yes')
   {
      $q_ry = array();
      $q_ry = "SELECT `tut_text`
               FROM `tutorial_pages`
               WHERE `tut_page` = '".(str_replace("/", "", $_SERVER['SCRIPT_NAME']))."'";
      $paget = array();
      $paget = mysql_query($q_ry);
      if(mysql_num_rows($paget))
      {
      $pt = array();
      $pt = mysql_fetch_array($paget);
      echo "<center><table class = 'forum' width = '50%'>
            <tr><td align = 'left' width = '80%' valign = 'top'>
            <u><b>Ruthless Tutorials:-</b></u><br/><br/>
            ".stripslashes($pt['tut_text'])."
            </td>
            <td align = 'center' bgcolor = '#FFFFFF' width = '20%' valign = 'top'>
            <img src = 'images/tutbulb.png'><br/>
            [<a href='preferences.php?action=tutchange'>Switch off</a>]
            </td></tr></table></center><br/>";
      }
   }


    $q_ry = array();
    $q_ry = "SELECT *
             FROM `active_missions` am
             LEFT JOIN `game_missions` m ON
             am.am_mission = m.m_id
             WHERE am.am_playerid = '".mysql_real_escape_string($_SESSION['playerid'])."'";
    $active = array();
    $active = mysql_query($q_ry);
    if(mysql_num_rows($active))
    {
        $a = array();
        $a = mysql_fetch_array($active);
        if(($a['am_time']-time()) <= '0')
        {
                          $q_ry = array();
                          $q_ry = "INSERT INTO `member_mail`
                                   VALUES ('NULL',
                                           '".mysql_real_escape_string($_SESSION['playerid'])."',
                                           '".mysql_real_escape_string($a['m_playerid'])."',
                                           'Failed!',
                                           '".mysql_real_escape_string($a['m_failmessage'])."',
                                           unix_timestamp(),
                                           '0')";
                          mysql_query($q_ry);
           $q_ry = array();
           $q_ry = "DELETE FROM `active_missions`
                    WHERE `am_playerid` = '".mysql_real_escape_string($_SESSION['playerid'])."'";
           mysql_query($q_ry);
        }
        else
        {
        echo "<center><a href='missions.php?action=details'><font color = 'red'><b>You have ".gettimeleft($a['am_time'])." to finish the mission</font> ".stripslashes($a['m_name'])."</b></a></center>";
        }
    }
    echo "<img src = 'images/ieodd.png' style = 'display: none;'>
          <img src = 'images/ieeven.png' style = 'display: none;'>
          <img src = 'images/iehover.png' style = 'display: none;'>
          <img src = 'images/ieodds.png' style = 'display: none;'>
          <img src = 'images/ieevens.png' style = 'display: none;'>
          <img src = 'images/iehovers.png' style = 'display: none;'>";
?>
Link to comment
Share on other sites

Wherever you have this similar code (from lines 533-571):

 

<img src='images/bar_somecolor.jpg' width = '".(140-$somevar)."' height = '5px'>

 

Replace with:

 

<img src='images/bar_somecolor.jpg' width = '".(100-$somevar)."' height = '5px'>

 

It will make the bars themselves smaller in width, but it will remove that red area you see when those are full.

Hope this helps!

~G7470

Link to comment
Share on other sites

Wherever you have this similar code (from lines 533-571):

 

<img src='images/bar_somecolor.jpg' width = '".(140-$somevar)."' height = '5px'>

 

Replace with:

 

<img src='images/bar_somecolor.jpg' width = '".(100-$somevar)."' height = '5px'>

 

It will make the bars themselves smaller in width, but it will remove that red area you see when those are full.

Hope this helps!

~G7470

Thanks mate :)

Link to comment
Share on other sites

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