One counter with two sound damage bug

StateAlchemist

State Alchemist of the Amestris
Veteran
Joined
Dec 22, 2018
Messages
37
Reaction score
3
First Language
english
Primarily Uses
RMVXA
I got this problem for a long time. i put some % to my main character that will counter attack when the
enemy attacks. The problem is my character only does one counter but instead of one sound
damage will be heard, to sound damage is being heard. I don`t know if i`m explaining this right but
it suppose to be does one sound damage because it only does one counter attack. i try to check the
script i`m using the fix the bug. i`m using -
Yanfly Engine Ace - Ace Core Engine v1.09
Yanfly Engine Ace - Ace Battle Engine v1.22
Yami Engine Symphony - Battle Symphony
Yami Engine Symphony - Add-on: Holder Battlers
anyone can help me about this ?
 
Last edited:

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
ace battle engine and battle symphony are playing the sound.
You will have to look for the code and comment out one of them.
 

StateAlchemist

State Alchemist of the Amestris
Veteran
Joined
Dec 22, 2018
Messages
37
Reaction score
3
First Language
english
Primarily Uses
RMVXA
wait i`ll give a try. i tried this in a fresh new project and put only Yami Engine Symphony - Battle Symphony still the bug
is present, and i don`t know where to look at the code because i tried it before
but i can`t see it in the customization codes. and i can`t find it in the
core code
 

StateAlchemist

State Alchemist of the Amestris
Veteran
Joined
Dec 22, 2018
Messages
37
Reaction score
3
First Language
english
Primarily Uses
RMVXA
guys ? i can`t find the bug can anyone help me
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
guys ? i can`t find the bug can anyone help me
You need to give people time. We are not a team of professional coders working around the clock.
If you haven't read the forum rules, I suggest that you do that.
Can you upload the demo project you said does the sound twice? send me the link and I'll look into it.
Thanks
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,374
Reaction score
8,536
First Language
English
Primarily Uses
RMMV

@StateAlchemist , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.


I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
Putting the Yami script into a test project, I see the issue, but don't know the solution yet. The counter action is performing twice, hence the two sounds.
 

StateAlchemist

State Alchemist of the Amestris
Veteran
Joined
Dec 22, 2018
Messages
37
Reaction score
3
First Language
english
Primarily Uses
RMVXA
yes i does i`m trying to find where`s the problem still can`t find it. so hard huhuhuhu it should do one sound because it only does 1 counter attack
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,374
Reaction score
8,536
First Language
English
Primarily Uses
RMMV
It’s okay, you’re not in trouble. They’re just reminders. :)
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
Here is a partial fix.

Corrects the sounds for me, but I notice that the actor does not retreat from the counter movement. So the actor could eventually be more forward than the actor is supposed to be. But this was only because the actor got attacked twice. the second time was right after the first enemy was killed. Another test shows that if the enemy is not killed and the actor is not attacked right away then all is good.
Further testing shows that the actor will reset when performing a normal action. But if the actor does counter attacks and kills every enemy each counter then the actor will continue to move forward.

Place below Yami Engine Symphony - Battle Symphony
Code:
class Game_Battler < Game_BattlerBase
 
  #--------------------------------------------------------------------------
  # new method: force_make_actions
  #--------------------------------------------------------------------------
  def force_make_actions
    clear_actions
    if @counter_subject == nil
      @actions = Array.new(make_action_times) { Game_Action.new(self) }
    else
      @actions = Array.new(make_action_times_counter) { Game_Action.new(self) }
    end
  end
  #--------------------------------------------------------------------------
  # new method: make_action_times_counter
  #--------------------------------------------------------------------------
  def make_action_times_counter
    action_plus_set.inject(1) { 1 }
  end
end
 
Last edited:

StateAlchemist

State Alchemist of the Amestris
Veteran
Joined
Dec 22, 2018
Messages
37
Reaction score
3
First Language
english
Primarily Uses
RMVXA
i tried it but the 2 sounds when counter still there. i put it below the script and the other one i put it under the script.
still not working. did this one works for you? i mean the script u send?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
this one works for you?
yes fully working except for the movement as mentioned above.
The four scripts you mentioned and the patch I made below yami battle. (should be it's own script slot not at the bottom of another script.)
 

StateAlchemist

State Alchemist of the Amestris
Veteran
Joined
Dec 22, 2018
Messages
37
Reaction score
3
First Language
english
Primarily Uses
RMVXA
i did paste it in a new line. still not working it still has the two sounds. look Untitled.png
 
Last edited:

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
@StateAlchemist So what other scripts do you have? It's fully working for me with the scripts you said you were using.
I see you have yanfly combat log, which you did not say you were using; but it has no affect on this problem.
Without more info, I can't recreate the problem.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,674
Reaction score
566
First Language
English
Primarily Uses
RMVXA
I'm not sure what some of those scripts are. You did not name them by 'author - script'.
Can you attach your scripts.rvdata2 file? I'll put it in my test project and see.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,456
Members
137,821
Latest member
Capterson
Top