Author Topic: [Solved] Const name already used  (Read 3432 times)

Offline efrenespartano

  • Commander
  • *****
  • Posts: 765
  • 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: February 12, 2023, 02:24:22 pm by Meridian »

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • 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

  • Commander
  • *****
  • Posts: 765
  • 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!