Luna Engine MV bug 'call' of undefined

Status
Not open for further replies.

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
Yesterday I got Luna Engine and I wanted to install it now into an existing project. I did it like yanfly explained on his/her wiki side. But I keep getting this bug when I start a battle


What did I do wrong?
 

Attachments

Last edited:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Where does the bug appear? What is in the console (F8, go to Console tab) when the error appears?

Did you start a new game after adding the plugin, or did you resume a game you'd already saved? "Cannot read property ... of undefined" is often caused by adding a new plugin then resuming a previously saved game. If you did that, try and start a new game instead and see if it happens.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
Property "call" is usually tied to alias or Javascript object inheritance. So either the plugin order is wrong, or you're missing some plugins... Or it could have something to do with the fact that the Luna engine is minified.
 

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
Where does the bug appear? What is in the console (F8, go to Console tab) when the error appears?

Did you start a new game after adding the plugin, or did you resume a game you'd already saved? "Cannot read property ... of undefined" is often caused by adding a new plugin then resuming a previously saved game. If you did that, try and start a new game instead and see if it happens.
I started a new game and it appears when I start a battle. What do you want to see from the console?
 

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
Property "call" is usually tied to alias or Javascript object inheritance. So either the plugin order is wrong, or you're missing some plugins... Or it could have something to do with the fact that the Luna engine is minified.
luna engine is at the bottom of list. and the menu is working i got the luna.js and luna.map.js in my plugin folder
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
all of the errors/warnings/etc.
 

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
all of the errors/warnings/etc.
\projet\luna/SceneMap.yml not found
\projet\luna/SceneItem.yml not found
\projet\luna/SceneSkill.yml not found
\project\luna/SceneEquip.yml not found
\project\luna/SceneStatus.yml not found
\projet\luna/SceneOptions.yml not found
\project\luna/SceneSave.yml not found
\projet\luna/SceneLoad.yml not found
\projet\luna/SceneGameEnd.yml not found
\projet\luna/SceneShop.yml not found
\projet\luna/SceneName.yml not found
4x Failed to load resource: net::ERR_FILE_NOT_FOUND

[LunaEngine][Scene] SceneSplash_Screen doesn't have background config.
s.Scene_Base.createLunaBackground @ SceneBase.js:50
SceneBase.js:31 [LunaEngine][Scene] SceneSplash_Screen doesn't have a config.
s.Scene_Base.create @ SceneBase.js:31
Container.js:83 [LunaEngine][e] Sprite doesn't have a config.
(anonymous) @ Container.js:83
SceneBase.js:50 [LunaEngine][Scene] SceneMap doesn't have background config.
s.Scene_Base.createLunaBackground @ SceneBase.js:50
SceneBase.js:31 [LunaEngine][Scene] SceneMap doesn't have a config.
s.Scene_Base.create @ SceneBase.js:31
SceneBase.js:50 [LunaEngine][Scene] SceneDebug doesn't have background config.
s.Scene_Base.createLunaBackground @ SceneBase.js:50
SceneBase.js:31 [LunaEngine][Scene] SceneDebug doesn't have a config.
s.Scene_Base.create @ SceneBase.js:31
SceneBase.js:50 [LunaEngine][Scene] SceneMap doesn't have background config.
s.Scene_Base.createLunaBackground @ SceneBase.js:50
SceneBase.js:31 [LunaEngine][Scene] SceneMap doesn't have a config.
s.Scene_Base.create @ SceneBase.js:31

when I start the battle:
SceneBase.js:50 [LunaEngine][Scene] SceneBattle doesn't have background config.
TypeError: Cannot read property 'call' of undefined YEP_CoreEngine.js:1094
at eval (eval at m (bindData.js:94), <anonymous>:3:31)
at m (bindData.js:102)
at SpriteLunatic.js:244
at Array.map (<anonymous>)
at e.value (SpriteLunatic.js:244)
at e.value (SpriteGrid.js:40)
at e.value (SpriteLunatic.js:65)
at SpriteGrid.js:143
at Array.forEach (<anonymous>)
at e.value (SpriteGrid.js:133)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
well, all those resources not found might be an issue?
 

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
still this:
\projet\luna/SceneGameEnd.yml not found
SceneBase.js:50 [LunaEngine][Scene] SceneBoot doesn't have background config.
and in battle:
[LunaEngine][Scene] SceneBattle doesn't have background config.
s.Scene_Base.createLunaBackground @ SceneBase.js:50
YEP_CoreEngine.js:1094 TypeError: Cannot read property 'call' of undefined
at eval (eval at m (bindData.js:94), <anonymous>:3:31)
at m (bindData.js:102)
at SpriteLunatic.js:244
at Array.map (<anonymous>)
at e.value (SpriteLunatic.js:244)
at e.value (SpriteGrid.js:40)
at e.value (SpriteLunatic.js:65)
at SpriteGrid.js:143
at Array.forEach (<anonymous>)
at e.value (SpriteGrid.js:133)
 

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
well, all those resources not found might be an issue?
They also cant be the problem coz its in the sample projects too
 

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
I turned off all my plugins and still getting the same bug.
Its comming from the LunaEngine.js
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
If you turned off all your plugins, that means you turned off Luna Engine as well, so you can't be getting the error.

Are you actually saving (in the editor) after disabling the plugins?
 

Lu_

Veteran
Veteran
Joined
Sep 26, 2019
Messages
41
Reaction score
14
First Language
German
Primarily Uses
RMMV
This thread can be closed
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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.

Forum statistics

Threads
105,868
Messages
1,017,096
Members
137,587
Latest member
Usagiis
Top