Status
Not open for further replies.

nekuzx

Villager
Member
Joined
Oct 29, 2021
Messages
15
Reaction score
10
First Language
Spanish
Primarily Uses
RMVXA
I am having a bit of trouble with a minor, but annoying bug that i've been unable to identify.
Basically: Whenever I enter the "Skill" menu during combat, and then return; It leads me to a blank menu, from which I have to return again to show up the Fight/Escape menu, so I can then return to the normal Attack/Skill/Item menu.
This bug only seems to affect the Skill menu in combat. The Item menu is unafected.

In this image I am in the normal menu:
1642005236581.png
I can enter the menu and things work normal so far:
1642005475869.png
...but if I return from there, it leads me to this blank menu. Pressing up and down makes sounds but nothing happens and pressing the confirm button does nothing. Pressing the right key skips to the next actor's turn, and pressing left or the return button sends me to the Fight/Escape menu.
1642005508578.png

I am using the Yanfly Ace Battle system. Along with a variety of scripts. But even after taking a look at the scripts I've been unable to determine what's causing the bug.
Has this happened to someone else before? I would really like to know so I can fix it.
It's not a particularly game-breaking bug, but leaving this unfixed would look really bad.

Thanks anyone who took the time to read.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
36,332
Reaction score
9,718
First Language
German
Primarily Uses
RMMV
this is most likely a compatibilityproblem between two of your battlescript.
and that means you really need to check every one of them by temporarily disabling it and then testing with a new game if it still happens or not.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,136
Reaction score
1,109
First Language
English
Primarily Uses
RMVXA
Did you make any changes or customizations to any of the scripts? And what are the other scripts?
One of them or you has changed the play flow.
It sounds like the skill ok or/and cancel is not reopening the actor command window or processing the command for the skill.
So we need to know what other scripts you have or you can test by removing each script one at a time until the issue is resolved and then the culprit should be the one you just removed.
 

nekuzx

Villager
Member
Joined
Oct 29, 2021
Messages
15
Reaction score
10
First Language
Spanish
Primarily Uses
RMVXA
Did you make any changes or customizations to any of the scripts? And what are the other scripts?
One of them or you has changed the play flow.
It sounds like the skill ok or/and cancel is not reopening the actor command window or processing the command for the skill.
So we need to know what other scripts you have or you can test by removing each script one at a time until the issue is resolved and then the culprit should be the one you just removed.
this is most likely a compatibilityproblem between two of your battlescript.
and that means you really need to check every one of them by temporarily disabling it and then testing with a new game if it still happens or not.
Thank you.
I tried moving around the Yanfly Ace battle engine script below and over other scripts. And I seem to have a lead.
Putting the script below Roninator2's "Display Damage Values" seems to fix the issue. (what a coincidence lol)
I'll just rearrange the scripts.
Thanks a lot to both of you.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,136
Reaction score
1,109
First Language
English
Primarily Uses
RMVXA
Checking on that and Yanfly's script and mine both overwrite a few methods in Scene_Battle so yes put mine above yanfly's. Seems to work like that.
 

nekuzx

Villager
Member
Joined
Oct 29, 2021
Messages
15
Reaction score
10
First Language
Spanish
Primarily Uses
RMVXA
Checking on that and Yanfly's script and mine both overwrite a few methods in Scene_Battle so yes put mine above yanfly's. Seems to work like that.
Doing this seems to surfaced a new problem with script compatibility:

"Display damage values" Stops working correctly when under "Galv's Animated Battlers"
"Galv's Animated Battlers"
script breaks when put below "Yanfly's Ace battle engine"

lets call them DDV, GAB, and YAE for short.

If I put them like this:
-DDV
-YAE
-GAB
The menu bug is fixed but DDV stops working.

If I put them like this:
-GAB
-DDV
-YAE
Then DDV works again and the menu is still fixed, but now breaks GAB by displacing the actor sprites.

If I put them like this:
-YAE
-GAB
-DDV
Then both GAB and DDV work, but then the menu bug comes back.

I was able to confirm that these 3 scripts are the ones conflicting with each other.
Sorry if maybe this is not something you can help with, but I thought it was important enough to mention.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,136
Reaction score
1,109
First Language
English
Primarily Uses
RMVXA
If I put them like this:
-YAE
-GAB
-DDV
Then both GAB and DDV work, but then the menu bug comes back.
The comment out or remove the last three methods in my script.
Making Scene_Battle look like this.
Ruby:
class Scene_Battle
  attr_reader  :enemy_window
  def target_window_index
    begin
    @enemy_window.enemy.index
    rescue
      return -1
    end
  end
end
I'll add in a check to not run that code if yanfly battle engine is used
*done
 

nekuzx

Villager
Member
Joined
Oct 29, 2021
Messages
15
Reaction score
10
First Language
Spanish
Primarily Uses
RMVXA
The comment out or remove the last three methods in my script.
Making Scene_Battle look like this.
Ruby:
class Scene_Battle
  attr_reader  :enemy_window
  def target_window_index
    begin
    @enemy_window.enemy.index
    rescue
      return -1
    end
  end
end
I'll add in a check to not run that code if yanfly battle engine is used
*done
This worked perfectly!
All three scripts are functioning and the menu bug is gone as well.

Thank you so much,,, I literally would've never figured it out by myself.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,752
Reaction score
15,888
First Language
English
Primarily Uses
RMMV

I've moved this thread to RGSSx Script Support. Thank you.



This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

It is DC's turn to be celebrating her leveling up and starts her 20th year. We were many to think she wouldn't live that long. Starts your cats motors and make 'em purr!
why_hello_mira.jpg

I made myself a cult leader, and a concept scene for him as well. :LZSexcite:
SpaceBot wrote on DoctorMolotov's profile.
I miss you :kaocry:
I have game ideas, but none of them would fit the theme for IGMC. XD

Forum statistics

Threads
123,310
Messages
1,155,685
Members
161,733
Latest member
azackill
Top