Error: Uncaught TypeError: undefined is not a function

● ARCHIVED · READ-ONLY
Started by 2tbc1887 18 posts View original ↗
  1. Whenever I save the game, this error pops up...
    Uncaught TypeError: undefined is not a function
    rpg_managers.js:1589 file:///D:/REDACTED/Battle%20For%20Earth/Battle%20For%20Earth/js/plugins/YEP_SaveCore.js 1394
    /D:/REDACTED/Battle%20For%20Earth/Battle%20For%20Earth/js/plugins/YEP_SaveCore.js:1394 Uncaught TypeError: undefined is not a function

    I have no idea how to fix it...
  2. 1) please remove the spaces from your folder names, they will cause problems in the long run
    2) does this happen after you already loaded a savefile or on new game?
    3) please post a screenshot of your plugin manager so that we can see which plugins you have and if they are in the correct order.
  3. IZxOV
    Plugins:
    Saving a new game
    I can't remove the space names because it's part of a group sync

    I also don't know how to add the plugin separators :/
  4. 2tbc1887 said:
    it's part of a group sync

    If that means your folder is syncing with an online source or with other computers, I strongly advise you to move your project right away!

    Syncing is known to cause massive problems with projects - lost files, reverted files. You don't want to go there.

    Could you please check what version of core files you have - you need to go into your project's js folder, open the rpg_core.js and look for the version on the top couple of lines. If there isn't one there, it means you're probably using 1.0.0

    Then please open the dev tools when you get the error (hit F8) and take a screenshot of the console and post it here.



    Edit - verified. StorageManager.cleanBackup (which is the line causing the error) was introduced in version 1.1.0 - you must be using 1.0.0 core files. Create a brand new project (in a safer place, and without spaces in the path name), reinstall your plugins, then copy over your data files and any other resources you might have added.
  5. Shaz said:
    If that means your folder is syncing with an online source or with other computers, I strongly advise you to move your project right away!

    Syncing is known to cause massive problems with projects - lost files, reverted files. You don't want to go there.

    Could you please check what version of core files you have - you need to go into your project's js folder, open the rpg_core.js and look for the version on the top couple of lines. If there isn't one there, it means you're probably using 1.0.0

    Then please open the dev tools when you get the error (hit F8) and take a screenshot of the console and post it here.


    Error:
    Console:
    With syncing, i'm the only one with RPGMV. I have frequent backups so yeah :) It's mostly between my desktop and laptop - the others don't touch it at all really
  6. Doesn't matter. Syncing ANYWHERE will cause problems.

    I added another comment to my post before you quoted me. You're using a very old version of the core files and you need to update. Best way is to start a brand new project.
  7. Shaz said:
    Doesn't matter. Syncing ANYWHERE will cause problems.

    I added another comment to my post before you quoted me. You're using a very old version of the core files and you need to update. Best way is to start a brand new project.

    Is there any shorter way? (like just updating the core files and trying again?

    JUST REALISED WHAT YOU MEANT OK
  8. let us know how that goes.

    Do you have the Steam version or the standalone version?
  9. Shaz said:
    let us know how that goes.

    Do you have the Steam version or the standalone version?

    Moved from a *pirated* version to the paid steam version cause I really liked the program
  10. Any projects you had started on, you should follow that process - create a NEW project in the new paid steam version, and copy over your data folder, any resources, and reinstall any plugins.

    Just make sure you don't copy over the js file itself, or the index.html file, from your old projects, or you will break things.
  11. Shaz said:
    Any projects you had started on, you should follow that process - create a NEW project in the new paid steam version, and copy over your data folder, any resources, and reinstall any plugins.

    Just make sure you don't copy over the js file itself, or the index.html file, from your old projects, or you will break things.


    Ok so is it ok to copy over: plugin files
    data folder contents
  12. You can copy everything except the index.html file and what's directly in the js folder.

    If you're certain all of your plugins are up to date, you can copy over your js/plugins folder as well as the js/plugins.js file itself.

    Just don't copy over any of the rpg_....js files or the other folders under the js folder (libs, pixi, etc), as those are your core files and belong to whatever version of the engine you were using when you created the game.

    As an aside, if you've only recently downloaded from Steam and have version 1.6 (of the editor), you should revert to 1.5.2 instead, as 1.6 has some serious glitches that are still being worked out, while 1.5.2 is more stable.
  13. Shaz said:
    You can copy everything except the index.html file and what's directly in the js folder.

    If you're certain all of your plugins are up to date, you can copy over your js/plugins folder as well as the js/plugins.js file itself.

    Just don't copy over any of the rpg_....js files or the other folders under the js folder, as those are your core files and belong to whatever version of the engine you were using when you created the game.

    As an aside, if you've only recently downloaded from Steam and have version 1.6 (of the editor), you should revert to 1.5.2 instead, as 1.6 has some serious glitches that are still being worked out, while 1.5.2 is more stable.
  14. Sorry for the double post but everything seems to work! Thank you so much Shaz!!!
  15. Instead of double posting, just edit your last post - link is in the lower left corner.

    Glad you got it sorted out.
  16. Additionally, your yanfly's plugins are in the wrong order.
    You should correct that as soon as possible because it will cause problems if they are not in exactly the order given on yanfly's Website.
  17. 0t4uD
    Are these good?


    edit: image didnt work
  18. 2tbc1887 said:
    0t4uD
    Are these good?
    No, they're not.
    You need to go to yanfly's website with his plugin list, and then place the plugins you want to use in exactly the order how they're listed there.