Hi, I am glad you like the plugin. I am not able to reproduce the crash, and it should work when the background parameter is left blank. Could you post the full error trace from the dev tools console?
MZ [CGMZ] Skill Shop
JS Plugin Releases (RMMZ)Hello, thanks for your reply. I have a project that I have been using to test plugins. This is what happens when I don't have a '1' in the background field:
Here is the event that I used on the test project:
And here are the plugins currently in the test project:
Please let me stress that with the 1 in the background field this plugin works fine, and I have put it into the project that I am working on.
I have about half an hours domestic stuff to do now, but if there is anything else you need, I will check this thread later.
Here is the event that I used on the test project:
And here are the plugins currently in the test project:
Please let me stress that with the 1 in the background field this plugin works fine, and I have put it into the project that I am working on.
I have about half an hours domestic stuff to do now, but if there is anything else you need, I will check this thread later.
@Piyan Glupak Thanks for the dev tools error trace. I don't believe it has anything to do with the background parameter. From the trace it looks like it occurs when you cancel out of the skill list window while the actor window is scrolled down, so for example select a skill -> hover over an actor that needs to scroll the actor window down -> cancel out of actor select -> cancel out of skill select.
Can you try changing line 1959 from:
to:
It seems to fix the issue for me, but I will do some more testing as well.
Can you try changing line 1959 from:
Code:
if(!actor) return;
Code:
if(!actor || !this._skill) return;
@CasperGaming - It works for me on the test project, and I intend to modify the copy in my proper project.🙂 Thank you.
Thinking about it, on the test project if I forgot to visit the event that gives the party money, I didn't get any problems with the event with the Skill Shop. I couldn't buy any party members a skill, of course. The Skill Shop scene doesn't seem to give the player access to the actor window if the party has no money.
Edit: I tried the modified version in my main project and it works fine without anything in "Background".
Thinking about it, on the test project if I forgot to visit the event that gives the party money, I didn't get any problems with the event with the Skill Shop. I couldn't buy any party members a skill, of course. The Skill Shop scene doesn't seem to give the player access to the actor window if the party has no money.
Edit: I tried the modified version in my main project and it works fine without anything in "Background".
Hi all, today this plugin was updated to version 1.3.0! 👋
This update makes the skill shop compatible with [CGMZ] Currency System. You can now use alternate currencies in the skill shop and have it correctly remove the price from the currency when buying a skill.
Version 1.3.0
- Skill Shop now compatible with [CGMZ] Currency System
Hi all, today this plugin was updated to version 1.4.0! 👋
This update adds the switch condition to your skill shop goods, so you can now make certain skills only appear if a switch is on without needing to use tedious eventing to cover every scenario with separate call scene plugin commands.
This update also moved the walking sprite in the shop to use an actual sprite object instead of repainting the bitmap every update. Along with this, an x and y offset was added to make it more likely to fit any custom sprite sizes your game might use.
This update adds the option to display a Battler sprite instead of the face or character. You can optionally choose the battler sprite motion as well. See below gif for how it can look:
This update also makes the skill shop skip invalid goods instead of crash if it detects an invalid good json in your plugin command.
Version 1.4.0
- Added switch condition to skill shop goods
- Added battler sprite option
- Added walk sprite x and y offsets
- Reduced possible crashes for invalid json
Original thread: https://forums.rpgmakerweb.com/threads/cgmz-skill-shop.149659/