Jump to content

[REL] HeroInventory - Inventory System [Groups + More]


Recommended Posts

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
  • 4 weeks later...

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
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
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
  • 4 weeks later...
  • 2 weeks later...
  • 3 weeks later...
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

So much errors ?

mta-screen_2013-05-11_14-27-50.png

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...