LTN Core problem with battles (Solved)

Discussion in 'Javascript/Plugin Support' started by Gabrepasta, Dec 2, 2018.

    Tags:
  1. Gabrepasta

    Gabrepasta Veteran Veteran

    Messages:
    30
    Likes Received:
    0
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    I am using the LTN Core plug-in together with LTN Item Categories to customize the well... Item categories.
    But the LTN Core causes this problem:
    View attachment 103649
    This happens when I try to start a battle. My knowledge with JavaScript is not vast enough to understand where the problem lies exactly.
     
    #1
  2. LTN Games

    LTN Games Veteran Veteran

    Messages:
    624
    Likes Received:
    477
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    Those plugins are fairly outdated but this is the first I've heard of any errors in a long time. Your attachment is not displaying for me so I'm unsure what the problem is, could you update your post to display the attachment correctly? Also make sure you provide the actual console log(F8) not just a screenshot of the error that pops up on the game screen.
     
    #2
  3. Gabrepasta

    Gabrepasta Veteran Veteran

    Messages:
    30
    Likes Received:
    0
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    TypeError: Cannot read property 'battle' of undefined
    at Spriteset_Battle.$.rescaleImageBackground (LTN Core.js:1586)
    at Spriteset_Battle.$.locateBattleback (LTN Core.js:1581)
    at Spriteset_Battle.updateBattleback (rpg_sprites.js:2487)
    at Spriteset_Battle.update (rpg_sprites.js:2454)
    at rpg_scenes.js:262
    at Array.forEach (<anonymous>)
    at Scene_Battle.Scene_Base.updateChildren (rpg_scenes.js:260)
    at Scene_Battle.Scene_Base.update (rpg_scenes.js:113)
    at Scene_Battle.update (rpg_scenes.js:2259)
    at Function.SceneManager.updateScene (rpg_managers.js:2024)
    SceneManager.catchException @ rpg_managers.js:1949
    SceneManager.update @ rpg_managers.js:1910
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
    requestAnimationFrame (async)
    SceneManager.requestUpdate @ rpg_managers.js:1896
    SceneManager.updateMain @ rpg_managers.js:1988
    SceneManager.update @ rpg_managers.js:1907
     
    #3
  4. LTN Games

    LTN Games Veteran Veteran

    Messages:
    624
    Likes Received:
    477
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMMV
    One of the parameters are most likely missing or its an actual code problem either way go to LTN Core's parameters and change the "battle" parameter inside Rescale Backgrounds to false.
     
    #4
  5. Gabrepasta

    Gabrepasta Veteran Veteran

    Messages:
    30
    Likes Received:
    0
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Ah, tanks. Worked like a charm.

    Edit: I just realised I accidently removed the entire "battle" parameter instead, but it still works soo... ah well
     
    Last edited: Dec 2, 2018
    #5

Share This Page