Error while running game in browser (SRD_CharacterCreatorEX)

Discussion in 'Javascript/Plugin Support' started by Rocko, May 22, 2018.

  1. Rocko

    Rocko Warper Member

    Messages:
    3
    Likes Received:
    0
    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.
     
    #1
  2. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @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.
     
    #2
  3. Rocko

    Rocko Warper Member

    Messages:
    3
    Likes Received:
    0
    @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.
     
    #3
  4. JtheDuelist

    JtheDuelist Just a dev who actually got a game finished Veteran

    Messages:
    1,160
    Likes Received:
    1,423
    Location:
    RMW Forums, Granvia, or Askr
    First Language:
    English
    Primarily Uses:
    RMMV
    @Rocko Again, I think. I haven't used CCEX, but I see similar problems being brought up here about it all the time.
     
    #4

Share This Page