residntevl

Blideo games
Regular
Joined
Jul 30, 2012
Messages
100
Reaction score
288
First Language
English
Primarily Uses
RMMV
I've done exactly that and I receive a crash whenever I select the command.

But yes, that's what I'm looking to do, create a menu option that takes the function of Page Down primarily. I'm not too concerned about going both ways.

The problem is that by adding this menu command (which I've gotten to work on Yanfly's Equip plugin and Scene_Skill) is that your script is expecting the command to open a window. I could probably manage to make it go to Parameters Page with the next actor in the party, but as I've mentioned I'm still learning JS here and there.
 
Last edited by a moderator:

JahwsUF

Regular
Regular
Joined
Oct 25, 2015
Messages
65
Reaction score
107
First Language
English
I've done exactly that and I receive a crash whenever I select the command.

But yes, that's what I'm looking to do, create a menu option that takes the function of Page Down primarily. I'm not too concerned about going both ways.
"Select the command"?  Are you on mobile, by chance?  (That wording doesn't make too much sense to me otherwise.)  What are you developing for?  Also, would it be possible for you to tell me what the crash says?  Additionally, if you have any way to open the console (F8, at least on Windows), seeing the masses of red error text it would report would be extremely helpful in pinpointing any issues.
 

residntevl

Blideo games
Regular
Joined
Jul 30, 2012
Messages
100
Reaction score
288
First Language
English
Primarily Uses
RMMV
I'm about to head to work but when I get back ill post necessary info and what I'm trying to do. I am developing for PC but the project is mouse based so I want to make it accessible using only the mouse

Edit:

I'm home now so I'm going to post what I've done and what I'm attempting to do.

I've edited the RPGManager.js TextManager and removed KeyItem and replaced it with my own word "Next" which I've made show up in the Skills Menu and Yanfly's Equip Window.

I edited both Window_SkillType.prototype.makeCommandList (in rpg_windows.js) and Window_EquipCommand.prototype.addCustomCommand (in Yanfly's Equip Core)

What I added was - this.addCommand(TextManager.next,    'next');

In the Scenes, I replaced the 'pagedown' string to 'next'.

This adds a command called Next to both Skills and Equip which switches to the next actor in the party

I've attempted to do the same thing with your script by adding:

this.addCommand(TextManager.next,    'next');

to your JAH_Window_Status_PageSelect.prototype.makeCommandList function which would be the only place to put it. Creating a next commandlist wouldn't make much sense, I don't think.

I also replaced 'pagedown' with 'next'.

Here is the error I receive

TypeError: undefined is not a function    at JAH_Window_Status_PageSelect.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/JAH_StatusMenuCore.js:1834:19)    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5726:19    at Array.forEach (native)    at WindowLayer.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5724:19)    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:112:19    at Array.forEach (native)    at Scene_Status.Scene_Base.updateChildren (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:110:19)    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:42:10)    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/YEP_ExternalLinks.js:181:35)    at Function.SceneManager.updateScene (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_managers.js:1673:25)
Futher editing, when I do manage to add the 'next' command to your commandlist, no text for the commands appear and if I hover over the next command I'm prompted with another crash. The error log for that is:

Code:
TypeError: undefined is not a function    at JAH_Window_Status_PageSelect.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/JAH_StatusMenuCore.js:1836:19)    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5726:19    at Array.forEach (native)    at WindowLayer.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5724:19)    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:112:19    at Array.forEach (native)    at Scene_Status.Scene_Base.updateChildren (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:110:19)    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:42:10)    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/YEP_ExternalLinks.js:181:35)    at Function.SceneManager.updateScene (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_managers.js:1673:25)
 
Last edited by a moderator:

JahwsUF

Regular
Regular
Joined
Oct 25, 2015
Messages
65
Reaction score
107
First Language
English
Version 1.02 is now live.

It includes a few bug fixes and a new feature - the ability to classify resistances visually by color and also by text category if desired.  Accordingly, there are a few new options toward the bottom that give you lots of customization room.  Enjoy!


In regard to one lingering issue from above...

I'm about to head to work but when I get back ill post necessary info and what I'm trying to do. I am developing for PC but the project is mouse based so I want to make it accessible using only the mouse

Edit:

