Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

cannot read property length of undefine" <=== error when i won a battle with monsters and after click victory , seems your plugin has many bugs, pls fix asap thks

(1 edit)

Can you post the console report?


EDIT: In exactly what situation was this bug generated? During tactical battle?

Ok how do i get the console report

it happened right after i completed a battle and kill all enemy and it went to victory and get loot and after that it happens

(1 edit)

The only way for that line of code to execute is during a TBS battle or do you mean after victory is confirmed it bugs out on the same map?

(+1)

Yes thats correct

You may try this update: v1.5.7 - Some adjustments - RPG Maker MV/MZ: Tactical Battle System by Synrec (itch.io)

js/plugins/Alpha_ABS_build.js:2728 XDev KDCore is loaded 2.6.1

(anonymous) @ js/plugins/Alpha_ABS_build.js:2728

js/plugins/PKD_SimpleQuestSystem.js:582 XDev KDCore 2.5.1 skipped by new version

js/plugins/PKD_SimpleCrafting.js:7187   KDCore is loaded 3.2.2

js/plugins/PKD_MapInventory.js:1054 XDev KDCore 2.6 skipped by new version

js/plugins/PKD_SimpleSkillsTree.js:7176   KDCore is loaded 3.2.7

js/plugins/Alpha_ABS_build.js:6424 Unable to parse region actor array. Error: SyntaxError: Unexpected end of JSON input

console.error @ js/plugins/Alpha_ABS_build.js:6424

js/plugins/Alpha_ABS_build.js:6430 Failed to register plugin command. Potentially using MV. MV Mode is set to: true

console.warn @ js/plugins/Alpha_ABS_build.js:6430

js/plugins/PKD_ExtendedLoot.js:1774 XDev KDCore 2.8.2 skipped by new or exists version

pixi.js:27682 

    PixiJS 4.5.4 - ✰ WebGL ✰      http://www.pixijs.com/    ♥♥♥ 

js/plugins/Alpha_ABS_build.js:25574 Load font Acme.ttf

js/plugins/Alpha_ABS_build.js:25574 Load font KhmerUI.ttf

js/plugins/Alpha_ABS_build.js:25574 Load font KhmerUIb.ttf

js/plugins/Alpha_ABS_build.js:25574 Load font mplus-1m-regular.ttf

js/plugins/Alpha_ABS_build.js:3676 Alpha ABS : Build 1250 [PRO] on MV 1.6.1

js/plugins/PKD_SimpleSkillsTree.js:2419 Alpha ABS : YEP_BattleEngineCore finded - supported

rpg_core.js:6178 Deprecation warning. Please update YEP_CoreEngine. ScreenSprite is not a sprite, it has graphics inside.

js/plugins/Alpha_ABS_build.js:25574 Load font Acme.ttf

js/plugins/Alpha_ABS_build.js:25574 Load font KhmerUI.ttf

js/plugins/Alpha_ABS_build.js:25574 Load font KhmerUIb.ttf

js/plugins/Alpha_ABS_build.js:25574 Load font mplus-1m-regular.ttf

js/plugins/Alpha_ABS_build.js:3676 Alpha ABS : Warning! ABS Skill has no type! Triple Attack

js/plugins/Alpha_ABS_build.js:3676 Alpha ABS : Warning! ABS Skill has no type! Triple Attack

js/plugins/Alpha_ABS_build.js:3676 Alpha ABS : Warning! ABS Skill has no type! Triple Attack

js/plugins/Alpha_ABS_build.js:3676 Alpha ABS : Warning! ABS Skill has no type! Triple Attack

js/plugins/Alpha_ABS_build.js:6424 Using AlphaABS [Build: 1250 ; on MV  1.6.1]

console.error @ js/plugins/Alpha_ABS_build.js:6424

js/plugins/Alpha_ABS_build.js:6424 TypeError: Cannot read property 'length' of undefined

    at Spriteset_Map.createCharacters (js/plugins/Synrec_TBS.js:22388)

    at Spriteset_Map.createCharacters (js/plugins/GALV_BasicEventShadows.js:114)

    at Spriteset_Map.createLowerLayer (rpg_sprites.js:2268)

    at Spriteset_Map.createLowerLayer (js/plugins/Synrec_TBS.js:21741)

    at Spriteset_Map.createLowerLayer (js/plugins/GALV_LayerGraphics.js:466)

    at Spriteset_Map.Spriteset_Base.initialize (rpg_sprites.js:2128)

    at Spriteset_Map.initialize (rpg_sprites.js:2261)

    at Spriteset_Map.initialize (js/plugins/Alpha_ABS_build.js:46890)

    at Spriteset_Map.initialize (js/plugins/Synrec_TBS.js:21733)

    at new Spriteset_Map (rpg_sprites.js:2254)

console.error @ js/plugins/Alpha_ABS_build.js:6424

Ok above the console error log

Is there a way to disable Alpha ABS on the TBS map?

The check for if tactical battle is running is $gameMap.isTBS()

yes for TBS maps , i did not enable ABS, abs need to add a tag in the map note section for abs which i did not add, so its disabled for all TBS maps already

ok how do i use this ==> $gameMap.isTBS()  

Forget this for now. If it bugs out on the same map I'll do some checks on my end.

Any updates on this?

Please see latest update 

yes current the bug is still there on the same map

When the bug pops up, please run code in console:

$gameMap.isTBS()

yes as written below error happened when ===>  error when i won a battle with monsters and after click victory