Armageddon Posted September 5, 2010 Posted September 5, 2010 Wow. Very nice work here bud. I know this is abit old, but sure is a great addition. :) Quote
Joshua Posted September 5, 2010 Author Posted September 5, 2010 Here when I get a bit of spare time I will try and go through this mod and correct some of the bugs people are getting. Quote
Kieran-R Posted December 18, 2010 Posted December 18, 2010 Nice mod :) But im having problems with it inserting into the DB after one user has already bought drug materials. The first user, yes it works. But the 2nd it doesnt... I dont see where this error could be coming from as ive looked at the mysql query... Quote
daftrude Posted April 13, 2011 Posted April 13, 2011 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/.../public_html/drugmarket.php on line 85 this is line 85 echo "<td><a href="drugmarket.php?action=remove&ID=".abs((int) $itd[" target="_blank">Remove</a></td>"; im confused? Quote
becksy Posted May 11, 2011 Posted May 11, 2011 Love the mod it looks damn good just have two issues with it QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=`addiction`+1,`expire`=10 WHERE `userid`=1' at line 1 Query was UPDATE `users` SET `addiction`,=`addiction`+1,`expire`=10 WHERE `userid`=1 when trying to use the drugs owned and it tells me:You are already on a drug at this moment. Please wait for the effects of that drug to expire before attempting to use another one. also the other issue is that when purchasing drugs if someone else has already purchased the same drug it will take your cash and will not give your credit for the ones you have purchased so no one two members can purchase them at the same time. for the second problem i think a solution is to change line 130 in druglab.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. with this line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
S.Cosmin Posted May 11, 2011 Posted May 11, 2011 Can anyone to re-upload the images on the biggest site ever tinypic.com ? Quote
KyleMassacre Posted March 19, 2016 Posted March 19, 2016 (edited) abs() is a function and (int) is a type for typecasting your value. It looks like to me it's supposed to be: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited March 19, 2016 by KyleMassacre Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.