I'm home now so I'm going to post what I've done and what I'm attempting to do.

I've edited the RPGManager.js TextManager and removed KeyItem and replaced it with my own word "Next" which I've made show up in the Skills Menu and Yanfly's Equip Window.

I edited both Window_SkillType.prototype.makeCommandList (in rpg_windows.js) and Window_EquipCommand.prototype.addCustomCommand (in Yanfly's Equip Core)

What I added was - this.addCommand(TextManager.next,    'next');

In the Scenes, I replaced the 'pagedown' string to 'next'.

This adds a command called Next to both Skills and Equip which switches to the next actor in the party

I've attempted to do the same thing with your script by adding:

this.addCommand(TextManager.next,    'next');

to your JAH_Window_Status_PageSelect.prototype.makeCommandList function which would be the only place to put it. Creating a next commandlist wouldn't make much sense, I don't think.

I also replaced 'pagedown' with 'next'.

Here is the error I receive

TypeError: undefined is not a function
    at JAH_Window_Status_PageSelect.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/JAH_StatusMenuCore.js:1834:19)
    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5726:19
    at Array.forEach (native)
    at WindowLayer.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5724:19)
    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:112:19
    at Array.forEach (native)
    at Scene_Status.Scene_Base.updateChildren (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:110:19)
    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:42:10)
    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/YEP_ExternalLinks.js:181:35)
    at Function.SceneManager.updateScene (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_managers.js:1673:25)
Futher editing, when I do manage to add the 'next' command to your commandlist, no text for the commands appear and if I hover over the next command I'm prompted with another crash. The error log for that is:

