L2JMobius

Prelude of War For those who have problems with skills loading

darenor · 3 · 14160

Offline darenor

  • Vassal
  • *
    • Posts: 5
Hello, this is my first guide here. This guide is for all server versions. 
I had some problems with skills and some files loading in the game server. The error was "unrecognized player condition" in almost all skills.
This happens due to the locale settings of your Windows. It is a java problem. The virtual machine that runs your java programs (java virtual machine) checks your windows language and region before running java programs.
So, if it detects languages that are not English or have problematic characters like uppercase i, or ş ç as in Turkish language, the virtual machine cannot understand the English versions coded in the skills.

Instead of changing every skill, item and variations files, I have found the easiest thing that I believe everyone should do to avoid such errors with files loading.
Now, here is the guide to it.

1. Right-click on "My computer", select properties.
2. Select "advanced system settings". Click on "environment variables".
3. Under the "system variables", Select "new"
4. Fill in the blanks with
"Variable Name: JAVA_TOOL_OPTIONS"
"Variable Value: -Duser.language=en -Duser.country=US"
5. Press confirm. Restart your game server and login server. You won't have any problems related to loading skills, items or variations files.