If you change the official's resources string name,it won't show the correct resources situation on the screen show

:arrow_forward: GAME INFORMATION

:point_down: These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.

  • GAME BUILD #: 66692
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 10

:arrow_forward: ISSUE EXPERIENCED

:point_down: DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
If you change the official’s resources string name,it won’t show the correct resources situation on the screen show

:arrow_forward: FREQUENCY OF ISSUE

:point_down: How often does the issue occur? CHOSE ONE; DELETE THE REST!

  • 100% of the time / matches I play (ALWAYS)

:arrow_forward: REPRODUCTION STEPS

:point_down: List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!

Here’s the steps to reproduce the issue:

  1. If you use a string mod that change the officials resource name,your screen show will get wrong.
  2. If you use a string mod that doesn’t change the officials resource name,your screen show will be correct.
  3. Before UPDATE 66692,this situation was not happen.

:arrow_forward: EXPECTED RESULT

:point_down: What was SUPPOSED to happen if the bug you encountered were not present?
The resources shown on screen will not get wrong any time whether the use the string mod that changes the official’s resources string name or not.

:arrow_forward: IMAGE

:point_down: ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.
Wrong situation:


image

Correct situation:

image
image

:arrow_forward: GAME FILES (SAVE / RECORDING)

:point_down: Attach a SAVE GAME (.aoe2spgame) or GAME RECORDING (.aoe2record) of the match where you encountered the issue. Link it below if using an external file service.

Hey @cly0806

Thanks for the report! Unfortunately i am not sure yet what the exact issue is you are trying to describe.

Are you saying that the file that holds the strings in the game is not being used by mods?

If that is the case, are you modding the right file?

If you are trying to replace existing strings, you should try copying the lines you want to update from within the key-value-strings-utf8.txt to key-value-modded-strings-utf8.txt. as shown in the image below.

Hi,I mean the problem is if you modify the string of the resources name by changing the existing strings,the resources shown on screen and object page will get wrong.
The change of the string can be seen in the scenario editor clearly.It has been modified successfully.
I am a skilled moder that it never happen before the 66692,I promise.

Hi,the officials,not working,no reply?

Hey @cly0806

String mods seem to work fine for me, I have modified the “Wood Stockpile” string into “Test Wood Stockpile” string, as example here
image
image
image

If you are modifying strings any other way, I would suggest you to use the intended way by using the modded strings file.

You do not know what I mean. I means when the resources string changes the screen cannot show the value correctly.
For example you change the officials string 15007 from Relics Captured to Relics through the string text mod,and then you use this “Relics:<Relics Captured>” on the trigger,it will show “Relics:<Relics Captured>” not “Relics:0” if you have no relics.In the other hand,if you do not change the string 15007,it will show “Relics:0” correctly.
My action now is to modify the strings replace but not add new for the officials string,that’s I want you to give me a reply,thank you.

1 Like

Hey @cly0806

Perhaps what might help me understand the problem is if you were to send me a scenario of the issue, and a clear step by step guide on what I need to do to see the problem on my end so I can reproduce it.

image
image


image
key-value-modded-strings-utf8.txt (30 位元組)
default0.aoe2scenario (917 位元組)
I cannot upload zip,please put the text on the right path and test it.

hey @cly0806

In the file you sent me i noticed your lines start with a tab, aka an empty space.
When removing that and having your string code start from the very start, it should work fine!
Green is the intended way, red is the incorrect way.

see image below
image

image
image
image
I retry your test,English can work well,other languages cannot work.

Okay, I think I understand the problem now.
Although the string itself works perfectly fine, modified strings can breaks the triggers.
I have made a ticket on this issue :slight_smile:

Thanks!

1 Like

You have finally already understood what I say,I hope this problem could be fix soon.

1 Like

Hi problem hasn’t fixed until now!

Hi,not fixed at all.