Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hello, I have purchased this plugin but I cannot get it to work at all.
If I try to open an inventory (a chest) it does not do anything. Also Player inventory does not change at all.
Is there anything specific that needs to be setup ? Any plugins that are neccesary to run this ?

(1 edit)

Thank you for your purchase. In order for the plugin to work it needs a few files. (2 files for custom icons and one for highlighted windows). I have written a small section about it above now. I geuss you were missing these files which is why it did not work.

If it still does not work after getting the needed files feel free to contact me and I'll figure out how to fix your issue.

I did all three steps, the inventory still does not show up in the game. Also at the first mention you say 'InventoryIcons.data' and then you say InventoryIcons.json.
I generated the JSON file and it has a different syntax than the example you present here. It has more info:

{
"frame": {"x":1952,"y":768,"w":32,"h":32},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
"sourceSize": {"w":32,"h":32}
},

Also are you sure there is some step neccesarry to do you are not mentioning ? Like some plugin activation or something ?

I use the Plugin Command OpenInventory but it does not do anything.

Do you have some kind of a demo for this plugin ?

You are indeed right it is InventoryIcons.json not InventoryIcons.data. That was a typo sorry.

The json file does indeed contain more information than needed when made using TexturePacker, but that should be fine it only uses the parts mentioned in the post atm.

I did notice a couple of other typoes in the instruction part of the plugin, and I'll fix them later today and make a small demo.

I am sorry for the inconvenience. If the inventory does not show up in the game then it is most likely caused by the plugin catching an exception. 

Which version of RPGMaker MV are you using? I am pretty sure I have some code which is only working on version 1.6.1 or newer. If you are using a previous version let me know and I'll make a compatible version. :)

I am using 1.6.2.
I Will wait for the demo. I still did not get it working.

Ok I run the debugger, it says error on line 1124 in the plugin

Uncaught SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at MRP_GridInventory.js:1124

Ok I managed to fix it and now the inventory actually shows. The thing is there is almost no documentation for this plugin. I did not have any Window types because I thought the plugin was setup to work by itself in a default setting.

But now when I open up an inventory (chest) there is nothing in it and I cannot put stuff in, I cannot see the grid.
This plugin needs some serious documentation or demo.

I have now made a small working demo of the plugin which you can download above. However, I do not think it can replace proper documentation. So I'll write a proper more in depth documentation on a later date when I get time. :)

(+1)

Cheers man, I got it working, thanks to the demo. It was basically my own stupid mistake.

The demo is very helpful