Arrow error - Victory Aftermath and Battle Animations

Palidor

Villager
Member
Joined
Nov 11, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Hi, sorry for my earlier post in another thread.  I am having a problem with arrows that are drawn when casting spells that boost or lower parameters and also in the level screen after battle.  I tried a fix of swapping in the arrow symbol in Yanfly's Victory Aftermath script, but it still displays the square bracket before the arrow.  I'm including some screenshots of the problems, and also links to the custom scripts that I have running.  I'm using the default font, and I tried changing to different fonts, but that didn't resolve the problem.  Any help would be greatly appreciated because I've scoured the web and haven't been able to find a workable solution!  Thanks in advance.


These are the scripts:


https://yanflychannel.wordpress.com/rmvxa/core-scripts/ace-core-engine/


https://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/enemy-hp-bars/


https://yanflychannel.wordpress.com/rmvxa/menu-scripts/ace-item-menu/


https://yanflychannel.wordpress.com/rmvxa/menu-scripts/ace-shop-options/


https://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/


https://yanflychannel.wordpress.com/rmvxa/battle-scripts/victory-aftermath/


https://yanflychannel.wordpress.com/rmvxa/battle-scripts/battle-command-list/


https://yanflychannel.wordpress.com/rmvxa/battle-scripts/command-autobattle/


Screenshots:


arrow glitch 2.jpgarrow glitch.jpg
 

GGZiron

Veteran
Veteran
Joined
Nov 6, 2016
Messages
90
Reaction score
34
First Language
Bulgarian
Primarily Uses
RMVXA
I was reading somewhere that the problem is in the pop up settings in Yanfly's "Ace Battle Engine".
There is hidden character or something. Can't give you link, as i can't find the place i read that, but will try to explain how to solve.


Pop up settings should be starting from row 287 and should end in row 314 from Yanfly's "Ace Battle Engine".


There for example is this line for the buffs:

Code:
:add_buff   => "%s",
What you need is to delete everything between " " and write again the visible part - %s in the case. Keep backup version in case you goof it, then give it a try, it might help.


Edit: Apparently, deleting everything between quotation marks isn't enough. Those marks needs to be deleted too, then


manually rewritten with the content between(manually written too), without the "{" bracket.
 
Last edited by a moderator:

Palidor

Villager
Member
Joined
Nov 11, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Thanks GGZiron.  I did try that, but it still displays the square and bracket. :-( 
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
That is because of GitHub messing up the arrow special characters. One of the reasons I choose pastebin over GitHub. 


You will have to find all these arrow drawing methods in these scripts, and change the messed up characters with the real ones (the directional arrows).


For example, in the Victory Aftermath script:

Code:
  def draw_arrows
    dx = contents.width / 2 - 12
    dy = 0
    change_color(system_color)
    for i in 0..8
      draw_text(dx, dy, 24, line_height, "→", 1)
      dy += line_height
    end
  end

See that arrow character there?


That is replaced with a gibberish character on GitHub (no idea if it's because it has been uploaded with an incompatible encoding type, or if it uses an incompatible font type, or because GitHub just works like that).


You will need to put that arrow character back where it belongs, and all will be displayed as it should afterwards.


Just go through all these scripts line by line, and if you see a gibberish string somewhere between single or double quotation marks, you can replace them with the correct arrow keys. Yeah, it is a bit tedious, but no other way to solve this.


I know that these characters are kinda hard to find using your keyboard only, so for your convenience, here are all of them:

# ← LEFT
# → RIGHT
# ↑ UP
# ↓ DOWN

You can copy/paste them from here if you need.
 

Palidor

Villager
Member
Joined
Nov 11, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Hi Sixth, unfortunately that fix didn't work.  In the victory aftermath, I had already replaced that gibberish character with the right arrow, and while it displays the arrow, it still displays a square bracket in front of the arrow.  My script is exactly what you have listed, so I don't know where the square bracket is coming from. :-(


The battle engine script, I actually downloaded from the dropbox link, and it has these at the buff and debuff lines, respectively:


%s{


%s|


I tried replacing them with arrows.  I tried replacing them with "%s-" and "%s+" which symbols are used elsewhere without issue, but no matter what I input, the buff/debuff animations always show a square and curly bracket...
 
Last edited by a moderator:

Palidor

Villager
Member
Joined
Nov 11, 2016
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Hey, GGZiron came up with the solution - I needed to delete the portion of the existing script, including the quotation marks.  After typing it in manually, both problems have been resolved.  Thank you everyone for your help!  So happy now. :)
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top