The StatusMenuCore (v 1.1.1)

Discussion in 'JS Plugin Releases (RMMV)' started by JahwsUF, Oct 31, 2015.

  1. HasdrubalBarca

    HasdrubalBarca Veteran Veteran

    Messages:
    160
    Likes Received:
    56
    First Language:
    English
    I don't believe this is compatible with the newest version of MV. I keep getting a type error everytime I use this plugin in an updated version. Here's something from the console


    TypeError: Cannot read property 'transform' of null
        at JAH_Window_Profile_Texter.updateTransform [as containerUpdateTransform] (pixi.js:8386)
        at JAH_Window_Profile_Texter.Window.updateTransform (rpg_core.js:6106)
        at JAH_Window_Status_Profile.getLineCount (/C:/Users/Moises/Documents/Games/Project6%20-%20Copy/js/plugins/JAH_StatusMenuCore.js:3543)
        at JAH_Window_Status_Profile.JAH_Window_Status_Base.maxItems (/C:/Users/Moises/Documents/Games/Project6%20-%20Copy/js/plugins/JAH_StatusMenuCore.js:2825)
        at JAH_Window_Status_Profile.Window_Selectable.maxRows (rpg_windows.js:773)
        at JAH_Window_Status_Profile.Window_Selectable.maxTopRow (rpg_windows.js:811)
        at JAH_Window_Status_Profile.Window_Selectable.setTopRow (rpg_windows.js:815)
        at JAH_Window_Status_Profile.Window_Selectable.resetScroll (rpg_windows.js:824)
        at JAH_Window_Status_Profile.JAH_Window_Status_Base.setActor (/C:/Users/Moises/Documents/Games/Project6%20-%20Copy/js/plugins/JAH_StatusMenuCore.js:2584)
        at JAH_Window_Status_Profile.setActor (/C:/Users/Moises/Documents/Games/Project6%20-%20Copy/js/plugins/JAH_StatusMenuCore.js:3529)
     
  2. Vito The Boss

    Vito The Boss Someone better than you, or will become Veteran

    Messages:
    175
    Likes Received:
    64
    Location:
    Hyperbolic Time Chamber
    First Language:
    Italiano
    I think that is the plugin you're  using that gives problem. Gouldyou leave me a link for it?
     
  3. HasdrubalBarca

    HasdrubalBarca Veteran Veteran

    Messages:
    160
    Likes Received:
    56
    First Language:
    English
    If anyone is trying to use this plugin for the newest version here is a fix found by Dhakurs

    On or around line 3845 of the plugin there should be the text "this.hiddenTextWindow.updateTransform();"
    At some point what Jahwsuf was calling was renamed to update from updateTransform.
    So just change "this.hiddenTextWindow.updateTransform();" to "this.hiddenTextWindow.update();" (without the "")
    And now the plugin should load up and run fine(at least as far as I can tell).

    This will make the plugin work with the newest version of RPG maker.
     
  4. Swish

    Swish Veteran Veteran

    Messages:
    38
    Likes Received:
    0
    First Language:
    Polish
    I don't know if You still upgrade this plugin, but could you make little patch to show Current Experience above Exp to Next Level?
     
  5. Funami Z

    Funami Z Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    Arabic
  6. HasdrubalBarca

    HasdrubalBarca Veteran Veteran

    Messages:
    160
    Likes Received:
    56
    First Language:
    English
    Have you tried this?
     
  7. BloodletterQ

    BloodletterQ Chaotic Neutral Assassin Veteran

    Messages:
    1,450
    Likes Received:
    1,047
    Location:
    My head's in the clouds at least...
    First Language:
    English
    Primarily Uses:
    N/A
    [​IMG]
    So I was able to modify the plugin to feature the HP and MP bars while using large portraits. Here are the steps.
    • Using Notepad++, jump to line 2728 under if(JahwsUF.StatusMenuCore.Param.XpHidden != true
    • Insert in the next line this.drawActorHp(this._actor, this.standardPadding(), y + lineHeight * (1 + lineIndex), 160);
    Modify the 160 to determine the length of the HP bar.
    • Insert in the next line this.drawActorMp(this._actor, this.standardPadding() + 165, y + lineHeight * (1 + lineIndex), 160);
    Once again 160 is the MP bar length. Modify as needed. 165 determines the x-coordinate of the bar.
    • The state icon (demonstrated with the screaming face) will overlap the HP bar. Move it by jumping to line 2723 and adding + 165 or wherever the icon doesn't interfere with the character's name to the end of this.standardPadding() but before the comma.
     
  8. erikmidnatt

    erikmidnatt Mercenary Wizard possessed by an Evil Spirit Veteran

    Messages:
    361
    Likes Received:
    89
    Location:
    Enrich Castle
    First Language:
    English
    Primarily Uses:
    RMMV
    @HasdrubalBarca @BloodletterQ Thank both of you for sharing!

    I bookmarked this pluign long ago and only got around to using it a couple of days ago, definitely appreciate the fixes.
     
  9. Tsunar

    Tsunar Villager Member

    Messages:
    15
    Likes Received:
    3
    First Language:
    English
    I keep getting an error when opening the status screen "Cannot Read property "Transform" of null" any one have an idea of how to fix this?
     
  10. MagicMagor

    MagicMagor Veteran Veteran

    Messages:
    201
    Likes Received:
    36
    First Language:
    German
    I've also got the same error. It seems the plugin is calling a method from the core scripts which does not exist anymore.
    I've found a way to 'fix' this, but as i'm not the original author i have no idea of knowing if that fix breaks something else.
    This is line 3543 of the plugin:
    Code:
        this.hiddenTextWindow.updateTransform();
    
    Change it to
    Code:
        this.hiddenTextWindow.update();
    
    Afterwards i was at least able to open the status menu (and my additional stat was displayed)
     
  11. RedFoxGaming

    RedFoxGaming Veteran Veteran

    Messages:
    45
    Likes Received:
    11
    Location:
    Tennessee, USA
    First Language:
    English
    Primarily Uses:
    RMMV
    I am also experiencing the same error involving the updateTransform command, but upon changing the code from that to just update(), my game just crashes. I have not customized the script in any given way yet other than modifying that one line of code.
     
  12. -YS-

    -YS- Veteran Veteran

    Messages:
    118
    Likes Received:
    33
    Hi I am curious how you manage to draw an Icon on this plugin? I try use YEP wrap word but failed.
    I hope you can share the trick ^^
     
    Rishi Raj Jain likes this.
  13. BloodletterQ

    BloodletterQ Chaotic Neutral Assassin Veteran

    Messages:
    1,450
    Likes Received:
    1,047
    Location:
    My head's in the clouds at least...
    First Language:
    English
    Primarily Uses:
    N/A
    This plugin
     
    -YS- likes this.
  14. -YS-

    -YS- Veteran Veteran

    Messages:
    118
    Likes Received:
    33
    Ahhh I see, thankyou
    I will test it now
     
  15. Tuomo L

    Tuomo L Oldbie Veteran

    Messages:
    2,288
    Likes Received:
    1,258
    Location:
    Finland!
    First Language:
    Finnish
    Primarily Uses:
    RMMV
    My states tab is all weird.

    upload_2018-3-9_12-38-59.png
     
  16. Rishi Raj Jain

    Rishi Raj Jain Pokemon MV Maker Veteran

    Messages:
    204
    Likes Received:
    46
    Location:
    India
    First Language:
    English
    Primarily Uses:
    RMMV
    @JahwsUF Can I add and remove Pages from this Status Menu.

    Maybe If you add a Toggle pages option. Or Let us Change the Order of Pages.
     
  17. Tuomo L

    Tuomo L Oldbie Veteran

    Messages:
    2,288
    Likes Received:
    1,258
    Location:
    Finland!
    First Language:
    Finnish
    Primarily Uses:
    RMMV
    Does anyone know how to fix the issue that I'm having?
     
  18. Alexander Hawksmoor

    Alexander Hawksmoor Veteran Veteran

    Messages:
    375
    Likes Received:
    1,954
    Location:
    England
    First Language:
    English
    Primarily Uses:
    RMMV
    No, you will probably have to hire a plugin dev as the author of this plugin hasn't been online in 2 years.

    There are 2 solutions to this problem, you can either hire a plugin dev, I wouldn't imagine it would be expensive to get it fixed, or you can wait for this plugin dev to complete their status plugin which they are in the process of making.

    https://forums.rpgmakerweb.com/index.php?threads/bm-vk-equip.51396/page-2
     
    Last edited: Apr 1, 2018
  19. BloodletterQ

    BloodletterQ Chaotic Neutral Assassin Veteran

    Messages:
    1,450
    Likes Received:
    1,047
    Location:
    My head's in the clouds at least...
    First Language:
    English
    Primarily Uses:
    N/A
    @Tuomo L: What I did was go to line 3190 and edit "x + maxNameWidth" by adding a "/ 2" or any other number that suits you best once you test it.
     
  20. Alexander Hawksmoor

    Alexander Hawksmoor Veteran Veteran

    Messages:
    375
    Likes Received:
    1,954
    Location:
    England
    First Language:
    English
    Primarily Uses:
    RMMV
    Or option 3 which is disregard everything I said and listen to @BloodletterQ lol
     

Share This Page