Hi. I'm making something in RPG Maker MV using some plugins from yanfly.moe (I'll leave a screenshot of my load order). Whenever I try to enter the quest journal included with on of the plugins, I get the error "cannot read 'ToLocaleString' of undefined". I don't know anything about javascript, so this is complete gibberish to me. It seems to occur at multiple instances in the code (again, screenshot included) but I have no idea how to fix this. Help would be greatly appreciated, thanks.
"ToLocaleString" Bug in Yanfly
Javascript/Plugin SupportActually I don't know what may cause it. but I noticed two things you might consider:
#1 - remove Community_Basic plugin, since you have YEP_CoreEngine.
#2 - YEP_QuestJournal is kinda difficult to edit so I suggest replacing it with GALV_QuestLog plugin (it's much easier to edit and control within game and personaly I wouldn't change it to anything else. If you decide to switch to GALV_QuestLog I gladly help you convert your quests from Yanfly's Quest log to GALV's.
#1 - remove Community_Basic plugin, since you have YEP_CoreEngine.
#2 - YEP_QuestJournal is kinda difficult to edit so I suggest replacing it with GALV_QuestLog plugin (it's much easier to edit and control within game and personaly I wouldn't change it to anything else. If you decide to switch to GALV_QuestLog I gladly help you convert your quests from Yanfly's Quest log to GALV's.
your problem is not "tolocalestring", it is the "of undefined".
does this happen if you start a new game at the project titlescreen, or when you load a saved file or in both cases?
does this happen if you start a new game at the project titlescreen, or when you load a saved file or in both cases?
Hi, this happens when I start a new game at titlescreen. I don't know if it happens when loading a saved file as I'm only just added questjournal. Thanks for the help.
I removed the community basic plugin, but the issue still occurs. I'll try GALV but I would like to get YEPQuestJournal working as I paid for a bundle. Also since this issue seems to occur in code across multiple YEP plugins, I think I may encounter this issue again in other plugins. Thanks.
then it looks as if you configured the quest journal wrong and have a bug in its configuration somewhere.
I've had this a few times- for me it was due to trying to change the categories rather than just the text that the categories showed, which looks to be the same issue you're having.
Basically, don't change the categories in the "Category Order" section under "Quest Category Window", just change the "Available Text", "Completed Text", "Failed Text", and "All Text" section underneath it.
Basically, don't change the categories in the "Category Order" section under "Quest Category Window", just change the "Available Text", "Completed Text", "Failed Text", and "All Text" section underneath it.
Original thread: https://forums.rpgmakerweb.com/threads/tolocalestring-bug-in-yanfly.122902/