Jump to content
MakeWebGames

tahmid

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

tahmid's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: Another New Mailbox ishz is not too far away from being sued lol, he's putting other peoples header on CE as his own.
  2. Re: Quantify Mod for V2! no v2 hasn't send ur self 2 items but at different times.and the coding went puzzly when i converted so i might have missed it out.
  3. Re: Quantify Mod for V2! seanbobs one was probz v1
  4. session_start(); include "globals.php"; $used=array(); $q=mysql_query("SELECT * FROM inventory WHERE inv_userid=$userid", $c); while ( $r=mysql_fetch_array($q) ) { if ( ! in_array ( $r['inv_id'], $used ) ) { $currdel=array(); $used[] =$r['inv_id']; $currdel[]=$r['inv_id']; $amount=$r['inv_qty']; //grab sellers others $q2=$db->query("SELECT * FROM inventory WHERE inv_userid=$userid AND inv_itemid = {$r['inv_itemid']} AND inv_id != {$r['inv_id']}", $c); while ( $r2 = mysql_fetch_array($q2) ) { $used[]=$r2['inv_id']; $currdel[]=$r2['inv_id']; $amount+=$r2['inv_qty']; } //if($userid == 1) //print "DEBUG: DELETE FROM inventory WHERE inv_id IN(".implode(",",$currdel).") "; $db->query("DELETE FROM inventory WHERE inv_id IN(".implode(",",$currdel).")", $c); //if($userid == 1) //print "DEBUG: INSERT INTO inventory VALUES('', {$r['inv_itemid']}, $userid, $amount) "; $db->query("INSERT INTO inventory VALUES('', {$r['inv_itemid']}, $userid, $amount)", $c); print "$amount of item id {$r['inv_itemid']} quantified... "; } } print "[b]<font color='red'>Quantifying Done</font>[/b] <hr width=50%><center><a href=inventory.php>>Back to your Items</a> <hr width=50%>"; $h->endpage(); ?>
  5. Re: [mccode] Mining mod Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/topu/public_html/mine.php on line 2 Parse error: syntax error, unexpected T_STRING in /home/topu/public_html/mine.php on line 2 :-(
  6. Re: [mccode] Mining mod Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/topu/public_html/mine.php on line 2 Parse error: syntax error, unexpected T_STRING in /home/topu/public_html/mine.php on line 2
  7. Re: [mccode] Mining mod doesn't it need no crons to update.
  8. Re: [mccode] Mining mod The whole thing in one please my eyes are going :roll: by looking at them split up.
  9. Re: [V1][V2] 50/50 Chance Mod. Free Version thanks, its great!!! :-D :-) 8-) :wink: :mrgreen:
  10. Re: [mccode] quantify items automatically it doesn't work, can you please list the correct coding exactly becoz itz too confusing :? :-o :roll: :| :mrgreen:
  11. How do you add medicine that takes off hospital time for v1? For v1 there is only Health refill as medicine need posts. Thanks.
×
×
  • Create New...