Jump to content
MakeWebGames

jcvenom

Members
  • Posts

    575
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by jcvenom

  1. np blade must of my mods should be paid
  2. anyone help dave, dayo ?
  3. i need help with css bars i have never done this before this is my energy bar and i want to make it css   <table width='99%' cellpadding='0' cellspacing='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>   and here is my css [css] <div class="meter"> <span style="width: 25%"></span> </div> [/css] i want to change this into a css bar can you help me please
  4. maybe you can help me with this one i am very busy?
  5. what difference does it make
  6. thanks i am also making energy refills like tc screenshots [ATTACH=CONFIG]1058[/ATTACH][ATTACH=CONFIG]1059[/ATTACH][ATTACH=CONFIG]1060[/ATTACH][ATTACH=CONFIG]1061[/ATTACH]
  7. where is the fault in this mod i am currently making
  8. the background was originally gray like tc and it is simple
  9. ahh i totally misread this
  10. I now know JS, AJAX, HTML5, HTML, Php, MySQL, CSS3 and visual basic and im learing flash, jQuery
  11. to make that your gona need php, html, css, js its will be hard lucky i have that on my staff panel on my game
  12. true im thinking of making a menu bar
  13. i agree with !Angel i only made it because torn is good but i get its boring i understand that, if you don't like it well who cares its a new addition to mccodes and thats what im doing using my free time to make proper mods people may like this could also make forum more active and i will continue, i also want !Angel to add them to mccodemods.com;)
  14. I am making a new estate agent for mccodes v2 i will post code later here is screenshot [ATTACH=CONFIG]1056[/ATTACH][ATTACH=CONFIG]1057[/ATTACH]
  15. i have now changed the file seems no one is interested in MMC maybe i should stop making mods for it and make mods for rc
  16. why are you using </tr> all the time?
  17. i get the mod now what a great mod;)
  18. thanks didn't see that
  19. anyone like it
  20. Ok I made a new index page which i used to use on my old game its pretty much advanced Ok replace your index Page with This <html> <style> .table { background-color:#c3c3c3; } .table3 { background-color:#000000; } .table td { background-color:#DEDEDE; height:22px; } .table3 td { background-color:#CCCCCC; } td .alt { background-color:#EEEEEE; height:22px; } td .h { background-color: #2C2C2C; border: 1px solid #000000; width: 160px; padding: 2px 5px 3px 5px; font-size: 12px; color: #FFFFFF; border-radius: 2px; outline: none; } .table th { background-color: #2C2C2C; border: 1px solid #000000; width: 160px; padding: 2px 5px 3px 5px; font-size: 12px; color: #FFFFFF; border-radius: 2px; border-top-left-radius: 5px; border-top-right-radius: 5px; outline: none; } </style> </html> <?php /*Made by jcvenom Free modification do not resell Copyright TPGnetworks */ $housequery=1; include_once "globals.php"; $awp=round($ir['attacks_won']/($ir['attacks_total'] > 0 ? $ir['attacks_total'] : 1)*100,2); $alp=round($ir['attacks_lost']/($ir['attacks_total'] > 0 ? $ir['attacks_total'] : 1)*100,2); $atp=round($ir['attacks_total']/($ir['total_total'] > 0 ? $ir['total_total'] : 1)*100,2); $dwp=round($ir['defends_won']/($ir['defends_total'] > 0 ? $ir['defends_total'] : 1)*100,2); $dlp=round($ir['defends_lost']/($ir['defends_total'] > 0 ? $ir['defends_total'] : 1)*100,2); $dtp=round($ir['defends_total']/($ir['total_total'] > 0 ? $ir['total_total'] : 1)*100,2); $twp=round($ir['total_won']/($ir['total_total'] > 0 ? $ir['total_total'] : 1)*100,2); $tlp=round($ir['total_lost']/($ir['total_total'] > 0 ? $ir['total_total'] : 1)*100,2); $bbb=$ir['attacks_won']+$ir['defends_won']; $TotalEXP = abs(@intval($ir['exp']/$ir['exp_needed']*100)); $BankMoney = ($ir['bankmoney'] == '-1') ? 'No Account!' : number_format($ir['bankmoney']); if ( !$ir['married'] ) { $marital="<font color='red'>No</font>"; } else { $k=$db->query("SELECT username FROM users WHERE userid={$ir['married']}", $c); $marital="<a href='viewuser.php?u={$ir['married']}' style='color:green;'>".mysql_result($k,0,0)."</a> "; $marital.="[<a href='marriage.php'>Manage</a>]"; $mair=$db->query("SELECT u.*, h.* FROM users u LEFT JOIN houses h ON h.hWILL=u.maxwill WHERE userid={$ir['married']}",$c); $ms=mysql_fetch_array($mair); } echo '<table width="55%" border="0" cellspacing="1" cellpadding="3" style="text-align:center;" class="table"> <tr> <th colspan="2">Updates</th><!--add your updates here are examples--> </tr> <tr><td width="150px">29 March Added Streets</td><td style="color:#009900">Complete<br/>Added streets to game use your turns to get random items and cash</td></tr> <tr><td>28 March Stats bug</td><td style="color:#009900">Complete<br/>Fixed Stats reset bug</td></tr> <tr><td width="150px">28 March Index fix with add ons</td><td style="color:#009900">Complete<br/>Fixed index and added attack logs</td></tr> <tr><td>28 March Stats bug</td><td style="color:#009900">Complete<br/>Fixed Stats reset bug</td></tr> <tr><td>Shop Images</td><td style="color:#009900">Complete<br/>Added images to the shop items, and restyled the table</td></tr> <tr><td>Sidebar Bars</td><td style="color:#009900">Complete<br/>Removed the "Bars" section, and the repeat of the "Profile" section</td></tr> <tr><td>View User</td><td style="color:#009900">Complete<br/>Added "Job" to view user which shows either the job, business or unemployed</td></tr> <tr><td colspan="2">Any bugs mail me, admin [1]</td></tr> </table><br/> '; echo '<table width="55%" border="0" cellspacing="1" cellpadding="3" style="text-align:center;" class="table"> <tr> <th colspan="3">General Info</th> </tr> <tr> <td width="50%"><b>Name:</b> '.stripslashes($ir['username']).'</td> <td width="50%"><b>Level:</b> '.number_format($ir['level']).'</td> </tr> <tr style="text-align:center;"> <td><b>EXP:</b> '.number_format($TotalEXP).'%</td> <td><b>Life:</b> '.number_format($ir['hp']).'/'.number_format($ir['maxhp']).'</td> </tr> <tr> <td><b>Money:</b> '.number_format($ir['money']).'</td> <td><b>Crystals:</b> '.number_format($ir['crystals']).'</td> </tr> <tr> <td><b>Crimes Passed:</b> '.number_format($ir['crimes']).'</td> <td><b>Total Busts:</b> '.number_format($ir['busts']).'</td> </tr> <tr> <td><b>Days Old:</b> '.number_format($ir['daysold']).'</td> <td><b>Married:</b> '.stripslashes($marital).'</td> </tr> <tr> <td><b>Bank Account:</b> '.$BankMoney.'</td> <td><b>Property:</b> '.stripslashes($ir['hNAME']).'</td> </tr> </table> <br /> '; $ts = $ir['strength'] + $ir['agility'] + $ir['guard'] + $ir['labour'] + $ir['IQ']; $ir['strank'] = get_rank($ir['strength'], 'strength'); $ir['agirank'] = get_rank($ir['agility'], 'agility'); $ir['guarank'] = get_rank($ir['guard'], 'guard'); $ir['labrank'] = get_rank($ir['labour'], 'labour'); $ir['IQrank'] = get_rank($ir['IQ'], 'IQ'); $tsrank = get_rank($ts, 'strength+agility+guard+labour+IQ'); $ir['strength'] = number_format($ir['strength']); $ir['agility'] = number_format($ir['agility']); $ir['guard'] = number_format($ir['guard']); $ir['labour'] = number_format($ir['labour']); $ir['IQ'] = number_format($ir['IQ']); $ts = number_format($ts); echo" <table width='55%' border='0' cellspacing='1' cellpadding='3' class='table' style='text-align:center;'> <tr> <th colspan='3'>Stats Info</th> </tr> <tr> <th width='33%'>Stat</th> <th width='33%'>Amount</th> <th width='34%'>Rank</th> </tr> <tr> <td>Strength</td> <td>{$ir['strength']} </td> <td>Rank: [Ranked: {$ir['strank']}</td> </tr> <tr> <td>Agility</td> <td>{$ir['agility']}</td> <td>Rank: [Ranked: {$ir['agirank']}]</td> </tr> <tr> <td>Guard</td> <td>{$ir['guard']}</td> <td>Rank: [Ranked: {$ir['guarank']}]</td> </tr> <tr> <td>Labour</td> <td>{$ir['labour']}</td> <td>Rank: [Ranked: {$ir['labrank']}]</td> </tr> <tr> <td>IQ</td> <td>{$ir['IQ']}</td> <td>Rank: [Ranked: {$ir['IQrank']}]</td> <tr> <td>Total Stats:</td> <td>{$ts}</td> <td>Rank: [Ranked: $tsrank]</td> </tr> </table><hr width=85%> "; echo " <table width='55%' border='0' cellspacing='1' cellpadding='3' class='table' style='text-align:center;'> <tr> <th colspan='3'>Finacial Info</th> </tr> <tr> <td>City Bank</td> <td>\${$ir['bankmoney']} </td> </tr> <tr> <td>Crystal Bank</td> <td>{$ir['crystalbank']} </td> </tr> <tr> <td>Cyber Bank</td> <td>{$ir['crybermoney']}</td> </tr> </table><hr width=85%> "; echo" <table cellspacing='1' border='0' cellpadding='0' class='table' width='85%'> <th colspan='5'><b><center>Attack Info</b></td></tr> <tr> <th>Attacking:</th> <td>Won: <b><font color='green'>{$ir['attacks_won']}</b></font> ($awp%)</td> <td>Lost: <b><font color='red'>{$ir['attacks_lost']}</font></b> ($alp%)</td> <td>Total: <b><font color='green'>{$ir['attacks_total']}</font></b> ($atp%)</td> </tr> <tr> <th>Defending:</th> <td>Won: <b><font color='green'>{$ir['defends_won']}</font></b> ($dwp%)</td> <td>Lost: <b><font color='red'>{$ir['defends_lost']}</b></font> ($dlp%)</td> <td>Total: <b><font color='green'>{$ir['defends_total']}</font></b> ($dtp%)</td> </tr> <tr> <th>Both:</th> <td>Won: <b><font color='green'>$bbb</font></b>($twp%)</td> <td>Lost: <b><font color='red'>{$ir['total_lost']}</font></b> ($tlp%)</td> <td>Grand Total: <b><font color='green'>{$ir['total_total']}</font></b> / Draw's: <b><font color='green'>{$ir['draws']}</font></b></td> </tr> </table> "; $_POST['pn_update'] = (isset($_POST['pn_update'])) ? strip_tags(stripslashes($_POST['pn_update'])) : ''; if (!empty($_POST['pn_update'])) { if (strlen($_POST['pn_update']) > 5000) { echo '<hr /><span style="font-weight:bold;">You may only enter 5000 or less characters here.</span>'; } else { $pn_update_db = $db->escape($_POST['pn_update']); $db->query( "UPDATE `users` SET `user_notepad` = '{$pn_update_db}' WHERE `userid` = {$userid}"); $ir['user_notepad'] = $_POST['pn_update']; echo '<span style="font-weight:bold;">Personal Notepad Updated!</span>'; } } echo "<br /><hr width=85% />Your Personal Notepad:<hr width=85% /> <form action='index.php' method='post'> <textarea rows='10' cols='50' name='pn_update'>" . htmlentities($ir['user_notepad'], ENT_QUOTES, 'ISO-8859-1') . "</textarea><br /> <input type='submit' value='Update Notes!' /></form>"; $h->endpage(); ?> And your done screenies are below [ATTACH=CONFIG]1053[/ATTACH][ATTACH=CONFIG]1054[/ATTACH]
  21. <?php include 'header.php'; if ($user_class->claimed > 0){ echo Message("You already claimed your reward."); include 'footer.php'; die(); } else if ($user_class->username){ $newsql = mysql_query("UPDATE `grpgusers` SET `claimed` = '1' WHERE `id`= '".$user_class->id."'"); $newsql = mysql_query("UPDATE `grpgusers` SET points=points+500 WHERE `id`= '".$user_class->id."'"); $newsql = mysql_query("UPDATE `grpgusers` SET bank=bank+100000 WHERE `id`= '".$user_class->id."'"); echo Message("You claimed your starter pack."); Send_Event($user_class->id, "The owner has added $100,000 to your bank and given you 500 Points. Cheers!!!"); include 'footer.php'; die(); } ?>   Also as this in your header near the bottom if ($user_class->claimed == 0){ echo "<center><a href='starter.php'>You have not claimed your starter pack.</a></center>";   edited from MNG
  22. great and welcome
  23. i have edited the first post and i have recoded the whole file
  24. in no way am i connected with crimec i made this because i was doing work for him but i never received payment so its clearly stolen
  25. yes you are using it it before i put it up
×
×
  • Create New...