A small bug in campaign Heir To The Throne

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
gaojicainiao
Posts: 77
Joined: August 11th, 2018, 10:46 am

A small bug in campaign Heir To The Throne

Post by gaojicainiao »

大家好,我的英语不好,所以同时写了中文和英文。如果你们的人里有英语好的中国人的话,请他帮我翻译吧。中文是一种很复杂的语言,别用机器翻译。
Hello everyone,I am poor at English,so I wrote it in both Chinese and English.If there's Chinese who is good at English in your members.Please,help me translate it correctly.Chinese is a kind of very complex language,do not translate it by using machines.
我在1.14.7版里发现了一个在战役“王座继承人”里的小bug。
I found a small bug in campaign Heir To The Throne in version 1.14.7.
当我在第十一幕大战公主的时候,我觉得那些卫兵不够我打的,所以我想改场景文件夹里的场景配置文件。于是(玩笑)我发现了一个问题。地图配置文件不仅有:
一开始就有的卫兵;(圈了白色)
在攻击卫兵的时候出现援军;(圈了黄色)
在攻击公主的时候出现援军;(圈了红色)
还有:
在离公主有点近的时候会出现援军;(圈了绿色)
在离公主非常近的时候会出现援军;(圈了蓝色)
但是后两者没用。
When I was fighting with princess crazily in eleventh scenario,I thought those guards were not enough for me to kill,so I wanted to change the .cfg files in scenarios folder.Then(joke) I found the problem.The .cfg file has not only:
Guards existing at start.(Circled in white)
Reinforcements when I am attacking the princess.(Circled in yellow)
Reinforcements when I am attacking one of the guards.(Circled in red)
But also:
Reinforcements when I am a little close to the princess.(Circled in green)
Reinforcements when I am very close to the princess.(Circled in blue)
But the latter two don't work.
我没学过韦诺标记语言,所以我花了不少时间看是哪里出了问题,也尝试了不少次。最后我修复了它。
I haven't studied Wesnoth Markup Language,so I spent much time on seeking for the key to solving the problem,and tried for many times.Finally I fixed it.
我绝对想不到居然是标点符号出了问题!
I will never thought that the punctuations will cause this problem.
莉莎(中文翻译名里没有标点符号,但在中文里没错),英语名里有个标点符号,但是场景配置文件里公主的名字里的标点符号不一样。有的是Li'sar,有的是Li’sar。
Li'sar(or Li’sar)(There is no punctuation in Chinese translation,but it is correct in Chinese),this English name has a punctuation,but the names of the princess in .cfg file are different。Some are Li'sar,others are Li’sar.
我把所有的Li'sar改成Li’sar,修复成功了。
I changed all Li'sar into Li’sar,fixed successfully.
我把所有的Li’sar改成Li'sar,修复也成功了。
I changed all Li’sar into Li'sar,fixed successfully too.
’是中文标点符号(可能也在其它语言里用),'才是英文的。
’is a Chinese punctuation(may be used in some other languages too),' is English punctuation.
所以我们也许得选一个作为标准来避免不同。
So maybe we should choose one as a standard to avoid difference.
下面是展示不同的两张图片。我用了调试模式,创建剑客和“unit moves=9999”来一回合完成。
Here is two pictures to show difference.I used debug mode,creating fencer and "unit moves=9999" to finish this in one turn.
Attachments
差别2.jpg
差别1.jpg
User avatar
octalot
General Code Maintainer
Posts: 786
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: A small bug in campaign Heir To The Throne

Post by octalot »

Thanks for reporting. It's already been found and fixed, #4091, but only after 1.14.7 was released.

The fixes are in 1f6a29a74cbd5834371570a52788bf5aee8e7f05 for 1.14, and 7049367bf073a6e35530b97eba1cf79af86dc4a7 for 1.15.0.
User avatar
Ravana
Forum Moderator
Posts: 3011
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: A small bug in campaign Heir To The Throne

Post by Ravana »

Having punctuation in identifiers seems unwise.
gaojicainiao
Posts: 77
Joined: August 11th, 2018, 10:46 am

Re: A small bug in campaign Heir To The Throne

Post by gaojicainiao »

octalot wrote: August 19th, 2019, 7:24 pm It's already been found and fixed
How amazing and honorable that it was fixed!Few players will try to attack Li'sar in this scenario,and most of Li'sar's attackers will give up when meeting two times of enemy reinforcements.So there has hardly players will check this .cfg file.
Now it was fixed!Very well!Now she has four times of reinforcements.More than 20 units of loyal level 3!
Well,it is more certain that it is a story about a wealthy princess and a poor prince. :lol: And the princess gives konrad few gold and no one additional unit when they cooperate.
Post Reply