Jump to content
MakeWebGames

Sp1d3r

Members
  • Posts

    63
  • Joined

  • Last visited

    Never

Everything posted by Sp1d3r

  1. Re: [mccode v2] inventory.php i guess im what mdshare discribed. im not a programmer, i do this for fun and im also a member of these boards but i suppose that doesnt matter, since even a admin bashes you.   if anyone else has a on topic reply, please post. thanks.
  2. Re: [mccode v2] inventory.php Thanks that did resolve the issue but I still would like to know what I missed. The code already knows the primary weapon is a zero but I cant find where if pulls that data from and if i could them I could just modify the table to have the blank in there too. On another note after adding the code you suggested it did get past the error but when equipping the particular item i get another error QUERY ERROR: Unknown column 'equip_blank' in 'field list' Query was UPDATE users SET equip_blank = 2 WHERE userid=1 where is this field list? and maybe both errors are related as i forgot to change something. Thanks again.
  3. I'm making more item types other than a primary weapon, secondary weapon and armor. When editing the inventory.php on line 7 (for me) where it does the db query - SELECT * FROM items WHERE itmid IN...... I added the new {$ir['equip_blank']} and when I save the code and test it i get this error 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 ' 0, 0, 0)' at line 1 Query was SELECT * FROM items WHERE itmid IN(, 0, 0, 0) So this maybe a really noob question but I cant find away around it and my last resort was to ask you guys. I notice the (, 0, 0, 0) at the end is missing a zero were the new {$ir['equip_blank']} is at. Where do I add to the db so that it properly sees it and I'm assuming should look like this when it is correct (0, 0, 0, 0). Thanks in advance
  4. Re: install.php No im not asking for the code, i own v2. I was just looking at the install.php and noticed where it adds the information for the users, like hp and energy.. I was just curious how does it know to make all the other tables? is there another php file that it looks at to know if it should make a table named ice cream or items... I mean it just doesnt pull that information out of thin air, something has to say when installing this game here are the tables that are needed right? thanks!
  5. I'm trying to learn and understand mccode as much as i can and this maybe a noob question with the answer being over looked, but how does the script now how to create all the different tables in the database? for example announcements, where does it say make that table? thanks for any light you can shine on this.
  6. Re: Referral Help oo great thx Nyna and yes i do understand now. Nyna, just want to say thx for all you do here on the boards, ive been reading alot before i even made an account and your the best! thx again.
  7. Re: Referral Help ooo ok Does anyone have script that uses the Promo code? thanks.
  8. Hello, I'm having some issues with the MCv.2 and referrals. With the code as is, the only way to have a referral work is from the referrals link in the explore.php page? What is the promo code spot for in the register.php page for?
×
×
  • Create New...