Weapon Unleash Error When Forced to Attack

Joined
Aug 16, 2019
Messages
15
Reaction score
2
First Language
English
Primarily Uses
RMMV
I'm using RPG Maker MV 1.6.2 and Yanfly plugins

Whenever I have an actor with a replaced attack (with Weapon Unleash plugin) and they're forced to attack via state, an error always appears.
 

Attachments

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
Can you please show Screenshots of:

1. The replaced attack

2. The state which forces the attack

Anything else that might be relevant like is there any battle events or equipment? Or any notetags that you wrote some custom code.
 
Joined
Aug 16, 2019
Messages
15
Reaction score
2
First Language
English
Primarily Uses
RMMV
Weapon Unleash Notetag:
upload_2019-8-26_18-36-59.png
Skill:
upload_2019-8-26_18-46-4.png
State:
upload_2019-8-26_18-37-52.png
I don't have any battle events or equipment with script :s
 
Joined
Aug 16, 2019
Messages
15
Reaction score
2
First Language
English
Primarily Uses
RMMV
oh right the damage formula got cut off:
(a.atk * 2 - b.def * 2) + (a.agi * 0.01 * a.level)
 
Joined
Aug 16, 2019
Messages
15
Reaction score
2
First Language
English
Primarily Uses
RMMV
I've tried turning off all other plugins as well and there is still an error when forced to attack with a replaced attack. (The plugin definitely still works without even Core Engine)
upload_2019-8-27_16-42-48.png
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
Please give us a screenshot of your plugins. Then we can rule out some things.
 

Johnboy

Veteran
Veteran
Joined
Jan 13, 2016
Messages
344
Reaction score
124
First Language
English
Primarily Uses
Reorganize your Yanfly plugins in the order shown on the website, save your project, and then try it again.
 
Joined
Aug 16, 2019
Messages
15
Reaction score
2
First Language
English
Primarily Uses
RMMV
I've reorganized them according to the order on the website now.
upload_2019-8-27_23-34-48.png
upload_2019-8-27_23-34-59.png
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
does the error happen when you start a new game, when you load a saved game, or in both cases?
 
Joined
Aug 16, 2019
Messages
15
Reaction score
2
First Language
English
Primarily Uses
RMMV
The error is there whether it's a new or loaded game.
 
Joined
Aug 16, 2019
Messages
15
Reaction score
2
First Language
English
Primarily Uses
RMMV
Ok I think I've found the problem.
The skill I've been focused on so much targets MULTIPLE random enemies.

I've tested the target selection with 1 enemy, all enemies and 1 random enemy and the scenario plays out fine.
I've also tested target selection for 1 ally and all allies, which cause the skill to target an enemy regardless ( I assume it's supposed to happen with the state restriction).

TLDR: The skill's target scope affected the plugin's usability in this situation, everything besides multiple random enemies works fine.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
then your troop data is somehow damaged, or something messed up the random targeting.

The original error happens when the engine tries to use data that doesn't exist. If it happens with random targeting only, then the target that results from the random selection does not exist.

and that means either the troop data (which contains all targets) is messed up or the function for random selection.
Please give us a console screenshot of the moment when the error message happens - and use [alt]-[prtscrn] instead of only [prtscrn] to make the screenshots better readable.

EDIT: Make sure you started a new game when making the screenshots, do NOT load a saved game for this)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
1) please rename your project folder to follow networking rules.
Having letters or symbols that are not allowed under networking rules inside the folderpath will cause problems with loading data.
every symbol or letter that is replaced by a %-number combination in browser error messages is one such problem, because that override doesn't work everywhere.
In your case it's the spaces that are replaced by %20

2) There is a reason why I asked you to use [alt]-[prtscrn] instead of asking you to cut away everything - I can't tell from your partial screenshot if there is nothing else or if you cut away part of the important info on the console.
Can you please give a console screenshot done with [alt]-[prtscrn], without cutting away anything?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top