TypeError: undefined is not a function
    at JAH_Window_Status_PageSelect.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/JAH_StatusMenuCore.js:1836:19)
    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5726:19
    at Array.forEach (native)
    at WindowLayer.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_core.js:5724:19)
    at file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:112:19
    at Array.forEach (native)
    at Scene_Status.Scene_Base.updateChildren (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:110:19)
    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_scenes.js:42:10)
    at Scene_Status.Scene_Base.update (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/plugins/YEP_ExternalLinks.js:181:35)
    at Function.SceneManager.updateScene (file:///C:/Users/Luke/Documents/Games/Mythic%20Victory%20Arena/js/rpg_managers.js:1673:25)

I can pretty quickly see where problems are gonna come from here.  In particular:

JAH_Window_Status_PageSelect.prototype.makeCommandList, in adding commands, passes along two arguments:

  • this._pageNames - the text representing a command, which allows its corresponding window to be visible.
  • this._pageWindows - the window object to be made visible when the command is selected.
 

As you might imagine, the Javascript system has a hard time treating the string 'next' as a full-blown window.  You see, I realized that the commands don't have to be strings - they can be windows, or any other type.  It's all in how the listener interprets the string.

 

Thus, you absolutely have to intercept that 'next' string before my code thinks it actually has a window and acts on it.  Thus, you want to put custom code into JAH_Window_Status_PageSelect.prototype.update that checks wither or not this.currentSymbol() is a string or a page object.  If it's your "next" command, branch off and manually trigger the PageDown command there.

 

Keep in mind that it's Scene_Status, not JAH_Window_Status_PageSelect, that has the this.nextActor.bind(this) function available.  You'll want to do a little hot-wiring (passing the Scene to the PageSelect menu window as a value to call later), but it should be doable from there.
 
Last edited by a moderator:

residntevl

Blideo games
Regular
Joined
Jul 30, 2012
Messages
100
Reaction score
288
First Language
English
Primarily Uses
RMMV
That seems to be a little outside my scope of understanding for now, but I grasp the concept and what is required. I'll work with it later. Thank you for your help.
 

MaxLionheart

Regular
Regular
Joined
Aug 23, 2015
Messages
115
Reaction score
35
First Language
French
Extremely solid plugin with TONS of possibilities for customization, yet relatively easy to use.

This is a perfect example of what a plugin should aspire to be.

Bravo!
 
Last edited by a moderator:

DavidFoxfire

Regular
Regular
Joined
Feb 28, 2014
Messages
224
Reaction score
45
Primarily Uses
This recent version has an error:

/. . . . . . Baldursgate/js/plugins/JAH_StatusMenuCore.js:1573

Uncaught TypeError: Cannot read property 'trim' of undefined
 

JahwsUF

Regular
Regular
Joined
Oct 25, 2015
Messages
65
Reaction score
107
First Language
English
This recent version has an error:

/. . . . . . Baldursgate/js/plugins/JAH_StatusMenuCore.js:1573

Uncaught TypeError: Cannot read property 'trim' of undefined
Interesting.  What sort of values did you have specified for your "Category _ Color" plugin options?  Something went wrong in interpreting those.
 

DavidFoxfire

Regular
Regular
Joined
Feb 28, 2014
Messages
224
Reaction score
45
Primarily Uses
Interesting.  What sort of values did you have specified for your "Category _ Color" plugin options?  Something went wrong in interpreting those.

They're still at default values.  However, I moved it up in the plugin list and took care of the error.
 

JahwsUF

Regular
Regular
Joined
Oct 25, 2015
Messages
65
Reaction score
107
First Language
English
StatusMenuCore v1.03 is now online.

What's new?

  • After a lot of communication and investigation, I've been able to successfully restructure the Profile page's internal coding to be far more compatible with word-wrapping plugins than it once was.  Out-of-the-box, outside of scrolling operations this plugin should now be compatible with word-wrapping plugin features.
     
  • In regard to scrolling:  while not a part of this plugin, through communication with Yami-chan (creator of one such Word Wrap plugin) we were able to construct the critical method that was missing for scrolling compatibility.  While there may be a performance hit if you rely upon this, I've done what I can for now to minimize it.  Either way, there is now hotfix code in the User FAQ for both Yami's plugin and the Yanfly Message Core that will allow their word-wrapping operations to be compatible with scrolling.

    Due to the nature of the two different plugins and the manner in which the fix must be applied, it is impossible to integrate within the StatusMenuCore properly, especially should either adopt the hotfix in future versions of their plugins.

    Also, if you do not enable word-wrapping, I guarantee that everything will operate exactly the same as before. 
     
  • It is possible that there are some edge cases that I missed in testing with word-wrapping - especially with the extra escape codes offered by Yanfly's Message Core - but both word-wrapping plugins are now far, far more viable to use with the StatusMenuCore than it used to be.  Scrolling has worked flawlessly with all of my present testing examples, aside from a minor need of aesthetic polish if changes in font size are utilized.

As far as known problems go, there's one bit of polish that I hope to add in the future - that whole bit about expecting two lines on the editor's built-in profile box if used.  I should be able to correct it with the next version, but I wanted to go ahead and release this set of fixes for those who love their word-wrapping.

Again, if you are interested in using word wrapping with this plugin, especially for long profile texts that require scrolling:  check the User FAQ for details on how to achieve full compatibility at this time.
 
Last edited by a moderator:

MaxLionheart

Regular
Regular
Joined
Aug 23, 2015
Messages
115
Reaction score
35
First Language
French
Hey, I was wondering if it was possible to show the resistances on the first page...

I guess that if we know the symbol for each resistance (like "mat" for magic attack) we could show them... However, I haven't been able to figure them out... Anyone knows what symbol represent each resistance?
 

JahwsUF

Regular
Regular
Joined
Oct 25, 2015
Messages
65
Reaction score
107
First Language
English
Hey, I was wondering if it was possible to show the resistances on the first page...

I guess that if we know the symbol for each resistance (like "mat" for magic attack) we could show them... However, I haven't been able to figure them out... Anyone knows what symbol represent each resistance?
There isn't any such symbol in the base game for the elemental rates - it would require a plugin to give them such symbols.
 

JahwsUF

Regular
Regular
Joined
Oct 25, 2015
Messages
65
Reaction score
107
First Language
English
I just realized something; there's a particular function I use to retrieve the element rates, and while it's not a three-letter symbol, it may just be possible to use in place of one.

Try using the following:

elementRate(1)1 is the standard element ID for Fire in a base game.  Replace with whatever ID you'd rather report on the page.  With the way I implemented things, I think this could actually work.  (Sorry about not being able to test it for you in advance at the moment.)
 

MaxLionheart

Regular
Regular
Joined
Aug 23, 2015
Messages
115
Reaction score
35
First Language
French
Ah! Fantastic! It works! Thanks :)

