Danny.W Posted March 8, 2011 Share Posted March 8, 2011 Hi, First of all it does look like a great mod well done, Also is this a fully working secure version? Quote Link to comment Share on other sites More sharing options...
lucky3809 Posted March 8, 2011 Share Posted March 8, 2011 No this mod is not secured. Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted March 8, 2011 Share Posted March 8, 2011 I would suggest alter the stock 2.0.3 mc2 equip, unequip and staff files for the extra items types. You can do the unequip in just one file add your new item types to the array and !in_array Copy and paste the equip weapon file changing in the correct places...change the staff file accordingly, add the sql as stated and you should be done. Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted April 13, 2016 Share Posted April 13, 2016 (edited) This might be just be because my server has been funky lately. But wow. 1 hour in an still can't even view the inventory.php page yet >.< You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The // represent the area I removed due to the fact my gang armoury is still default. But even after that I'm still getting errors left and right for syntax. Edited April 13, 2016 by boionfire81 posted code Quote Link to comment Share on other sites More sharing options...
Jigsaw Posted April 13, 2016 Share Posted April 13, 2016 I would remove those BBcodes from the file e.g. etc aswell Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted April 23, 2016 Share Posted April 23, 2016 Seems to be working?? I can't really tell due to the what seems like 20 undefined offset??? here's the line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. A non-critical error has occurred. Page execution will continue. Below are the details: PHP Notice: Undefined offset: 0 (8) line 13 Quote Link to comment Share on other sites More sharing options...
KyleH112 Posted June 2, 2016 Share Posted June 2, 2016 My problem is none of the links work. [info] [send] [sell] [Add To Market] [Merge Items] [use] [Donate To Gang] [Equip as Weapon] Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted June 2, 2016 Share Posted June 2, 2016 It's probably the bbcode. would need changed to a tags instead. Or you simply copied and pasted the code snippet. In order to get links working from here you usually need to "quote" the post and then copy the code from there. Otherwise the coded bbcode links simply shows as links which in copy and paste only gives you the anchor. Quote Link to comment Share on other sites More sharing options...
KyleH112 Posted June 2, 2016 Share Posted June 2, 2016 I added the links in myself, checking out what peterisgb posted seeing if I can recode his item images for my game Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted June 18, 2016 Share Posted June 18, 2016 The code snippet you posted is broken in multiple areas. Also, to handle your undefined index notice; in this case, simply wrap it in isset() You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
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.