OpenXcom Forum

Modding => OXCE Support => OpenXcom Extended => OXCE Support Y-scripts => Topic started by: efrenespartano on November 29, 2018, 06:18:41 pm

Title: [Solved] Const name already used
Post by: efrenespartano 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.
Title: Re: Const name already used
Post by: The Reaver of Darkness 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.
Title: Re: Const name already used
Post by: efrenespartano 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!