chocopanda

Veteran
Veteran
Joined
Sep 24, 2017
Messages
46
Reaction score
17
First Language
English
Primarily Uses
RMMV
May I suggest to remove the ATB bar in Victory Aftermath.. the ATB bar stays in the screen and it's kind of annoying... I hope we can also change the font style or use image for Victory text. :)
Disregard.. it seems like you need to turn on the Reposition so that it won't appear in Victory Aftermath
 

Winshifter

Veteran
Veteran
Joined
Feb 24, 2017
Messages
73
Reaction score
53
First Language
Spanish
Primarily Uses
RMMV
The array you're seeing is how the obfuscation works. It's not done on purpose to make things intentionally incompatible if that's what you're trying to imply.
Sorry, I didn't try to imply that it is done to create incompatibility, just that I wasn't sure if the array was part of the obscuring process or an intentional design for coding purposes. Things sometimes get lost in translation, especially when you are thinking in one language but understand the issue in another.

The problem you're encountering is due to the ChangeEquipOnBattleMZ plugin instead and is likely to pop up again for anyone who also happens to be using plugins that alter the equip scene layout, not just VisuStella MZ.

Now as you state that you are a professional programmer, I'm sure you will understand the following despite your level of expertise in JavaScript:

1. Scene_Equip and Scene_Battle are two very different scenes.
2. One scene's functions do not necessarily exist in another's.
3. By looking at the code for ChangeEquipOnBattleMZ, you will see it is trying to run Scene_Equip functions inside Scene_Battle.

Fair, right? Here's the thing: Core Engine has created checks for specific functions inside Scene_Equip to determine layout compositions. These layout compositions are unique to Scene_Equip and the functions used to determine those layout compositions do not exist in Scene_Battle for obvious reasons. They're not left out intentionally on purpose because adding them in like that is extra baggage. You cannot take a car engine and expect it fit for a jet.
I would say it does make sense, unless they are static methods from static classes, which I don't think so, I don't even know if javascript can have static classes or methods

The interesting part is that Core code actually executes correctly "Scene_Equip.prototype.mainAreaHeight.call(this)" but in a particular method, of which I don't know the name because it's obscured, a check expects it to return as a method, but Core already has executed it and returns, in this case, a number, that's the reason that "x is not a function" type error is thrown by javascript, in other words, Core code correctly executed "Scene_Equip.prototype.mainAreaHeight.call(this)" and returned the value from that execution, but the check expect it to be returned as "mainAreaHeight()", meaning as a method. I can asume that this is javascript messing stuff when probably shouldn't, meaning that in any case, I blame javascript and not the developer. Given that your plugins allow to inject javascript code sometimes, this might eventually become an issue, probably not now, probably not tomorrow, and probably you already have checks for that and I simply can't deduce that they are already there. Call it residual paranoid thinking from years of working as a programmer in the Financial Industry (it's was hell), were I had to add checks even for events with infinitesimal probability of happening in code. If it seemed like I was expecting you and your team to add a check, that was not the case, just a mere suggestion regarding this.

In the end, you can take the suggestion or disregard it, I really appreciate that you take the time to answer the question, even if it comes from a javascript rookie probably asking stupid questions, regardles of my years of working as a professional programmer.


Oh, by the way, I already did the compatibility patch for the person who had the issue, nothing fancy, just a small rewrite to the method in ChangeEquipOnBattleMZ and it worked.

Regards.
 

superscarfy

