MV Need help with a bug or a compatibility issue?

I am currently using Moghunter Chrono Engine ABS and MRP_Grid Inventory plugins. I keep getting this bug error whenever I open the item menu, it should open an equip window and inventory window. Please see screenshot below. Any help is appreciated! Thank you. I couldn't find a link to Moghunters Chrono Engine, sorry..
MRP Grid Inventory Plugin
I am currently using Moghunter Chrono Engine ABS and MRP_Grid Inventory plugins. I keep getting this bug error whenever I open the item menu, it should open an equip window and inventory window. Please see screenshot below. Any help is appreciated! Thank you. I couldn't find a link to Moghunters Chrono Engine, sorry..
MRP Grid Inventory Plugin
Hi!

The Mog plugin is trying to do something with a battler, but the battler does not exist. I presume its an actor. So maybe you making a reference to an actor somewhere on plugin parameters or note tags, but that actor does not exist.

Are you sure it is a compatibility issue? If you disable the MRP plugin, and try open the menu again, it works? Or otherwise(disable mog plugin, and try to open the menu with MRP on)?
Hi!

The Mog plugin is trying to do something with a battler, but the battler does not exist. I presume its an actor. So maybe you making a reference to an actor somewhere on plugin parameters or note tags, but that actor does not exist.

Are you sure it is a compatibility issue? If you disable the MRP plugin, and try open the menu again, it works? Or otherwise(disable mog plugin, and try to open the menu with MRP on)?
I disabled the MRP plugin and that allows me to access the item window without any issue and the same when I turn off just the chrono engine? but together they seem to cause this.. I'm not sure why they would conflict as MRP just pulls the face graphic and creates a couple of new windows?

Update: I used the MRP Plugin demo and added only the Mog Chrono Engine Plugin, the same error occurs so I'm pretty sure this is a compatibility issue.. I'll wait for any additional advice as I know everyone is super busy!
Update: I used the MRP Plugin demo and added only the Mog Chrono Engine Plugin, the same error occurs so I'm pretty sure this is a compatibility issue.. I'll wait for any additional advice as I know everyone is super busy!
You'll likely need to ask the dev for a compatability fix because this a paid plugin so no one can look at the code.
You'll likely need to ask the dev for a compatability fix because this a paid plugin so no one can look at the code.
Hey! I have messaged the seller on the forum, hopefully in the right place this time? Thank you for your response.
If my suspicions are right, based on the natural tendency of default functions in the RM series, you were supposed to pass a character (visible creature on the map) that is already related to a battler (the invisible part holding all of the stats like HP and the like) but it could not be found as a property of that character. It's curious that only the combination of both plugins causes such an error.
If my suspicions are right, based on the natural tendency of default functions in the RM series, you were supposed to pass a character (visible creature on the map) that is already related to a battler (the invisible part holding all of the stats like HP and the like) but it could not be found as a property of that character. It's curious that only the combination of both plugins causes such an error.
I would assume it has to do with the Actor in this case as I tested the plugins on a map with no enemies or events. I am also assuming it is because the chrono engine uses a particular set of sprite sheets and is somehow not able to pull an inventory actor image because of the multiple images being uses by chrono.... just my thoughts but couldn't say? I messaged the dev about this but i'm just waiting on a response.
I think you're going one step too far in your bughunting.

The original error message is basically "cannot access battler of undefined".
But that does NOT mean that the battler itself is undefined, but that its parent object is undefined.

So basically you're missing an entire actor, not just a battler.

And that could be for a lot of reasons - like the OP having removed the entire starting party, or one of the plugins expecting the default four actors and some of them were removed - or even that the actors were deleted on the actor tab but not removed from the starting party in the system tab of the database.

and I've read nothing in the answer above to indicate that those possibilites were checked.
I think you're going one step too far in your bughunting.

The original error message is basically "cannot access battler of undefined".
But that does NOT mean that the battler itself is undefined, but that its parent object is undefined.

So basically you're missing an entire actor, not just a battler.

And that could be for a lot of reasons - like the OP having removed the entire starting party, or one of the plugins expecting the default four actors and some of them were removed - or even that the actors were deleted on the actor tab but not removed from the starting party in the system tab of the database.

