Brad Posted August 21, 2010 Posted August 21, 2010 It's been a while since i made a mod so i done one. All i have done is made a simple change to the shops to show an item pic. This is only for mccodes lite but you could covert. Replace shops.php with this. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add in PhpMyAdmin [mysql]ALTER TABLE `items` ADD `itmpic` TEXT NOT NULL[/mysql] If you use the create item tool you will have to add the item pic add but i would just use PhpMyAdmin. Quote
CJ - Twitch Posted August 21, 2010 Posted August 21, 2010 Good work but Argh!?!? Why sql? You could just do this... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and name the image the item id and put them in a itmpics folder. But else, good work. :) Quote
Brad Posted August 22, 2010 Author Posted August 22, 2010 Thank you but i didn't think of that when i was coding it Quote
Joshua Posted August 22, 2010 Posted August 22, 2010 A good start, But I encourage people to take the GRPG pop up window with the Item Definition upon "clicking it" and convert that to mccodes as well. One of the few features I liked with GRPG i adapted a long while back. I.E you have a shop, with item images, click on an item, a small javascript pop up box appears with a full tabled out item index of the particular item Just looked nice, little fancy and free. Convert some of GRPG mods into mccodes, it's a blasty blast :P Quote
rulerofzu Posted August 22, 2010 Posted August 22, 2010 LOL Joshua. This has been on here since 2008. http://makewebgames.io/board791/27191-mccode-v2-item-descryption 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.