Thank you for the reply. I replaced the original one to .Js folder. Actually this plugin works. It means there is a problem with my achievement. Thanks!
Edit: Yes, it's my fault. I Forgot to add [ , ] at the end off the line before make new line...
Thank you for the reply. I replaced the original one to .Js folder. Actually this plugin works. It means there is a problem with my achievement. Thanks!
i assumed you meant original.js as in the original plugin file without any changes made to it, i downloaded the plugin again but didnt change anything(except for the file name so it wouldnt overwrite my original js file) and the problem actually persisted! so its not any error i did, thats all i can really say now, still dont know what causes this.
i did the test, created a new project and only put the original js, and it worked perfectly fine, so its a problem with my project especifically, i dont remember ever updating my project so i searched online how to do it, did it, and still no luck
from other forum
oh yeah, have you test the modified plugin too?
did that, found out it was actually yanflys save core plugin that was causing the issue all along, without it enabled it works fine, thanks alot for your help! i really appreaciate it.
That error usually occurs when you make a typo or if you have no achievement defined. When does it occur? When you enter the achievement menu, or when you call an achievement via script call?
It works on the other computer but on this one I'm using. How and where can I FIX it?
I call an achievement via a script call. How can I fix it?
There's no magic fix. It depends on what is causing the issue. I have no idea why it works on one computer and not on the other. I would just check the spelling, upper cases and lower cases (it is case sensitive), etc. It may also be caused if you play on an older save that was made before you added the plugin (you'd need to do a new game then).
Oh so that what's causing the problem? I need to test out the whole game to look for missed errors and start a new game if the bug is fixed.
That alert window only pop outs if you're trying to access an achievement that doesn't exist. That usually happens when there's a typo (obviously since the game can't find the achievement), or when the achievement hasn't been initialized, which happens when you start a new game. So yeah, if you were playing on a save file that was created before you added the achievement to the list, then it's going to throw you this error. But rest assured, in a new game there shouldn't be any error.
Okay, that will work! Thanks!
The plugin wasn't designed for such a feature unfortunately. It only sets the achievement name to the system color (the blue-ish color), or it grays it. If you're interested this is the function that changes the color:
Window_mushMenuAchievementCommand_P1.prototype.changeColor2 = function(unlocked, sd) {
if (unlocked == true) {
this.changeTextColor(this.systemColor());
} else {
var n = sd.textColorNotUnlocked;
this.changeTextColor( this.textColor(n) );
}
};
Original thread: https://forums.rpgmakerweb.com/threads/mush-advance-achievement-system.93569/