L2JMobius

Prelude of War Parsing problem with Variations.xml

darenor · 7 · 6250

Offline darenor

  • Vassal
  • *
    • Posts: 5
At the gameserver, I received an error as in the below.

Could not parse file: Variations.xml

https://ibb.co/HdXrW1Q

  This is the link to the picture taken from gameserver window with the details of the bug.

I solved this bug with the following steps
1. Opened the variations.xml file located in the Server\game\data\stats\augmentation folder.
2. Changed the following line in each line that contained the term "warrior" to WARRIOR with caps lock on.

Example:
Without the change <optionGroup weaponType="warrior" order="0">
After the change <optionGroup weaponType="WARRIOR" order="0">

Doing this for each line that contained the warrior as weaponType solved the problem.
To do this the easy way, install notepad+, open Variations.xml. Hit CTRL-F and select Replace
Write warrior to the first part
Write WARRIOR to the second part
hit Replace all and you are done.

here is a picture after the bug is resolved.

https://ibb.co/SPYNf3x


Offline darenor

  • Vassal
  • *
    • Posts: 5
This applies to all servers that I have installed with two different computers using Windows 10 and the installations you recommended.
So far, I have installed
All classic series
HighFive
Prelude to War 


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16031
I do not have that warning.
Anyone else that has it?


Offline angelus_ira

  • Vassal
  • *
    • Posts: 5
This applies to all servers that I have installed with two different computers using Windows 10 and the installations you recommended.
So far, I have installed
All classic series
HighFive
Prelude to War

I installed Prelude and i do not have that warning
What JDK are you using? the one in the links on How to install?


Offline darenor

  • Vassal
  • *
    • Posts: 5
I do not have that warning.
Anyone else that has it?

I have installed everything according to the guide posted in this forum. Changed nothing in the compiler.

Could it be due to my Windows language? It is in Turkish. Maybe it changes a setting in the compiler/jars because there are Turkish characters.



Offline epu

  • Heir
  • **
    • Posts: 26
https://ibb.co/HdXrW1Q
it seems to me, or in the screen in the word WARRIOR there is a dot over "I" in third string ?;)

for example, IXmlReader doesn't have a dot over "I"


Offline darenor

  • Vassal
  • *
    • Posts: 5
https://ibb.co/HdXrW1Q
it seems to me, or in the screen in the word WARRIOR there is a dot over "I" in third string ?;)

for example, IXmlReader doesn't have a dot over "I"

Yes, that is how the original file was. After I made the changes, the file was parsed.