Malicious Hero. Posted February 3, 2013 Author Share Posted February 3, 2013 addInventoryGroup( "1", "images/groups/1.png" ) addInventoryGroup( "2", "images/groups/2.png" ) I found a problem within the script itself. In the new version that is coming out soon, this error will be patched. Thanks for your help! Link to comment
Malicious Hero. Posted February 5, 2013 Author Share Posted February 5, 2013 Thanks for being patient. - Fixed inventory browsing bug. - Fixed limited inventory bug. - Fixed inventory grouping bug where items weren't sorted properly. - Fixed issue where items weren't loading. - Fixed issue where inventory items simply showed a black box. - Fixed issue where groups didn't show up randomly. - Added the ability to drag items to the world. - Added the ability to pick up items. - Moved all event related scripts into the "events" folder. - Added the ability to customize dropped item object IDs, and their coordinates because of object dimensions. With that being said, an item system has been added to the inventory system. The fixed version is available at the community resource center. If you encounter further bugs, please post here. Please don't PM me about bug encounters, or help setting this up, simply post here. Thanks! Link to comment
Max+ Posted February 6, 2013 Share Posted February 6, 2013 Very Good Job ! i love the Image Style ! Keeb up the good Work ! Link to comment
FuriouZ Posted February 6, 2013 Share Posted February 6, 2013 Very good ! but if you add save idk maybe to xml and possible to buy them then it is just a brilliant script ! Link to comment
AJXB Posted February 6, 2013 Share Posted February 6, 2013 Its actually easy to make shops, just when make the shop, additem and a GUI panel, ( i made it simple ) Ye it would be close to this Link to comment
BlueBerry Posted February 8, 2013 Share Posted February 8, 2013 Outstanding job! Keep it up. Link to comment
Dzsipszi Posted March 9, 2013 Share Posted March 9, 2013 I only see the Inventory text here is the image: http://tinyurl.com/co6x6cb please help Link to comment
Malicious Hero. Posted March 10, 2013 Author Share Posted March 10, 2013 I only see the Inventory text here is the image:http://tinyurl.com/co6x6cb please help You haven't created any groups. https://wiki.multitheftauto.com/wiki/Her ... _Functions Link to comment
Dzsipszi Posted March 12, 2013 Share Posted March 12, 2013 You haven't created any groups. https://wiki.multitheftauto.com/wiki/Her ... _Functions Done. Thank you! Link to comment
Dzsipszi Posted March 13, 2013 Share Posted March 13, 2013 Heres another problem: [15:17:10] INFO: Hero-Inventory: Group name Drogok added. when i try to open inventory: WARNING: heroinventory\client\c_invenotry_gui.lua:59: Bad usage @ 'dxDrawImage' [Can't load file] and i change the picture size to 128x128 to. please help. Link to comment
Malicious Hero. Posted March 13, 2013 Author Share Posted March 13, 2013 Heres another problem: [15:17:10] INFO: Hero-Inventory: Group name Drogok added. when i try to open inventory: WARNING: heroinventory\client\c_invenotry_gui.lua:59: Bad usage @ 'dxDrawImage' [Can't load file] and i change the picture size to 128x128 to. please help. Make sure you add the image from the group to meta.xml. If you have done so, please post the portion of the code related to what you're trying to accomplish from meta.xml, and from where you used the group functions. Also consider to recheck the directory of the image that corresponds to the group. Link to comment
Dzsipszi Posted March 13, 2013 Share Posted March 13, 2013 Make sure you add the image from the group to meta.xml. If you have done so, please post the portion of the code related to what you're trying to accomplish from meta.xml, and from where you used the group functions. Also consider to recheck the directory of the image that corresponds to the group. Ooops, i forgot the meta.xml. Thank you! Link to comment
rain_gloom Posted April 8, 2013 Share Posted April 8, 2013 Is it possible to add inventories to -let's say- vehicles? Link to comment
Plate Posted April 17, 2013 Share Posted April 17, 2013 I found an other bug: If you play quick click before the item is removed from inventory gives you many times the item Link to comment
qaisjp Posted May 9, 2013 Share Posted May 9, 2013 but certain servers who use this resource like things their own way. Good luck!Malicious Hero., you should consider creating an API but still allow those certain servers to edit things directly. Link to comment
Spajk Posted May 10, 2013 Share Posted May 10, 2013 looks really good, I might even use it Link to comment
FuriouZ Posted May 11, 2013 Share Posted May 11, 2013 There is problem,when i additem 2 (or another one) and if i use it ,then it hides image but i can still use it. Fix it please Link to comment
Malicious Hero. Posted May 11, 2013 Author Share Posted May 11, 2013 There is problem,when i additem 2 (or another one) and if i use it ,then it hides image but i can still use it. Fix it please Can you send me your item database, and list exactly what you're doing that causes this problem? Link to comment
FuriouZ Posted May 11, 2013 Share Posted May 11, 2013 So much errors ? What you excatly need ? this ? --[[ @title HeroInventory @author Malicious Hero. - [url=https://twitter.com/MaliciousHero]https://twitter.com/MaliciousHero[/url] @copyright 2013 @description HeroInventory is a new way to expand a roleplay server's features. This resource allows a server to not only archive items; but organize them appropriately! Adding items, and groups are very simple. --]] -------------------------------------------------------------------------------------------------------- itemArchive = -- {picture, name, group_name, object-item-id, z-adjustment} { {"images/items/Hat.png", "Hat", "Clothes", 1271, 0.8}, -- ITEM ID: 1 - This is an example. (Creates a box since there isn't a hat item) {"images/items/Book.png", "Book", "Tools", 2824, 0} -- ITEM ID: 2 } Link to comment
Malicious Hero. Posted May 11, 2013 Author Share Posted May 11, 2013 So much errors ?... Do any errors show when you attempt to restart the resource? Link to comment
FuriouZ Posted May 11, 2013 Share Posted May 11, 2013 I downloaded original resource from community,then deleted this --[[ Green Stuff ]] and then if i start it then comes that much errors .. Link to comment
Malicious Hero. Posted May 12, 2013 Author Share Posted May 12, 2013 I downloaded original resource from community,then deleted this --[[ Green Stuff ]] and then if i start it then comes that much errors .. Weird. First time I've heard of this happening. It could be another resource inflicting with the inventory system. Link to comment
FuriouZ Posted May 12, 2013 Share Posted May 12, 2013 Try it add item to your inventory and then drag it away and you can drag how much you want lol. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now