[Solved] HIME_ActorBattleCommands crashing game when Fight button pressed (TypeError: Cannot read property 'length' of undefined)

goldrat1

Veteran
Veteran
Joined
Nov 4, 2016
Messages
37
Reaction score
4
First Language
English
Primarily Uses
RMMV
I hope I'm posting this in the right board.
I've just installed Himework's Actor Battle Commands so I can change the menu layout to what I prefer.
I'm trying to use this set of battle commands:

<battle command: skill_type 3 />
<battle command: guard />
<battle command: skill_type 2 />
<battle command: item />

But whenever I enter a fight and use the Fight command, I get this error:
1581202387502.png
This happens regardless if I put the above code into the actor's notes.
Here's a list of plugins I'm using, note that I've turned YEP_BattleEngine and its dependents off because I was getting another error whenever I started a fight, hopefully once I fix this crash the other will fix as well and I can turn on BattleEngineCore again.

Any other information needed, just let me know, desperately need help with this!
 

goldrat1

Veteran
Veteran
Joined
Nov 4, 2016
Messages
37
Reaction score
4
First Language
English
Primarily Uses
RMMV
I would use Bobstah's Battle Commands with a couple of edits that were made to the plugin. That should work.

Thanks! How would I replicate what I'm trying to do above with that plugin edit? I'm guessing it's the same kind of deal, putting it in the Actor notes, but I haven't a clue what to put there. The documentation of this plugin's a bit of a mess to a newbie :/
 

goldrat1

Veteran
Veteran
Joined
Nov 4, 2016
Messages
37
Reaction score
4
First Language
English
Primarily Uses
RMMV
Thanks! How would I replicate what I'm trying to do above with that plugin edit? I'm guessing it's the same kind of deal, putting it in the Actor notes, but I haven't a clue what to put there. The documentation of this plugin's a bit of a mess to a newbie :/
Incredible! This plugin also causes a crash whenever I press the attack button! Which is funny, cause that's the button I've been trying to remove all this time. This crash happens even if I haven't entered anything at all in the class or actor notes.
Capture.PNG

Any pointers to what I'm doing wrong?
 

RK DracoRoy

Fire Emblem RPG Gamer
Veteran
Joined
Jun 29, 2017
Messages
259
Reaction score
76
First Language
English
Primarily Uses
RMMV
Oh, that doesn't happen to me!

I would say put the battle commands list on the Class, not on the actor.

Is it just the Attack button that's causing the problem? Don't include the attack skill on the list.

Have this for example:

Class notetag:
----------------------------------------
<Battle Commands>
Weapon Cmd
Skill: X
Skills
Items
Equip
actorswitch
</Battle Commands>

Weapon notetag
-------------------------------------------
<Battle Commands>
Skill: X
</Battle Commands>

For Skill: X, it can be any number, make sure to also add the skill as a trait for it to work.

-----------------------
Edit: Maybe try it in a clean project or perhaps with plugins turned off.
 

goldrat1

Veteran
Veteran
Joined
Nov 4, 2016
Messages
37
Reaction score
4
First Language
English
Primarily Uses
RMMV
Th
Oh, that doesn't happen to me!

I would say put the battle commands list on the Class, not on the actor.

Is it just the Attack button that's causing the problem? Don't include the attack skill on the list.

Have this for example:

Class notetag:
----------------------------------------
<Battle Commands>
Weapon Cmd
Skill: X
Skills
Items
Equip
actorswitch
</Battle Commands>

Weapon notetag
-------------------------------------------
<Battle Commands>
Skill: X
</Battle Commands>

For Skill: X, it can be any number, make sure to also add the skill as a trait for it to work.

-----------------------
Edit: Maybe try it in a clean project or perhaps with plugins turned off.
Thanks for the suggestion! I made a clean project and enabled six plugins, and I get the exact same error when I try to use a move:
1581226504691.png
I turned off all other plugins and it does the exact same thing.
I've put in *exactly* what you've said above, using Skill Number 10, etc etc. I'm still completely stumped. Hope you can get back to me soon, this is getting very irritating. I just wanted to be able to choose what skill to use instead of that stupid attack button! Still don't understand why that's the default in the first place, and why there isn't an in-built option to change it. Oh well.
Still need help, thanks!
 

goldrat1

Veteran
Veteran
Joined
Nov 4, 2016
Messages
37
Reaction score
4
First Language
English
Primarily Uses
RMMV
Good news! I think we've gotten it to work! For anyone who finds this in future, I believe my version of the plugin was corrupted or something, so Draco sent me a version in a demo and I replaced my version with his. No more crashes!
Just in case someone needs it, and I hope this is legal or whatever, here's the version I'm using now. All credits to Bobstah for the original plugin and to waynee95 for the edit.
 

Attachments

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

Latest Threads

Latest Posts

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,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top