Error while running game in browser (SRD_CharacterCreatorEX)

Rocko

Warper
Member
Joined
Mar 16, 2013
Messages
3
Reaction score
0
Primarily Uses
Hello guys.
I've been trying to port a game to a website, and i get this error:
TypeError Cannot read propert 'length' of undefined

In the console log it says:

Code:
rpg_managers.js:1949 TypeError: Cannot read property 'length' of undefined
    at Object._.preloadCharacterPieces (SRD_CharacterCreatorEX.js:603)
    at Function.DataManager.createGameObjects (SRD_CharacterCreatorEX.js:662)
    at Function.DataManager.setupNewGame (rpg_managers.js:217)
    at Scene_Boot.start (rpg_scenes.js:402)
    at Scene_Boot.start (SRD_PreloaderCore.js:772)
    at Function.SceneManager.updateScene (rpg_managers.js:2019)
    at Function.SceneManager.updateMain (rpg_managers.js:1983)
    at Function.SceneManager.update (rpg_managers.js:1907)
I've tried everything, but i cant figure out how to fix this.
The game runs fine on the RPG maker MV Client, and this error only shows up in browser.

You guys can try look into the code from this link:
https://danime.dk/danime-online/#DanimeOnline

Hope you guys can help me solve this issue.
 

JtheDuelist

Your Friendly Nieghborhood Stygian Zinogre
Veteran
Joined
Dec 9, 2017
Messages
1,180
Reaction score
1,435
First Language
English
Primarily Uses
Other
@Rocko I think it is the same reason why Auto Updater doesn't work on browser- any form of packing or other system that disables its file hierarchy makes the plugin unable to work. To simplify that, CCEX was not made with the intent to be used for browser games.
 

Rocko

Warper
Member
Joined
Mar 16, 2013
Messages
3
Reaction score
0
Primarily Uses
@JtheDuelist
Oh bummer...
Man i find it really weird that SumRdmDude advertises that CCE works on mobile and Browsers on youtube.
Actually im pretty pissed about that, because i build my game around that aspect.
 

JtheDuelist

Your Friendly Nieghborhood Stygian Zinogre
Veteran
Joined
Dec 9, 2017
Messages
1,180
Reaction score
1,435
First Language
English
Primarily Uses
Other
@Rocko Again, I think. I haven't used CCEX, but I see similar problems being brought up here about it all the time.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Note to self: One lemon is enough to flavor my drink.
'I'm not homophobic, I'm not scared of me house.' - Peter Kay xD
When did anything under your mid-twenties become the new 10 years old? At least try to act like your old enough to sign a lease.
Having someone tell me that "Right clicking to save an image is soooo creepy" has got to be the weirdest thing I've heard this week.
Finally figured out how to make a signature with a pic that leads to a link, it's so cool! Click the image to check out my demo! :kaopride:

Forum statistics

Threads
98,185
Messages
950,191
Members
129,484
Latest member
AegeanCaos
Top