Jump to content
MakeWebGames

illegalife

Members
  • Posts

    159
  • Joined

  • Last visited

Everything posted by illegalife

  1. My crons are not working at all, i've notified mccodes but it's been 5 days and all they told me is that the crons have been setup right. I allready knew that. I have no idea what the problem could be. They were working in the beginning and then they just stopped working. I need help ASAP. please:( (using V2) i've set the crons to send it to my email to check it and here's what i got:   % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 600 100 600 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k 100 600 100 600 0 0 234k 0 --:--:-- --:--:-- --:--:-- 0 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>406 Not Acceptable</title> </head><body> <h1>Not Acceptable</h1>   An appropriate representation of the requested resource /cron_minute.php could not be found on this server.</p>   Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> <hr> <address>Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8b DAV/2 mod_bwlimited/1.4 PHP/5.2.6 mod_perl/2.0.4 Perl/v5.8.8 Server at illegalife.com Port 80</address> </body></html>
  2. Re: [mccode] quantify items automatically Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/illegali/public_html/inventory.php on line 6 Line 6: $gotitem = mysql_num_rows($lol2);   How come???
  3. Re: [V2] Inventory Item (x2) Found it thanks.
  4. Can someone please help me with this, it looks like it was coded in but it doesn't work. In the inventory, i dont want the items to be displayed like this Pistol Pistol Pistol But like this... Pistol (x3)     Inventory Code:   <?php include "globals.php"; $q=$db->query("SELECT * FROM items WHERE itmid IN({$ir['equip_primary']}, {$ir['equip_secondary']}, {$ir['equip_armor']})"); print "<h3>Equipped Items</h3><hr />"; while($r=$db->fetch_row($q)) { $equip[$r['itmid']]=$r; } print "<table width='75%' cellspacing='1' class='table'> <tr> <th>Primary Weapon</th> <td align=center>[b]"; if($equip[$ir['equip_primary']]['itmid']) { print $equip[$ir['equip_primary']]['itmname']."</td>[/b]<td align=center>[url='unequip.php?type=equip_primary']Unequip Item[/url]</td>"; } else { print "None equipped.</td><td> </td>"; } print "</tr> <tr> <th>Secondary Weapon</th> <td align=center>[b]"; if($equip[$ir['equip_secondary']]['itmid']) { print $equip[$ir['equip_secondary']]['itmname']."</td>[/b]<td align=center>[url='unequip.php?type=equip_secondary']Unequip Item[/url]</td>"; } else { print "None equipped.</td><td> </td>"; } print "</tr> <tr> <th>Armor</th> <td align=center>[b]"; if($equip[$ir['equip_armor']]['itmid']) { print $equip[$ir['equip_armor']]['itmname']."</td>[/b]<td align=center>[url='unequip.php?type=equip_armor']Unequip Item[/url]</td>"; } else { print "None equipped.</td><td> </td>"; } print "</tr> </table><hr /> <h3>Inventory</h3><hr />"; $inv=$db->query("SELECT iv.*,i.*,it.* FROM inventory iv LEFT JOIN items i ON iv.inv_itemid=i.itmid LEFT JOIN itemtypes it ON i.itmtype=it.itmtypeid WHERE iv.inv_userid={$userid} ORDER BY i.itmtype ASC, i.itmname ASC"); if ($db->num_rows($inv) == 0) { print "[b]You have no items![/b]"; } else { print "[b]Your items are listed below.[/b] <table width=100% class=\"table\" border=\"0\" cellspacing=\"1\"> <tr> <td class=\"h\">Item</td> <td class=\"h\">Sell Value</td> <td class=\"h\">Total Sell Value</td> <td class=\"h\">Links</td> </tr>"; $lt=""; while($i=$db->fetch_row($inv)) { if($lt!=$i['itmtypename']) { $lt=$i['itmtypename']; print "\n<tr><td colspan=4>[b]{$lt}[/b]</td></tr>"; } if($i['weapon']) { $i['itmname']="<font color='red'>*</font>".$i['itmname']; } if($i['armor']) { $i['itmname']="<font color='green'>*</font>".$i['itmname']; } print "<tr><td>{$i['itmname']}"; if ($i['inv_qty'] > 1) { print " x{$i['inv_qty']}"; } print "</td><td>\${$i['itmsellprice']}</td><td>"; print "$".($i['itmsellprice']*$i['inv_qty']); print "</td><td>[[url='iteminfo.php?ID={$i[']Info[/url]] [[url='itemsend.php?ID={$i[']Send[/url]] [[url='itemsell.php?ID={$i[']Sell[/url]] [[url='imadd.php?ID={$i[']Add To Market[/url]]"; if($i['effect1_on'] || $i['effect2_on'] || $i['effect3_on']) { print " [[url='itemuse.php?ID={$i[']Use[/url]]"; } if($i['weapon']) { print " [[url='equip_weapon.php?ID={$i[']Equip as Weapon[/url]]"; } if($i['armor']) { print " [[url='equip_armor.php?ID={$i[']Equip as Armor[/url]]"; } print "</td></tr>"; } print "</table>"; print " <font size='2'><font color='red'>*</font><font size='1'> = Can be equipped as weapons.</font> <font size='2'><font color='green'>*</font><font size='1'> = Can be equipped as armour.</font>"; } $h->endpage(); ?>
  5. so i was just creating a new item for my game on the staff panel and then all of a sudden i get this error and cant access my website Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.   -thanks anyway
  6. I have no idea how to fit the weapons so it fits the price. I don't want people to be able to buy a weapon that does too much demage in a low level. What's the calculation for the "demage" is it multiplied by strength or something? What would be like an average for a $50,000 weapon how much demage would it do? I need the answer asap thanks a lot for who ever helps me.
×
×
  • Create New...