Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Dualtechs for RPG Maker MV and MZ

Let your actors combine their skills in RPG Maker MV and MZ · By HeroicJay

Type Error: Cannot read 'item' of undefined

A topic by One-Nil |Team Studios created Dec 27, 2023 Views: 138 Replies: 5
Viewing posts 1 to 2
(3 edits)

Hello there, it's us again. :D"

Unfortunately, we stumbled upon yet another error message. :

This again had nothing to do with using a Dualtech (there weren't even members present who could've used them).
Unfortunately, I can't reproduce this one consistently.

But I'll try my best to explain what happened when that error popped up.
A character used a skill that applied a haste state (CTB Speed+25% / ctb order: targets, -2); the character then got hit by a Speed malus (reducing Agility to 1) after that a qued skill from a different character hit an enemy and the game crashed. I could reproduce this one more time and the setup was quite similar. 

EDIT: If I remember correctly, one of the enemies was charging an attack and got hit with a sleep state. Don't know if that would be of any importance.

EDIT 2: To me, it seems that the game crashes, once the turn order is altered with skills (like using "CTB SPEED: targets, +20%" "ctb order: targets, -1" commands in action sequencing) and an actor/enemy has a restriction (cannot move in that case), but cannot confirm 100%.


Sorry that I can't be of much more help right now, I'll try to capture the error later. But maybe you've got a hunch about what could cause this. Sorry again and have a good time! 

Developer(+1)

Sorry for the long response. Life happens, y'know.

I'm afraid I didn't quite have enough info to repro this, but I had a hunch what was causing it between looking at Yanfly's code and my own. As such, I have a possible fix, but I can't 100% guarantee this one. (Actually, if I'm right, the error isn't far off from what caused the last one.)

(2 edits)

All good, I was pretty confident that you'd respond one day :D
I can also keep trying to reproduce the error while recording, which may give a little more insight.
And yeah, it may not seem that far off from last time, since the game supposedly crashes once a character

makes their move after the one causing the issue. Thanks a lot for your time!

EDIT:  I may have a hunch here. I got it to reproduce several times now.
HOWEVER: This only happens when Rubberbanding in the CTB settings is OFF. I haven't encountered the bug once
after rubberbanding was switched back on. 

Here's still another video:

Developer (1 edit)

Did the new version (3.2.2) not work?

Sorry, I haven't seen that there's been an update! I'll give it a shot later today! :)

Okay, it does seem to work! I couldn't reproduce the error over a long amount of time. So the newer version does seem to do the trick!
Thanks a lot again!