AnarchyExploitFixes icon indicating copy to clipboard operation
AnarchyExploitFixes copied to clipboard

AEF will not automatically generate language files in the lang folder

Open haha44444 opened this issue 2 years ago • 14 comments

same as title. It will only generate a lang folder but not the files inside.

server version: Kaiiju version git-Kaiiju-"93f3978" (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 93f3978 on ver/1.19.4) (this is a Folia fork)

AEF version: v2.6.0

haha44444 avatar Jan 11 '24 20:01 haha44444

i dont see this problem on Kaiiju

ghost avatar Jan 11 '24 20:01 ghost

Whats the language/locale the server machine is on?

xGinko avatar Jan 11 '24 20:01 xGinko

[23:37:56 INFO]: This server is running Kaiiju version git-Kaiiju-"c2b7aec" (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: c2b7aec on ver/1.20.1)

last kaiiju from release

ghost avatar Jan 11 '24 20:01 ghost

Whats the language/locale the server machine is on?

Simplified Chinese/China

haha44444 avatar Jan 11 '24 20:01 haha44444

Weird, BetterWorldStats uses the exact same lang loader line by line and it worked.

xGinko avatar Jan 11 '24 21:01 xGinko

Weird, BetterWorldStats uses the exact same lang loader line by line and it worked.

yes, it works

haha44444 avatar Jan 11 '24 21:01 haha44444

On a local test machine of Kaiiju 1.19.4 as well as 1.20.1, all files could successfully be generated. I would blame it on File.separator but usage of that should actually fix pathing problems across multiple system locales and its also used in BetterWorldStats.

I would believe it has to do with something on your end as I cannot reproduce this.

If you can, please conduct some testing

xGinko avatar Jan 11 '24 21:01 xGinko

On a local test machine of Kaiiju 1.19.4 as well as 1.20.1, all files could successfully be generated. I would blame it on File.separator but usage of that should actually fix pathing problems across multiple system locales and its also used in BetterWorldStats.

I would believe it has to do with something on your end as I cannot reproduce this.

If you can, please conduct some testing

I changed my language and region to english/us but it still doesn't work

haha44444 avatar Jan 11 '24 21:01 haha44444

On a local test machine of Kaiiju 1.19.4 as well as 1.20.1, all files could successfully be generated. I would blame it on File.separator but usage of that should actually fix pathing problems across multiple system locales and its also used in BetterWorldStats. I would believe it has to do with something on your end as I cannot reproduce this. If you can, please conduct some testing

I changed my language and region to english/us but it still doesn't work

Yea like I pointed out, its most likely not your locale setting

xGinko avatar Jan 11 '24 21:01 xGinko

On a local test machine of Kaiiju 1.19.4 as well as 1.20.1, all files could successfully be generated. I would blame it on File.separator but usage of that should actually fix pathing problems across multiple system locales and its also used in BetterWorldStats. I would believe it has to do with something on your end as I cannot reproduce this. If you can, please conduct some testing

I changed my language and region to english/us but it still doesn't work

Yea like I pointed out, its most likely not your locale setting

I tested it and it works on ubuntu22.04lts, the unavailable systems are windows11 22h2 and windows10 21h2

haha44444 avatar Jan 11 '24 21:01 haha44444

It should go without saying that windows is the opposite of a recommended server os

xGinko avatar Jan 11 '24 21:01 xGinko

It should go without saying that windows is the opposite of a recommended server os

i know. i will not use windows to run the minecraft server in a production environment, but sometimes, such as when debugging, I will use windows.

haha44444 avatar Jan 11 '24 22:01 haha44444

I will do some testing to see what causes this on windows. Generally though you should always test in an environment similar to the one in production.

Priority will be low for this so don't expect anything soon

xGinko avatar Jan 11 '24 22:01 xGinko

After testing, this problem will also occur on Windows Server 2019.

haha44444 avatar Jan 11 '24 22:01 haha44444

Fixed thanks to testing by @F3F5

xGinko avatar Feb 27 '24 19:02 xGinko