Scarfy
Member
Joined
Dec 18, 2016
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMMZ
Hello!
First of all, thank you for all the work!
Then, I have a question (sorry if it's not the place for that),

So I use the MessageCore plugin.
I resized the window in the plugin's settings but I also wanted to put the window a little higher on the screen (to keep place under it for some UI) I didn't find any setting for that so I ended up using the \WindowMoveTo command and managed to do what I needed.

However even with a duration of 0 for the move, there is still a little "jump" of the message window each time I display one.

It's not gamebreaking or anything, but it bother me a little ^^'
Is there an option that I missed in the plugin or is there just no option to do what I want natively?
If there is no possibility to do what I want (other than what I already do) It's okay, I just want to know if I missed something :)
This is an incredibly late reply, but I was just having the same problem myself + found a way to get rid of it! Since your question was never answered beyond it getting mistaken for a bug report, I wanted to share my solution for anyone else frantically googling like I was + share it to you if you still need it

Set the message window's background to transparent when you're making it. Then, start your message with that pesky \WindowsMoveTo command, and immediately use the \NormalBG command right after it (or \DimBG, if that's what you were doing instead).

The window will be completely invisible during that little "jump", so you won't see it happen and your players will never even know it's there!

Edit: Okay, so today this method decided to just. Totally stop working on me. Either that, or it never worked to begin with and I just didn't notice somehow. Disregard the above BUT the good news is, I submitted a full bug report to VisuStella on this problem last night right after posting this, so hopefully they will be able to do something to address it soon.
 
Last edited:

alltheyuriz

It may say veteran but I am no such thing
Veteran
Joined
Sep 18, 2020
Messages
308
Reaction score
189
First Language
English
Primarily Uses
RMMZ
I downloaded your plug in but im not really sure how to use it the way I want to, if I explained it do you think you could help me with it? It would be a huge help to my game!
 

WilsonE7

Veteran
Veteran
Joined
Oct 12, 2019
Messages
86
Reaction score
37
First Language
English
Primarily Uses
RMMZ
I downloaded your plug in but im not really sure how to use it the way I want to, if I explained it do you think you could help me with it? It would be a huge help to my game!
I'm sure someone on this thread will most likely be able to help, but we need to know what you need.
 

alltheyuriz

It may say veteran but I am no such thing
Veteran
Joined
Sep 18, 2020
Messages
308
Reaction score
189
First Language
English
Primarily Uses
RMMZ
@WilsonE7 I would like to lock some of the menu options(or make them invisible if that's possible) until a certain point in the game but I'm not sure how to do it
 

WilsonE7

Veteran
Veteran
Joined
Oct 12, 2019
Messages
86
Reaction score
37
First Language
English
Primarily Uses
RMMZ
@WilsonE7 I would like to lock some of the menu options(or make them invisible if that's possible) until a certain point in the game but I'm not sure how to do it
I'm not sure how you'd do that, actually. My first thought was to look at Main Menu Core, but there's nothing there about disabling menu options. If you don't get a more helpful response, put it in Yanfly's suggestion box. Maybe they'll implement it later.
 

alltheyuriz

It may say veteran but I am no such thing
Veteran
Joined
Sep 18, 2020
Messages
308
Reaction score
189
First Language
English
Primarily Uses
RMMZ
@WilsonE7 thanks anyway I'll look for their suggestion box could you point the way good sir?
 

Yanfly

Veteran
Joined
Mar 15, 2012
Messages
1,773
Reaction score
2,679
@WilsonE7 I would like to lock some of the menu options(or make them invisible if that's possible) until a certain point in the game but I'm not sure how to do it

I'm not sure how you'd do that, actually. My first thought was to look at Main Menu Core, but there's nothing there about disabling menu options. If you don't get a more helpful response, put it in Yanfly's suggestion box. Maybe they'll implement it later.

You need JavaScript knowledge. Alter the entry's JS: Show for it. If you're unfamiliar with JavaScript, I recommend asking in the JS forums on this site for help on it.

---

---

We are on Weekly Update #37!

View the Changelog here: http://www.yanfly.moe/wiki/VisuStella_MZ_Changelog
Sample Project Version here: https://visustella.itch.io/visumz-sample/devlog

---

If you've encountered a bug, don't report them to this thread.

Instead, report the bug you've found to this link: http://www.yanfly.moe/wiki/Troubleshooting_Plugins_RPG_Maker_MZ

---

If you have suggestions for plugins and/or graphics for the VisuStella team, we'd like to hear them. Keep in mind this does not mean we're guaranteed to create it (as our time is very limited) but we're interested in hearing what you have to suggest:

Graphics: https://forms.gle/c9pbrqGbJCzWETC97

Plugins: https://forms.gle/73bPT3nfXZFRn6BNA

---

Have a good weekend, everybody!
 

Askann

Villager
Member
Joined
Nov 15, 2015
Messages
26
Reaction score
18
First Language
Portuguese
Primarily Uses
RMMV
I tried to create a little notetag using the Visustella Skills and States.
I need one notetag that only enables a skill if there is someone DEAD in the party.
I hate that MZ allow you to cast revive spells on alive members.

I know that would be something like this:

if(SOMETHING.isStateAffected(1)


But I don't know what would work, I tried $gameParty.members but it didn't worked.
 

GalacticGod

Veteran
Veteran
Joined
Jan 28, 2018
Messages
532
Reaction score
648
First Language
English
Primarily Uses
RMMV
Last edited:

SoCalAshez

Villager
Member
Joined
Sep 9, 2020
Messages
28
Reaction score
11
First Language
English
Primarily Uses
RMMZ
Could anyone help me out. I have Javascript Aphasia (being funny here)but would like to make it where certain items, armors, weapons, etc. are only used by a single actor using the Notetag:

<JS Item Enable>
code
code
enabled = code;
</JS Item Enable>

So if I just want Actor 1 to be able to use a certain armor and not the other 3 actors, how could I use the above to make that possible.

Thank You for helping!
 

Rogue Milk

Veteran
Veteran
Joined
Dec 26, 2015
Messages
111
Reaction score
147
Primarily Uses
Does anyone know how to make the shop look like their example. I can not figure it out:

Example:


Link:
Yeah, Idk if I'm missing something here.
The shop scene in the demo doesn't seen ready for this.
I tried adding the notetags on the Short Sword to see if it would somehow trigger a different behavior, but no luck.

EDIT: Oh, I think I got it. You have to mess around with the notetags to position the image where you want it. It's not set by default on the demo.
 
Last edited:

GalacticGod

Veteran
Veteran
Joined
Jan 28, 2018
Messages
532
Reaction score
648
First Language
English
Primarily Uses
RMMV
Yeah, Idk if I'm missing something here.
The shop scene in the demo doesn't seen ready for this.
I tried adding the notetags on the Short Sword to see if it would somehow trigger a different behavior, but no luck.

EDIT: Oh, I think I got it. You have to mess around with the notetags to position the image where you want it. It's not set by default on the demo.
Would you mind sharing your notetags so I could see how I might be able to see how to set it up as well.
 

TimothyMV

Veteran
Veteran
Joined
Sep 10, 2019
Messages
50
Reaction score
7
First Language
English
Primarily Uses
RMMV
For some reason the entire Iconset flashes every time an event spawns and I have no idea how to fix that, and this was even after updating everything. And after all that, at 10:55 am, 5/6/2021, I found out that this was an issue with Proximity Compass.
 
Last edited:

Rogue Milk

Veteran
Veteran
Joined
Dec 26, 2015
Messages
111
Reaction score
147
Primarily Uses
Would you mind sharing your notetags so I could see how I might be able to see how to set it up as well.
I would totally share it but I don't have it ready. Sorry.
Do you want to show what you already set in place? Maybe I can help you figure it out what is missing.

EDIT:
Here's a example of what I did:
<Shop Picture Name: Sword> <Shop Picture Max Dimensions: 80, 80> <Shop Picture Alignment: Left> <Shop Picture Position: Top> <Shop Picture Offset Y: +100>

Now, to change the information on the window, I assume you have to use the Status Info tag.
They updated their site with some info on it.
 

Attachments

  • visutest.png
    visutest.png
    1.5 MB · Views: 9
Last edited:

Aeonhart

Villager
Member
Joined
Oct 11, 2016
Messages
14
Reaction score
0
First Language
Spanish
Primarily Uses
This is probably the stupidest question I've asked here, but can someone give me an example of how

\WindowMoveTo[x] work? I keep getting a "cannot set property 'x' of null" error
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,138
Reaction score
709
First Language
English
Primarily Uses
RMVXA
"cannot set property 'x' of null"
I know nothing of Visustella, but normally functions like that are asking you to specify a number.
You are supposed to replace x with a number
\WindowMoveTo[200]
X is the left to right number for the screen resolution, far left is 0.
Y is the up to down number for the screen resolution, at the top is 0.
 

Aeonhart

Villager
Member
Joined
Oct 11, 2016
Messages
14
Reaction score
0
First Language
Spanish
Primarily Uses
EDIT*
Ok I figured out the problem, I was testing both Galv messages and visustella and have them both on, they don't play good together.

My next question is, Is there a way to have the message window fixed to a specified position the whole game?
Im trying Inky support plugin and I set the window to my desired location first, then execute the script with inky and the window returns to it's original place, I'm trying to avoid this
 
Last edited:

Latest Threads

Latest Profile Posts

Make a Game in RMMZ Streams are going to remain in hiatus this week. Too much to do! 4 things will be announced on Monday though! Look forward to that.
Typed a long-ish reply to a post... forgot to actually HIT the post button, and moved to a different page.... finally noticed, don't remember what all I had typed and don't feel like trying to re-type it all.... smh....
Their tactics are evolving. They've learned to call for help when cornered. Never trust a mammal!
Good morning all. I still have a post up on video editing for cinematic trailers. Please make sure to check that out and give me a message as its still active in offers.
Hey everyone! I'm back :D

Snow White? More like Snowhere to be seen amiright? Hahaha I'm so sorry!! :kaocry:

Forum statistics

Threads
112,367
Messages
1,067,826
Members
146,016
Latest member
LioTheLion
Top