KiX Posted November 27, 2008 Posted November 27, 2008 I don't know if this was made already, but here it is. I made this mostly from scratch, taking a bit of code from the inventory. But mostly I made it. I know you can tweak it to make it better, but It is good for our needs. So here it goes. First make a file called display.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Make a file called displayadd.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Make a file called displayrem.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. **Find inventory.php** You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and add underneath You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. **Find in viewuser.php** You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQL query You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Hope you like it. I have added itmpics from another mod I use. I don't remember who made it, but it is available here as well. Enjoy it! Quote
ColdK Posted November 27, 2008 Posted November 27, 2008 Re: [mccode v2] Display Cabinet what dose this do Quote
KiX Posted November 27, 2008 Author Posted November 27, 2008 Re: [mccode v2] Display Cabinet what dose this do It moves items from your inventory to your display cabinet for others to see what you have. So you can just keep in your inventory the items you need. Quote
MyGunWars Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet +1 I will add it to my site I have one where you just see all the items in the inventory. Quote
KiX Posted November 28, 2008 Author Posted November 28, 2008 Re: [mccode v2] Display Cabinet at a quick reminder about my scripts. I do not use crystals, instead they are called credits, so you will have to modify the code accordingly. Quote
***ryan*** Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet ok thanks for the mod mate i got it to work fine ... +1 Quote
Tezza` Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet Im sure cronus made this. =/ Quote
03laceys Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet Yes this was a paid mod by Cronus Tezza, I'm not sure i think he later released it free check his website, either way it should be removed especially if it is still a paid mod. Quote
Zero-Affect Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet `*` bad... how many times do i have to post this to people before they get it into their heads... Quote
Tezza` Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet Yes this was a paid mod by Cronus Tezza, I'm not sure i think he later released it free check his website, either way it should be removed especially if it is still a paid mod. Can't get on his website atm, ill have to wait till he comes on msn, to confirm. Quote
Tezza` Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet O.k ive spoken to cronus and he dosent think his is the same, so, sorry for any inconvinionce. Quote
KiX Posted November 28, 2008 Author Posted November 28, 2008 Re: [mccode v2] Display Cabinet I must admit I still do not understand much about what I can post or not. I made this from scratch, just took some code from the inventory, but that is it. hehe np Tezza. Quote
KiX Posted November 28, 2008 Author Posted November 28, 2008 Re: [mccode v2] Display Cabinet `*` bad... how many times do i have to post this to people before they get it into their heads... yeah i forgot to take em out, but i will do that now. Quote
Tezza` Posted November 28, 2008 Posted November 28, 2008 Re: [mccode v2] Display Cabinet `*` bad... how many times do i have to post this to people before they get it into their heads... Your like me Zero :P, you hate them.... and i dont stop banging on about tables :P Quote
KiX Posted November 28, 2008 Author Posted November 28, 2008 Re: [mccode v2] Display Cabinet `*` bad... how many times do i have to post this to people before they get it into their heads... Your like me Zero :P, you hate them.... and i dont stop banging on about tables :P lol. how can i edit if my ip is different. It won't let me edit it out :( Quote
Zero-Affect Posted November 29, 2008 Posted November 29, 2008 Re: [mccode v2] Display Cabinet `*` bad... how many times do i have to post this to people before they get it into their heads... Your like me Zero :P, you hate them.... and i dont stop banging on about tables :P like i stated in previous posts Tezza TABLES CAN LOOK NICE... just repost the mod Kix Quote
KiX Posted November 29, 2008 Author Posted November 29, 2008 Re: [mccode v2] Display Cabinet here is the SQL table without the ` You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
jds137 Posted November 29, 2008 Posted November 29, 2008 Re: [mccode v2] Display Cabinet Only thing I noticed was it lets a player go negative. So a little snippet needs to be added to tell them they dont have enough crystals. Quote
KiX Posted November 29, 2008 Author Posted November 29, 2008 Re: [mccode v2] Display Cabinet Only thing I noticed was it lets a player go negative. So a little snippet needs to be added to tell them they dont have enough crystals. Good point. Here is the fix for that. find this code in display.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Remember that you need to change credits for crystals for it to work for you. Quote
jds137 Posted November 30, 2008 Posted November 30, 2008 Re: [mccode v2] Display Cabinet Parse error: syntax error, unexpected T_ELSE in /home/ml/public_html/display.php on line 77 Quote
KiX Posted November 30, 2008 Author Posted November 30, 2008 Re: [mccode v2] Display Cabinet Parse error: syntax error, unexpected T_ELSE in /home/ml/public_html/display.php on line 77 I will just paste the entire code, because I am not getting any errors display.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
tonw1l Posted December 1, 2008 Posted December 1, 2008 Re: [mccode v2] Display Cabinet Hi can anyone help me with this please. When I go onto viewuser then click on Diplay Cabnet, I get an error on the display.php This error is on the page: QUERY ERROR: Table 'admindb.display' doesn't exist Query was SELECT * FROM display WHERE disp_userid=1 If anyone can help then Thank you! Quote
KiX Posted December 1, 2008 Author Posted December 1, 2008 Re: [mccode v2] Display Cabinet Hi can anyone help me with this please. When I go onto viewuser then click on Diplay Cabnet, I get an error on the display.php This error is on the page: QUERY ERROR: Table 'admindb.display' doesn't exist Query was SELECT * FROM display WHERE disp_userid=1 If anyone can help then Thank you! Well apparently you did not create the table. did u run the SQL info I put in the post? Quote
illegalife Posted December 22, 2008 Posted December 22, 2008 Re: [mccode v2] Display Cabinet if you just paste this with any item id in the game it will add it to the display even if you dont have it in ur inventory :( displayadd.php?ID=$userid&action=addit&itm=ITEMID Quote
illegalife Posted December 28, 2008 Posted December 28, 2008 Re: [mccode v2] Display Cabinet can anyone fix this ^^^^^^^^^^^^^^ 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.