oxidati0n Posted May 20, 2007 Posted May 20, 2007 This doesn't work for V2 since V2 has a totally modified Item database! Now i have been generous enough to do this, So enjoy! Here it is..The mod you all have been waiting for! This modification makes sure your items can be bought for crystals instead of cash Execute Query You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. find in shops.php where it says You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. next find in itembuy.php where it says You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Next open up in admin.php and find where it says If you know this it is in function new_item_form() You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add above You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. find later in the admin.php where it says This should be the function new_item_submit() You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There your done! It should function now. Any force you give will be very appreciated. Nick. Quote
oxidati0n Posted May 20, 2007 Author Posted May 20, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! If you use this mod please review it - Any reviews would be appreciated. :) Quote
oxidati0n Posted May 20, 2007 Author Posted May 20, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! Also this modification hasn't been tested but i'm sure 98% that it'd work. Quote
CraigF Posted May 20, 2007 Posted May 20, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! Column count doesn't match value count at row 1 I get that when making the item Quote
CraigF Posted May 21, 2007 Posted May 21, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! BUMP fix it? i need it lol Quote
KyleCrispy Posted May 21, 2007 Posted May 21, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! ok dont u think it is betta just to use item crystal market XD :lol: Quote
CraigF Posted May 21, 2007 Posted May 21, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! No ;) Quote
oxidati0n Posted May 24, 2007 Author Posted May 24, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! Fixed the bug with admin.php - Should you redo all the instructions it should work great. :) Quote
03laceys Posted May 28, 2007 Posted May 28, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! every item is in crystals even if i choose cash any help? Quote
CraigF Posted May 28, 2007 Posted May 28, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! open shops.php, replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace itembuy.php with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. new file called itemcbuy.php. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
oxidati0n Posted May 29, 2007 Author Posted May 29, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! LOL the difference between itembuy.php and itemcbuy.php that you've posted is mysql_query("UPDATE users SET money=money-$price WHERE userid=$userid",$c); and in itemcbuy.php mysql_query("UPDATE users SET crystals=crystals-$price WHERE userid=$userid",$c); you can just do You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i dont get the need in a whole new script for a few lines of code :| Quote
CraigF Posted May 31, 2007 Posted May 31, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! yeah but i was in a hurry and i thought i will give it first before i leave, and i JUST missed the bus lol!! :( Quote
03laceys Posted June 1, 2007 Posted June 1, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! bump 4 help every item is in crystals even if i choose cash any help? Quote
CraigF Posted June 1, 2007 Posted June 1, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! LOL the difference between itembuy.php and itemcbuy.php that you've posted is mysql_query("UPDATE users SET money=money-$price WHERE userid=$userid",$c); and in itemcbuy.php mysql_query("UPDATE users SET crystals=crystals-$price WHERE userid=$userid",$c); That didnt work for me it kept coming as crystals so i changed it you can just do You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i dont get the need in a whole new script for a few lines of code :| Quote
HITMAN 17 Posted September 22, 2007 Posted September 22, 2007 Re: !FREE ****Buy Items with Crystals****** FREE! open shops.php, replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace itembuy.php with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. new file called itemcbuy.php. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i did this but nuffing changed y Quote
weewooz Posted October 17, 2008 Posted October 17, 2008 Re: !FREE ****Buy Items with Crystals****** FREE! does this even work lol so many of you moaning he posted it free he dint have to but does it work or will i need to mess with it and re post it when i got it working Quote
Kaotic Posted October 17, 2008 Posted October 17, 2008 Re: !FREE ****Buy Items with Crystals****** FREE! west this is from ages ago man Quote
weewooz Posted October 18, 2008 Posted October 18, 2008 Re: [mccode v1] Buy Items with Crystals yeah i know true but was reading through all ther posts killing some time lol 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.