KelYep DragonBones (Uncaught ReferenceError: dragonBones is not defined)

Discussion in 'Javascript/Plugin Support' started by Manel, Feb 24, 2019.

Thread Status:
Not open for further replies.
  1. Manel

    Manel Villager Member

    Messages:
    19
    Likes Received:
    1
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Everytime I try to use an animated monster with KelYep DragonBones this thing appears:
    upload_2019-2-23_21-19-55.png
    I have done everything they say in the plugin and in the videos but it continues appearing, can someone help me please?
    (And yes, I have EVERY single thing they said to have in my game).
     

    Attached Files:

    #1
  2. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,561
    Likes Received:
    978
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Please add the following information to help people troubleshoot your issue:

    1. A link to the plugin, so people don't have to go searching in order to help you
    2. A screenshot or text of your RPG Maker MV version (press Help --> About...)
    3. A screenshot or text of your project version (open the rpg_core.js file in a text editor and look at the first line)
    4. A screenshot of your index.html file (open in a text editor)
    5. A screenshot of your Plugin Manager
     
    #2
  3. Manel

    Manel Villager Member

    Messages:
    19
    Likes Received:
    1
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    #3
  4. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,561
    Likes Received:
    978
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Your index.html is good I think, and your plugin order looks good too. Still, double-check the order of all YEP plugins compared to the Yanfly website (should be in the same order as listed on their site)

    I think one more screenshot could help, can you screenshot the Console when the error comes up? (press F8 during playtest to open the Console)
     
    #4
  5. Manel

    Manel Villager Member

    Messages:
    19
    Likes Received:
    1
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Sorry for the wait, here it is: upload_2019-2-24_19-42-3.png
     
    #5
  6. Manel

    Manel Villager Member

    Messages:
    19
    Likes Received:
    1
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    This is the rest of it, if you need it: upload_2019-2-24_19-42-43.png
     
    #6
  7. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,561
    Likes Received:
    978
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    To see the full error message, we want to see the Console (it's the tab next to the Elements tab you're showing) -- this one:

    Hopefully the full error message can give useful information about the issue.

    upload_2019-2-24_14-56-57.png
     
    #7
  8. Manel

    Manel Villager Member

    Messages:
    19
    Likes Received:
    1
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Oh, ok, sorry, here it is: upload_2019-2-24_20-59-8.png
     
    #8
  9. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,561
    Likes Received:
    978
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    OK, that's good, so this shows the real issue, it isn't finding the files "dragonBones.js" and "dragonBonesPixi.js".

    Please share a screenshot of these files in your File Explorer (Windows) or Finder (Mac), and show also in the screenshot what folder the files are saved in.


    2019-02-24 15_51_06-Window.png
     
    #9
  10. Manel

    Manel Villager Member

    Messages:
    19
    Likes Received:
    1
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Here is the screenshot: upload_2019-2-24_22-0-23.png
     
    #10
  11. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,561
    Likes Received:
    978
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    So in your index.html, you have written:

    "js/libs/dragonbones/dragonBones.js"
    "js/libs/dragonbones/dragonBonesPixi.js"

    But your files are actually saved in:

    "js/libs/dragonBones.js"
    "js/libs/dragonBonesPixi.js"

    These paths are not the same, do you see the difference?

    To fix it, either change your index.html to match where the files are actually saved, or change where the files are actually saved to match your index.html
     
    #11
    gothicvoid likes this.
  12. Manel

    Manel Villager Member

    Messages:
    19
    Likes Received:
    1
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    IT'S WORKING
    Thank you so much
     
    #12
    Aloe Guvner likes this.
  13. gothicvoid

    gothicvoid [GothicVoid] Veteran

    Messages:
    82
    Likes Received:
    57
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMMV
    Glad i searched for the answer first! Thanks for the help... even if it wasn't for me specifically lol This was exactly my issue too!
     
    #13
  14. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,451
    Likes Received:
    4,094
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    gothicvoid, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


    Glad, it fixed your problem though.
     
    #14
Thread Status:
Not open for further replies.

Share This Page