Yami Sideview Battler Enhancement

I'm probably doing something very very wrong, but Yami`s plugins is not working for me :/

I get : "
Cannot read property 'index' of undefined
at Sprite_Actor.updateSideviewFrame " once I get into battle. Have no idea why it`s giving me this error, it seams to not being able to load the sprites.
This is the notetags i`m using:
Spoiler: Notetags
<battle command: use_skill 1 />
<battle command: use_skill 2 />
<battle command: item />
<battle command: use_skill 298 />

<Sideview Battler: Stella>
<Sideview Battler Frames: 14>
<Sideview Battler Size: 310, 310>
<Sideview Battler Motion>
Name: Spell
Index: 0
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Thrust
Index: 0
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Swing
Index: 0
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Missile
Index: 0
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Skill
Index: 1
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Attack
Index: 1
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Dead
Index: 2
Loop
Frames: 10
Speed: 15
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Sleep
Index: 3
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Poison
Index: 4
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Wait
Index: 5
Loop
Frames: 14
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Chant
Index: 6
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Damage
Index: 7
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Dying
Index: 8
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Evade
Index: 9
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Escape
Index: 9
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>
<Sideview Battler Motion>
Name: Item
Index: 10
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>

<Sideview Battler Motion>
Name: Victory
Index: 11
Loop
Frames: 10
Speed: 60
</Sideview Battler Motion>

This are the sprites:
Spoiler
2uo0siq.png

And this are my plugins:
1t8sxi.png


Anyone have an Idea what can it be? Any help is appreciated.
I felt like checking it out, and seems like the Index "Spell" can't be handled, after I changed it to "Walk" instead of calling it "Spell" the index error was gone, hope it helps you. 🙂

Edit: Oh and if the dimensions are the same as the sprite u've uploaded you need to change the size of the battler atleast i had to , from 310, 310 to 128, 128. 😛

Edit²: If it works without problems for you let me know, since I've encountered a problem, the animation wasn't playing fluently, instead of switching image to image it was more likely to drive throu the image.

Edit³: Something which might also happen to you is that your character will be completely out of position even if the animation plays right, aslong as you have the same dimensions as the picture you've posted "1599x1367" since she isn't placed in the middle of each frame, you can check it out at the picture i've uploaded.

Leftside is the original you've uploaded, rightside the one how it should be more or less atleast at the first row, she needs to be centered in the middle of the box (the box also got a size of 128x128).
Hope it might help you out with some problems.

Stella Adjusting.jpg


Edit4: Jeez, I found the solution of my "Edit²" it actually only happend because the sprite was going into another frame the flaw I've listed at "Edit³" that made it bugged somehow, and instead of switchting instantly the picture it will move like a river through the frames, might be useful to know for others aswell, haha. 😀

Edit5: But I guess your main problem was, which caused the index error, you didn't set the "Walk Motion" thats the only one which is needed always as far as I know, it's also listed at the Note of the Sideview Battlers:

"3. All battlers should have the motion "walk". If any of default motions is not setup, the "other" motion will be used, "walk" will be used instead if "other" hasn't been setup."

Edit6: Seems like I'm on fire right now haha, before you gonna encounter the same problem like me, having problems on enemies using Yami's Sideview Battler you might wanna check out if the Battler works on enemies aswell by using the edited Sprite I've uploaded of yours.

Spoiler: Here you can also find my Notetags for your Sprite :)
<battle command: use_skill 1 />

<battle command: use_skill 2 />

<battle command: item />

<battle command: use_skill 298 />



<Sideview Battler: Stella>

<Sideview Height: 100>
(Used height to adjust the character for my plugins dunno if you really gonna need it 😛)

<Sideview Battler Size: 128, 128>

<Sideview Battler Frames: 14>

<Sideview Battler Speed: 5>



<Sideview Battler Motion>

Name: Wait

Index: 0

Loop

Frames: 10

Speed: 5



</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Walk

Index: 0

Loop

Frames: 10

Speed: 5

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Thrust

Index: 0

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Swing

Index: 0

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Missle

Index: 0

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Skill

Index: 1

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Attack

Index: 1

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Dead

Index: 2

Loop

Frames: 10

Speed: 15

</Sideview Battler Motion>

<Sideview Battler Motion>

Name: Sleep

Index: 3

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Poison

Index: 4

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>

<Sideview Battler Motion>

Name: Wait

Index: 5

Loop

Frames: 14

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Chant

Index: 6

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>

<Sideview Battler Motion>

Name: Damage

Index: 7

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Dying

Index: 8

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Evade

Index: 9

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Escape

Index: 9

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Item

Index: 10

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



<Sideview Battler Motion>

Name: Victory

Index: 11

Loop

Frames: 10

Speed: 60

</Sideview Battler Motion>



And here's the Sprite:

(If its not gonna work check out the link and get the Sideview fix uploaded by ashikai (post #14): https://forums.rpgmakerweb.com/inde...eview-enemy-when-using-multiple-frames.78442/
Stella.png
OMg Thank You very much. I just came back from a work travelling week and found you figured out the main error in my project! Gonna try out as soon as I hit home.
I was almost redoing my animations on dragonbones from scratch. Ty Vm!

Original thread: https://forums.rpgmakerweb.com/threads/yami-sideview-battler-enhancement.90248/