- Joined
- Jun 6, 2020
- Messages
- 549
- Reaction score
- 238
- First Language
- English
- Primarily Uses
- RMMV
I have 7-zip but it says it can't open it.
sooo.....i made that console edit you told me to....and it fully fixed it. i know it was supposed to give only the necessary info to fix the problem, but it did on it's ownDid you try editing the plugin to replace this function? Here's an updated version that logs to the console instead of crashing when the error occurs, so if you could make this edit, do whatever it is you do to produce the error, and then show me what you find in the console (even if you don't get the error), that could help. Just find the chunk of code that looks almost the same as this (you can search "reserveFriendImages" in the file) and replace it. Maybe consider making a backup of the plugin file first in case you need to revert the edit.
JavaScript:Scene_ActorsFriendship.prototype.reserveFriendImages = function() { for(var i = 0; i < $gameActors._data.length; i++) { var actor = $gameActors._data[i]; if(actor && actor.isAfsLeaderVisible()) { for(let j = 0; j < actor._afsFriendList; j++) { let friend = $gameActors.actor(actor._afsFriendList[j]); if(friend) ImageManager.reserveFace(friend.faceName()); else console.warn("Couldn't find friend actor!?", actor, actor._afsFriendList, j) } if(Moogle_X.AFS.singleLeaderScene) return; } } };
You're right, I misread it somehow.1) that's 12 not 32