and I've read nothing in the answer above to indicate that those possibilites were checked.
Hey, the reason I assumed it was a bug is because even if I create a new project with Chrono Engine combined with the Grid Plugin the error still occurs, meaning nothing was changed from the beginning, on top of this nothing has been changed in the database regarding the actors until I ran into this error. I believe the code that the error is referring too is the bold below:

var _mog_toolSys_sprtChar_setCharacter = Sprite_Character.prototype.setCharacter;
Sprite_Character.prototype.setCharacter = function(character) {
_mog_toolSys_sprtChar_setCharacter.call(this,character)
if (this._character.battler()) {this._imgIcon = ImageManager.loadSystem("IconSet")};

I thought I might not have setup the plugin correctly at first but even when I add chrono engine to the Gridview demo this error happens. Thank you.
no problem - I just like to systematically check everything when bughunting, and if something was not explicitly stated then I always check - you wouldn't believe the hundreds of times where a simple cause was overlooked because everyone jumped directly to the complex solutions.

And if that code is directly copied without typo's from where the error is, then I don't know if anyone other than moghunter can write a compatibility patch.
I know from his VXAce scripts that moghunter sometimes uses rather strange data definitions and optimizations, and some parts of that code is a prime example for that - you would need someone really experienced with Mog's code to write a compatibility patch...
no problem - I just like to systematically check everything when bughunting, and if something was not explicitly stated then I always check - you wouldn't believe the hundreds of times where a simple cause was overlooked because everyone jumped directly to the complex solutions.

And if that code is directly copied without typo's from where the error is, then I don't know if anyone other than moghunter can write a compatibility patch.
I know from his VXAce scripts that moghunter sometimes uses rather strange data definitions and optimizations, and some parts of that code is a prime example for that - you would need someone really experienced with Mog's code to write a compatibility patch...
Yeah I totally understand that, I try to give as much info as possible but my knowledge of java isn't great so I do my best. I don't think there is any chance of mog even replying to a message to be honest, his website is down and I've based my whole game around the engine lol Mogs plugins are always running into errors with other plugins, perhaps ill look for a new abs, do you have any recommendations or would you wait? I have contacted a guy named Restart, he is apparently a pro on Mog bug fixes.
my knowledge of java isn't great so I do my best.
Just so you know, RPG Maker uses JavaScript, not Java. They're two different languages.

I have contacted a guy named Restart
Restart hasn't used these forums in two years.

I don't see it in the posts here - have you tried rearranging the order of the plugins? If that's the crash you get from Mog's code, what happens when the inventory plugin is lower in the list?
I don't think either Moghunter or Restart are active anymore, and I feel like the responsibility of a compatability fix should be on the dev of your inventory plugin since he's charging for it.

For that matter, how is anyone supposed to see where the incompatibility is since the inventory plugin is paywalled?
the responsibility of a compatability fix should be on the dev of your inventory plugin since he's charging for it.
And charging a pretty penny. I don't begrudge the effort that went into it, and it looks nice, but 20 bucks for no real gameplay impact seems hefty to me. It's all UI.
Just so you know, RPG Maker uses JavaScript, not Java. They're two different languages.


Restart hasn't used these forums in two years.

I don't see it in the posts here - have you tried rearranging the order of the plugins? If that's the crash you get from Mog's code, what happens when the inventory plugin is lower in the list?
And that sums up my knowledge exactly lol thank you for educating me. I have changed the order of the plugin and the same issues occurs in any order. I have since found a new plugin from Pheonix KageDesu regarding a grid inventory so maybe i'll give that a go and see what happens. I think at this point it might be better to try something different.
Holy sweet mother Theresa I figured it out on my own! All I needed to do was add // to cancel the search of the battler, everything works as it should and disaster diverted! I just want to say a massive thank you to everyone who gave me some advice and help in trying to solve this issue. You guys are all awesome!I can't believe It was that simple?... I hope this helps anyone else using the two plugins combined.


var _mog_toolSys_sprtChar_setCharacter = Sprite_Character.prototype.setCharacter;
Sprite_Character.prototype.setCharacter = function(character) {
_mog_toolSys_sprtChar_setCharacter.call(this,character)
//if (this._character.battler()) {this._imgIcon = ImageManager.loadSystem("IconSet")};
thank you so much! was trying to figure this out
As this thread was previously solved, it is now closed. Should OP need the thread reopened, it can reported to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-a-bug-or-a-compatibility-issue.159747/