MDK666 Posted October 29, 2008 Posted October 29, 2008 well everyone here it is Ive decided to release the mod for free.... there's 9 pages and 12 sqls so all you'll have to do is over right your pages that you already have... inventory.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! unequip.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! staff_items.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! you now will need to make the following files equip_amulet.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. equip_boots.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. equip_braclet.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! equip_helmet.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. equip_ring.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. equip_special.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! now for the last part which is the sqls here they are. sqls You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
toufail Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! wicked already done and its going for free MKdk666 your the man Quote
toufail Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! :-o :-D Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! please dont double post :-P Quote
nedved Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! Awesome !! Quote
Solid Snake Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! good mod mate nice job Quote
radio_active Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! What exactly is it though, just more places for armour etc? Quote
Hash-Op Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! Extra slots etc. Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! ok could someone help me now im trying to get a right side menu on my side with the following stats Name: $gn{$u} [{$ir['userid']}] $d Level: {$ir['level']} Turns: {$ir['turns']} Money: {$fm} Crystals: {$ir['crystals']} Diamonds: {$ir['diamonds']} TOC Credits: {$ir['credits']} [<font color=red>Emergency Logout</font>]</font> and a few others im useing shavadas template could anyone help me out on this because im confused as hell Quote
Solid Snake Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! shavadabravas template is one of the most awkward to edit and btw when you create items for boots and helmet the boots equip as helmet and the helmet equips as boots Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! shavadabravas template is one of the most awkward to edit and btw when you create items for boots and helmet the boots equip as helmet and the helmet equips as boots not sure why thats happening, maybe you mixed the file names up when making them because i justed tested the same codes i posted and its working fine, as for the template do u know of a template thats probaly a dark and black on to use to add the right menu on my site. Quote
nedved Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! what is ur site m8 Quote
Solid Snake Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! in search bar search V2 login Quote
Solid Snake Posted October 29, 2008 Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! also could you tell us what do each item give you Quote
MDK666 Posted October 29, 2008 Author Posted October 29, 2008 Re: [mccodes v2]New and improved inventory code sources for free! what is ur site m8 http://thedarkone.pcriot.com also could you tell us what do each item give you right now nothing unless u put a effect into the item that u make, say u put a effect on a ring called will ring with a increase of say 50 when u equip the right and dont quote me on this but it should give that use 50 extra will while it equiped, and it should remove the 50 will after he/she takes it off Quote
castle Posted October 30, 2008 Posted October 30, 2008 Re: [mccodes v2]New and improved inventory code sources for free! this is good...will use for sure Quote
moto Posted November 1, 2008 Posted November 1, 2008 Re: [mccodes v2]New and improved inventory code sources for free! Brilliant mod mate + 1 from me how about a V1 version Quote
Uridium Posted November 2, 2008 Posted November 2, 2008 Re: [mccodes v2]New and improved inventory code sources for free! Just to mention a small note :) When your adding your types to the database make sure that your staff_items.php is laid out the same way as your tables..... example if your tables are ALTER TABLE `items` ADD `head` int(11) NOT NULL default '0'; ALTER TABLE `items` ADD `legs` int(11) NOT NULL default '0'; ALTER TABLE `items` ADD `feet` int(11) NOT NULL default '0'; ALTER TABLE `items` ADD `mask` int(11) NOT NULL default '0'; Then when adding these to the staff_items.php make sure they are in the same order as above. $itmname=$_POST['itmname']; $itmdesc=$_POST['itmdesc']; $weapon=abs((int) $_POST['weapon']); $armor=abs((int) $_POST['armor']); $head=abs((int) $_post['head']); $legs=abs((int) $_POST['legs']); $feet=abs((int) $_POST['feet']); $mask=abs((int) $_POST['mask']); same also applies for your SQL queries...... $m=$db->query("INSERT INTO items VALUES('{$_POST['itmid']}',{$_POST['itmtype']},'$itmname','$itmdesc',{$_POST['itmbuyprice']},{$_POST['itmsellprice']},$itmbuy, '{$_POST['effect1on']}', '$efx1', '{$_POST['effect2on']}', '$efx2', '{$_POST['effect3on']}', '$efx3', $weapon, $armor, $head, $legs, $feet, $mask)"); Or you may find when Editing or adding your new Selections they may be added to the wrong place. Quote
MDK666 Posted November 7, 2008 Author Posted November 7, 2008 Re: [mccodes v2]New and improved inventory code sources for free! Just to mention a small note :) When your adding your types to the database make sure that your staff_items.php is laid out the same way as your tables..... example if your tables are ALTER TABLE `items` ADD `head` int(11) NOT NULL default '0'; ALTER TABLE `items` ADD `legs` int(11) NOT NULL default '0'; ALTER TABLE `items` ADD `feet` int(11) NOT NULL default '0'; ALTER TABLE `items` ADD `mask` int(11) NOT NULL default '0'; Then when adding these to the staff_items.php make sure they are in the same order as above. $itmname=$_POST['itmname']; $itmdesc=$_POST['itmdesc']; $weapon=abs((int) $_POST['weapon']); $armor=abs((int) $_POST['armor']); $head=abs((int) $_post['head']); $legs=abs((int) $_POST['legs']); $feet=abs((int) $_POST['feet']); $mask=abs((int) $_POST['mask']); same also applies for your SQL queries...... $m=$db->query("INSERT INTO items VALUES('{$_POST['itmid']}',{$_POST['itmtype']},'$itmname','$itmdesc',{$_POST['itmbuyprice']},{$_POST['itmsellprice']},$itmbuy, '{$_POST['effect1on']}', '$efx1', '{$_POST['effect2on']}', '$efx2', '{$_POST['effect3on']}', '$efx3', $weapon, $armor, $head, $legs, $feet, $mask)"); Or you may find when Editing or adding your new Selections they may be added to the wrong place. thanks illusions for pointing this out i think this is some of the errors everyone is haveing on the mod. for everyone who wants to know what my site is at its at: http://www.the-dark-one.co.cc Quote
Fortitude Posted November 8, 2008 Posted November 8, 2008 Re: [mccodes v2]New and improved inventory code sources for free! Very Nice, I just have a couple of questions. Pretty noobish questions so please forgive me. 1.) How does one go about offering more other then strength and defense for the items, like iq and agility. 2.) Say you make an item that offers 12 in defense, does that mean 12% or just 12 in general, if its just 12 in general how would I change it to %? Thanks for the help and thank you for sharing with us :) 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.