I just wanted to reaffirm that I really love the great flexibility of this tool. Thanks again for your hard work!
 

Sol Rising

Regular
Regular
Joined
Oct 25, 2015
Messages
162
Reaction score
21
First Language
English
figured it out thank u
 
Last edited by a moderator:

jonthefox

Elementary School Teacher, 2x Cancer Survivor
Regular
Joined
Jan 3, 2015
Messages
1,579
Reaction score
743
First Language
English
Primarily Uses
RMMZ
This is a great script!  Only thing I'm wondering about though is if there is a way to either also show more than just the vanilla information on the equip screen, or to somehow combine this with the equip screen so the player can change equipment on here.  Reason I say this is, it would be annoying for the player to change equipment on the equip screen, and then go check the status screen and try to figure out what changed (evasion, magic reflect%, element resistance, etc.).  
 

residntevl

Blideo games
Regular
Joined
Jul 30, 2012
Messages
100
Reaction score
288
First Language
English
Primarily Uses
RMMV
add status command to equip
This is pretty simple. If you're using Yanfly's Equip core, find

Scene_Equip.prototype.createCommandWindowand add:

this._commandWindow.setHandler('status',    this.commandStatus.bind(this));to the list of commands.

Under the command list, outside of the createCommandWindow block, add this:

Scene_Equip.prototype.commandStatus = function() {    SceneManager.push(Scene_Status);};Next you want to find:

Window_EquipCommand.prototype.addCustomCommandand add:

this.addCommand(TextManager.status, 'status');in the block.

It works out

D7nziNx.png
MULmwwP.png
If you're not using the equip core, You have to edit Scene_Equip in rpg_scenes.js and Window_EquipCommand in rpg_windows.

Scene_Equip.prototype.createCommandWindow and Window_EquipCommand.prototype.makeCommandList

I don't know how to make my own plugins but I would recommend not editing the main scripts, but I'm not very good at following my own advice.
 
Last edited by a moderator:

Anime_Fusion

Regular
Regular
Joined
Oct 24, 2015
Messages
79
Reaction score
50
First Language
English
I came here because I had an issue with another menu system when i changed jobs and my appearance, I couldn't change the bust image. However, your help file mentions a "Profile Switch" tag option, but I have no clue where to find it or how to do it. Please let me know if you have time. I need to make my character look like an assassin in her bust photo. Thanks.
 

JahwsUF

Regular
Regular
Joined
Oct 25, 2015
Messages
65
Reaction score
107
First Language
English
I came here because I had an issue with another menu system when i changed jobs and my appearance, I couldn't change the bust image. However, your help file mentions a "Profile Switch" tag option, but I have no clue where to find it or how to do it. Please let me know if you have time. I need to make my character look like an assassin in her bust photo. Thanks.
The "profile switch" is a swap on the character's backstory - on the profile text for the character.  It doesn't perform an image swap.  I know I've seen other plugins posted that are much more suited for what you want to do.

Here's one example of a plugin I found that might interest you:  http://forums.rpgmakerweb.com/index.php?/topic/47958-graphics-changer/
 

Latest Threads

Latest Profile Posts

Hey Y’all! Here’s Day #8! Another round of applause for @hiddenone my hero yesterday. Kind of still flipping between too hot and too cold, but friends, we’re hydrated.
My boss asked I bring my laptop to work so he could see my game. I show my coworkers, show them some database stuff, and then my boss asks "so can I fight this final boss you've talked about a lot?" :kaojoy:
Finally started working on my first game, let's see where this gets me :)
Gonna repost this since it's currently tied 1-1! We've seen Strength with our adventurers and Charisma with our merchants, so which DnD stat would you like to see in the next NPC for my advent calendar: Constitution or Wisdom?

And a bonus game: if you can guess what type of character each stat will represent, I’ll make your suggested sprite for Christmas! First person to get it wins, so make your guess!
Steam is going to be forcing me to update my desktop OS for Mac. It's a good thing that my laptop is Windows otherwise some of my work and a lot of game save files for 32-bit games would become unusable for a while.

Forum statistics

Threads
136,847
Messages
1,270,714
Members
180,613
Latest member
mememan
Top