Error: Uncaught TypeError: undefined is not a function

Status
Not open for further replies.

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV
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...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
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.
 

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV

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 :/
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Last edited:

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV
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
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV
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
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
let us know how that goes.

Do you have the Steam version or the standalone version?
 

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV
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
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV
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
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV
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.
 

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV
Sorry for the double post but everything seems to work! Thank you so much Shaz!!!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Instead of double posting, just edit your last post - link is in the lower left corner.

Glad you got it sorted out.
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
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.
 

2tbc1887

Villager
Member
Joined
Mar 30, 2017
Messages
17
Reaction score
0
First Language
English
Primarily Uses
RMMV

Are these good?

edit: image didnt work
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV

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.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top