Author Topic: [SOLVED] Const name already used  (Read 416 times)

Offline efrenespartano

  • Colonel
  • ****
  • Posts: 499
  • I know a lot about the law and other lawyerings.
    • View Profile
[SOLVED] Const name already used
« on: November 29, 2018, 06:18:41 pm »
Hello there!

I'm testing one new ruleset and I got some weird crash, I haven't seen this before.

Code: [Select]
[29-11-2018_10-15-10] [INFO] Loading rulesets...
[29-11-2018_10-15-10] [ERROR] Const name 'RuleList.MartianInfantry' already used

What could be the reason of this? How to solve it?

I'm using the latest OXCE and a fresh installation. I'm attaching the crashed mod.

Thanks in advance.
« Last Edit: November 29, 2018, 09:43:48 pm by efrenespartano »

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1228
    • View Profile
Re: Const name already used
« Reply #1 on: November 29, 2018, 09:15:34 pm »
Check your mod installation and make sure it's in the right place. That error is usually caused by a duplicate file being in the wrong place.

Offline efrenespartano

  • Colonel
  • ****
  • Posts: 499
  • I know a lot about the law and other lawyerings.
    • View Profile
Re: Const name already used
« Reply #2 on: November 29, 2018, 09:43:08 pm »
Check your mod installation and make sure it's in the right place. That error is usually caused by a duplicate file being in the wrong place.

Yes! I have found the pesky file hidden within the Resources folder, a duplicated .rul file. Thank you for your quick reply, Reaver!